public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/90664] [7/8 regression] noexcept confuses template argument deduction
[not found] <bug-90664-4@http.gcc.gnu.org/bugzilla/>
@ 2020-07-15 17:05 ` ofv at wanadoo dot es
2020-07-15 17:14 ` [Bug c++/90664] [9/10/11 " jakub at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: ofv at wanadoo dot es @ 2020-07-15 17:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664
ofv at wanadoo dot es changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|noexcept confuses template |[7/8 regression] noexcept
|argument deduction |confuses template argument
| |deduction
--- Comment #2 from ofv at wanadoo dot es ---
The upcoming gcc 11 still shows this problem. I edited the bug title to
indicate that it is a regression.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/90664] [9/10/11 regression] noexcept confuses template argument deduction
[not found] <bug-90664-4@http.gcc.gnu.org/bugzilla/>
2020-07-15 17:05 ` [Bug c++/90664] [7/8 regression] noexcept confuses template argument deduction ofv at wanadoo dot es
@ 2020-07-15 17:14 ` jakub at gcc dot gnu.org
2021-01-14 8:17 ` rguenth at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-07-15 17:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[7/8 regression] noexcept |[9/10/11 regression]
|confuses template argument |noexcept confuses template
|deduction |argument deduction
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |9.4
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/90664] [9/10/11 regression] noexcept confuses template argument deduction
[not found] <bug-90664-4@http.gcc.gnu.org/bugzilla/>
2020-07-15 17:05 ` [Bug c++/90664] [7/8 regression] noexcept confuses template argument deduction ofv at wanadoo dot es
2020-07-15 17:14 ` [Bug c++/90664] [9/10/11 " jakub at gcc dot gnu.org
@ 2021-01-14 8:17 ` rguenth at gcc dot gnu.org
2021-04-02 21:09 ` jason at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-14 8:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |11.0
Priority|P3 |P2
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/90664] [9/10/11 regression] noexcept confuses template argument deduction
[not found] <bug-90664-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2021-01-14 8:17 ` rguenth at gcc dot gnu.org
@ 2021-04-02 21:09 ` jason at gcc dot gnu.org
2021-04-03 5:54 ` cvs-commit at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu.org @ 2021-04-02 21:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
CC| |jason at gcc dot gnu.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/90664] [9/10/11 regression] noexcept confuses template argument deduction
[not found] <bug-90664-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2021-04-02 21:09 ` jason at gcc dot gnu.org
@ 2021-04-03 5:54 ` cvs-commit at gcc dot gnu.org
2021-04-04 15:55 ` [Bug c++/90664] [9/10 " jason at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-03 5:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:
https://gcc.gnu.org/g:7c3ba2145ceddb0fd7f85fbf27f8db81896527d1
commit r11-7966-g7c3ba2145ceddb0fd7f85fbf27f8db81896527d1
Author: Jason Merrill <jason@redhat.com>
Date: Fri Apr 2 17:07:12 2021 -0400
c++: PMF template parm and noexcept [PR90664]
The constexpr code only wants to preserve PTRMEM_CST in conversions if the
conversions are only qualification conversions; dropping noexcept counts as
a qualification adjustment in overload resolution, so let's include it
here.
gcc/cp/ChangeLog:
PR c++/90664
* cvt.c (can_convert_qual): Check fnptr_conv_p.
gcc/testsuite/ChangeLog:
PR c++/90664
* g++.dg/cpp1z/noexcept-type24.C: New test.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/90664] [9/10 regression] noexcept confuses template argument deduction
[not found] <bug-90664-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2021-04-03 5:54 ` cvs-commit at gcc dot gnu.org
@ 2021-04-04 15:55 ` jason at gcc dot gnu.org
2021-05-20 21:34 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu.org @ 2021-04-04 15:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[9/10/11 regression] |[9/10 regression] noexcept
|noexcept confuses template |confuses template argument
|argument deduction |deduction
Known to work| |11.0
Known to fail|11.0 |
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for GCC 11 so far.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/90664] [9/10 regression] noexcept confuses template argument deduction
[not found] <bug-90664-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2021-04-04 15:55 ` [Bug c++/90664] [9/10 " jason at gcc dot gnu.org
@ 2021-05-20 21:34 ` cvs-commit at gcc dot gnu.org
2021-06-01 8:14 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-20 21:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:
https://gcc.gnu.org/g:b13ac26df5e401ce5914b8ec0c862d56edd57913
commit r10-9842-gb13ac26df5e401ce5914b8ec0c862d56edd57913
Author: Jason Merrill <jason@redhat.com>
Date: Fri Apr 2 17:07:12 2021 -0400
c++: PMF template parm and noexcept [PR90664]
The constexpr code only wants to preserve PTRMEM_CST in conversions if the
conversions are only qualification conversions; dropping noexcept counts as
a qualification adjustment in overload resolution, so let's include it
here.
gcc/cp/ChangeLog:
PR c++/90664
* cvt.c (can_convert_qual): Check fnptr_conv_p.
gcc/testsuite/ChangeLog:
PR c++/90664
* g++.dg/cpp1z/noexcept-type24.C: New test.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/90664] [9/10 regression] noexcept confuses template argument deduction
[not found] <bug-90664-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2021-05-20 21:34 ` cvs-commit at gcc dot gnu.org
@ 2021-06-01 8:14 ` rguenth at gcc dot gnu.org
2022-05-13 17:41 ` [Bug c++/90664] [9 " cvs-commit at gcc dot gnu.org
2022-05-13 17:47 ` jason at gcc dot gnu.org
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/90664] [9 regression] noexcept confuses template argument deduction
[not found] <bug-90664-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2021-06-01 8:14 ` rguenth at gcc dot gnu.org
@ 2022-05-13 17:41 ` cvs-commit at gcc dot gnu.org
2022-05-13 17:47 ` jason at gcc dot gnu.org
9 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-13 17:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:
https://gcc.gnu.org/g:45fb36bf93a7cc6506c2a12f9c4aa3981f4e6b44
commit r9-10167-g45fb36bf93a7cc6506c2a12f9c4aa3981f4e6b44
Author: Jason Merrill <jason@redhat.com>
Date: Fri Apr 2 17:07:12 2021 -0400
c++: PMF template parm and noexcept [PR90664]
The constexpr code only wants to preserve PTRMEM_CST in conversions if the
conversions are only qualification conversions; dropping noexcept counts as
a qualification adjustment in overload resolution, so let's include it
here.
gcc/cp/ChangeLog:
PR c++/90664
* cvt.c (can_convert_qual): Check fnptr_conv_p.
gcc/testsuite/ChangeLog:
PR c++/90664
* g++.dg/cpp1z/noexcept-type24.C: New test.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/90664] [9 regression] noexcept confuses template argument deduction
[not found] <bug-90664-4@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2022-05-13 17:41 ` [Bug c++/90664] [9 " cvs-commit at gcc dot gnu.org
@ 2022-05-13 17:47 ` jason at gcc dot gnu.org
9 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu.org @ 2022-05-13 17:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 9.5/10.4/11.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-05-13 17:47 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-90664-4@http.gcc.gnu.org/bugzilla/>
2020-07-15 17:05 ` [Bug c++/90664] [7/8 regression] noexcept confuses template argument deduction ofv at wanadoo dot es
2020-07-15 17:14 ` [Bug c++/90664] [9/10/11 " jakub at gcc dot gnu.org
2021-01-14 8:17 ` rguenth at gcc dot gnu.org
2021-04-02 21:09 ` jason at gcc dot gnu.org
2021-04-03 5:54 ` cvs-commit at gcc dot gnu.org
2021-04-04 15:55 ` [Bug c++/90664] [9/10 " jason at gcc dot gnu.org
2021-05-20 21:34 ` cvs-commit at gcc dot gnu.org
2021-06-01 8:14 ` rguenth at gcc dot gnu.org
2022-05-13 17:41 ` [Bug c++/90664] [9 " cvs-commit at gcc dot gnu.org
2022-05-13 17:47 ` jason 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).