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]

Re: egcs-980406, bootstrap failure with sbitsizetype in c-typeck.c


 > From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
 > 
 > Snapshot:		egcs-980406
 > Platform:		hppa1.1-hp-hpux9.01
 > Stage1 compiler:	cc
 > Assembler:		GAS-970915
 > Linker:			native
 > BOOT_CFLAGS:		-g -O3 -funroll-all-loops -pipe
 > 
 > 
 > 	The bootstrap fails like this:
 > 
 >  > cc -c -DIN_GCC -g -DHAVE_CONFIG_H -DHAIFA -I. -I. -I./config c-typeck.c
 >  > c-typeck.c: 5349: sbitsizetype: macro recursion
 >  > c-typeck.c: 5531: sbitsizetype: macro recursion
 >  > make[2]: *** [c-typeck.o] Error 1
 > 
 > 
 > The definition of sbitsizetype in tree.h looks like this:
 > 
 >  > #define sbitsizetype sizetype_tab.sbitsizetype
 > 
 > 
 > I believe the following patch triggered this:
 > 
 >  > Sat Apr  4 17:42:05 1998  Richard Henderson  <rth@cygnus.com>
 >  >  
 >  >         * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
 >  >         of these into a single struct, with additional [us]sizetype entries.
 > 
 > 
 > 		--Kaveh

	 I verified this also happens with SunOS4 cc.  It'll probably
occur with "gcc -traditional" and any other KNR-ish stage1 compiler. 

		--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]