https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82169
Bug ID: 82169 Summary: Dynamically determine best strategy for -mcall-ms2sysv-xlogues Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Target: x86-64-*-* The new -mcall-ms2sysv-xlogues is nice but it would be ideal for its use to be determined automatically based upon optimization flags, profile-guided optimizations, cold/hot markings, etc. I don't know that it is currently possible or worthwhile, but an analysis using processor_costs or some such to see it's faster than inline saves might also improve it. Probably 9.0 would be a sane target release.