]> git.ipfire.org Git - thirdparty/gcc.git/commit
sparc: drop -mlra
authorSam James <sam@gentoo.org>
Mon, 14 Oct 2024 18:53:52 +0000 (11:53 -0700)
committerSam James <sam@gentoo.org>
Wed, 16 Oct 2024 08:04:23 +0000 (09:04 +0100)
commitb388f65abc71c951167175aa502476f1bfaa2a83
tree8fb657c83db8da8edb7feed300fe388fab24c355
parent2813a5bc7af2865ee4d2e94bce59a7fdefeea0b3
sparc: drop -mlra

The sparc port gained LRA support in r7-5076-gf99bd883fb0d05 and has
defaulted to LRA since r7-5642-g70a6dbe7e37e69.

Let's finish the transition by dropping -mlra entirely.

Tested on sparc64-unknown-linux-gnu with no regressions.

gcc/ChangeLog:
PR target/113952
* config/sparc/sparc.cc (sparc_lra_p): Delete.
(TARGET_LRA_P): Ditto.
(sparc_option_override): Don't use MASK_LRA.
* config/sparc/sparc.md (disabled,enabled): Drop lra attribute.
* config/sparc/sparc.opt: Delete -mlra.
* config/sparc/sparc.opt.urls: Ditto.
* doc/invoke.texi (SPARC options): Drop -mlra and -mno-lra.
gcc/config/sparc/sparc.cc
gcc/config/sparc/sparc.md
gcc/config/sparc/sparc.opt
gcc/config/sparc/sparc.opt.urls
gcc/doc/invoke.texi