This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
target/5217: gcc-3.0.3 spills its guts on ppc 750 with -ffast-math
- From: segher at xiph dot org
- To: gcc-gnats at gcc dot gnu dot org
- Date: 29 Dec 2001 17:16:35 -0000
- Subject: target/5217: gcc-3.0.3 spills its guts on ppc 750 with -ffast-math
- Reply-to: segher at xiph dot org
>Number: 5217
>Category: target
>Synopsis: gcc-3.0.3 spills its guts on ppc 750 with -ffast-math
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Sat Dec 29 09:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: segher@xiph.org
>Release: 3.0.3
>Organization:
>Environment:
powerpc 750, linux
>Description:
gcc-3.0 -v
Reading specs from /usr/lib/gcc-lib/powerpc-linux/3.0.3/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc powerpc-linux
Thread model: posix
gcc version 3.0.3
p.c contents:
static void couple_point(float A, float B, float *mag)
{
if (fabs(A) > fabs(B))
*mag = A;
else
*mag = B;
}
gcc-3.0 -O1 -ffast-math -mcpu=750 p.c
p.c: In function `couple_point':
p.c:7: Unrecognizable insn:
(insn 42 41 45 (set (reg:SF 90)
(if_then_else:DF (ge (reg:DF 92)
(const_double:DF (cc0) 0 [0x0] 0 [0x0] 0 [0x0] 0 [0x0] 0 [0x0]))
(reg/v:SF 83)
(reg/v:SF 82))) -1 (insn_list 41 (nil))
(expr_list:REG_DEAD (reg:DF 92)
(expr_list:REG_DEAD (reg/v:SF 83)
(expr_list:REG_DEAD (reg/v:SF 82)
(nil)))))
p.c:7: Internal compiler error in extract_insn, at recog.c:2218
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: