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: [PATCH] Fix combine's simplify_shift_const_1 (PR rtl-optimization/70222)


On Tue, Mar 15, 2016 at 09:50:44AM -0500, Segher Boessenkool wrote:
> On Tue, Mar 15, 2016 at 02:18:33PM +0100, Jakub Jelinek wrote:
> > So do you prefer this instead?
> > 
> > 2016-03-15  Jakub Jelinek  <jakub@redhat.com>
> > 
> > 	PR rtl-optimization/70222
> > 	* combine.c (simplify_shift_const_1): For A >> B >> C LSHIFTRT
> > 	optimization if mode is different from result_mode, queue up masking
> > 	of the result in outer_op.  Formatting fix.
> > 
> > 	* gcc.c-torture/execute/pr70222-1.c: New test.
> > 	* gcc.c-torture/execute/pr70222-2.c: New test.
> 
> This one looks fine, too (if it works ;-) )

Passed bootstrap/regtest on x86_64-linux and i686-linux, and triggers solely
on the new testcases, nothing else.  Committed now.

	Jakub


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