From d0310c5364a38ff0a3b4ddbf57aaa2239c7fb4ba Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Wed, 15 Jun 1994 15:21:27 -0700 Subject: [PATCH] (dbxout_range_type): Handle an array range that is neither int nor subrange. From-SVN: r7494 --- gcc/dbxout.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 5418566033e..b2995c1d8b9 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -877,6 +877,8 @@ dbxout_range_type (type) fprintf (asmfile, "r"); if (TREE_TYPE (type)) dbxout_type (TREE_TYPE (type), 0, 0); + else if (TREE_CODE (type) != INTEGER_TYPE) + dbxout_type (type, 0, 0); /* E.g. Pascal's ARRAY [BOOLEAN] of INTEGER */ else { /* This used to say `r1' and we used to take care -- 2.30.2