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