[Bug tree-optimization/56384] [4.8 Regression] ICE in fold_binary_loc, at fold-const.c:10422

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 19 07:13:00 GMT 2013


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-02-19
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |4.8.0
            Summary|ICE in fold_binary_loc, at  |[4.8 Regression] ICE in
                   |fold-const.c:10422          |fold_binary_loc, at
                   |                            |fold-const.c:10422
     Ever Confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-19 07:13:09 UTC ---
Started with my http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194250
but I think it has been latent before.  Because before pre the IL dumps look
exactly the same, and the first time the associate: code in fold-const.c is hit
is already when gimple_fold_stmt_to_constant_1 calls fold_binary_loc with
(IMHO)
invalid arguments - BIT_XOR_EXPR, int type, and op0 being unsigned char
SSA_NAME, while op1 is int constant (integer_one_node).



More information about the Gcc-bugs mailing list