re PR fortran/83744 (ICE in ../../gcc/gcc/fortran/dump-parse-tree.c:3093 while using...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 13 Jan 2018 18:22:36 +0000 (18:22 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 13 Jan 2018 18:22:36 +0000 (18:22 +0000)
commit39f309aca6e6b756ffab4222ffc39094042b9413
tree9c42300bee1375ff895865f927ad5f079c0485a8
parenta57776a11369621f9e9e8a8a3db6cb406c8bf27b
re PR fortran/83744 (ICE in ../../gcc/gcc/fortran/dump-parse-tree.c:3093 while using -fc-prototypes)

2018-01-13  Thomas Koenig <tkoenig@gcc.gnu.org>

PR fortran/83744
* dump-parse-tree.c (get_c_type_name): Remove extra line.
Change for loop to use declaration in for loop. Handle BT_LOGICAL
and BT_CHARACTER.
(write_decl): Add where argument. Fix indentation. Replace
assert with error message. Add typename to warning
in comment.
(write_type): Adjust locus to call of write_decl.
(write_variable): Likewise.
(write_proc): Likewise. Replace assert with error message.

From-SVN: r256645
gcc/fortran/ChangeLog
gcc/fortran/dump-parse-tree.c