[Bug c++/90664] [9/10 regression] noexcept confuses template argument deduction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664 Richard Biener changed: What|Removed |Added Target Milestone|9.4 |9.5 --- Comment #6 from Richard Biener --- GCC 9.4 is being released, retargeting bugs to GCC 9.5.
[Bug c++/90664] [9/10 regression] noexcept confuses template argument deduction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b13ac26df5e401ce5914b8ec0c862d56edd57913 commit r10-9842-gb13ac26df5e401ce5914b8ec0c862d56edd57913 Author: Jason Merrill 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.
[Bug c++/90664] [9/10 regression] noexcept confuses template argument deduction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664 Jason Merrill 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 --- Fixed for GCC 11 so far.