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 for `LL' warnings in insn-*.c


On Wed, Jul 24, 2002 at 09:46:45AM +0100, Richard Earnshaw wrote:
> > 
> > Unfortunately that doesn't work.  E.g. try compiling the following
> > using gcc-3.2 -Wtraditional.  You still get the warnings.
> 
> Oh dear.
> > 
> > It is arguably a bug in so far as we expect __extension__ to silence
> > -Wtraditional, nevertheless it is not currently a viable solution.
> 
> Indeed, there should be a PR filed for it if it isn't likely to be fixed 
> as a result of this discussion.

That particular warning comes from cpplib, which is not currently
aware of __extension__ since it treats each token in isolation.

insn-*.c are compiled by the bootstrap compiler (in stage 1); do we
know that this compiler will, in truth, always accept the LL suffix?
If so, another possible change is to make -Wno-long-long override
-Wtraditional for this warning; that would be much easier to
implement.

zw


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