[LLVMbugs] [Bug 12996] New: Negative floating point constants not permitted in initializer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 31 08:24:41 PDT 2012


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

             Bug #: 12996
           Summary: Negative floating point constants not permitted in
                    initializer
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pickensd at synopsys.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


The following declaration no longer compiles with clang since updating from 3.0
to 3.1:


static char c = -1.0;



f.c:1:17: error: 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