https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68178
--- Comment #2 from Rich Felker <bugdal at aerifal dot cx> --- FYI a workaround for this and similar bugs, for users who are unable to upgrade once it's fixed, is to always use -ffunction-sections -fdata-sections. This inhibits the assembler's "optimization" differences between symbols simply because cross-section differences are never constant.