aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/dump-parse-tree.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2007-11-30 10:31:56 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2007-11-30 10:31:56 +0100
commite6ef7325b82cf4fd0fd431deada1b37e29542230 (patch)
treeff3798fc5a704430ba9eb2aed7a0a828e27a0e6c /gcc/fortran/dump-parse-tree.c
parent89ab8ba092a961625a2b636d808db5af3f08f9cd (diff)
downloadgcc-e6ef7325b82cf4fd0fd431deada1b37e29542230.zip
gcc-e6ef7325b82cf4fd0fd431deada1b37e29542230.tar.gz
gcc-e6ef7325b82cf4fd0fd431deada1b37e29542230.tar.bz2
re PR fortran/34186 (dump-parse-tree: ICE for ts->cl->length, if ts->cl == NULL)
2007-11-30 Tobias Burnus <burnus@net-b.de> PR fortran/34186 * symbol.c (generate_isocbinding_symbol): Set string length. * dump-parse-tree.c (gfc_show_attr): Show BIND(C) attribute. * misc.c (gfc_basic_typename): Handle BT_VOID. From-SVN: r130534
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
-rw-r--r--gcc/fortran/dump-parse-tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c
index ce46e35..e1e463f7 100644
--- a/gcc/fortran/dump-parse-tree.c
+++ b/gcc/fortran/dump-parse-tree.c
@@ -582,6 +582,8 @@ gfc_show_attr (symbol_attribute *attr)
gfc_status (" RESULT");
if (attr->entry)
gfc_status (" ENTRY");
+ if (attr->is_bind_c)
+ gfc_status (" BIND(C)");
if (attr->data)
gfc_status (" DATA");