[LLVMbugs] [Bug 2525] isConstantExpr() doesn't support C99 shortcuts
    bugzilla-daemon at cs.uiuc.edu 
    bugzilla-daemon at cs.uiuc.edu
       
    Wed Jul  9 09:08:09 PDT 2008
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=2525
Eli Friedman <sharparrow1 at yahoo.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sharparrow1 at yahoo.com
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com>  2008-07-09 11:08:03 ---
>From C99 6.5p6:
"An integer constant expression shall have integer type and shall only have
operands that are integer constants, enumeration constants, character
constants, sizeof expressions whose results are integer constants, and floating
constants that are the immediate operands of casts."
A global variable is none of the above.
-- 
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.
    
    
More information about the llvm-bugs
mailing list