Patch for `LL' warnings in insn-*.c

Richard Earnshaw rearnsha@arm.com
Wed Jul 24 05:10:00 GMT 2002


>  > From: Richard Earnshaw
>  > 
>  > Rather than doing all that, which makes the code unnecessarily ugly
>  > and complicated, can't we just shut the compiler up by including
>  > ansidecl.h and marking the line __extension__?  After all, we know
>  > that in this case we are using an extension and that it is safe.
> 
> 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.

R.





More information about the Gcc-patches mailing list