This is the mail archive of the gcc-bugs@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]

egcs-CVS19980824 (trunk) mips-sgi-irix6.2 bootstrap failure


Snapshot:		egcs-CVS19980824
Platform:		mips-sgi-irix6.2
Stage1 compiler:	cc
Assembler:		native
Linker:			native
BOOT_CFLAGS:		none


	Apologies if this has been reported before, when bootstrapping
a CVS checkout of the trunk dated today, I get:

 > cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config stmt.c
 > cfe: Error: stmt.c, line 5542: redeclaration of 'rtx_function';
 > previous declaration at line 1003 in file './rtl.h'
 >    typedef rtx rtx_function ();
 >  --------------^
 > make[2]: *** [stmt.o] Error 1



	The problem is that in rtl.h we have:

 > typedef int (*rtx_function) PROTO((rtx *, void *));

	and in stmt.c we have:

 > typedef rtx rtx_function ();

	which is what produces the conflict.

		--Kaveh
--
Kaveh R. Ghazi			Project Manager / Custom Development
ghazi@caip.rutgers.edu		Icon CMT Corp.


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