[LLVMbugs] [Bug 3058] New: String literals aren't compile-time	constants
    bugzilla-daemon at cs.uiuc.edu 
    bugzilla-daemon at cs.uiuc.edu
       
    Wed Nov 12 11:25:31 PST 2008
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=3058
           Summary: String literals aren't compile-time constants
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sebastian.redl at getdesigned.at
                CC: llvmbugs at cs.uiuc.edu
I'm sure this is well-known, but a bug report is always good to have.
At least on my platform, Linux x64, string literals are not compile-time
constants. This leads to the test cases Sema/compound-literal.c and
Sema/array-init.c failing. In both test cases, there are places where a string
literal is used in an initializer. In both test cases, these fail with,
"initializer element is not a compile-time constant".
-- 
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