[Bug target/113955] Finish LRA transition for mips by removing -mlra

2024-05-20 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113955

YunQiang Su  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED

--- Comment #6 from YunQiang Su  ---
Fixed by: https://gcc.gnu.org/g:d3b4ba120ce3b743838c3545a24554989955722a

[Bug target/113955] Finish LRA transition for mips by removing -mlra

2024-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113955

--- Comment #5 from GCC Commits  ---
The master branch has been updated by YunQiang Su :

https://gcc.gnu.org/g:d3b4ba120ce3b743838c3545a24554989955722a

commit r15-659-gd3b4ba120ce3b743838c3545a24554989955722a
Author: YunQiang Su 
Date:   Thu May 16 02:30:50 2024 +0800

MIPS: Remove -m(no-)lra option

PR target/113955
The `-mlra` option was introduced in 2014 for MIPS, and was set to
default since then.  It's time for us to drop no-lra support by
dropping -m(no-)lra options.

gcc:
* config/mips/mips.cc(mips_option_override):
Drop mips_lra_flag variable;
(mips_lra_p): Removed.
(TARGET_LRA_P): Remove definition here to use the default one.
* config/mips/mips.md(*mul_acc_si, *mul_acc_si_r3900, *mul_sub_si):
Drop mips_lra_flag variable.
* config/mips/mips.opt(-mlra): Removed.
* config/mips/mips.opt.urls(mlra): Removed.

[Bug target/113955] Finish LRA transition for mips by removing -mlra

2024-02-21 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113955

--- Comment #4 from Xi Ruoyao  ---
(In reply to YunQiang Su from comment #3)
> -mlra has been set to default since it was added (2014).
> So, It is ok for us to remove it.

Then let's just remove it (maybe after GCC 14 release).

[Bug target/113955] Finish LRA transition for mips by removing -mlra

2024-02-21 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113955

--- Comment #3 from YunQiang Su  ---
-mlra has been set to default since it was added (2014).
So, It is ok for us to remove it.

[Bug target/113955] Finish LRA transition for mips by removing -mlra

2024-02-21 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113955

--- Comment #2 from YunQiang Su  ---
Maybe we can set it as the release target of GCC 15.

[Bug target/113955] Finish LRA transition for mips by removing -mlra

2024-02-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113955

Xi Ruoyao  changed:

   What|Removed |Added

 CC||xry111 at gcc dot gnu.org

--- Comment #1 from Xi Ruoyao  ---
Maybe I can try a full system rebuild with -mlra...