https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99493
--- Comment #8 from Johel Ernesto Guerrero Peña ---
Thank you!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99493
Patrick Palka changed:
What|Removed |Added
Status|NEW |RESOLVED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99493
--- Comment #6 from GCC Commits ---
The releases/gcc-13 branch has been updated by Patrick Palka
:
https://gcc.gnu.org/g:4ffb23975b32bfd285915c3d6659b837868b5aa9
commit r13-8235-g4ffb23975b32bfd285915c3d6659b837868b5aa9
Author: Patrick Palka
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99493
--- Comment #5 from GCC Commits ---
The master branch has been updated by Patrick Palka :
https://gcc.gnu.org/g:68cea2d32a9fd525154b6a48042e5835d4c5e371
commit r14-8189-g68cea2d32a9fd525154b6a48042e5835d4c5e371
Author: Patrick Palka
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99493
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99493
Andrew Pinski changed:
What|Removed |Added
URL|https://godbolt.org/z/9zYo8 |
|f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99493
--- Comment #2 from Johel Ernesto Guerrero Peña ---
Looks like you can get away by instead passing around a pointer to the address
of the template parameter object: https://godbolt.org/z/o3Paz1.
```C++
struct A{};
templateconstexpr const
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99493
--- Comment #1 from Johel Ernesto Guerrero Peña ---
Slightly simplified: https://godbolt.org/z/rv97Gh.
```C++
struct A{};
templateconstexpr const A*tpo{};
templatestruct B{};
B>b;
```
```
:4:10: error: the address of 'A{}' is not a valid