* config/i386/i386.c (ix86_expand_branch): Add missing breaks.
* gcc.dg/pr35264.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132521
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-02-21 Michael Matz <matz@suse.de>
+
+ PR target/35264
+ * config/i386/i386.c (ix86_expand_branch): Add missing breaks.
+
2008-02-21 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc,
ix86_expand_branch (code, label);
return;
}
+ break;
case LE: case LEU: case GT: case GTU:
if (lo[1] == constm1_rtx)
{
ix86_expand_branch (code, label);
return;
}
+ break;
default:
break;
}
+2008-02-21 Michael Matz <matz@suse.de>
+
+ PR target/35264
+ * gcc.dg/pr35264.c: New testcase.
+
2008-02-21 Richard Guenther <rguenther@suse.de>
* gfortran.dg/reassoc_1.f90: New testcase.
--- /dev/null
+/* { dg-do run } */
+/* { dg-options "-O1" } */
+extern void abort(void);
+long long __attribute__((noinline)) get(void)
+{
+ return -2;
+}
+long long __attribute__((noinline)) get(void);
+int __attribute__((noinline)) check(void)
+{
+ long long lcn;
+
+ lcn = get();
+ if (lcn >= 0 || lcn == -1)
+ return 0;
+
+ return -1;
+}
+int main()
+{
+ if (check() == 0)
+ abort();
+ return 0;
+}