[Bug tree-optimization/19661] unnecessary atexit calls emitted for static objects with empty destructors
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Sep 24 17:43:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-24 17:42 -------
Hmm, the easy way to to have a pass which finds all the atexit calls and sees if the function which is
passed is a const function and if it is, then just remove the atexit call.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |tree-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19661
More information about the Gcc-bugs
mailing list