aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-13 02:49:24 +0200
committerEugen Wissner <belka@caraus.de>2026-07-13 02:49:24 +0200
commit97741a01323021ccec8b0b60c6f8318c88ac373a (patch)
tree51cd1722073498a749f158b9a6dc998fb4846055 /gcc
parentb2f8be605d2b79d1d4b1995646e7058bec299a22 (diff)
downloadelna-97741a01323021ccec8b0b60c6f8318c88ac373a.tar.gz
Fix ICE substracting pointers
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gcc/elna-tree.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcc/elna-tree.cc b/gcc/gcc/elna-tree.cc
index 835702a..ebe6a56 100644
--- a/gcc/gcc/elna-tree.cc
+++ b/gcc/gcc/elna-tree.cc
@@ -182,6 +182,7 @@ namespace elna::gcc
{
return fold_build2_loc(operation_location, POINTER_DIFF_EXPR, ssizetype, left, right);
}
+ return error_mark_node;
}
gcc_unreachable();
}