public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98115] New: [11 Regression] error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba
@ 2020-12-03 9:24 marxin at gcc dot gnu.org
2020-12-03 9:25 ` [Bug c++/98115] " marxin at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-03 9:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98115
Bug ID: 98115
Summary: [11 Regression] error: partial specialization ‘class
Stringify<const char [N]>’ is not more specialized
than [-fpermissive] since r11-5663-g329ae1d7751346ba
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: nathan at gcc dot gnu.org
Target Milestone: ---
Since the revision I see:
$ cat layout.ii
template <class> class Stringify;
template <long N> class Stringify<const char[N]>;
$ g++ layout.ii -c
layout.ii:2:25: error: partial specialization ‘class Stringify<const char [N]>’
is not more specialized than [-fpermissive]
2 | template <long N> class Stringify<const char[N]>;
| ^~~~~~~~~~~~~~~~~~~~~~~~
layout.ii:1:24: note: primary template ‘template<class> class Stringify’
1 | template <class> class Stringify;
| ^~~~~~~~~
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/98115] [11 Regression] error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba
2020-12-03 9:24 [Bug c++/98115] New: [11 Regression] error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba marxin at gcc dot gnu.org
@ 2020-12-03 9:25 ` marxin at gcc dot gnu.org
2020-12-03 12:30 ` nathan at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-03 9:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98115
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.0
Known to fail| |11.0
Known to work| |10.2.0
Ever confirmed|0 |1
Last reconfirmed| |2020-12-03
Status|UNCONFIRMED |NEW
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/98115] [11 Regression] error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba
2020-12-03 9:24 [Bug c++/98115] New: [11 Regression] error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba marxin at gcc dot gnu.org
2020-12-03 9:25 ` [Bug c++/98115] " marxin at gcc dot gnu.org
@ 2020-12-03 12:30 ` nathan at gcc dot gnu.org
2020-12-03 16:43 ` cvs-commit at gcc dot gnu.org
2020-12-03 16:44 ` nathan at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu.org @ 2020-12-03 12:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98115
Nathan Sidwell <nathan at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/98115] [11 Regression] error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba
2020-12-03 9:24 [Bug c++/98115] New: [11 Regression] error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba marxin at gcc dot gnu.org
2020-12-03 9:25 ` [Bug c++/98115] " marxin at gcc dot gnu.org
2020-12-03 12:30 ` nathan at gcc dot gnu.org
@ 2020-12-03 16:43 ` cvs-commit at gcc dot gnu.org
2020-12-03 16:44 ` nathan at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-12-03 16:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98115
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathan Sidwell <nathan@gcc.gnu.org>:
https://gcc.gnu.org/g:7254a78cf4c419a9b9361289d8c535130cf1dfd0
commit r11-5712-g7254a78cf4c419a9b9361289d8c535130cf1dfd0
Author: Nathan Sidwell <nathan@acm.org>
Date: Thu Dec 3 08:40:43 2020 -0800
c++: Testcases [PR 98115]
These two testcases provide coverage for 98115, which doesn't trigger on
all hosts.
PR c++/98115
PR c++/98116
gcc/testsuite/
* g++.dg/template/pr98115.C: New.
* g++.dg/template/pr98116.C: New.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/98115] [11 Regression] error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba
2020-12-03 9:24 [Bug c++/98115] New: [11 Regression] error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2020-12-03 16:43 ` cvs-commit at gcc dot gnu.org
@ 2020-12-03 16:44 ` nathan at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu.org @ 2020-12-03 16:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98115
Nathan Sidwell <nathan at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Fixed 7254a78cf4c
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-12-03 16:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-03 9:24 [Bug c++/98115] New: [11 Regression] error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba marxin at gcc dot gnu.org
2020-12-03 9:25 ` [Bug c++/98115] " marxin at gcc dot gnu.org
2020-12-03 12:30 ` nathan at gcc dot gnu.org
2020-12-03 16:43 ` cvs-commit at gcc dot gnu.org
2020-12-03 16:44 ` nathan 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).