------- Comment #12 from danglin at gcc dot gnu dot org  2010-03-27 15:43 
-------
Subject: Bug 41674

Author: danglin
Date: Sat Mar 27 15:43:19 2010
New Revision: 157779

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157779
Log:
        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.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c
    trunk/gcc/ipa.c


-- 


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

Reply via email to