aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2000-10-20 17:35:18 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-10-20 13:35:18 -0400
commitd57e164f291da444a6642f3e29fd3d6b76b89621 (patch)
treec78645bdfca3b8975395636111d82c97acf264ef /gcc
parent0345195ae65d06cc4ca867e1a2f8acdbf08d8e2c (diff)
downloadgcc-d57e164f291da444a6642f3e29fd3d6b76b89621.zip
gcc-d57e164f291da444a6642f3e29fd3d6b76b89621.tar.gz
gcc-d57e164f291da444a6642f3e29fd3d6b76b89621.tar.bz2
* dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
From-SVN: r36968
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/dwarf2out.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 06f53bc..207595e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+ * dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
+
* combine.c (struct undo): Change int to unsigned int.
(do_SUBST_INT): Args are unsigned int.
(make_extraction, force_to_mode): Use proper type when forming mask.
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index b362a1e..689027f 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -8105,6 +8105,7 @@ add_bound_info (subrange_die, bound_attr, bound)
case MAX_EXPR:
case VAR_DECL:
case COMPONENT_REF:
+ case COND_EXPR:
/* ??? These types of bounds can be created by the Ada front end,
and it isn't clear how to emit debug info for them. */
break;