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]

3.4 PATCH: Fix mips-sgi-irix6o32 bootstrap failure


Eric,

your patch

	http://gcc.gnu.org/ml/gcc-patches/2003-06/msg01861.html

broke bootstrap for the mips-sgi-irix6o32 configuration:

sdbout.c failed to compile:

gcc/sdbout.c:1602:55: macro "ASM_OUTPUT_SOURCE_LINE" requires 3 arguments, but only 2 given

The following trivial patch fixes this.  This seems to be the only instance
of that macro you overlooked.

It fixed the compile failure, bootstrap/regtest in progress.  Ok for
mainline if it passes (although this is probably ok under the obvious
rule)?

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University


Wed Jun 18 20:27:42 2003  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* config/mips/mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg
	to ASM_OUTPUT_SOURCE_LINE.

--- mips.h.old	Wed Jun 18 21:07:23 2003
+++ mips.h	Tue Jun 17 13:23:08 2003
@@ -1388,7 +1388,7 @@
 
 #define PUT_SDB_FUNCTION_END(LINE)			\
 do {							\
-  ASM_OUTPUT_SOURCE_LINE (asm_out_file, LINE + sdb_begin_function_line); \
+  ASM_OUTPUT_SOURCE_LINE (asm_out_file, LINE + sdb_begin_function_line, 0); \
 } while (0)
 
 #define PUT_SDB_EPILOGUE_END(NAME)


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