annotate gcc/testsuite/gfortran.dg/module_commons_2.f90 @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +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 }
kono
parents:
diff changeset
2 ! Tests the fix for PR35474, in which the PRIVATE statement would
kono
parents:
diff changeset
3 ! cause the error Internal Error at (1): free_pi_tree(): Unresolved fixup
kono
parents:
diff changeset
4 ! This arose because the symbol for 'i' emanating from the COMMON was
kono
parents:
diff changeset
5 ! not being fixed-up as the EQUIVALENCE was built.
kono
parents:
diff changeset
6 !
kono
parents:
diff changeset
7 ! Contributed by FX Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
8 !
kono
parents:
diff changeset
9 module h5global
kono
parents:
diff changeset
10 integer i
kono
parents:
diff changeset
11 integer j
kono
parents:
diff changeset
12 common /c/ i
kono
parents:
diff changeset
13 equivalence (i, j)
kono
parents:
diff changeset
14 private
kono
parents:
diff changeset
15 end module h5global
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 program bug
kono
parents:
diff changeset
18 use h5global
kono
parents:
diff changeset
19 end