This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/59401] [SH] GBR addressing mode optimization produces wrong code
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 12 Oct 2014 23:24:39 +0000
- Subject: [Bug target/59401] [SH] GBR addressing mode optimization produces wrong code
- Auto-submitted: auto-generated
- References: <bug-59401-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59401
Oleg Endo <olegendo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kkojima at gcc dot gnu.org
--- Comment #3 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Kaz, I'd like to backport this to 4.8 and 4.9, but I can't decide in which
form.
The patch from r216128 could be applied to the branches. Another option is to
prevent the sh_find_equiv_gbr_addr function from crossing labels. This is just
a few lines, but of course it produces not so good results in some cases.
Do you have an opinion on that?