[patch, fortran] Implement VOLATILE statement/attribute (PR 29601)
Tobias Burnus
burnus@net-b.de
Mon Nov 6 13:36:00 GMT 2006
Hi,
FX Coudert wrote:
> :REVIEWPATCH:
Thanks for the review.
> I can think of at least one thing you've missed: modules.
Ups. I added it now to module.c and I also added another test case for
modules.
> Also, making grep-ing TARGET in gcc/fortran/ to make sure there's
> nothing else you and I are forgetting would be nice.
I did not find another place either, not that this proves anything.
Tobias
fortran/
2006-11-06 Tobias Burnus <burnus@net-b.de>
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.
testsuite/
2006-11-06 Tobias Burnus <burnus@net-b.de>
fortran/29601
* volatile.f90: Add.
* volatile2.f90: Add.
* volatile3.f90: Add.
* volatile4.f90: Add.
* volatile5.f90: Add.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: volatile4.diff
Type: text/x-patch
Size: 13850 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061106/993352ad/attachment.bin>
More information about the Gcc-patches
mailing list