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]
Other format: [Raw text]

Remove warning_for_asm ()


2004-11-02  Ben Elliston  <bje@au.ibm.com>

	* rtl-error.c (warning_for_asm): Remove unused function.

Index: rtl-error.c
===================================================================
RCS file: /home/bje/gcc-cvs/gcc/gcc/rtl-error.c,v
retrieving revision 1.14
diff -u -p -c -r1.14 rtl-error.c
*** rtl-error.c	15 Oct 2004 14:47:11 -0000	1.14
--- rtl-error.c	2 Nov 2004 01:16:02 -0000
*************** error_for_asm (rtx insn, const char *msg
*** 97,112 ****
  }
  
  void
- warning_for_asm (rtx insn, const char *msgid, ...)
- {
-   va_list ap;
- 
-   va_start (ap, msgid);
-   diagnostic_for_asm (insn, msgid, &ap, DK_WARNING);
-   va_end (ap);
- }
- 
- void
  _fatal_insn (const char *msgid, rtx insn, const char *file, int line,
  	     const char *function)
  {
--- 97,102 ----


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