[Bug c++/91907] ['17] Constexpr of member function pointer as template parameter results in inconsistent diagnostics

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91907

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED
   Target Milestone|--- |12.0

--- Comment #4 from Andrew Pinski  ---
g++.dg/template/param4.C testcase in the committed patch seems to cover this
case so closing as fixed.

[Bug c++/91907] ['17] Constexpr of member function pointer as template parameter results in inconsistent diagnostics

2021-12-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91907

Martin Liška  changed:

   What|Removed |Added

   Keywords|needs-bisection |
 CC||marxin at gcc dot gnu.org,
   ||ppalka at gcc dot gnu.org
   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=100893
  Known to work||12.0

--- Comment #3 from Martin Liška  ---
Fixed on master with r12-1224-g6f8c9691495ad5a3.

[Bug c++/91907] ['17] Constexpr of member function pointer as template parameter results in inconsistent diagnostics

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91907

--- Comment #2 from Andrew Pinski  ---
Seems fixed on the trunk.  But I could not figure out which patch fixed it so a
bisect would be useful.

[Bug c++/91907] ['17] Constexpr of member function pointer as template parameter results in inconsistent diagnostics

2020-01-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91907

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2020-01-29
 CC||jason at gcc dot gnu.org,
   ||marxin at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Martin Liška  ---
Confirmed, clang really accepts the code.