[Bug target/65979] [5/6 Regression] [SH] Wrong code is generated with stage1 compiler

kkojima at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 26 00:18:00 GMT 2015


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.



More information about the Gcc-bugs mailing list