re PR treelang/19896 ([treelang] Static variables don't work)
authorJames A. Morrison <phython@gcc.gnu.org>
Thu, 24 Feb 2005 16:23:14 +0000 (16:23 +0000)
committerJames A. Morrison <phython@gcc.gnu.org>
Thu, 24 Feb 2005 16:23:14 +0000 (16:23 +0000)
commitfb26d54d7eac86fb8086904e2530bbe6e78e5db2
tree57bcaafaa0a3be3d79ad6e767354336a4807b3c7
parent77469ec5a10968cf4e032d3d3c46945dc706bb8d
re PR treelang/19896 ([treelang] Static variables don't work)

2005-02-24  James A. Morrison  <phython@gcc.gnu.org>

        PR other/19896
        * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
        TREE_PUBLIC, and TREE_STATIC for var_decl to zero.  Don't call
        rest_of_decl_compilation on static variables.
        (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
        variables.

From-SVN: r95503
gcc/treelang/ChangeLog
gcc/treelang/treetree.c