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: unassignedclangb...@nondot.org
          Reporter: adam...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to