https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80886
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80886
--- Comment #2 from Andrew Pinski ---
This has nothing to do with __builtin_constant_p really.
Just GCC started to rejecting:
constexpr void *phardware {((void *) 0x1000)};
Starting in GCC 7; it was accepted before.
What is interesting is the _
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80886
Jonathan Wakely changed:
What|Removed |Added
Known to work||6.4.0
Version|unknown