http://llvm.org/bugs/show_bug.cgi?id=9185
Summary: warn when code would be treated differently under gcc
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Attached are four testcases, all of which print "AAAAAAAAAAAAAAAAAAAAAA" when
compiled correctly, under clang.
Gcc prints "BBBBBBBBBBBBBBBBBBBBBB" for all of them. It would be really cool if
we could emit a warning in cases we can inexpensively detect where gcc is going
to miscompile the code. This would save lots of gcc to clang porting time.
--
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