[LLVMbugs] [Bug 12644] New: -Wuninitialized crashess Clang when built with GCC 4.7

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 24 10:05:46 PDT 2012


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

             Bug #: 12644
           Summary: -Wuninitialized crashess Clang when built with GCC 4.7
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: davorin.ucakar at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8444
  --> http://llvm.org/bugs/attachment.cgi?id=8444
Clang output

OS: Arch Linux x86-64

Compiling a simple program like
---
int main() {
  int foo;
  return 0;
}
---
crashes Clang when compiling with -Wuninitialized (-Wall).

This bug only appears when LLVM/Clang (both 3.0 and trunk) is build with GCC
4.7 and -ftree-pre optimisation turned on (-O2 or higher).

See Fedora bug report for more information:
https://bugzilla.redhat.com/show_bug.cgi?id=791365

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