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

            Bug ID: 100451
           Summary: g++.dg/warn/Warray-bounds-20.C XPASSes
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: msebor at gcc dot gnu.org
  Target Milestone: ---

Between 20210318 (ab03c0d5753549f1a78eeb706510b55fb97c8651) and 20210319
(287e3e8466f44f9d395a2e4dcfcda56cc34ceb1c),
g++.dg/warn/Warray-bounds-20.C began to XPASS for 32-bit compilations:

XPASS: g++.dg/warn/Warray-bounds-20.C  -std=gnu++14 assign (test for warnings,
line 30)
XPASS: g++.dg/warn/Warray-bounds-20.C  -std=gnu++17 assign (test for warnings,
line 30)
XPASS: g++.dg/warn/Warray-bounds-20.C  -std=gnu++2a assign (test for warnings,
line 30)
XPASS: g++.dg/warn/Warray-bounds-20.C  -std=gnu++98 assign (test for warnings,
line 30)

I'm seeing it on all of i386-pc-solaris2.11, sparc-sun-solaris2.11, and
x86_64-pc-linux-gnu with -m32.
According to gcc-testresults, the same issue exists on a wide range of other
targets,
probably everywhere.

The gcc-11 branch is affected as well.

Reply via email to