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

--- Comment #15 from Zhongteng Gui <dragon-archer at outlook dot com> ---
(In reply to Iain Sandoe from comment #14)
> Created attachment 65949 [details]
> patch v2
> 
> OK so the situation is that mingw does not set DECL_WEAK for ONE_ONLY decls
> and therefore the first set of conditions is applied - the C4 is made
> internal but still not emitted, so the solution is to marke that case as
> denying inline too.
> 
> Please re-test - I will also need to re-test on Darwin and Linux....

Great thanks to you! Retested also on
https://github.com/dragon-archer/gcc-for-windows/pull/14, and I can confirm
this is resolved now.

Reply via email to