Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Fatal error with Clang + VS2013 on Windows #28160

Open Quuxplusone opened 8 years ago

Quuxplusone commented 8 years ago
Bugzilla Link PR28161
Status NEW
Importance P normal
Reported by akukanov@rambler.ru
Reported on 2016-06-16 15:23:34 -0700
Last modified on 2016-06-24 14:32:44 -0700
Version 3.8
Hardware PC Windows NT
CC david.majnemer@gmail.com, llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments clang_bug-072e5c.sh (2304 bytes, application/octet-stream)
clang_bug-072e5c.zip (391068 bytes, application/x-zip-compressed)
clang_bug.cpp (884 bytes, text/plain)
Blocks
Blocked by
See also
The command and error message:

C:\temp>clang++ -c -O2 -fexceptions clang_bug.cpp

Unwind edges out of a funclet pad must have the same unwind dest
  %10 = cleanuppad within none []
  cleanupret from %21 unwind to caller
  cleanupret from %10 unwind label %ehcleanup5
fatal error: error in backend: Broken function found, compilation aborted!
clang++.exe: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.8.0 (branches/release_38)
Target: x86_64-pc-windows-msvc
Thread model: posix
Quuxplusone commented 8 years ago

Attached clang_bug-072e5c.sh (2304 bytes, application/octet-stream): run script

Quuxplusone commented 8 years ago

Attached clang_bug-072e5c.zip (391068 bytes, application/x-zip-compressed): preprocessed source (zipped)

Quuxplusone commented 8 years ago

Attached clang_bug.cpp (884 bytes, text/plain): The code to reproduce

Quuxplusone commented 8 years ago

I cannot reproduce with trunk, please try with a nightly build: http://llvm.org/builds/

Quuxplusone commented 8 years ago

Thanks for taking a look. I confirm the issue is not reproduced with snapshot builds, r273154 in particular.