https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 Status|NEW |UNCONFIRMED Target Milestone|9.0 |--- Ever confirmed|1 |0 --- Comment #6 from Alan Modra <amodra at gmail dot com> --- The zero bytes are added by the -fsection-anchors code. They used to align the next object. Now, the number of zero bytes is wrong (in cases where we used to have an unterminated string), *and* gcc's calculation of the offset to the object within the section-anchor block is wrong. Misaligned strings will mean poorer performance on some targets. Miscalculating the offset will result in wrong-code errors when it results in too many objects being placed into a block.