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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |122871
          Component|target                      |middle-end
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2026-03-12
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The gimple level turns it into:
  _1 = (unsigned short) n_2(D);
  _3 = _1 * 257;

Which is fine except the middle-end does not expand it into something
reasonable.

Which also makes this basically the same as PR 122871.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122871
[Bug 122871] [13/14/15/16 Regression] de-optimized synthesis of long long shift
and add

Reply via email to