annotate gcc/testsuite/gfortran.dg/inline_sum_2.f90 @ 144:8f4e72ab4e11

fix segmentation fault caused by nothing next cur_op to end
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 21:23:56 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do run }
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 ! PR fortran/43829
kono
parents:
diff changeset
4 ! Scalarization of reductions.
kono
parents:
diff changeset
5 ! Test that inlined sum is correct.
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 ! We can't check for the absence of temporary arrays generated on the run-time
kono
parents:
diff changeset
8 ! testcase, as inlining is disabled at -Os, so it will fail in that case.
kono
parents:
diff changeset
9 ! Thus, the test is splitted into two independant files, one checking for
kono
parents:
diff changeset
10 ! the absence of temporaries, and one (this one) checking that the code
kono
parents:
diff changeset
11 ! generated remains valid at all optimization levels.
kono
parents:
diff changeset
12 include 'inline_sum_1.f90'