This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/20856] function result may not be saved



------- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-12 20:05 -------
Subject: Bug 20856

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     pault@gcc.gnu.org       2005-10-12 20:05:04

Modified files:
        gcc/fortran    : symbol.c ChangeLog 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/gfortran.dg: save_common.f90 save_result.f90 

Log message:
        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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/symbol.c.diff?cvsroot=gcc&r1=1.36&r2=1.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.581&r2=1.582
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/save_common.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/save_result.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6179&r2=1.6180


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20856


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]