From: Tobias Schlüter Date: Wed, 9 Jun 2004 13:08:13 +0000 (+0200) Subject: re PR fortran/13249 (Error when using COMMON) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=655948a348f819803aeda65b0ae445ba86712a64;p=gcc.git re PR fortran/13249 (Error when using COMMON) PR fortran/13249 * gfortran.fortran-torture/compile/name_clash.f90: New test. From-SVN: r82836 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d60039b8607..332e3f0628b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-06-09 Tobias Schlueter + + PR fortran/13249 + * gfortran.fortran-torture/compile/name_clash.f90: New test. + 2004-06-09 Tobias Schlueter PR fortran/13372 diff --git a/gcc/testsuite/gfortran.fortran-torture/compile/name_clash.f90 b/gcc/testsuite/gfortran.fortran-torture/compile/name_clash.f90 new file mode 100644 index 00000000000..738600244c1 --- /dev/null +++ b/gcc/testsuite/gfortran.fortran-torture/compile/name_clash.f90 @@ -0,0 +1,10 @@ +! This is the testcase from PR13249. +! the two different entities named AN_EXAMPLE shouldn't conflict +! the real bug is PR15481, we currently (2004/06/09) work around PR13249 + MODULE MOD + INTEGER FOO + END + PROGRAM MAIN + USE MOD + COMMON /FOO/ BAR + END