This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

More uses of "fatal"


As Mark pointed out, I forgot to grep in *.h, I just did *.c.

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.

*** config/avr/avr.h	2001/01/20 16:49:01	1.18
--- config/avr/avr.h	2001/02/05 04:07:58
*************** sprintf (STRING, "*.%s%d", PREFIX, NUM)
*** 2696,2700 ****
  {						\
    if (REGNO > 31)				\
!     fatal("regno error in push");		\
    fprintf (STREAM, "\tpush\tr%d", REGNO);	\
  }
--- 2695,2699 ----
  {						\
    if (REGNO > 31)				\
!     abort ();					\
    fprintf (STREAM, "\tpush\tr%d", REGNO);	\
  }
*************** sprintf (STRING, "*.%s%d", PREFIX, NUM)
*** 2706,2710 ****
  {						\
    if (REGNO > 31)				\
!     fatal("regno error in pop");		\
    fprintf (STREAM, "\tpop\tr%d", REGNO);	\
  }
--- 2705,2709 ----
  {						\
    if (REGNO > 31)				\
!     abort ();					\
    fprintf (STREAM, "\tpop\tr%d", REGNO);	\
  }
*************** valid_machine_decl_attribute (DECL, ATTR
*** 2897,2901 ****
  
  
! #define TRAMPOLINE_TEMPLATE(FILE) fatal ("Trampolines not supported\n")
  
  /* Length in units of the trampoline for entering a nested function.  */
--- 2896,2901 ----
  
  
! #define TRAMPOLINE_TEMPLATE(FILE) \
!   internal_error ("Trampolines not supported\n")
  
  /* Length in units of the trampoline for entering a nested function.  */
*** config/dsp16xx/dsp16xx.h	2001/01/01 20:35:29	1.20
--- config/dsp16xx/dsp16xx.h	2001/02/05 04:08:04
*************** extern struct dsp16xx_frame_info current
*** 1185,1197 ****
     for profiling a function entry. */
  
! #define FUNCTION_PROFILER(FILE, LABELNO)        fatal("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.")
  
  /* 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.")
  
  
--- 1185,1200 ----
     for profiling a function entry. */
  
! #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)  \
!   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)	        \
!   internal_error ("Profiling not implemented yet.")
  
  
*************** extern struct dsp16xx_frame_info current
*** 1203,1207 ****
  #define EXIT_IGNORE_STACK  (0)
  
! #define TRAMPOLINE_TEMPLATE(FILE) fatal ("Trampolines not yet implemented");
  
  /* Length in units of the trampoline for entering a nested function.
--- 1206,1211 ----
  #define EXIT_IGNORE_STACK  (0)
  
! #define TRAMPOLINE_TEMPLATE(FILE) \
!   internal_error ("Trampolines not yet implemented");
  
  /* Length in units of the trampoline for entering a nested function.
*************** extern struct dsp16xx_frame_info current
*** 1215,1219 ****
  
  #define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT)			\
!   fatal ("Trampolines not yet implemented");
  
  /* This macro generates the assembly code for function exit,
--- 1219,1223 ----
  
  #define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT)			\
!   internal_error ("Trampolines not yet implemented");
  
  /* This macro generates the assembly code for function exit,
*************** const_section ()                        
*** 1836,1844 ****
  /* 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.");
  
  /* 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."); 
  
  /* OUTPUT OF DISPATCH TABLES */
--- 1840,1850 ----
  /* 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)    \
!   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)     \
!   internal_error ("Profiling not implemented yet."); 
  
  /* OUTPUT OF DISPATCH TABLES */
*** config/rs6000/rs6000.h	2001/01/23 22:03:46	1.102
--- config/rs6000/rs6000.h	2001/02/05 04:08:14
*************** typedef struct rs6000_args
*** 1645,1649 ****
    (DEFAULT_ABI == ABI_V4						\
     || DEFAULT_ABI == ABI_SOLARIS)	? (TARGET_32BIT ? 4 : 8) :	\
!   (fatal ("RETURN_ADDRESS_OFFSET not supported"), 0))
  
  /* The current return address is in link register (65).  The return address
--- 1645,1649 ----
    (DEFAULT_ABI == ABI_V4						\
     || DEFAULT_ABI == ABI_SOLARIS)	? (TARGET_32BIT ? 4 : 8) :	\
!   (internal_error ("RETURN_ADDRESS_OFFSET not supported"), 0))
  
  /* The current return address is in link register (65).  The return address

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]