[LLVMbugs] [Bug 6824] New: crash in X86 DAG->DAG Instruction Selection

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 12 12:27:05 PDT 2010


           Summary: crash in X86 DAG->DAG Instruction Selection
           Product: new-bugs
           Version: trunk
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: kwm at FreeBSD.org
                CC: llvmbugs at cs.uiuc.edu

> cat fopen.c 
#include <stdio.h>
 int main ()
 FILE *f = fopen ("conftest.out", "w");

> clang -v
clang version 1.5 (trunk 101035)
Target: i386-unknown-freebsd8.0
Thread model: posix
> clang -O2 fopen.c
Stack dump:
0.    Program arguments: /usr/local/clang/bin/clang -cc1 -triple
i386-unknown-freebsd8.0 -S -disable-free -main-file-name fopen.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -target-cpu
pentium4 -resource-dir /usr/local/clang/lib/clang/1.5 -O2 -ferror-limit 19
-fmessage-length 80 -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics
-o /tmp/cc-rrmzgR.s -x c fopen.c 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'X86 DAG->DAG Instruction Selection' on function '@main'
clang: error: compiler command failed due to signal 11 (use -v to see

-O1 also crashes, -O0 works.
This testcase works with clang revision 100677.

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