OSDN Git Service

PR middle-end/41674
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Mar 2010 15:43:19 +0000 (15:43 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:37:27 +0000 (09:37 +0900)
commit7ab483efddd3684078a9353c747b5c5e56464d20
treecf8247cd343a9a56041685a85094240afd2887a3
parent3bdfef2c686fdde2d3bd1293d6e73a9cba19f9b7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157779 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphunit.c
gcc/ipa.c