aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-24 08:05:28 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-24 08:05:28 +0000
commitef6748cb701e21c270bf04084eaa93e73ffe6bf2 (patch)
tree2f6ef18b2b535e19a0974616bd1f277b78ce3395
parentf39ee88428554ca0c01d784071ba4f794119a438 (diff)
downloadgcc-ef6748cb701e21c270bf04084eaa93e73ffe6bf2.zip
gcc-ef6748cb701e21c270bf04084eaa93e73ffe6bf2.tar.gz
gcc-ef6748cb701e21c270bf04084eaa93e73ffe6bf2.tar.bz2
* toplev.c (rest_of_decl_compilation): Update comment.
From-SVN: r29651
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/toplev.c8
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 35dd192..20b0fc1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
+
+ * toplev.c (rest_of_decl_compilation): Update comment.
+
Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
* config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
diff --git a/gcc/toplev.c b/gcc/toplev.c
index a126de0..55c48da 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3406,9 +3406,11 @@ compile_file (name)
/* This is called from various places for FUNCTION_DECL, VAR_DECL,
and TYPE_DECL nodes.
- This does nothing for local (non-static) variables.
- Otherwise, it sets up the RTL and outputs any assembler code
- (label definition, storage allocation and initialization).
+ This does nothing for local (non-static) variables, unless the
+ variable is a register variable with an ASMSPEC. In that case, or
+ if the variable is not an automatice, it sets up the RTL and
+ outputs any assembler code (label definition, storage allocation
+ and initialization).
DECL is the declaration. If ASMSPEC is nonzero, it specifies
the assembler symbol name to be used. TOP_LEVEL is nonzero