* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git] / gcc / testsuite / gfortran.dg / module_commons_2.f90
bloba61008166e3cfc2664e7bf0f77244a32a4aa82a4
1 ! { dg-do compile }
2 ! Tests the fix for PR35474, in which the PRIVATE statement would
3 ! cause the error Internal Error at (1): free_pi_tree(): Unresolved fixup
4 ! This arose because the symbol for 'i' emanating from the COMMON was
5 ! not being fixed-up as the EQUIVALENCE was built.
7 ! Contributed by FX Coudert <fxcoudert@gcc.gnu.org>
9 module h5global
10 integer i
11 integer j
12 common /c/ i
13 equivalence (i, j)
14 private
15 end module h5global
17 program bug
18 use h5global
19 end