[Bug middle-end/39298] Optimize away only set but not used variable

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 25 11:21:00 GMT 2009



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-02-25 11:21 -------
Optimizing dead local static variables requires special handling which probably
is not thought to be worth the trouble.  If the variable is unused the
programmer can as well remove it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39298



More information about the Gcc-bugs mailing list