This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/23104] New: [4.1 Regression] C does not reject the same function in two different TUs with -combine
- 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: 27 Jul 2005 22:06:32 -0000
- Subject: [Bug c/23104] New: [4.1 Regression] C does not reject the same function in two different TUs with -combine
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compile the following sources with -combine:
---- file1.c ----
int f(void) {}
---- end ----
---- file2.c ----
int f(void) {}
---- end ----
We used to reject this in 4.0.0.
This was caused by:
2005-06-28 Eric Christopher <echristo@redhat.com>
PR c/22052
PR c/21975
* c-decl.c (diagnose_mismatched_decls): Define DECL_EXTERN_INLINE.
Use. Fix detection of invalid extern inline redefinition.
--
Summary: [4.1 Regression] C does not reject the same function in
two different TUs with -combine
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23104