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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |middle-end
   Last reconfirmed|                            |2020-05-26
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The problem is GCC is shortening the multiple to be unsigned short early on.
That is doing:
    long tt;
    tt = l_volatile_uchar - l_var_short % g_const_uint * l_var_long;
    l_var_short = tt;


Shows the issue.

Reply via email to