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]

Re: Patch installed to convert generated .c files to ISO C


"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:

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

Fine with me - and I can test something for you if you like,

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


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