[Patch, Fortran] PR34186 -fdump-parse-tree fixes

Tobias Burnus burnus@net-b.de
Fri Nov 30 14:02:00 GMT 2007


:ADDPATCH fortran:

This fixes three problems with the parse tree, related to the ISO C
Binding patches.

a) c_alert etc. did not set cl->length, which caused a crash for
    use iso_c_binding, only: c_alert
when using -fdump-tree-original

b) BT_VOID was not handled. I think it is used for the C_LOC function

c) I added BIND(C) to the dumped attributes.

Bootstrapped and regression tested.
OK for the trunk?

Tobias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dump.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071130/6a5133e1/attachment.ksh>


More information about the Gcc-patches mailing list