[Patch, Fortran] PR87597 - fix off-by-one issue with inline matmul

Tobias Burnus burnus@net-b.de
Sat Oct 13 22:43:00 GMT 2018


Hi Dominique,

Dominique d'Humières wrote:
> UNRESOLVED: gfortran.dg/inline_matmul_24.f90   -O0   scan-tree-dump-times optimized "gamma5[__var_1_do \\\\* 4 \\\\+ __var_2_do]" 1
>
> ! { dg-final { scan-tree-dump-times "gamma5\[__var_1_do \\* 4 \\+ __var_2_do\]" 1 "optimized" } }
>
> Shouldn’t -fdump-tree-original be -fdump-tree-optimized?

As it is a front-end optimization (which is explicitly enabled), 
-fdump-tree-original should work (and avoids issues with further later 
optimizations).

What do you get on your system? Seemingly something else than I do. Can 
you look for the gamma5 line in your dump?

Tobias



More information about the Fortran mailing list