aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 4ce593a..29ae065 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -819,13 +819,6 @@ check_global_declarations (tree *vec, int len)
{
decl = vec[i];
- if (TREE_CODE (decl) == VAR_DECL && TREE_STATIC (decl)
- && ! TREE_ASM_WRITTEN (decl))
- /* Cancel the RTL for this decl so that, if debugging info
- output for global variables is still to come,
- this one will be omitted. */
- SET_DECL_RTL (decl, NULL_RTX);
-
/* Warn about any function
declared static but not defined.
We don't warn about variables,