2013-05-29 Easwaran Raman <eraman@google.com>
PR tree-optimization/57442
* tree-ssa-reassoc.c (appears_later_in_bb): Return correct value
when control exits the main loop.
2013-05-29 Easwaran Raman <eraman@google.com>
PR tree-optimization/57442
* gcc.dg/tree-ssa/reassoc-30.c: New testcase.
From-SVN: r199418
+2013-05-29 Easwaran Raman <eraman@google.com>
+
+ PR tree-optimization/57442
+ * tree-ssa-reassoc.c (appears_later_in_bb): Return correct value
+ when control exits the main loop.
+
2013-05-29 Sandeep Kumar Singh <Sandeep.Singh2@kpitcummins.com>
* rx/rx.h (TARGET_CPU_CPP_BUILTINS): Add macros for RX100, RX200,
+2013-05-29 Easwaran Raman <eraman@google.com>
+
+ PR tree-optimization/57442
+ * gcc.dg/tree-ssa/reassoc-30.c: New testcase.
+
2013-05-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/57441
--- /dev/null
+/* PR tree-optimization/57442 */
+/* { dg-do compile } */
+/* { dg-options "-O1" } */
+short a;
+unsigned b;
+long c;
+int d;
+
+void f(void)
+{
+ b = a ? : (a = b) - c + (d - (b + b));
+}
+
else if (stmt == stmt2)
return stmt2;
}
- gcc_unreachable ();
+ return stmt1;
}
/* Find the statement after which STMT must be moved so that the