[patch, fortran, committed] Set deferred flag on typespec for temporary strings

Thomas Koenig tkoenig@netcologne.de
Mon Aug 15 19:38:00 GMT 2016


Hello world,

I just committed the attached patch as obvious and simple after
regression-testing.

One source of mysterious errors (and regressions) in the front end was
that the deferred flag on the typespec was not set for deffered strings.

Because some flags (including the deferred flag) in the typespec were
not output to the dump of the Fortran AST, I have also added this.

I will backport to 6 and 5 in a few days.

Regards

	Thomas

  2016-08-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

         * frontend-passes.c (create_var):  Set ts.deferred for
         deferred-length character variables.
         * dump-parse-tree.c (show_typespec):  Also dump
         is_c_interop, is_iso_c and deferred flags.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p2.diff
Type: text/x-patch
Size: 1640 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160815/fd49e993/attachment.bin>


More information about the Gcc-patches mailing list