Backported from mainline
2018-04-17 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/85431
* dse.c (record_store): Ignore zero width stores.
From-SVN: r262097
2018-06-25 Jakub Jelinek <jakub@redhat.com>
Backported from mainline
+ 2018-04-17 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/85431
+ * dse.c (record_store): Ignore zero width stores.
+
2018-04-10 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/85300
else
width = GET_MODE_SIZE (GET_MODE (mem));
+ if (width == 0)
+ return 0;
+
if (group_id >= 0)
{
/* In the restrictive case where the base is a constant or the