https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83738
Georg-Johann Lay <gjl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-08 Ever confirmed|0 |1 --- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- Currently we are saving all used callee-saved registers in main which is overhead. It can be mitigated by attribute OS_main, but we could skip saving them per default. Not even the test suite (where flow drops out of main) needs saving these regs.