[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-03-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-03-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 --- Comment #7 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d1bba463bd0d5692b7fa58ee37a61a55b2517456 commit r11-7546-gd1bba463bd0d5692b7fa58ee37a61a55b2517456 Author: Patrick Palka Date: Sa

[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-03-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 --- Comment #6 from Patrick Palka --- (In reply to Jakub Jelinek from comment #4) > (In reply to Patrick Palka from comment #3) > > IIUC, those two types are actually the same, it's just that one of them was > > obtained through the char_type ali

[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 --- Comment #5 from Jakub Jelinek --- Or perhaps another option would be instead of return mod; do return cxx_eval_constant_expression (ctx, mod, false, non_constant_p, overflow_p); ?

[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 --- Comment #4 from Jakub Jelinek --- (In reply to Patrick Palka from comment #3) > IIUC, those two types are actually the same, it's just that one of them was > obtained through the char_type alias, and it seems debug_tree prefers to > show the

[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-03-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-02-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 Jakub Jelinek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-02-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|