OSDN Git Service

* decl.c (pushdecl): Don't make local declarations of extern
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Sep 1999 08:03:42 +0000 (08:03 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Sep 1999 08:03:42 +0000 (08:03 +0000)
commita8e8221ea11aaf3d5b461274e5b377a16a326c38
tree62ab6c893fe00e5e5c37b56aba255d2c1c2dec48
parenta2ac42942519045271a7d5e3d791bcf2839a0dd2
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29650 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.old-deja/g++.ext/asmspec1.C [new file with mode: 0644]