https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114968

--- Comment #10 from LIU Hao <lh_mouse at 126 dot com> ---
(In reply to Jakub Jelinek from comment #8)
> Created attachment 58123 [details]
> gcc15-pr114968.patch
> 
> This is what I'd do, but completely untested...

It does not solve the issue.

Side note: Although I think `-mrtd` should mostly not be useful, the MSVC `/Gz`
and Clang `-mrtd` function do not affect the calling convention of non-static
member functions; they are always `__thiscall`, which means `this` goes in ECX
and the others are passed on stack and popped by callee like `__stdcall`.

Reply via email to