OSDN Git Service

fortran/
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Nov 2006 13:27:53 +0000 (13:27 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Nov 2006 13:27:53 +0000 (13:27 +0000)
commitef814c813fbe3b59ef99eba9a1c26412f2a2ebf3
treec63b26fdfe160e12fa7a62ffabe00e56d67e1b2a
parent887444cee2f3c26867a8cc8250df888b27bb6c72
fortran/
2006-11-06  Tobias Burnus  <burnus@net-b.de>

    PR fortran/29601
    * symbol.c (check_conflict, gfc_add_volatile): Add volatile support.
    * decl.c (match_attr_spec, gfc_match_volatile): Add volatile support.
    * gfortran.h (symbol_attribute): Add volatile_ to struct.
    * resolve.c (was_declared): Add volatile support.
    * trans-decl.c (gfc_finish_var_decl): Add volatile support.
    * match.h: Declare gfc_match_volatile.
    * parse.c (decode_statement): Recognize volatile.
    * modules.c (ab_attribute, attr_bits, mio_symbol_attribute):
      Add volatile support.
    * dump-parse-tree.c (gfc_show_attr): Add volatile support.

testsuite/
2006-11-06  Tobias Burnus  <burnus@net-b.de>

    PR fortran/29601
    * gfortran.dg/volatile.f90: Add.
    * gfortran.dg/volatile2.f90: Add.
    * gfortran.dg/volatile3.f90: Add.
    * gfortran.dg/volatile4.f90: Add.
    * gfortran.dg/volatile5.f90: Add.
    * gfortran.dg/volatile6.f90: Add.
    * gfortran.dg/volatile7.f90: Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118545 138bc75d-0d04-0410-961f-82ee72b054a4
18 files changed:
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/dump-parse-tree.c
gcc/fortran/gfortran.h
gcc/fortran/match.h
gcc/fortran/module.c
gcc/fortran/parse.c
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/volatile.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/volatile2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/volatile3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/volatile4.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/volatile5.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/volatile6.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/volatile7.f90 [new file with mode: 0644]