[LLVMbugs] [Bug 23203] New: error in backend: SSE register return with SSE disabled

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 11 08:45:47 PDT 2015


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

            Bug ID: 23203
           Summary: error in backend: SSE register return with SSE
                    disabled
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: blastrock at free.fr
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 14190
  --> https://llvm.org/bugs/attachment.cgi?id=14190&action=edit
The preprocessed file

I'm trying to compile some code (in this case its a modified version of
string.cpp from libcxx) with SSE disabled (-mno-sse), but this gives me the
following error:

    fatal error: error in backend: SSE register return with SSE disabled
    clang-3.6: error: clang frontend command failed with exit code 70 (use -v
to see invocation)
    clang version 3.6.1 
    Target: x86_64-unknown-linux-gnu
    Thread model: posix
    clang-3.6: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
    clang-3.6: note: diagnostic msg: 
    ********************

    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    clang-3.6: note: diagnostic msg: /tmp/string-117432.cpp
    clang-3.6: note: diagnostic msg: /tmp/string-117432.sh
    clang-3.6: note: diagnostic msg: 

    ********************

I'm attaching the preprocessed cpp file (which is different from the one
mentioned above since it didn't compile, complaining about using ::int8_t).

I reduced the command line to:
clang-3.6 "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj" "-target-cpu"
"x86-64" "-target-feature" "-sse" "-nobuiltininc" "-O0" "-std=c++0x" "-x" "c++"
"string.cpp"

-- 
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/20150411/71f8d363/attachment.html>


More information about the llvm-bugs mailing list