https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64860
--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Well, the problem is that -r is the only case where we get LDPR_PREVAILING_DEF or IRONLY and the resulting symbol may be removed from the unit later. We would need a new LDPR_PREVAILING_DEF_FOR_NOW or something like that to represent the incremental nature of linking here, or we need a global flag in GCC saying if incremental linking is supposed tohappen or not.