aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-decl.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@gcc.gnu.org>2014-09-04 18:04:14 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2014-09-04 18:04:14 +0000
commit9de41e5786e7b331c7bc283e3f09e47b5c942e8a (patch)
treea1475a4d1d9c293ad247466bba59dc257d5b9ce5 /gcc/c/c-decl.c
parentc5a36850156812b5d2d3f1401307315feef0aed5 (diff)
downloadgcc-9de41e5786e7b331c7bc283e3f09e47b5c942e8a.zip
gcc-9de41e5786e7b331c7bc283e3f09e47b5c942e8a.tar.gz
gcc-9de41e5786e7b331c7bc283e3f09e47b5c942e8a.tar.bz2
Revert incorrect merging of debug-early branch.
From-SVN: r214914
Diffstat (limited to 'gcc/c/c-decl.c')
-rw-r--r--gcc/c/c-decl.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c
index 1e09404..b4995a6 100644
--- a/gcc/c/c-decl.c
+++ b/gcc/c/c-decl.c
@@ -10308,10 +10308,7 @@ c_write_global_declarations_1 (tree globals)
while (reconsider);
for (decl = globals; decl; decl = DECL_CHAIN (decl))
- {
- check_global_declaration_1 (decl);
- debug_hooks->global_decl (decl, /*early=*/true);
- }
+ check_global_declaration_1 (decl);
}
/* A subroutine of c_write_global_declarations Emit debug information for each
@@ -10323,7 +10320,7 @@ c_write_global_declarations_2 (tree globals)
tree decl;
for (decl = globals; decl ; decl = DECL_CHAIN (decl))
- debug_hooks->global_decl (decl, /*early=*/false);
+ debug_hooks->global_decl (decl);
}
/* Callback to collect a source_ref from a DECL. */