This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/77705] Optimize away some static constructors
- 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: Fri, 23 Sep 2016 09:43:56 +0000
- Subject: [Bug tree-optimization/77705] Optimize away some static constructors
- Auto-submitted: auto-generated
- References: <bug-77705-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77705
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-09-23
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. I would like to see us moving towards keeping the individual static
ctor functions separate and registered in the varpool (and leave building of
the actual CTOR function wrapping them eventually to IPA). This would allow
to run early opts over them and then eventually turn them into static
initialization.