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

            Bug ID: 24311
           Summary: Compilation error
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

While building the latest checkout from the LLVM tree, I am getting a
compilation error for this file:
InlineFunction.cpp
located in the LLVMTransformUtils project.
I am using VS2013 64Bit

The error is something like this:
------ Build started: Project: LLVMTransformUtils, Configuration: Release x64
------
C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(381,5):
warning MSB8028: The intermediate directory (LLVMTransformUtils.dir\Release\)
contains files shared from another project (LLVMTransformUtils.vcxproj).  This
can lead to incorrect clean and rebuild behavior.
  InlineFunction.cpp
f:\gitsources\llvm\lib\transforms\utils\inlinefunction.cpp(1436): fatal error
C1001: An internal error has occurred in the compiler.
  (compiler file 'f:\dd\vctools\compiler\utc\src\p2\ehexcept.c', line 956)
   To work around this problem, try simplifying or changing the program near
the locations listed above.
  Please choose the Technical Support command on the Visual C++ 
   Help menu, or open the Technical Support help file for more information
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I have tracked the error to this line in the file (line 1191):
// Insert the llvm.stacksave.
CallInst *SavedPtr = IRBuilder<>(FirstNewBlock, FirstNewBlock->begin())
                             .CreateCall(StackSave, {}, "savedstack");
It seems to be coming from the CreateCall portion of the line.

-- 
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

Reply via email to