public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/54273] New: [4.7] ICE in extract_constrain_insn_cached with --float=soft, --target=powerpc-unknown-linux-gnu
@ 2012-08-15 16:24 simonb at google dot com
2021-12-27 7:17 ` [Bug target/54273] ICE with global floating register and soft float pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: simonb at google dot com @ 2012-08-15 16:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54273
Bug #: 54273
Summary: [4.7] ICE in extract_constrain_insn_cached with
--float=soft, --target=powerpc-unknown-linux-gnu
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: inline-asm
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: simonb@google.com
gcc.target/powerpc/regnames-1.c fails in gcc-4_7-branch at r190414 with
--target=powerpc-unknown-linux-gnu --float=soft. I haven't yet checked 4.8.
Repro, using a cross-gcc hosted on x86_64:
configure \
--enable-languages=c \
--build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu \
--target=powerpc-unknown-linux-gnu \
--with-float=soft
make -j6 all-gcc
make RUNTESTFLAGS='powerpc.exp=regnames-1.c' check-gcc
...
FAIL: gcc.target/powerpc/regnames-1.c (internal compiler error)
...
.../gcc/testsuite/gcc.target/powerpc/regnames-1.c:8:1: error: insn does not
satisfy its constraints:
(insn 20 2 33 (set (mem/c:DF (plus:SI (reg/f:SI 31 %r31)
(const_int 8 [0x8])) [0 S8 A64])
(reg/v:DF 49 %f17 [ f17 ]))
.../gcc/testsuite/gcc.target/powerpc/regnames-1.c:7 282 {*movdf_softfloat32}
(nil))
.../gcc/testsuite/gcc.target/powerpc/regnames-1.c:8:1: internal compiler error:
in extract_constrain_insn_cached, at recog.c:2038
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/54273] ICE with global floating register and soft float
2012-08-15 16:24 [Bug inline-asm/54273] New: [4.7] ICE in extract_constrain_insn_cached with --float=soft, --target=powerpc-unknown-linux-gnu simonb at google dot com
@ 2021-12-27 7:17 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-27 7:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54273
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code,
| |testsuite-fail
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The code should have been rejected as floating registers are turned off with
soft-float ....
Also the testcase should have not run with soft-float targets either.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-27 7:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-15 16:24 [Bug inline-asm/54273] New: [4.7] ICE in extract_constrain_insn_cached with --float=soft, --target=powerpc-unknown-linux-gnu simonb at google dot com
2021-12-27 7:17 ` [Bug target/54273] ICE with global floating register and soft float pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).