]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
re PR debug/40012 (Revision 146817 generated bad debug info for local variables)
authorMichael Matz <matz@suse.de>
Mon, 8 Jun 2009 11:37:12 +0000 (11:37 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Mon, 8 Jun 2009 11:37:12 +0000 (11:37 +0000)
commiteb7adebcd89456d3e7a08422b5ea69a4977cac0a
treed2d08b327c9b0c078011803cdb59bfc254a16c7b
parent2153915d0ab419d1e0b67f9e0e302368820d76f6
re PR debug/40012 (Revision 146817 generated bad debug info for local variables)

        PR debug/40012

        * cfgexpand.c (set_rtl): Store place also in DECL_RTL, if all
        partitions use the same.
        (expand_one_var): Deal with DECL_RTL sometimes begin set also
        for basevars of SSA_NAMEs.
        (expand_used_vars): Reset TREE_USED for basevars of SSA_NAMEs,
        to not expand them twice.
        (gimple_expand_cfg): Clear DECL_RTL for those decls that have
        multiple places.

From-SVN: r148273
gcc/ChangeLog
gcc/cfgexpand.c