cp-tree.h (make_rtl_for_local_static): New function.
authorMark Mitchell <mark@codesourcery.com>
Sat, 9 Oct 1999 21:06:03 +0000 (21:06 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 9 Oct 1999 21:06:03 +0000 (21:06 +0000)
commitf301014645f6ec88d2c543fba1e26a2f2418c40a
tree8aa5a888de758612c31c5b837bb35ab0f091e001
parentab61414260712684d8f75c8550933f24e0d1df22
cp-tree.h (make_rtl_for_local_static): New function.

* cp-tree.h (make_rtl_for_local_static): New function.
* decl.c (make_rtl_for_nonlocal_decl): Move code to create RTL for
local statics ...
(make_rtl_for_local_static): Here.
* semantics.c (expand_stmt): Use make_rtl_for_local_static.

From-SVN: r29879
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.other/static10.C [new file with mode: 0644]