This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/65979] [5/6 Regression] [SH] Wrong code is generated with stage1 compiler
- From: "kkojima at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Jun 2015 00:18:38 +0000
- Subject: [Bug target/65979] [5/6 Regression] [SH] Wrong code is generated with stage1 compiler
- Auto-submitted: auto-generated
- References: <bug-65979-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979
--- Comment #46 from Kazumoto Kojima <kkojima at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #45)
> Kaz, I wanted to backport the patch to GCC 5. It doesn't apply because on
> trunk gen_rtx_SET doesn't take a machine_mode arg. Since SET rtx is always
> VOIDmode, it has been removed. In GCC 5 though, SImode is used for
> gen_rtx_SET (see your comment #20). Why is that SImode? It should be
> VOIDmode, shouldn't it?
You are right. I should be VOIDmode, though SImode will work for these cases.