annotate gcc/testsuite/gfortran.dg/pr23095.f @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +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 compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
kono
parents:
diff changeset
2 ! { dg-options "-w -O2 -ffloat-store -fgcse-after-reload" }
kono
parents:
diff changeset
3 !
kono
parents:
diff changeset
4 ! GCSE after reload made a stack register live across an abnormal
kono
parents:
diff changeset
5 ! edges for one of the computed jumps. This bombed in reg-stack.
kono
parents:
diff changeset
6 function foo(n)
kono
parents:
diff changeset
7 real(kind=8) foo
kono
parents:
diff changeset
8 integer ix, n, next
kono
parents:
diff changeset
9 real(kind=8) xmax, absx
kono
parents:
diff changeset
10 foo = 0.0d0
kono
parents:
diff changeset
11 assign 20 to next
kono
parents:
diff changeset
12 do ix = 1,n
kono
parents:
diff changeset
13 go to next,(10, 30)
kono
parents:
diff changeset
14 10 assign 40 to next
kono
parents:
diff changeset
15 go to 40
kono
parents:
diff changeset
16 20 if (absx .gt. 8.232d-11) go to 40
kono
parents:
diff changeset
17 30 if (absx .le. xmax) go to 40
kono
parents:
diff changeset
18 xmax = absx
kono
parents:
diff changeset
19 40 go to next,(10, 30)
kono
parents:
diff changeset
20 end do
kono
parents:
diff changeset
21 return
kono
parents:
diff changeset
22 end