[EMAIL PROTECTED] tmp]$ cat x.c
extern void foo ();
void
bar ()
{
  foo ();
}
extern void __GI_foo ();
extern void foo () __asm__ ("__GI_foo");
[EMAIL PROTECTED] tmp]$ /usr/gcc-3.4/bin/gcc -S -O2 x.c
[EMAIL PROTECTED] 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

Reply via email to