karol82 <karo...@poczta.onet.eu> schrieb am 16:46 Freitag, 29.Juli 2016: > I'm writing here because original gcc seems unaffected (asm code > https://gcc.godbolt.org/ looks right). > I don't want to post it to bugtracker, because my English skills are strongly > limited and someone else can write better report, so if you want, feel free > to do this :) > > Function with variable arguments causes compiler (C and C++) to emit bad code. > For ms_abi functions generated with LTO turned on program will crash and for > sysv_abi program will generate wrong results.
Sounds like gcc bug #70955 to me. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70955 ------------------------------------------------------------------------------ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public