https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61052
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME Target Milestone|--- |7.4 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Works in GCC 7.4.0 without any error both with and without gold. So what ever it was it has been fixed. Most likely a binutils bug.