Patch installed to convert generated .c files to ISO C

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Sat Jul 5 14:30:00 GMT 2003


 > From: Andreas Jaeger <aj@suse.de>
 > 
 > We need the prototype here, otherwise we get bootstrap errors like these:
 > insn-attrtab.c:27128: warning: no previous prototype for `ppro_p0_unit_blockage_range'
 > 
 > I'll revert this part of the patch now.
 > 
 > I'll commit the appended patch now as obvious to fix this.  Bootstrap
 > on x86_64-linux-gnu is still going on but I'm at building libstdc++
 > now, (it failed previously at stage1), so everything looks fine.
 > 
 > Andreas
 > 
 > 2003-07-05  Andreas Jaeger  <aj@suse.de>
 > 
 > 	* genattrtab.c (write_attr_get): Revert part of last patch to
 > 	always write out a prototype.

Thanks and sorry again, this didn't occur on sparc.  It looks like
there are some internal attrs on some specific ports that cause this
problem.  They don't get output in insn-attr.h or in tm-preds.h

I'll try and find a way to distinguish them from other functions so we
can perhaps make them static and avoid the extra prototypes.

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu



More information about the Gcc-patches mailing list