https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66609
--- Comment #11 from Rich Felker <bugdal at aerifal dot cx> --- FYI a workaround for this and similar bugs, for users who are unable to upgrade, 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.