https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93326
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2020-01-20 00:00:00 |2021-8-29 Severity|normal |enhancement --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So for the -fPIC case, we don't want to increase the number of runtime relocations done. The number of runtime locations will happen in the constable load table. I think we don't want to change that. Now for the -fno-PIC case and the second testcase, the splitting of the loop happens too late and we don't run the switch conversion code (we only run it once before (non-early) inlining). There is another bug about us running the switch conversion code too early too.