<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - fatal error: error in backend: SSE register return with SSE disabled"
href="https://llvm.org/bugs/show_bug.cgi?id=25260">25260</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>fatal error: error in backend: SSE register return with SSE disabled
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.5
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tydeman@tybor.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=15122" name="attach_15122" title="Resulting command used to compile.">attachment 15122</a> <a href="attachment.cgi?id=15122&action=edit" title="Resulting command used to compile.">[details]</a></span>
Resulting command used to compile.
A one line program kills the compiler.
float pef2f ( const float f ){return f- 1.f;}
My command line options:
export CFLAGS="-std=c1x -m64 -mfpmath=387 -mno-sse -O0 -pedantic -fmath-errno
${INCS}"
But, in looking at the attached *.sh file, I see 'sse', not 'no-sse'.
This is on Intel Centrino 2 in 64-bit mode running Fedora Linux 22.
fatal error: error in backend: SSE register return with SSE disabled
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.5.0 (tags/RELEASE_350/final)
Target: x86_64-redhat-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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-624404.c
clang: note: diagnostic msg: /tmp/test34-624404.sh
clang: note: diagnostic msg:
********************
This is /tmp/test34-624404.c
# 1 "<built-in>"
# 1 "test34.c"
#define FLT float
#define DBL double
#define LDBL long double
#define ONE_FLT 1.f
#define ONE_DBL 1.0
#define ONE_LDBL 1.L
#define LMS_CONST_PARM const
#if 1
FLT pef2f ( LMS_CONST_PARM FLT f ){return f- ONE_FLT;}
#else
# 12 "test34.c"
DBL pef2d ( LMS_CONST_PARM FLT f ){return f- ONE_DBL;}
LDBL pef2ld ( LMS_CONST_PARM FLT f ){return f- ONE_LDBL;}
FLT ped2f ( LMS_CONST_PARM DBL d ){return d- ONE_DBL;}
DBL ped2d ( LMS_CONST_PARM DBL d ){return d- ONE_DBL;}
LDBL ped2ld ( LMS_CONST_PARM DBL d ){return d- ONE_LDBL;}
FLT peld2f ( LMS_CONST_PARM LDBL ld ){return ld- ONE_LDBL;}
DBL peld2d ( LMS_CONST_PARM LDBL ld ){return ld- ONE_LDBL;}
LDBL peld2ld( LMS_CONST_PARM LDBL ld ){return ld- ONE_LDBL;}
#endif
# 21 "test34.c"</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>