[llvm-bugs] [Bug 25415] New: fatal error: error in backend: SSE register return with SSE disabled/lindata/fpcets/clang64/370/c87/

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 5 11:16:46 PST 2015


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

            Bug ID: 25415
           Summary: fatal error: error in backend: SSE register return
                    with SSE disabled/lindata/fpcets/clang64/370/c87/
           Product: clang
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tydeman at tybor.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

fatal error: error in backend: SSE register return with SSE
disabled/lindata/fpcets/clang64/370/c87/
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-redhat-linux-gnu
Thread model: posix
clang: 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: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/test34-3388a0.c
clang: note: diagnostic msg: /tmp/test34-3388a0.sh
clang: note: diagnostic msg: 

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

Here is the command line flags I use:
export CFLAGS="-std=c1x -m64 -mfpmath=387 -mno-sse -O0 -pedantic -fmath-errno
${INCS}"

Here is the one line program:
# 1 "<built-in>"
# 1 "test34.c"
float pef2f( const float f ){ return  f-1.f; }

Here is the *.sh:
# Crash reproducer for clang version 3.7.0 (tags/RELEASE_370/final)
# Driver args: "-std=c1x" "-m64" "-mfpmath=387" "-mno-sse" "-O0" "-pedantic"
"-fmath-errno" "-I" "/lindata/fpcets/clang64/370/c87//" "-I"
"/lindata/fpcets/common/" "-I" "/lindata/fpcets/real/" "-I"
"/lindata/fpcets/real/bin/" "-I" "/lindata/fpcets/real/bin/io/" "-I"
"/lindata/fpcets/cmplx/" "-Wno-literal-range" "-Wno-unknown-pragmas" "-c"
"test34.c"
# Original command:  "/usr/bin/clang" "-cc1" "-triple"
"x86_64-redhat-linux-gnu" "-emit-obj" "-mrelax-all" "-disable-free"
"-disable-llvm-verifier" "-main-file-name" "test34.c" "-mrelocation-model"
"static" "-mthread-model" "posix" "-mdisable-fp-elim" "-fmath-errno"
"-masm-verbose" "-mconstructor-aliases" "-munwind-tables" "-fuse-init-array"
"-target-cpu" "x86-64" "-mfpmath" "387" "-target-feature" "-sse"
"-target-linker-version" "2.25" "-dwarf-column-info" "-coverage-file"
"/lindata/fpcets/clang64/370/c87/test34.c" "-resource-dir"
"/usr/bin/../lib/clang/3.7.0" "-I" "/lindata/fpcets/clang64/370/c87//" "-I"
"/lindata/fpcets/common/" "-I" "/lindata/fpcets/real/" "-I"
"/lindata/fpcets/real/bin/" "-I" "/lindata/fpcets/real/bin/io/" "-I"
"/lindata/fpcets/cmplx/" "-internal-isystem" "/usr/local/include"
"-internal-isystem" "/usr/bin/../lib/clang/3.7.0/include"
"-internal-externc-isystem" "/include" "-internal-externc-isystem"
"/usr/include" "-O0" "-Wno-literal-range" "-Wno-unknown-pragmas" "-pedantic"
"-std=c1x" "-fdebug-compilation-dir" "/lindata/fpcets/clang64/370/c87"
"-ferror-limit" "19" "-fmessage-length" "0" "-mstackrealign"
"-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-o" "test34.o" "-x" "c"
"test34.c"
 "/usr/bin/clang" "-cc1" "-triple" "x86_64-redhat-linux-gnu" "-emit-obj"
"-mrelax-all" "-disable-free" "-disable-llvm-verifier" "-main-file-name"
"test34.c" "-mrelocation-model" "static" "-mthread-model" "posix"
"-mdisable-fp-elim" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases"
"-munwind-tables" "-fuse-init-array" "-target-cpu" "x86-64" "-mfpmath" "387"
"-target-feature" "-sse" "-target-linker-version" "2.25" "-dwarf-column-info"
"-O0" "-Wno-literal-range" "-Wno-unknown-pragmas" "-pedantic" "-std=c1x"
"-ferror-limit" "19" "-fmessage-length" "0" "-mstackrealign"
"-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-x" "c" "test34-3388a0.c"

-- 
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/20151105/df50c9e9/attachment-0001.html>


More information about the llvm-bugs mailing list