DEC Extension Patches: [4] AUTOMATIC and STATIC attributes
Fritz Reese
fritzoreese@gmail.com
Tue Apr 12 23:23:00 GMT 2016
All,
Attached is another DEC extension. For convenience, this patch is
based on previous DEC extension patches. That way when the other DEC
extensions are merged in the next release, this patch can be merged on
top of them. Therefore it depends on the four patches posted
previously:
[0] gfc_dt_upper_string/gfc_dt_lower_string
https://gcc.gnu.org/ml/fortran/2016-03/msg00003.html
[1] resolve_component
https://gcc.gnu.org/ml/fortran/2016-03/msg00004.html
[2] check_component
https://gcc.gnu.org/ml/fortran/2016-03/msg00005.html
[3] STRUCTURE and UNION
https://gcc.gnu.org/ml/fortran/2016-03/msg00006.html
Attached: [4] AUTOMATIC and STATIC attributes. (Upon request an
independent patch can be submitted based directly on trunk.)
This patch introduces two new variable attributes: AUTOMATIC and
STATIC: STATIC is an alias for SAVE. AUTOMATIC explicitly requests a
variable to be placed on the stack. Support for these attributes is
only enabled with a new compile flag -fdec-static. This new flag is
also enabled with -fdec, introduced in the STRUCTURE/UNION patch. For
more details on the implementation see the patch and the updated
gfortran manual.
---
Fritz Reese
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-for-AUTOMATIC-and-STATIC-attributes-with-new.patch
Type: application/octet-stream
Size: 24975 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160412/6531021c/attachment.obj>
More information about the Fortran
mailing list