decl.c (pushdecl): Don't make local declarations of extern variables give the variabl...
authorMark Mitchell <mark@codesourcery.com>
Fri, 24 Sep 1999 08:03:42 +0000 (08:03 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 24 Sep 1999 08:03:42 +0000 (08:03 +0000)
commitf39ee88428554ca0c01d784071ba4f794119a438
tree62ab6c893fe00e5e5c37b56aba255d2c1c2dec48
parentd2cd3d9fca34e1097c737c0e875b64383beca6b0
decl.c (pushdecl): Don't make local declarations of extern variables give the variable a...

* decl.c (pushdecl): Don't make local declarations of extern
variables give the variable a DECL_CONTEXT for the function.
(make_rtl_for_nonlocal_decl): Don't fuss with obstacks.  Simplify.
Don't accidentally make RTL for local declarations.
(emit_local_var): Handle declarations with asm-specifiers here.

From-SVN: r29650
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.old-deja/g++.ext/asmspec1.C [new file with mode: 0644]