[Bug tree-optimization/33645] [4.3 Regression] undefined static variable in vortex for -fno-unit-at-a-time

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 12 07:11:00 GMT 2007



------- Comment #1 from jakub at gcc dot gnu dot org  2007-10-12 07:10 -------
Subject: Bug 33645

Author: jakub
Date: Fri Oct 12 07:10:22 2007
New Revision: 129254

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129254
Log:
        PR tree-optimization/33645
        * tree-ssa-live.c (mark_all_vars_used): Add data argument,
        pass it to walk_tree.
        (mark_all_vars_used_1): Pass data through to mark_all_vars_used.
        When calling set_is_used on a VAR_DECL, if data is not NULL and
        its DECL_UID is in the bitmap, call mark_all_vars_used on its
        DECL_INITIAL after clearing the bit in bitmap.
        (remove_unused_locals): Adjust mark_all_vars_used callers.
        Instead of removing unused global vars from unexpanded_var_list
        immediately record them in bitmap, call mark_all_vars_used on
        all used global vars from unexpanded_var_list and only purge
        global vars that weren't found used even during that step.

        * gcc.dg/pr33645-1.c: New test.
        * gcc.dg/pr33645-2.c: New test.
        * gcc.dg/pr33645-3.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr33645-1.c
    trunk/gcc/testsuite/gcc.dg/pr33645-2.c
    trunk/gcc/testsuite/gcc.dg/pr33645-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-live.c


-- 


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



More information about the Gcc-bugs mailing list