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

            Bug ID: 98358
           Summary: new test case g++.dg/template/pr98297.C in r8-10683
                    fails
           Product: gcc
           Version: 8.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:02092ec9a00273716052732eb9ee343eef6bdc1b, r8-10683

make  -k check-gcc RUNTESTFLAGS="dg.exp=g++.dg/template/pr98297.C"
FAIL: g++.dg/template/pr98297.C  -std=c++11  (test for errors, line 5)
FAIL: g++.dg/template/pr98297.C  -std=c++11 (test for excess errors)
FAIL: g++.dg/template/pr98297.C  -std=c++14  (test for errors, line 5)
FAIL: g++.dg/template/pr98297.C  -std=c++14 (test for excess errors)
# of expected passes            2
# of unexpected failures        4
# of unsupported tests          1

commit 02092ec9a00273716052732eb9ee343eef6bdc1b
Author: Nathan Sidwell <nat...@acm.org>
Date:   Wed Dec 16 11:49:41 2020 -0800

    c++: Fix template parm ICE [PR 98297]

Executing on host:
/home/seurer/gcc/git/build/gcc-8-test/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-8-test/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-8-test/gcc/testsuite/g++.dg/template/pr98297.C   
-fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++
-I/home/seurer/gcc/git/build/gcc-8-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-8-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-8-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-8-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-8-test/libstdc++-v3/testsuite/util
-fmessage-length=0  -std=c++11  -pedantic-errors -Wno-long-long  -S -o
pr98297.s    (timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-8-test/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-8-test/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-8-test/gcc/testsuite/g++.dg/template/pr98297.C
-fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++
-I/home/seurer/gcc/git/build/gcc-8-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-8-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-8-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-8-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-8-test/libstdc++-v3/testsuite/util
-fmessage-length=0 -std=c++11 -pedantic-errors -Wno-long-long -S -o pr98297.s
/home/seurer/gcc/git/gcc-8-test/gcc/testsuite/g++.dg/template/pr98297.C:5:1:
warning: 'b' attribute directive ignored [-Wattributes]
/home/seurer/gcc/git/gcc-8-test/gcc/testsuite/g++.dg/template/pr98297.C:5:1:
error: name of class shadows template template parameter 'a'
compiler exited with status 1
FAIL: g++.dg/template/pr98297.C  -std=c++11  (test for errors, line 5)
PASS: g++.dg/template/pr98297.C  -std=c++11  (test for warnings, line 5)
FAIL: g++.dg/template/pr98297.C  -std=c++11 (test for excess errors)
Excess errors:
/home/seurer/gcc/git/gcc-8-test/gcc/testsuite/g++.dg/template/pr98297.C:5:1:
error: name of class shadows template template parameter 'a'

Reply via email to