This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/18632] New: [4.0 regression]: Can't rename a function after it is used
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2004 18:59:58 -0000
- Subject: [Bug c/18632] New: [4.0 regression]: Can't rename a function after it is used
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[hjl@gnu-4 tmp]$ cat x.c
extern void foo ();
void
bar ()
{
foo ();
}
extern void __GI_foo ();
extern void foo () __asm__ ("__GI_foo");
[hjl@gnu-4 tmp]$ /usr/gcc-3.4/bin/gcc -S -O2 x.c
[hjl@gnu-4 tmp]$ /usr/gcc-4.0/bin/gcc -S -O2 x.c
x.c:8: warning: asm declaration ignored due to conflict with previous rename
--
Summary: [4.0 regression]: Can't rename a function after it is
used
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl at lucon dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18632