[Bug c/22052] [4.0/4.1 Regression] redefinition of inline function succeeds

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 13 19:17:00 GMT 2005


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



More information about the Gcc-bugs mailing list