[Bug gcov-profile/66805] Crash in gcov_exit when combining --coverage, C++, #pragma pack

jengelh at inai dot de gcc-bugzilla@gcc.gnu.org
Wed Jul 8 11:58:00 GMT 2015


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

--- Comment #4 from Jan Engelhardt <jengelh at inai dot de> ---
If one uses

#pragma pack(push, 1)
#pragma pack(pop)

the issue goes away, so indeed, it seems that some gcov parts are implicitly
built with different padding.



More information about the Gcc-bugs mailing list