------- 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

Reply via email to