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

trunk won't build


I've been ignoring the trunk for a long time, but a native build of
i686-pc-sco3.2v5.0.6 croaks.

/bin/cc -c -DIN_GCC    -g    -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/play
/gcc-trunk/gcc -I/play/gcc-trunk/gcc/. -I/play/gcc-trunk/gcc/config -I/play/gcc-
trunk/gcc/../include /play/gcc-trunk/gcc/gengenrtl.c -o gengenrtl.o
"/play/gcc-trunk/gcc/rtl.def", line 529: error: Syntax error before or at: 0

That source line is
	DEF_RTL_EXPR(PREFETCH, "prefetch", "eee", 'x')

And the syntax error is that, after preprocessing, we end up with :

	enum rtx_code  {
	 UNKNOWN ,
	 NIL ,
	[ munch ] 
	 UNSPEC_VOLATILE ,
	 ADDR_VEC ,
	 ADDR_DIFF_VEC ,
	 0 ,
	 SET ,
	 USE ,
	 CLOBBER ,
	[ more munching action ]

'0' isn't a valid identifier here.

Has my target somehow fallen out of date or is this generic breakage?
The last one to touch rtl.def seems to be the PREFETCH stuff from Janis
Johnson.  It looks looks like a pretty pertinent hint, but I haven't
time travelled in the tree to see if that's it or not.

RJL


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