aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@apple.com>2004-06-22 07:23:25 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-06-22 00:23:25 -0700
commitf6bf7bb617bc7d39715803f8915c6b77316eac25 (patch)
tree4e65ff5f531d93f5021d2b551966a514f88a7b43 /gcc/c-decl.c
parent058b15c1dc2199a810e4f8793993dc4ede61bb0a (diff)
downloadgcc-f6bf7bb617bc7d39715803f8915c6b77316eac25.zip
gcc-f6bf7bb617bc7d39715803f8915c6b77316eac25.tar.gz
gcc-f6bf7bb617bc7d39715803f8915c6b77316eac25.tar.bz2
Radar #: 3701874
2004-06-21 Andrew Pinski <apinski@apple.com> Radar #: 3701874 * c-decl.c (push_file_scope): Return early if we already have a file scope. 2004-06-21 Andrew Pinski <apinski@apple.com> * gcc.dg/pch/struct-1.c: New. * gcc.dg/pch/struct-1.hs: New. From-SVN: r83483
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 4735dab..1f0db19 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -810,6 +810,9 @@ push_file_scope (void)
{
tree decl;
+ if (file_scope)
+ return;
+
push_scope ();
file_scope = current_scope;