public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98358] New: new test case g++.dg/template/pr98297.C in r8-10683 fails
@ 2020-12-17 18:21 seurer at gcc dot gnu.org
2020-12-17 18:33 ` [Bug c++/98358] " nathan at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2020-12-17 18:21 UTC (permalink / raw)
To: gcc-bugs
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 <nathan@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'
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/98358] new test case g++.dg/template/pr98297.C in r8-10683 fails
2020-12-17 18:21 [Bug c++/98358] New: new test case g++.dg/template/pr98297.C in r8-10683 fails seurer at gcc dot gnu.org
@ 2020-12-17 18:33 ` nathan at gcc dot gnu.org
2020-12-18 13:59 ` clyon at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: nathan at gcc dot gnu.org @ 2020-12-17 18:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98358
Nathan Sidwell <nathan at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org
--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
ah, this is clueful about what changed to cause the problem in the first place.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/98358] new test case g++.dg/template/pr98297.C in r8-10683 fails
2020-12-17 18:21 [Bug c++/98358] New: new test case g++.dg/template/pr98297.C in r8-10683 fails seurer at gcc dot gnu.org
2020-12-17 18:33 ` [Bug c++/98358] " nathan at gcc dot gnu.org
@ 2020-12-18 13:59 ` clyon at gcc dot gnu.org
2021-01-05 8:45 ` [Bug c++/98358] [8 Regression] " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: clyon at gcc dot gnu.org @ 2020-12-18 13:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98358
Christophe Lyon <clyon at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|powerpc64*-linux-gnu |powerpc64*-linux-gnu
| |aarch64 arm
CC| |clyon at gcc dot gnu.org
--- Comment #2 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Seen on arm and aarch64 if that helps to reproduce it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/98358] [8 Regression] new test case g++.dg/template/pr98297.C in r8-10683 fails
2020-12-17 18:21 [Bug c++/98358] New: new test case g++.dg/template/pr98297.C in r8-10683 fails seurer at gcc dot gnu.org
2020-12-17 18:33 ` [Bug c++/98358] " nathan at gcc dot gnu.org
2020-12-18 13:59 ` clyon at gcc dot gnu.org
@ 2021-01-05 8:45 ` rguenth at gcc dot gnu.org
2021-04-30 13:19 ` cvs-commit at gcc dot gnu.org
2021-04-30 13:22 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-05 8:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98358
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|new test case |[8 Regression] new test
|g++.dg/template/pr98297.C |case
|in r8-10683 fails |g++.dg/template/pr98297.C
| |in r8-10683 fails
Priority|P3 |P1
Last reconfirmed| |2021-01-05
Target Milestone|--- |8.5
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/98358] [8 Regression] new test case g++.dg/template/pr98297.C in r8-10683 fails
2020-12-17 18:21 [Bug c++/98358] New: new test case g++.dg/template/pr98297.C in r8-10683 fails seurer at gcc dot gnu.org
` (2 preceding siblings ...)
2021-01-05 8:45 ` [Bug c++/98358] [8 Regression] " rguenth at gcc dot gnu.org
@ 2021-04-30 13:19 ` cvs-commit at gcc dot gnu.org
2021-04-30 13:22 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-30 13:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98358
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:e22ffa06aa2a996e5967c831d319894be4fdaffa
commit r8-10934-ge22ffa06aa2a996e5967c831d319894be4fdaffa
Author: Jakub Jelinek <jakub@redhat.com>
Date: Fri Apr 30 15:17:31 2021 +0200
testsuite: Adjust expected error in a testcase [PR98358]
On Fri, Apr 23, 2021 at 05:24:00PM -0400, Jason Merrill via Gcc wrote:
> > We have one P1 bug though - P98358 - it is unclear if just changing the
> > testcase is all that is needed or if some C++ FE changes are needed.
>
> The error message quoted in the PR looks correct, so I think changing
> the testcase is sufficient.
2021-04-30 Jakub Jelinek <jakub@redhat.com>
PR c++/98358
* g++.dg/template/pr98297.C: Expect error about shadowing template
template
parameter rather than does not declare anything error.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/98358] [8 Regression] new test case g++.dg/template/pr98297.C in r8-10683 fails
2020-12-17 18:21 [Bug c++/98358] New: new test case g++.dg/template/pr98297.C in r8-10683 fails seurer at gcc dot gnu.org
` (3 preceding siblings ...)
2021-04-30 13:19 ` cvs-commit at gcc dot gnu.org
@ 2021-04-30 13:22 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-30 13:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98358
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-04-30 13:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 18:21 [Bug c++/98358] New: new test case g++.dg/template/pr98297.C in r8-10683 fails seurer at gcc dot gnu.org
2020-12-17 18:33 ` [Bug c++/98358] " nathan at gcc dot gnu.org
2020-12-18 13:59 ` clyon at gcc dot gnu.org
2021-01-05 8:45 ` [Bug c++/98358] [8 Regression] " rguenth at gcc dot gnu.org
2021-04-30 13:19 ` cvs-commit at gcc dot gnu.org
2021-04-30 13:22 ` jakub at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).