[Bug tree-optimization/125133] Optimization: v = *(*p)++; can make different code from v = **p, p++; for ivopts

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 1 21:05:25 GMT 2026


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement
          Component|middle-end                  |tree-optimization
            Summary|Optimization: v = *(*p)++;  |Optimization: v = *(*p)++;
                   |can make different code     |can make different code
                   |from v = **p, p++;          |from v = **p, p++; for
                   |                            |ivopts
   Last reconfirmed|                            |2026-05-01
      Known to fail|                            |4.9.4

--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. There might be another bug about the same issue.


More information about the Gcc-bugs mailing list