[PATCH] Fix PR39715 (Thumb pessimization)

Paolo Bonzini bonzini@gnu.org
Wed Oct 28 16:46:00 GMT 2009


On 08/03/2009 02:41 PM, Richard Earnshaw wrote:
>> >  	* simplify-rtx.c (simplify_relational_operation_1):
>> >  	Look for useless extensions of a subreg, if the extension
>> >  	is from the same mode as the subreg.
>
> I'll punt on this bit following Adam's comments.  Please re-submit if
> still needed.

Moving this to simplify_unary_operation_1 causes a libgfortran 
miscompilation on x86_64-linux.

However, something changed in the meanwhile and the testcase passes even 
without this bit.  So I committed the patch without it.

Paolo



More information about the Gcc-patches mailing list