This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Missing SCALAR_INT_MODE_P checks in simplify_subreg


> Tested on arm-linux-gnueabi and x86_64-linux-gnu.  Although I suppose
> I could self-approve this, I'd appreciate it if someone would double-check.
>
> Richard
>
>
> gcc/
> 	* simplify-rtx.c (simplify_subreg): Check that the inner mode is
> 	a scalar integer before applying integer-only optimisations to
> 	inner arithmetic.

Looks good to me.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]