This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2008 14:32:48 -0000
- Subject: [Bug middle-end/31529] [4.3 Regression] ICE in cgraph_expand_function with IMA
- References: <bug-31529-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from reichelt at gcc dot gnu dot org 2008-01-26 14:32 -------
But now we accept the IMHO invalid version:
file1.c:
void foo() {}
file2.c:
void foo() {}
GCC 4.0.x used to produce an error:
file2.c:1: error: redefinition of 'foo'
file1.c:1: error: previous definition of 'foo' was here
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Keywords| |accepts-invalid
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31529