From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C0ED8382E06C; Thu, 17 Dec 2020 18:21:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C0ED8382E06C From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/98358] New: new test case g++.dg/template/pr98297.C in r8-10683 fails Date: Thu, 17 Dec 2020 18:21:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2020 18:21:35 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98358 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=3D"dg.exp=3Dg++.dg/template/pr98297.C" FAIL: g++.dg/template/pr98297.C -std=3Dc++11 (test for errors, line 5) FAIL: g++.dg/template/pr98297.C -std=3Dc++11 (test for excess errors) FAIL: g++.dg/template/pr98297.C -std=3Dc++14 (test for errors, line 5) FAIL: g++.dg/template/pr98297.C -std=3Dc++14 (test for excess errors) # of expected passes 2 # of unexpected failures 4 # of unsupported tests 1 commit 02092ec9a00273716052732eb9ee343eef6bdc1b Author: Nathan Sidwell 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=20= =20=20 -fno-diagnostics-show-caret -fdiagnostics-color=3Dnever -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=3D0 -std=3Dc++11 -pedantic-errors -Wno-long-long -S -o pr98297.s (timeout =3D 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=3Dnever -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=3D0 -std=3Dc++11 -pedantic-errors -Wno-long-long -S -o pr9= 8297.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=3Dc++11 (test for errors, line 5) PASS: g++.dg/template/pr98297.C -std=3Dc++11 (test for warnings, line 5) FAIL: g++.dg/template/pr98297.C -std=3Dc++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'=