[Bug rtl-optimization/70174] [6 Regression] ICE at -O1 and above on x86_64-linux-gnu in gen_lowpart_general, at rtlhooks.c:63

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 11 09:56:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70174

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #7)
> Comment on attachment 37931 [details]
> gcc6-pr70174.patch
> 
> +		tmp = gen_lowpart (op_mode, force_reg (GET_MODE (value),
> +						       value1));
> 
> 
> Should GET_MODE here be of value1 and not value?

value1 == value at that point, and the force_reg a few lines above does exactly
the same.


More information about the Gcc-bugs mailing list