* c-decl.c (pushdecl): Clarify comment.

From-SVN: r72998
This commit is contained in:
Zack Weinberg 2003-10-28 01:05:12 +00:00
parent f4d0b3d4fd
commit 40fe4dd5a8
2 changed files with 12 additions and 8 deletions

View file

@ -1,3 +1,7 @@
2003-10-27 Zack Weinberg <zack@codesourcery.com>
* c-decl.c (pushdecl): Clarify comment.
2003-10-27 Arnaud Charlet <charlet@act-europe.fr>
* doc/install.texi: Update instructions for Ada cross builds
@ -84,7 +88,7 @@
2003-10-26 Bernardo Innocenti <bernie@develer.com>
* config/m68k/m68k.c (m68k_output_function_prologue): Eliminate
num_saved_regs, use current_frame.reg_no instead.
num_saved_regs, use current_frame.reg_no instead.
2003-10-26 Bernardo Innocenti <bernie@develer.com>
Paul Dale <pauli@snapgear.com>
@ -171,9 +175,9 @@
2003-10-25 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (ix86_eax_live_at_start_p): New.
(ix86_expand_prologue): Save and restore eax around stack probe
if it's live.
* config/i386/i386.c (ix86_eax_live_at_start_p): New.
(ix86_expand_prologue): Save and restore eax around stack probe
if it's live.
2003-10-25 Jan Hubicka <jh@suse.cz>

View file

@ -1712,10 +1712,10 @@ pushdecl (tree x)
if (DECL_EXTERNAL (x) || scope == global_scope)
{
/* Find and check against a previous, not-in-scope, external
decl for this identifier. (C99 s???: If two declarations
with external linkage, referring to the same object, have
incompatible types, the behavior is undefined). */
tree ext = any_external_decl (name);
decl for this identifier. (C99 6.2.7p2: All declarations
that refer to the same object or function shall have
compatible type; otherwise, the behavior is undefined.) */
tree ext = any_external_decl (name);
if (ext)
{
if (duplicate_decls (x, ext, scope != global_scope,