This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1"
- From: "segher at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 28 Jan 2018 23:43:57 +0000
- Subject: [Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1"
- Auto-submitted: auto-generated
- References: <bug-83496-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496
--- Comment #13 from Segher Boessenkool <segher at gcc dot gnu.org> ---
There are *two* conditional branches leading to that "return 1". After
dbr one is a delay-slot seq, and the other has lost the assignment of the
return value.