gcc/
PR target/27266
* config/i386/i386.c (ix86_expand_branch): Jump to simple if
ix86_compare_emitted is non-NULL.
gcc/testsuite/
PR target/27266
* gcc.target/i386/pr27266.c: New.
From-SVN: r113987
+2006-05-22 Kazu Hirata <kazu@codesourcery.com>
+
+ PR target/27266
+ * config/i386/i386.c (ix86_expand_branch): Jump to simple if
+ ix86_compare_emitted is non-NULL.
+
2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/27451
{
rtx tmp;
+ /* If we have emitted a compare insn, go straight to simple.
+ ix86_expand_compare won't emit anything if ix86_compare_emitted
+ is non NULL. */
+ if (ix86_compare_emitted)
+ goto simple;
+
switch (GET_MODE (ix86_compare_op0))
{
case QImode:
+2006-05-22 Kazu Hirata <kazu@codesourcery.com>
+
+ PR target/27266
+ * gcc.target/i386/pr27266.c: New.
+
2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/27451
--- /dev/null
+/* PR target/27266.
+ The testcase below used to trigger an ICE. */
+
+/* { dg-do compile } */
+/* { dg-require-effective-target ilp32 } */
+/* { dg-options "-march=pentium" } */
+
+signed long long sll;
+
+void
+foo (void)
+{
+ __sync_fetch_and_add (&sll, 1);
+}