PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / inline_sum_2.f90
blob0b7c60ad9e91ff4fa2d20e27fb29d30d8e7ab7dc
1 ! { dg-do run }
3 ! PR fortran/43829
4 ! Scalarization of reductions.
5 ! Test that inlined sum is correct.
7 ! We can't check for the absence of temporary arrays generated on the run-time
8 ! testcase, as inlining is disabled at -Os, so it will fail in that case.
9 ! Thus, the test is splitted into two independant files, one checking for
10 ! the absence of temporaries, and one (this one) checking that the code
11 ! generated remains valid at all optimization levels.
12 include 'inline_sum_1.f90'