PR rtl-optimization/88416
* valtrack.c (cleanup_auto_inc_dec): Handle pre/post-inc/dec/modify
even if !AUTO_INC_DEC.
* gcc.target/i386/pr88416.c: New test.
From-SVN: r267105
+2018-12-13 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/88416
+ * valtrack.c (cleanup_auto_inc_dec): Handle pre/post-inc/dec/modify
+ even if !AUTO_INC_DEC.
+
2018-12-13 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/rs6000.c (rs6000_function_arg): Ensure type is
2018-12-13 Jakub Jelinek <jakub@redhat.com>
+ PR rtl-optimization/88416
+ * gcc.target/i386/pr88416.c: New test.
+
PR tree-optimization/88464
* gcc.target/i386/avx512f-pr88462-1.c: New test.
* gcc.target/i386/avx512f-pr88462-2.c: New test.
--- /dev/null
+/* PR rtl-optimization/88416 */
+/* { dg-do compile } */
+/* { dg-options "-O1 -fvar-tracking-assignments -fno-forward-propagate --param max-cse-insns=1" } */
+
+#include "writeeflags-1.c"
cleanup_auto_inc_dec (rtx src, machine_mode mem_mode ATTRIBUTE_UNUSED)
{
rtx x = src;
- if (!AUTO_INC_DEC)
- return copy_rtx (x);
const RTX_CODE code = GET_CODE (x);
int i;