This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16684] [3.4/3.5 Regression] GCC should not warn about redundant redeclarations of built-ins
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2004 03:34:50 -0000
- Subject: [Bug c/16684] [3.4/3.5 Regression] GCC should not warn about redundant redeclarations of built-ins
- References: <20040723032607.16684.kan@FreeBSD.ORG>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-23 03:34 -------
: Search converges between 2004-01-01-trunk (#437) and 2004-01-17-trunk (#438).
Confirmed, a regression from 3.3.3.
Caused most likely by:
2004-01-10 Zack Weinberg <zack@codesourcery.com>
* c-decl.c (duplicate_decls): Break apart into...
(diagnose_arglist_conflict, validate_proto_after_old_defn)
(locate_old_defn, diagnose_mismatched_decls, merge_decls):
... these new functions. Restructure for comprehensibility.
Remove various archaic special cases. Always report the
location of the previous declaration when a diagnostic is issued.
(redeclaration_error_message): Fold into diagnose_mismatched_decls.
(match_builtin_function_types): Delete unnecessary forward declaration.
patches as usually goto gcc-patches@gcc.gnu.org.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |zack at gcc dot gnu dot org
Severity|enhancement |minor
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Known to fail| |3.4.0 3.5.0
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2004-07-23 03:34:49
date| |
Summary|GCC should not warn about |[3.4/3.5 Regression] GCC
|redundant redeclarations of |should not warn about
|built-ins |redundant redeclarations of
| |built-ins
Target Milestone|--- |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16684