------- Comment #5 from rguenth at gcc dot gnu dot org 2010-08-17 15:57 ------- I also wonder why we can't remove such stores based on ipa-reference analysis.
Reduced testcase: struct __attribute__ ((visibility ("default"))) fallible_t { }; const fallible_t fallible = fallible_t(); -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC|rguenther at suse dot de |rguenth at gcc dot gnu dot | |org Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |missed-optimization Last reconfirmed|0000-00-00 00:00:00 |2010-08-17 15:57:59 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45307