--- gcc/config/vax/xm-vms.h 2018/04/24 18:10:25 1.1.1.1 +++ gcc/config/vax/xm-vms.h 2018/04/24 18:29:58 1.1.1.4 @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Vax. - Copyright (C) 1987 Free Software Foundation, Inc. + Copyright (C) 1987, 1994, 1995 Free Software Foundation, Inc. This file is part of GNU CC. @@ -15,7 +15,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ /* #defines that need visibility everywhere. */ #define FALSE 0 @@ -48,8 +49,7 @@ the Free Software Foundation, 675 Mass A #define HOST_FLOAT_FORMAT VAX_FLOAT_FORMAT #define SUCCESS_EXIT_CODE 1 -#define FATAL_EXIT_CODE (44 | 0x10000000) /* Failure, and no DCL message. */ - +#define FATAL_EXIT_CODE (44 | 0x10000000) /* Abort, and no DCL message. */ /* A couple of conditionals for execution machine are controlled here. */ #ifndef VMS @@ -64,11 +64,6 @@ the Free Software Foundation, 675 Mass A #define F_OK 0 #endif -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - #define GCC_INCLUDE_DIR "///not used with VMS///" /* nonsense string for now */ /* and define a local equivalent (sort of) for unlink */ @@ -77,11 +72,11 @@ the Free Software Foundation, 675 Mass A /* Specify the list of include file directories. */ #define INCLUDE_DEFAULTS \ { \ - { "GNU_GXX_INCLUDE:", 1}, \ - { "GNU_CC_INCLUDE:", 0}, /* GNU includes */ \ - { "SYS$SYSROOT:[SYSLIB.]", 0}, /* VAX-11 "C" includes */ \ - { ".", 0}, /* Make normal VMS filespecs work. */ \ - { 0, 0} \ + { "GNU_GXX_INCLUDE:", 1, 1 }, \ + { "GNU_CC_INCLUDE:", 0, 0 }, /* GNU includes */ \ + { "SYS$SYSROOT:[SYSLIB.]", 0, 0 }, /* VAX-11 "C" includes */ \ + { ".", 0, 1 }, /* Make normal VMS filespecs work. */ \ + { 0, 0, 0 } \ } /* Under VMS a directory specification can be enclosed either in square @@ -128,6 +123,10 @@ the Free Software Foundation, 675 Mass A required characters, so we define this to be a null string. */ #define FILE_NAME_JOINER "" + +/* vprintf() has been available since VMS V4.6. */ + +#define HAVE_VPRINTF #ifdef VAXC /* Customizations/kludges for building with DEC's VAX C compiler @@ -145,9 +144,11 @@ the Free Software Foundation, 675 Mass A #define rindex strrchr /* rename all too-long external symbol names to avoid warnings */ +#define bc_check_for_full_enumeration_handling bc_check_for_full_enum_handling #define check_for_full_enumeration_handling check_for_full_enum_handling #define current_function_contains_functions curfunc_contains_functions #define current_function_epilogue_delay_list curfunc_epilogue_delay_list +#define current_function_has_nonlocal_goto curfunc_has_nonlocal_goto #define current_function_has_nonlocal_label curfunc_has_nonlocal_label #define current_function_internal_arg_pointer curfunc_internal_arg_pointer #define current_function_outgoing_args_size curfunc_outgoing_args_size @@ -158,7 +159,9 @@ the Free Software Foundation, 675 Mass A #define current_function_uses_pic_offset_table curfunc_uses_pic_offset_table #define expand_start_loop_continue_elsewhere expnd_start_loop_cont_elsewhere #define flag_schedule_insns_after_reload flag_sched_insns_after_reload +#define lookup_name_current_level_global lookup_name_current_level_gbl #define maybe_building_objc_message_expr maybe_building_objc_msg_expr +#define output_deferred_addressed_constants output_deferred_addr_constants #define reg_overlap_mentioned_for_reload_p reg_overlap_mtnd_for_reload_p #define reposition_prologue_and_epilogue_notes repos_prolog_and_epilog_notes #define rtx_equal_function_value_matters rtx_equal_func_value_matters