[llvm-bugs] [Bug 46291] New: fatal error: error in backend: Cannot select: t3: i32 = fp_to_sint nofpexcept t2
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jun 11 14:47:32 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46291
Bug ID: 46291
Summary: fatal error: error in backend: Cannot select: t3: i32
= fp_to_sint nofpexcept t2
Product: libraries
Version: 10.0
Hardware: Other
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
Assignee: unassignedbugs at nondot.org
Reporter: pkubaj at anongoth.pl
CC: llvm-bugs at lists.llvm.org
FreeBSD head, powerpc64 elfv2 or powerpc or powerpcspe, LLVM 10.0.1-rc1
Reproduction:
pkubaj at talos:$/usr/home/pkubaj/libretro-fbneo$ /usr/bin/cc -cc1 -triple
powerpc64-unknown-freebsd13.0 -emit-obj -frounding-math ym2612-5de3af.c
ym2612-5de3af.c:1:1: warning: type specifier missing, defaults to 'int'
a;
^
ym2612-5de3af.c:3:1: warning: type specifier missing, defaults to 'int'
c() { a = b; }
^
ym2612-5de3af.c:3:14: warning: non-void function does not return a value
c() { a = b; }
^
fatal error: error in backend: Cannot select: t3: i32 = fp_to_sint nofpexcept
t2
t2: f64,ch = CopyFromReg t0, Register:f64 %5
t1: f64 = Register %5
In function: c
Test case:
a;
double b;
c() { a = b; }
--
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/20200611/46356229/attachment.html>
More information about the llvm-bugs
mailing list