+2011-02-21 Jeff Law <law@redhat.com>
+
+ PR rtl-optimization/46178
+ * gcc.target/i386/pr46178.c: New test.
+
+ PR rtl-optimization/46002
+ * gcc.c-torture/compile/pr46002.c: New test.
+
2011-02-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* g++.dg/cpp0x/lambda/lambda-conv.C: Skip scan-assembler check on
--- /dev/null
+/* { dg-options "-fira-algorithm=priority" } */
+char **
+foo (char **p, char *cmp, unsigned i)
+{
+ for (; *p; p++)
+ if (__builtin_strncmp (*p, cmp, i))
+ if (i == __builtin_strlen (*p))
+ break;
+ return p;
+}
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O -m8bit-idiv -fira-algorithm=priority" } */
+/* This is the same as divmod-5.c, just with different options which
+ trigger an ICE. We don't look at the output. */
+
+extern void foo (int, int, int, int, int, int);
+
+void
+bar (int x, int y)
+{
+ foo (0, 0, 0, 0, x / y, x % y);
+}
+