[Bug middle-end/55832] [4.8 Regression] ICE in fold_convert_loc, at fold-const.c:1967

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 2 09:07:00 GMT 2013


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-02 09:07:06 UTC ---
Created attachment 29072
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29072
gcc48-pr55832.patch

Indeed, and omit_one_operand_loc can deal with converting integer_zero_node to
a zero vector, but can't cope with converting integer_one_node into a constant
boolean true vector.

I've slightly adjusted the testcase, so that it at least doesn't violate strict
aliasing, unfortunately without the uninitialized c it doesn't trigger.  And I
couldn't find a way to create ABS_EXPR of vectors using vector types directly.



More information about the Gcc-bugs mailing list