Hi Michael,

On 04/02/18 02:52, Michael Collison wrote:
This patches fixes a bug affecting two patterns in arm/thumb2.md where the split condition was insufficient 
and allowed illegal rtl to be generated. The split condition for patterns "*thumb2_mov_negscc "and 
"*thumb_mov_notscc " allowed splitting that ignored "arm_restrict_it". This was causing 
illegal rtl to be generated for IT blocks which in turn caused an internal error.
Bootstrapped and regression tested on arm-linux-gnueabihf. Okay for trunk?

Ok.

2018-01-28  Michael Collison <michael.colli...@arm.com>

        * config/arm/thumb2.md:
        (*thumb2_mov_negscc): Split only if TARGET_THUMB2 && !arm_restrict_it.
        (*thumb_mov_notscc): Ditto.
        * gcc.target/arm/pr7676.c: New testcase.

Please make sure the testsuite entry goes into the gcc/testsuite/ChangeLog.

Thanks for fixing this, can you please check if this needs fixing on the 
branches too?
Kyrill

Reply via email to