public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Ping**2! Re: [PATCH, Fortran] Extension: AUTOMATIC/STATIC symbol attributes with -fdec-static
@ 2016-09-05 18:37 Fritz Reese
  2016-09-07 13:53 ` Andre Vehreschild
  0 siblings, 1 reply; 3+ messages in thread
From: Fritz Reese @ 2016-09-05 18:37 UTC (permalink / raw)
  To: fortran, gcc-patches

https://gcc.gnu.org/ml/fortran/2016-08/msg00173.html
On Mon, Aug 29, 2016 at 8:36 AM, Fritz Reese <fritzoreese@gmail.com> wrote:
>
> https://gcc.gnu.org/ml/fortran/2016-08/msg00077.html
> On Wed, Aug 17, 2016 at 7:20 AM, Fritz Reese <fritzoreese@gmail.com> wrote:
> > This patch extends the GNU Fortran front-end to add support for
> > DEC-style AUTOMATIC and STATIC symbol attributes with a new flag
> > -fdec-static, allowing explicit control of variable storage. AUTOMATIC
> > local variables are placed on the stack, whereas STATIC variables are
> > placed in static storage.
>
> Patch still pending review.
>
> > Bootstraps and regtests on x86_64-redhat-linux. Questions, comments,
> > and critique welcome. Ok for trunk?
> ...
> >
> > 08-17-2016  Fritz Reese  <fritzoreese@gmail.com>
> >
> >     gcc/fortran/
> >         * lang.opt, invoke.texi, gfortran.texi: New flag -fdec-static.
> >             * options.c (set_dec_flags): Set -fdec-static with -fdec.
> >         * gfortran.h (symbol_attribute): New attribute AUTOMATIC.
> >         * gfortran.h (gfc_add_automatic): New prototype.
> >         * match.h (gfc_match_automatic, gfc_match_static): New functions.
> >         * decl.c (gfc_match_automatic, gfc_match_static): Ditto.
> >         * symbol.c (gfc_add_automatic): Ditto.
> >         * decl.c (match_attr_spec): Match AUTOMATIC and STATIC decls.
> >         * parse.c (decode_specification_statement, decode_statement): Ditto.
> >         * resolve.c (apply_default_init_local, resolve_fl_variable_derived,
> >         resolve_symbol): Support for automatic attribute.
> >         * symbol.c (check_conflict, gfc_copy_attr, gfc_is_var_automatic):
> >         Ditto.
> >         * trans-decl.c (gfc_finish_var_decl): Ditto.
> >
> >     gcc/testsuite/gfortran.dg/
> >         * dec_static_1.f90, dec_static_2.f90: New testcases.
>


---
Fritz Reese

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-07 20:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-05 18:37 Ping**2! Re: [PATCH, Fortran] Extension: AUTOMATIC/STATIC symbol attributes with -fdec-static Fritz Reese
2016-09-07 13:53 ` Andre Vehreschild
2016-09-07 20:20   ` Fritz Reese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).