https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70139
--- Comment #16 from Viktor Ostashevskyi <ostash at ostash dot kiev.ua> --- (In reply to Jonathan Wakely from comment #15) > That option is not the default, and is only really useful for experimenting > to understand how C++ works (as documented at > https://gcc.gnu.org/wiki/FAQ#copyelision) so there are very few good reasons > to use that option in real code (except broken code). It is very useful for building code coverage reports. Any workarounds possible?