c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN to figure out whether...
authorMark Mitchell <mark@codesourcery.com>
Sun, 23 Jul 2000 19:59:41 +0000 (19:59 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 23 Jul 2000 19:59:41 +0000 (19:59 +0000)
commit95ee998ceb1d196000e2cb4e61b760d818119dee
tree3530f888190774b58b61b605cab7584a692609b7
parent07964b9c09eb5bfe56851851d4e1696cb34e763d
c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN to figure out whether or not a variable has already been...

* c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
to figure out whether or not a variable has already been emitted.

* decl.c (make_rtl_for_nonlocal_decl): Rework.

* pt.c (lookup_template_class): Ensure that TYPE_CONTEXT is set
correctly.

From-SVN: r35215
gcc/ChangeLog
gcc/c-semantics.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.other/crash20.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/static12.C [new file with mode: 0644]