-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Closed
Closed
Copy link
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillallvm:codegenwontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid
Description
Bugzilla Link | 46291 |
Resolution | WONTFIX |
Resolved on | Jun 17, 2020 09:28 |
Version | 10.0 |
OS | FreeBSD |
Blocks | #44654 |
CC | @adalava,@DimitryAndric,@tstellar |
Extended Description
FreeBSD head, powerpc64 elfv2 or powerpc or powerpcspe, LLVM 10.0.1-rc1
Reproduction:
pkubaj@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; }
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillallvm:codegenwontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid