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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-bisection,
                   |                            |needs-reduction, wrong-code
   Last reconfirmed|                            |2025-12-04
            Version|unknown                     |16.0
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
-fno-tree-vectorize doesn't help, disabling late unrolling helps, so the issue
must be after that pass.

There's warnings like

t.c:77:14: warning: ‘am’ accessing 8 bytes in a region of size 4
[-Wstringop-overflow=]
   77 | int main() { am(p, 2, (int(*)[])r); }
      |              ^~~~~~~~~~~~~~~~~~~~~

even at -O2, so checking the testcase for validity is necessary as well.

Reply via email to