Do we have the testsuite infrastructure to easily do this?

Dave Korn dk@artimi.com
Tue Sep 14 13:11:00 GMT 2004


> -----Original Message-----
> From: gcc-owner On Behalf Of Daniel Berlin
> Sent: 13 September 2004 20:29

> The only real way to be sure everything worked okay is to do the 
> following:
> 
> Make the testcase print out the values of the induction variables for 
> the iteration it is executing.
> 
> Compile and run without -ftree-loop-linear, redirect output to file.
> 
> Compile and run with -ftree-loop-linear, redirect output to file.
> 
> sort -n both files, diff.
> 
> There should be no differences.

  Sorry I can't comment as to the main point of the question, but as a side point,
shouldn't there be no difference between the files even if you _don't_ sort them?

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Gcc mailing list