[Bug target/26459] [4.1/4.2 Regression] gcc fails to build on powerpc e500-double targets
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 27 22:42:00 GMT 2006
------- Comment #12 from steven at gcc dot gnu dot org 2006-02-27 22:36 -------
With "GNU C version 4.1.0 20060222 (prerelease) (powerpc-unknown-linux-gnuspe)"
I get a different ICE:
$ ./cc1 -O2 -fno-inline t.c
foo
t.c: In function 'foo':
t.c:9: warning: incompatible implicit declaration of built-in function 'ldexp'
Analyzing compilation unitPerforming intraprocedural optimizations
Assembling functions:
foo
t.c: In function 'foo':
t.c:12: error: unrecognizable insn:
(insn 77 60 32 2 (set (subreg:DF (reg:DI 3 3 [128]) 0)
(mem/u/c/i:DF (reg/f:SI 9 9 [126]) [3 S8 A64])) -1 (nil)
(expr_list:REG_DEAD (reg/f:SI 9 9 [126])
(nil)))
t.c:12: internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
$ cat t.c
void
foo (long exponent, double *to)
{
double dto;
dto = 0.0;
if (!exponent)
dto = ldexp (1.0, exponent);
*to = dto;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26459
More information about the Gcc-bugs
mailing list