https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60465
--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > i've bisected things back to r188118. before that commit, gcc compiles > rtld.c fine and produces a working ldso. starting at that commit, we get > segfaults. In fact r188118 undoes a pessimization introduced just before in r188009 so the bug was very likely preexisting on the mainline.