http://llvm.org/bugs/show_bug.cgi?id=3756


Chris Lattner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #6 from Chris Lattner <[email protected]>  2009-03-10 23:13:33 ---
Unfortunately, this will never be fixed in either llvm-gcc or clang. 
__builtin_constant_p is a "best effort" constant folding tester, which is
allowed to fail.  You should never write code that assumes that
__builtin_constant_p can't fail (if you need that, just don't use
__builtin_constant_p).  It would be interesting and useful to bring this up on
the glibc list to see if they are willing to fix their headers.

Barring that, if this is really important to you, please raise the issue on the
llvmdev list.  We will need IR extensions to support this among other things.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to