[Bug tree-optimization/77706] Optimize away some local static constructors
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 23 09:46:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77706
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 #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Same as PR77705 but in this case the constructor functions should include the
locking/ref-counting dance (so we can optimize that as well). Gets interesting
if we optimize multiple adjacent static inits with a single lock (do we?)
though
then we'd just make a wrapper that just contains the locking.
More information about the Gcc-bugs
mailing list