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


Chris Lattner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID




--- Comment #8 from Chris Lattner <[email protected]>  2009-03-24 10:38:47 ---
This case (cast of pointer to int on x86-64 machine) should not be accepted. 
Please see:
http://www.srcf.ucam.org/~jsm28/gcc/

for more than you ever wanted to know about constant expressions.  The fix is
to change the code to cast to long instead of int.


-- 
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