[Bug c++/59372] accepts-invalid with constexpr function pointer variable as non-type template argument

2018-09-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59372

Jonathan Wakely  changed:

   What|Removed |Added

   Keywords||accepts-invalid
 CC||jason at gcc dot gnu.org
   Target Milestone|--- |6.0

--- Comment #4 from Jonathan Wakely  ---
Started to be rejected with r230365 "Merge C++ delayed folding branch."

Jason, is it expected that this got fixed by that merge, or should we add the
testcase?

[Bug c++/59372] accepts-invalid with constexpr function pointer variable as non-type template argument

2018-09-05 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59372

Richard Smith  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Richard Smith  ---
Confirmed fixed.

[Bug c++/59372] accepts-invalid with constexpr function pointer variable as non-type template argument

2017-09-20 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59372

ensadc at mailnesia dot com changed:

   What|Removed |Added

 CC||ensadc at mailnesia dot com

--- Comment #2 from ensadc at mailnesia dot com ---
This seems to have been fixed in gcc 6, maybe as a consequence of implementing
N4268.

[Bug c++/59372] accepts-invalid with constexpr function pointer variable as non-type template argument

2013-12-02 Thread richard-gccbugzilla at metafoo dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59372

--- Comment #1 from Richard Smith richard-gccbugzilla at metafoo dot co.uk ---
(In reply to Richard Smith from comment #0)
   Xq c;
   Xi() d;

Sorry, transcription error, these should be 'Y', not 'X'.