[llvm-bugs] [Bug 25307] New: "fatal error: error in backend" code with exceptions in clang for msvc in Release x64 configuration

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Oct 24 05:09:56 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25307

            Bug ID: 25307
           Summary: "fatal error: error in backend" code with exceptions
                    in clang for msvc in Release x64 configuration
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: adamf88 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15151
  --> https://llvm.org/bugs/attachment.cgi?id=15151&action=edit
Sample code to reproduce the error

I used the most recent build available to download:
LLVM-3.8.0-r250698-win32.exe

If I try to compile attached code in Visual Studio 2010 (using Platform
Toolset: LLVM-vs2010, Configuration: Release and Platform: x64) then I get an
error:

CL : fatal error : error in backend: assembler label '.LBB0_-1' can not be
undefined

I can reproduce it only in configuration Release x64 with O2 flag.
I know exceptions aren't ready yet for MSVC, but maybe this scenario will be
helpful.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151024/7859c17c/attachment.html>


More information about the llvm-bugs mailing list