[lno] Loop optimizer bits

Andrew Pinski pinskia@physics.uc.edu
Sat Jan 3 21:22:00 GMT 2004


On Jan 3, 2004, at 16:15, Daniel Berlin wrote:

>> 	* testsuite/gcc.dg/tree-ssa/20030711-1.c: Update test outcome.
>> 	* testsuite/gcc.dg/tree-ssa/20030714-2.c: Ditto.
>
> These two i don't get (IE why it's okay to update the test outcome)
>
> In particular:
>
>> *************** record_component_aliases (type)
>> *** 42,53 ****
>> ! /* There should be three loads of vec.length.  */
>> ! /* { dg-final { scan-tree-dump-times "vec.length" 3 "dom2"} } */
>>
>> --- 42,53 ----
>>
>> ! /* There should be four loads of vec.length.  */
>> ! /* { dg-final { scan-tree-dump-times "vec.length" 4 "dom2"} } */
>>
>
>
> Why are there now four loads instead of 3?


Basically when duplicating loop headers you get an extra load for 
vec.length and
likewise for the if's for both tests.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list