https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77464
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- No. In most cases the -shared and the compiling part are separated. This was just a simplified example of not using the right options.