re PR fortran/29601 (VOLATILE attribute and statement)
commit775e6c3a7b9301534d2e6ee3bff8178cde910b49
authorTobias Burnus <burnus@net-b.de>
Tue, 7 Nov 2006 13:27:53 +0000 (7 14:27 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Tue, 7 Nov 2006 13:27:53 +0000 (7 14:27 +0100)
treec63b26fdfe160e12fa7a62ffabe00e56d67e1b2a
parentc927b11c7832ba293da24201305efa7c3dd64cb0
re PR fortran/29601 (VOLATILE attribute and statement)

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.

From-SVN: r118545
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]