2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
PR target/64061
* lra.c (lra_substitute_pseudo): Ignore constant with int mode for
subreg.
2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
PR target/64061
* gcc.target/i386/pr64061.c: New.
From-SVN: r218171
+2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR target/64061
+ * lra.c (lra_substitute_pseudo): Ignore constant with int mode for
+ subreg.
+
2014-11-28 Segher Boessenkool <segher@kernel.crashing.org>
PR target/64093
machine_mode mode = GET_MODE (*loc);
machine_mode inner_mode = GET_MODE (new_reg);
- if (mode != inner_mode)
+ if (mode != inner_mode
+ && ! (CONST_INT_P (new_reg) && SCALAR_INT_MODE_P (mode)))
{
if (GET_MODE_SIZE (mode) >= GET_MODE_SIZE (inner_mode)
|| ! SCALAR_INT_MODE_P (inner_mode))
+2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR target/64061
+ * gcc.target/i386/pr64061.c: New.
+
2014-11-28 Marek Polacek <polacek@redhat.com>
* c-c++-common/ubsan/shift-8.c: New test.
2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/64087
- * gcc.dg/pr64087.c: New.
+ * gcc.dg/pr64087.c: New.
2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O2 -g -fno-dce -fno-tree-dce" } */
+
+extern void *buf;
+
+extern void bar (void);
+
+int
+foo (int i)
+{
+ int j = 0;
+ if (__builtin_setjmp (buf) == 0)
+ {
+ while (1)
+ {
+ j = 1;
+ bar ();
+ }
+ }
+ return j ? i : 0;
+}