* cgraphunit.c (cgraph_build_static_cdtor): If target doesn't have
cdtors, set DECL_PRESERVE_P.
* ipa.c (cgraph_externally_visible_p): Return true if declaration
should be preseved.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157779
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-03-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR middle-end/41674
+ * cgraphunit.c (cgraph_build_static_cdtor): If target doesn't have
+ cdtors, set DECL_PRESERVE_P.
+ * ipa.c (cgraph_externally_visible_p): Return true if declaration
+ should be preseved.
+
2010-03-27 Uros Bizjak <ubizjak@gmail.com>
PR tree-optimization/43528