[LLVMbugs] [Bug 7618] New: miscompile with optimization (derived	from ffmpeg)
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Sat Jul 10 22:24:32 PDT 2010
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=7618
           Summary: miscompile with optimization (derived from ffmpeg)
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5204)
 --> (http://llvm.org/bugs/attachment.cgi?id=5204)
Testcase
Testcase attached.  To reproduce, run the following on x86-64 Linux:
$ clang tester.c -O3
$ ./a.out
Segmentation fault
$ clang tester.c
$ ./a.out
0028004800280028002800280028ffffffe0002b0000000000280028002800280028ffffffe0002b
0028002800000000ffffffff00000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000
$ gcc tester.c -O3 -std=c99
$ ./a.out
0028004800280028002800280028ffffffe0002b0000000000280028002800280028ffffffe0002b0028002800000000ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
I'm not sure how to go about finding the issue here...
-- 
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