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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is what we produce on the gimple level:

  abc = "abc";
  ab = "ab";
  a = "a";


Interesting no compiler I see does this optimization for this code.

Reply via email to