Commit a53334a4 by Tobias Schlüter Committed by Tobias Schlüter

re PR fortran/16336 (ICE with common block in module)

PR fortran/16336
* gfortran.fortran-torture/execute/common_2.f90: New test.

From-SVN: r84478
parent 331c72f3
2004-07-10 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/16336
* gfortran.fortran-torture/execute/common_2.f90: New test.
2004-07-10 Paul Brook <paul@codesourcery.com> 2004-07-10 Paul Brook <paul@codesourcery.com>
* gfortran.fortran-torture/execute/der_init_5.f90: Enable more tests. * gfortran.fortran-torture/execute/der_init_5.f90: Enable more tests.
......
! PR fortran/16336 -- the two common blocks used to clash
MODULE bar
INTEGER :: I
COMMON /X/I
END MODULE bar
USE bar
INTEGER :: J
COMMON /X/J
j = 1
i = 2
if (j.ne.i) call abort()
if (j.ne.2) call abort()
END
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment