This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34831] [4.3 Regression] ICE on gcc.dg/pr34233.c for MIPS
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2008 16:56:15 -0000
- Subject: [Bug target/34831] [4.3 Regression] ICE on gcc.dg/pr34233.c for MIPS
- References: <bug-34831-7151@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from rguenther at suse dot de 2008-01-18 16:56 -------
Subject: Re: [4.3 Regression] ICE on gcc.dg/pr34233.c for
MIPS
On Fri, 18 Jan 2008, steven at gcc dot gnu dot org wrote:
> ------- Comment #6 from steven at gcc dot gnu dot org 2008-01-18 16:53 -------
> The offending insn is already produced in "expand".
> GCC ICEs the first time it calls recog() on it.
It is emitted from expand_builtin_pow():
/* If the original exponent was negative, reciprocate the
result. */
if (n < 0)
op = expand_binop (mode, sdiv_optab, CONST1_RTX (mode),
op, NULL_RTX, 0, OPTAB_LIB_WIDEN);
I guess we have to force CONST1_RTX to a register instead?
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34831