aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-03-15 09:58:59 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-03-15 09:58:59 +0000
commitd1d617880cbc2a399e9b98302cf11b45dd2cbcbe (patch)
tree9bee500d3aec64c58ea54781b72811cb6e7a775f /gcc/varasm.c
parent15f13f01ed9ae3203dfbcf6ee0b452731dd43950 (diff)
downloadgcc-d1d617880cbc2a399e9b98302cf11b45dd2cbcbe.zip
gcc-d1d617880cbc2a399e9b98302cf11b45dd2cbcbe.tar.gz
gcc-d1d617880cbc2a399e9b98302cf11b45dd2cbcbe.tar.bz2
* varasm.c (assemble_variable): Use DECL_RTL_SET_P.
From-SVN: r40495
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index b5d5dfa..b9cc6df 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1245,7 +1245,7 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
last_assemble_variable_decl = 0;
- if (GET_CODE (DECL_RTL (decl)) == REG)
+ if (DECL_RTL_SET_P (decl) && GET_CODE (DECL_RTL (decl)) == REG)
{
/* Do output symbol info for global register variables, but do nothing
else for them. */