https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60899

--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Wed May 21 06:16:03 2014
New Revision: 210676

URL: http://gcc.gnu.org/viewcvs?rev=210676&root=gcc&view=rev
Log:

    PR tree-optimization/60899
    * gimple-fold.c (can_refer_decl_in_current_unit_p): Cleanup;
    assume all static symbols will have definition wile parsing and
    check the do have definition later in compilation; check that
    variable referring symbol will be output before concluding that
    reference is safe; be conservative for referring local statics;
    be more precise about when comdat is output in other partition.

    g++.dg/ipa/devirt-11.C: Update template.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ipa/devirt-11.C

Reply via email to