[Bug rtl-optimization/52883] ICE in simplify_const_unary_operation, at simplify-rtx.c:1464

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 6 10:56:00 GMT 2012


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

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

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-04-06 10:55:59 UTC ---
> simplify_const_unary_operation tries to simplify:
> 
> (zero_extend:DI (const_int 0 [0]))
> 
> and trips on assert where:
> 
>       /* When zero-extending a CONST_INT, we need to know its
>              original mode.  */
> 
> There is nothing wrong with the above RTX, so there is no justification to
> trigger the ICE.

Just that it makes no sense.  Please fix whoever generated it instead.



More information about the Gcc-bugs mailing list