summaryrefslogtreecommitdiff
path: root/gcc/tree-eh.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-eh.c')
-rw-r--r--gcc/tree-eh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c
index 27f33c9141f..21c3a1c3815 100644
--- a/gcc/tree-eh.c
+++ b/gcc/tree-eh.c
@@ -1682,6 +1682,7 @@ tree_could_trap_p (tree expr)
switch (code)
{
case ARRAY_REF:
+ case ARRAY_RANGE_REF:
case COMPONENT_REF:
case REALPART_EXPR:
case IMAGPART_EXPR: