This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/22052] [4.0/4.1 Regression] redefinition of inline function succeeds
- 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: 13 Jun 2005 19:17:51 -0000
- Subject: [Bug c/22052] [4.0/4.1 Regression] redefinition of inline function succeeds
- References: <20050613190209.22052.echristo@redhat.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-13 19:17 -------
Hmm, the most obvious patch (which is mine) is the following:
2005-01-04 Andrew Pinski <pinskia@physics.uc.edu>
PR c/19152
* c-decl.c (diagnose_mismatched_decls): Accept "extern inline" declared
after the full declaration if the are in two different TUs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22052