[llvm-commits] [llvm-gcc-4.2] r45052 - in /llvm-gcc-4.2/trunk/gcc/testsuite/gcc.c-torture/execute: 20051012-1.x 920501-1.x 921202-1.x 921208-2.x

Eric Christopher echristo at apple.com
Fri Dec 14 17:48:58 PST 2007


>
> No, -w doesn't work to suppress that message (llvm doesn't have a
> mechanism to
> suppress it).

Aaah.

>  Considering this is undefined behavior, I'm not
> convinced this is
> the wrong thing, although your first reaction would be that -w should
> suppress
> everything.  I could probably be convinced it should be a hard error
> though.
>
> These tests are incorrect source and I think not running them is OK.

Well, undefined, not incorrect. I think the tests are valid if  
undefined C code that the compiler should accept - but maybe warn about.

-eric



More information about the llvm-commits mailing list