--- gcc/config/convex/convex.h 2018/04/24 18:15:22 1.1.1.2 +++ gcc/config/convex/convex.h 2018/04/24 18:21:40 1.1.1.3 @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. Convex version. - Copyright (C) 1988, 1993 Free Software Foundation, Inc. + Copyright (C) 1988, 1994 Free Software Foundation, Inc. This file is part of GNU CC. @@ -1119,7 +1119,6 @@ enum reg_class { else break; \ case MULT: \ return 4 * (char) (0x03060403 >> target_cpu * 8); \ - case LSHIFT: \ case ASHIFT: \ case LSHIFTRT: \ case ASHIFTRT: \ @@ -1180,8 +1179,8 @@ enum reg_class { extern double atof(); /* Check a `double' value for validity for a particular machine mode. */ -#define CHECK_FLOAT_VALUE(mode, d) \ - check_float_value ((mode), &(d)) +#define CHECK_FLOAT_VALUE(MODE, D, OVERFLOW) \ + overflow = check_float_value (MODE, &D, OVERFLOW) /* Tell final.c how to eliminate redundant test instructions. */ @@ -1488,21 +1487,11 @@ bss_section () \ #define PRINT_OPERAND_ADDRESS(FILE, ADDR) \ print_operand_address (FILE, ADDR) -/* Definitions for g++. */ - /* Do not put out GNU stabs for constructors and destructors. ld bounces them. */ #define FASCIST_ASSEMBLER -/* Convex user addresses are negative, so use positive numbers - to mean `vtable index'. */ - -#define VTABLE_USES_MASK -#define VINDEX_MAX ((unsigned) 0x80000000) -#define SET_DECL_VINDEX(DECL, INDEX) \ - (DECL_VINDEX (DECL) = (INDEX)) - /* __gcc_cleanup is loader-aliased to __ap$do_registered_functions if we are linking against standard libc, 0 if old (-traditional) libc. */ @@ -1514,12 +1503,6 @@ bss_section () \ _cleanup (); \ } -/* cexp.y uses LONG_TYPE_SIZE which depends on target_flags, which it - doesn't have. Until some better way exists, provide a def here. */ -#ifdef YYBISON -int target_flags; -#endif - /* Header for convex.c. Here at the end so we can use types defined above. */ @@ -1536,5 +1519,5 @@ extern char *output_cmp (); extern char *output_condjump (); extern char *output_call (); extern void gen_ap_for_call (); -extern void check_float_value (); +extern int check_float_value (); extern void asm_declare_function_name ();