[Bug target/58158] [4.8/4.9 Regression] ICE with conditional moves on GPRs with a floating point conditional on mipsel with loongson2f

rth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 12 20:23:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58158

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu.org

--- Comment #13 from Richard Henderson <rth at gcc dot gnu.org> ---
(In reply to Tom Li from comment #12)
>  {
> +  if (!ISA_HAS_FP_CONDMOVE &&
> +      GET_MODE_CLASS (GET_MODE (XEXP (operands[1], 0))) != MODE_INT)
> +    FAIL;

The patch is clearly wrong.  It's attempting to look through
a subreg around operands[1], but of course that subreg will
not always exist.



More information about the Gcc-bugs mailing list