[Bug target/49826] New: [4.7 Regression] Symbols are not decorated with attribute stdcall and -mrtd

d.g.gorbachev at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Jul 24 03:20:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49826

           Summary: [4.7 Regression] Symbols are not decorated with
                    attribute stdcall and -mrtd
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@gmail.com
            Target: i686-pc-mingw32


Code:

    extern void __attribute__((stdcall)) bar(int);

    void foo(void)
    {
      bar(0);
    }

When compiled with gcc-4.6 -mrtd

    call    _bar@4

With gcc-4.7 -mrtd

    call    _bar



More information about the Gcc-bugs mailing list