This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/64205] [5 Regression] powerpc64-linux --with-cpu=G5 bootstrap failure
- From: "bergner at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Jan 2015 23:03:26 +0000
- Subject: [Bug target/64205] [5 Regression] powerpc64-linux --with-cpu=G5 bootstrap failure
- Auto-submitted: auto-generated
- References: <bug-64205-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64205
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-01-20
CC| |bergner at gcc dot gnu.org,
| |meissner at gcc dot gnu.org,
| |uweigand at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Peter Bergner <bergner at gcc dot gnu.org> ---
Confirmed. Here's a simplified test case and simplified options:
[bergner@makalu-lp1 PR64687]$ cat decode.i
union ieee754r_Decimal32
{
_Decimal32 sd;
unsigned int cc0;
};
unsigned int
__decoded32 (_Decimal32 a)
{
union ieee754r_Decimal32 d;
d.sd = a;
return d.cc0;
}
[bergner@makalu-lp1 PR64687]$
/home/bergner/gcc/build/gcc-fsf-mainline-pr64687-debug/gcc/xgcc
-B/home/bergner/gcc/build/gcc-fsf-mainline-pr64687-debug/gcc -O1 -mno-hard-dfp
-mcpu=power7 -S decode.i
decode.i: In function â__decoded32â:
decode.i:13:1: error: insn does not satisfy its constraints:
}
^
(insn 16 4 3 2 (set (mem/c:SD (plus:DI (reg/f:DI 1 1)
(const_int 48 [0x30])) [0 a+0 S4 A64])
(reg:SD 33 1)) decode.i:9 492 {movsd_hardfloat}
(nil))
decode.i:13:1: internal compiler error: in extract_constrain_insn, at
recog.c:2246
Basically we hit this with "-O1 -mno-hard-dfp -maltivec" which matches the ICE
seen with "-mcpu=G5" and "-mno-hard-dfp -mcpu=power7".