[Bug c++/96330] Constexpr variables cannot be used in the template context.

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

[Bug c++/96330] Constexpr variables cannot be used in the template context.

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96330 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:574e7601829733d7cae20b5dc7034b876cc76b30 commit r11-7541-g574e7601829733d7cae20b5dc7034b876cc76b30 Author: Patrick Palka Date: Sa

[Bug c++/96330] Constexpr variables cannot be used in the template context.

2021-03-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96330 --- Comment #2 from Patrick Palka --- (In reply to Jakub Jelinek from comment #1) > Tried > --- gcc/cp/pt.c.jj2020-07-27 10:38:19.0 +0200 > +++ gcc/cp/pt.c 2020-07-27 17:25:09.748240198 +0200 > @@ -16838,14 +16838,17 @@ tsubst_c

[Bug c++/96330] Constexpr variables cannot be used in the template context.

2020-07-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96330 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1