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

Re: i386 byteswap.h provoking ``may be undefined'' warnings in gcc3


On Thu, Jul 12, 2001 at 02:48:29AM -0700, Paul Haahr wrote:
> That's still not clear -- it's hard to argue that, just because some
> code is in a provably untaken branch of an if, it shouldn't be checked
> for warnings.  And special casing __builtin_constant_p seems problematic.

It's probably desirable to special case __b_c_p in this way,
as that's part of the point of its existance.  However, I'm
not planning on doing anything about this right now.

Feel free to contribute a patch however.  ;-)


r~


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