aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/optabs-tree.c')
-rw-r--r--gcc/optabs-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/optabs-tree.c b/gcc/optabs-tree.c
index c183b14..47a2aef 100644
--- a/gcc/optabs-tree.c
+++ b/gcc/optabs-tree.c
@@ -223,6 +223,7 @@ optab_for_tree_code (enum tree_code code, const_tree type,
return TYPE_UNSIGNED (type) ? usadd_optab : ssadd_optab;
return trapv ? addv_optab : add_optab;
+ case POINTER_DIFF_EXPR:
case MINUS_EXPR:
if (TYPE_SATURATING (type))
return TYPE_UNSIGNED (type) ? ussub_optab : sssub_optab;