This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/16684] [3.4/3.5 Regression] GCC should not warn about redundant redeclarations of built-ins


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]