[Bug c++/81533] g++ pops up a constructor for objects that could be initialized at load-time

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 25 12:25:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81533

--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> I think there's a separate PR with the suggestion to try constexpr
> evaluation of all constructors for optimization.

Addresses are not constexpr because they are not known at compile-time.


More information about the Gcc-bugs mailing list