summaryrefslogtreecommitdiff
path: root/debian/patches/pr80533.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/pr80533.diff')
-rw-r--r--debian/patches/pr80533.diff25
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches/pr80533.diff b/debian/patches/pr80533.diff
deleted file mode 100644
index 4ed4787..0000000
--- a/debian/patches/pr80533.diff
+++ /dev/null
@@ -1,25 +0,0 @@
-# DP: Fix PR middle-end/80533, taken from the trunk.
-
-gcc/
-
-2017-04-27 Richard Biener <rguenther@suse.de>
-
- PR middle-end/80533
- * emit-rtl.c (set_mem_attributes_minus_bitpos): When
- stripping ARRAY_REFs from MEM_EXPR make sure we're not
- keeping a reference to a trailing array.
-
---- a/src/gcc/emit-rtl.c
-+++ b/src/gcc/emit-rtl.c
-@@ -1954,7 +1954,10 @@
- while (TREE_CODE (t2) == ARRAY_REF);
-
- if (DECL_P (t2)
-- || TREE_CODE (t2) == COMPONENT_REF)
-+ || (TREE_CODE (t2) == COMPONENT_REF
-+ /* For trailing arrays t2 doesn't have a size that
-+ covers all valid accesses. */
-+ && ! array_at_struct_end_p (t)))
- {
- attrs.expr = t2;
- attrs.offset_known_p = false;