https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125696

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot 
gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #4 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Note I think this actually was exposed by r16-26-g2d693c1ffd849e.

Before dse3:
  MEM[(int32_t *)&vec0] = 0;


After:
  MEM <char[2]> [(int32_t *)&vec0 + 2B] = {};


Note the issue is NOT in fre5 but rather execute_update_addresses_taken code.
or maybe it is in this:

                      rhs = fold_build1 (VIEW_CONVERT_EXPR,
                                         TREE_TYPE (lhs), rhs);

Which for some reason is not folding into 0.

I will look into this more later.

Reply via email to