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/36225] New: Gcc doesn't mangle fastcall


MS compiler mangles fastcall function names. For

void foo (int i):

In C++, it is mangled as

1. Wth fastcall:  ?foo@@YIXH@Z
                         ^ This an additional ?I?.
2. Without fastcall: ?foo@@YXH@Z

In C, it is mangled as

1. With fastcall: @foo@4
2. Without fastcall: _foo

Gcc doesn't mangle fastcall.


-- 
           Summary: Gcc doesn't mangle fastcall
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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


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