https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71155
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2020-02-02 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The change was correct. _IO_stdin_ has only a reference to _IO_stdfile_0_lock which means _IO_stdin_ should be in the .data.rel.local section; the _IO_stdfile_0_lock is local to that TU. While _IO_stdout_ has a reference to _IO_stdin_ which means it is in the .data.rel section (likewise for _IO_stderr_). So if something is failing, it was a latent bug somewhere else. What is the incorrect behavior of Lau here?