This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]