This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81533] g++ pops up a constructor for objects that could be initialized at load-time
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Jul 2017 07:48:58 +0000
- Subject: [Bug c++/81533] g++ pops up a constructor for objects that could be initialized at load-time
- Auto-submitted: auto-generated
- References: <bug-81533-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81533
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think there's a separate PR with the suggestion to try constexpr evaluation
of all constructors for optimization.