From: zack Date: Tue, 28 Oct 2003 01:05:12 +0000 (+0000) Subject: * c-decl.c (pushdecl): Clarify comment. X-Git-Tag: upstream/4.9.2~75690 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3612643b13c96546f6974df02836737ebcd6890;p=platform%2Fupstream%2Flinaro-gcc.git * c-decl.c (pushdecl): Clarify comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72998 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 20dd670..72d392c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-10-27 Zack Weinberg + + * c-decl.c (pushdecl): Clarify comment. + 2003-10-27 Arnaud Charlet * doc/install.texi: Update instructions for Ada cross builds @@ -84,7 +88,7 @@ 2003-10-26 Bernardo Innocenti * 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 Paul Dale @@ -171,9 +175,9 @@ 2003-10-25 Richard Henderson - * 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 diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 93ce347..96fb4bb 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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,