On Mon, Nov 04, 2019 at 01:18:58PM +0100, Tobias Burnus wrote:
> This test case had from the beginning both
>  ! { dg-do run }
>  ! { dg-options "-O2" }
> 
> However, 'dg-do run' implies torture, i.e. multiple optimization options,
> while 'dg-options "-O2"' implies -O2, only.
> 
> This means that the test case is compiled 4 times with
> "-O0", "-O1", "-O3 -f…" and "-Os" – followed by "-O2".
> Hence, it is run 4 times with nearly identical options
> (With "-O3" [followed by "-O2"], the "-fomit-frame-pointer -funroll-loops 
> -fpeel-loops
> -ftracer -finline-functions" options do get added.)
> 
> Hence, we can either remove "dg-do run" or "dg-options". I suggest to remove
> the latter.
> 
> OK?

Note, pr66199-1.f90 has the same issue.  And I'd probably go for
the removal of dg-do run instead.

        Jakub

Reply via email to