[Bug c++/126709] New: [17 Regression] bad-array-section-10.C FAILs

"jakub at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126709

            Bug ID: 126709
           Summary: [17 Regression] bad-array-section-10.C FAILs
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

I see
FAIL: g++.dg/gomp/bad-array-section-10.C  -std=c++26 (test for excess errors)
FAIL: g++.dg/gomp/bad-array-section-10.C  -std=c++29 (test for excess errors)
on both x86_64-linux and i686-linux.
Excess errors are:
/usr/src/gcc/gcc/testsuite/g++.dg/gomp/bad-array-section-10.C:7:35: error:
expected ')' before end of line [-Wtemplate-body]
/usr/src/gcc/gcc/testsuite/g++.dg/gomp/bad-array-section-10.C:24:35: error:
expected ')' before end of line
GXX_TESTSUITE_STDS=98,11,14,17,20,23,26,29 make check-g++
RUNTESTFLAGS=gomp.exp=bad-array-section-10.C
reproduces it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.