http://llvm.org/bugs/show_bug.cgi?id=18110
Bug ID: 18110
Summary: With svn clang and MingW 4.8.1 the integrated
assembler breaks C++ exceptions
Product: new-bugs
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Example:
#include <stdio.h>
int main() {
try {
throw 1.0;
}
catch (...) {
printf("Caught.\n");
}
return 0;
}
Compiled with:
clang t.cpp -o t.exe -g -target i686-pc-mingw32 -nostdinc
-Ic:\mingw-builds\x32-4.8.1-win32-dwarf-rev5\mingw32\i686-w64-mingw32\include\
-Wno-deprecated-register -Wno-ignored-attributes -lstdc++
Results in:
terminate called after throwing an instance of 'double'
--
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