[Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.

2019-02-18 Thread frank.secilia at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367 --- Comment #6 from Frank Secilia --- I can't find anything in the standard under `constant expressions` or `converted constant expressions` that explicitly allows non-null pointer-to-member-functions in constexpr contexts, but I also can't find

[Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.

2019-02-17 Thread frank.secilia at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367 --- Comment #5 from Frank Secilia --- Created attachment 45744 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45744=edit alternative verbose compiler output

[Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.

2019-02-17 Thread frank.secilia at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367 --- Comment #4 from Frank Secilia --- Created attachment 45743 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45743=edit alternative repro case using pointers to method Here is a similar case using pointers to methods. I'm honestly not

[Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.

2019-02-15 Thread frank.secilia at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367 --- Comment #1 from Frank Secilia --- Created attachment 45738 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45738=edit verbose compiler output

[Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.

2019-02-15 Thread frank.secilia at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367 --- Comment #2 from Frank Secilia --- I searched for existing bugs. I don't know the codebase, but I think it may be another repro case for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53181.

[Bug c++/89367] New: Constexpr expression is not constexpr in template, but is constexpr in non-template.

2019-02-15 Thread frank.secilia at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: frank.secilia at gmail dot com Target Milestone: --- Created attachment 45737 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45737=edit minimal preproces