OSDN Git Service

2005-10-12 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Oct 2005 20:05:04 +0000 (20:05 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Oct 2005 20:05:04 +0000 (20:05 +0000)
commit3d53b006a108c718cf4ced6001e7716f71f8c56a
treeabc1cad029a8771cdb8273bbb5c57a8dfdc1284f
parent195b78154268b5deaa2237f221fc962466be4087
2005-10-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/20847
PR fortran/20856
* symbol.c (check_conflict): Prevent common variables and
function results from having the SAVE attribute,as required
by the standard.

2005-10-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/20847
gfortran.dg/save_common.f90: New test.

PR fortran/20856
gfortran.dg/save_result.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105325 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/save_common.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/save_result.f90 [new file with mode: 0644]