[llvm-commits] [llvm] r86314 - /llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp

Duncan Sands baldrick at free.fr
Sun Nov 8 09:02:13 PST 2009


>>>> Avoid "ambiguous 'else'" warning from gcc.
>>> That's a lame warning.  If GCC had better grasp of columns/indentation
>>> of the else, it could see that it was clearly doing the right thing.
>> Not that I dislike your patch, of course.  Thanks for doing this. :)
> 
> What? A compiler be aware of whitespace? That's only for lame
> languages like Haskell and Python!

The gcc Ada front-end adapts warnings based on indentation in the program.

Ciao,

Duncan.



More information about the llvm-commits mailing list