[patch, fortran] Two associate fixes in dump-parse-tree.c

Thomas Koenig tkoenig@netcologne.de
Sun Feb 14 19:27:00 GMT 2016


Hello world,

the two fixes in the patch

- show ASSOCIATE lists if present, to complete the AST dump

- fix an ICE where an EXEC_END_BLOCK survived.  This can only
   happen if the END ASSOCIATE or END BLOCK statement had a
   statement label.

If the preference is to use some other format for the ASSOCIATE
lists, for example by putting each statement on its own list,
I am open to suggestions.

Regression-tested (but we don't really test for this).  No test
case because we don't have the infrastructure for it.

No user impact expected (nobody but us developers uses
-fdump-fortran-original, I think).

OK for trunk?

Regards

	Thomas

2016-02-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

         * dump-parse-tree.c (show_code_node):  Print association
         list of a block if present.  Handle EXEC_END_BLOCK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 1050 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160214/ac96db64/attachment.bin>


More information about the Fortran mailing list