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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs