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

            Bug ID: 124036
           Summary: [16 Regression] gcc.dg/torture/pr117567.c fails since
                    r16-5168
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: diagnostic, testsuite-fail
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stefansf at gcc dot gnu.org
  Target Milestone: ---
            Target: s390*-*-*

Starting with r16-5168 test gcc.dg/torture/pr117567.c fails with excessive
messages during pass strlen:

$ gcc -O3 -S -march=z13 pr117567.c
pr117567.c: In function 'main':
pr117567.c:14:12: warning: writing 1 byte into a region of size 0
[-Wstringop-overflow=]
   14 |       a[e] = d[e - 2] ?: h;
      |       ~~~~~^~~~~~~~~~~~~~~
pr117567.c:5:20: note: at offset -63 into destination object 'a' of size [0,
9223372036854775807]
    5 | extern signed char a[];
      |                    ^

Reply via email to