diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-02-05 04:11:54 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-02-04 23:11:54 -0500 |
commit | c4636dd18891a3e24592f399e79d8a4c0539dfc1 (patch) | |
tree | 5cae7b3e928e00fba2e29f2b0faa38793f9ad0e8 /gcc | |
parent | 0ba434e0f8e5563b77de97e34c2509964541380b (diff) | |
download | gcc-c4636dd18891a3e24592f399e79d8a4c0539dfc1.zip gcc-c4636dd18891a3e24592f399e79d8a4c0539dfc1.tar.gz gcc-c4636dd18891a3e24592f399e79d8a4c0539dfc1.tar.bz2 |
avr.h (ASM_OUTPUT_REG_PUSH, [...]): Call abort instead of fatal.
* config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
Call abort instead of fatal.
(TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
* config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
(TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
(ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
* config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
From-SVN: r39448
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/avr/avr.h | 8 | ||||
-rw-r--r-- | gcc/config/dsp16xx/dsp16xx.h | 20 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 2 |
4 files changed, 27 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29a6953..ec03704 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -8,6 +8,15 @@ Sun Feb 4 15:52:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> + * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): + Call abort instead of fatal. + (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal. + * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise. + (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise. + (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise. + (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise. + * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise. + * diagnostic.h (set_internal_error_function): Renamed. * toplev.h (internal_error): Renamed from fatal. (pfatal_with_name): Deleted. diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index 773f8b3..34566b6 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -1,6 +1,5 @@ /* Definitions of target machine for GNU compiler, for ATMEL AVR at90s8515, ATmega103/103L, ATmega603/603L microcontrollers. - Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by Denis Chertykov (denisc@overta.ru) @@ -2695,7 +2694,7 @@ sprintf (STRING, "*.%s%d", PREFIX, NUM) #define ASM_OUTPUT_REG_PUSH(STREAM, REGNO) \ { \ if (REGNO > 31) \ - fatal("regno error in push"); \ + abort (); \ fprintf (STREAM, "\tpush\tr%d", REGNO); \ } /* A C expression to output to STREAM some assembler code which will @@ -2705,7 +2704,7 @@ sprintf (STRING, "*.%s%d", PREFIX, NUM) #define ASM_OUTPUT_REG_POP(STREAM, REGNO) \ { \ if (REGNO > 31) \ - fatal("regno error in pop"); \ + abort (); \ fprintf (STREAM, "\tpop\tr%d", REGNO); \ } /* A C expression to output to STREAM some assembler code which will @@ -2896,7 +2895,8 @@ valid_machine_decl_attribute (DECL, ATTRIBUTES, IDENTIFIER, ARGS) -#define TRAMPOLINE_TEMPLATE(FILE) fatal ("Trampolines not supported\n") +#define TRAMPOLINE_TEMPLATE(FILE) \ + internal_error ("Trampolines not supported\n") /* Length in units of the trampoline for entering a nested function. */ diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h index ccb6378..86ff76f 100644 --- a/gcc/config/dsp16xx/dsp16xx.h +++ b/gcc/config/dsp16xx/dsp16xx.h @@ -1184,15 +1184,18 @@ extern struct dsp16xx_frame_info current_frame_info; /* Output assembler code to FILE to increment profiler label # LABELNO for profiling a function entry. */ -#define FUNCTION_PROFILER(FILE, LABELNO) fatal("Profiling not implemented yet.") +#define FUNCTION_PROFILER(FILE, LABELNO) \ + internal_error ("Profiling not implemented yet.") /* Output assembler code to FILE to initialize this source file's basic block profiling info, if that has not already been done. */ -#define FUNCTION_BLOCK_PROFILER(FILE, LABELNO) fatal("Profiling not implemented yet.") +#define FUNCTION_BLOCK_PROFILER(FILE, LABELNO) \ + internal_error ("Profiling not implemented yet.") /* Output assembler code to FILE to increment the entry-count for the BLOCKNO'th basic block in this source file. */ -#define BLOCK_PROFILER(FILE, BLOCKNO) fatal("Profiling not implemented yet.") +#define BLOCK_PROFILER(FILE, BLOCKNO) \ + internal_error ("Profiling not implemented yet.") /* EXIT_IGNORE_STACK should be nonzero if, when returning from a function, @@ -1202,7 +1205,8 @@ extern struct dsp16xx_frame_info current_frame_info; #define EXIT_IGNORE_STACK (0) -#define TRAMPOLINE_TEMPLATE(FILE) fatal ("Trampolines not yet implemented"); +#define TRAMPOLINE_TEMPLATE(FILE) \ + internal_error ("Trampolines not yet implemented"); /* Length in units of the trampoline for entering a nested function. This is a dummy value */ @@ -1214,7 +1218,7 @@ extern struct dsp16xx_frame_info current_frame_info; CXT is an RTX for the static chain value for the function. */ #define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) \ - fatal ("Trampolines not yet implemented"); + internal_error ("Trampolines not yet implemented"); /* This macro generates the assembly code for function exit, on machines that need it. If FUNCTION_EPILOGUE is not defined @@ -1835,11 +1839,13 @@ const_section () \ /* This is how to output an insn to push a register on the stack. It need not be very fast code since it is used only for profiling */ -#define ASM_OUTPUT_REG_PUSH(FILE,REGNO) fatal("Profiling not implemented yet."); +#define ASM_OUTPUT_REG_PUSH(FILE,REGNO) \ + internal_error ("Profiling not implemented yet."); /* This is how to output an insn to pop a register from the stack. It need not be very fast code since it is used only for profiling */ -#define ASM_OUTPUT_REG_POP(FILE,REGNO) fatal("Profiling not implemented yet."); +#define ASM_OUTPUT_REG_POP(FILE,REGNO) \ + internal_error ("Profiling not implemented yet."); /* OUTPUT OF DISPATCH TABLES */ diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 7af9bb1..fc70c50 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1644,7 +1644,7 @@ typedef struct rs6000_args || DEFAULT_ABI == ABI_AIX_NODESC) ? (TARGET_32BIT ? 8 : 16) : \ (DEFAULT_ABI == ABI_V4 \ || DEFAULT_ABI == ABI_SOLARIS) ? (TARGET_32BIT ? 4 : 8) : \ - (fatal ("RETURN_ADDRESS_OFFSET not supported"), 0)) + (internal_error ("RETURN_ADDRESS_OFFSET not supported"), 0)) /* The current return address is in link register (65). The return address of anything farther back is accessed normally at an offset of 8 from the |