re PR middle-end/50795 (FAIL: gcc.dg/tree-ssa/builtin-expect-[1234].c)
PR middle-end/50795 * gcc.dg/tree-ssa/builtin-expect-1.c: Adjust test. * gcc.dg/tree-ssa/builtin-expect-2.c: Adjust test. * gcc.dg/tree-ssa/builtin-expect-3.c: Adjust test. * gcc.dg/tree-ssa/builtin-expect-4.c: Adjust test. * gcc.dg/tree-ssa/builtin-expect-5.c: Adjust test. From-SVN: r180200
This commit is contained in:
parent
1f234b83b8
commit
da004daccc
@ -1,3 +1,12 @@
|
||||
2011-10-19 Kai Tietz <ktietz@redhat.com>
|
||||
|
||||
PR middle-end/50795
|
||||
* gcc.dg/tree-ssa/builtin-expect-1.c: Adjust test.
|
||||
* gcc.dg/tree-ssa/builtin-expect-2.c: Adjust test.
|
||||
* gcc.dg/tree-ssa/builtin-expect-3.c: Adjust test.
|
||||
* gcc.dg/tree-ssa/builtin-expect-4.c: Adjust test.
|
||||
* gcc.dg/tree-ssa/builtin-expect-5.c: Adjust test.
|
||||
|
||||
2011-10-19 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR middle-end/50768
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-gimple" } */
|
||||
|
||||
f (int i, float j)
|
||||
f (int i, float j, int i2, float j2)
|
||||
{
|
||||
if (__builtin_expect (i > 0 && j, 0))
|
||||
if (__builtin_expect ((i * i2) > 0 && (j * j2), 0))
|
||||
g ();
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-gimple" } */
|
||||
|
||||
f (int i, float j)
|
||||
f (int i, float j, int i2, float j2)
|
||||
{
|
||||
if (__builtin_expect (i > 0 || j, 0))
|
||||
if (__builtin_expect ((i * i2) > 0 || (j * j2), 0))
|
||||
;
|
||||
else
|
||||
g ();
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-gimple" } */
|
||||
|
||||
f (int i, float j)
|
||||
f (int i, float j, int i2, float j2)
|
||||
{
|
||||
if (__builtin_expect (i > 0 && j, 0))
|
||||
if (__builtin_expect ((i * i2) > 0 && (j * j2), 0))
|
||||
a ();
|
||||
else
|
||||
b ();
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-gimple" } */
|
||||
|
||||
f (int i, float j)
|
||||
f (int i, float j, int i2, float j2)
|
||||
{
|
||||
if (__builtin_expect (i > 0 || j, 0))
|
||||
if (__builtin_expect ((i * i2) > 0 || (j * j2), 0))
|
||||
a ();
|
||||
else
|
||||
b ();
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-forwprop" } */
|
||||
|
||||
f (int i, float j)
|
||||
f (int i, float j, int i2, float j2)
|
||||
{
|
||||
if (__builtin_expect (i > 0 && __builtin_expect (j != 0, 1), 0))
|
||||
if (__builtin_expect ((i * i2) > 0 && __builtin_expect ((j * j2) != 0, 1), 0))
|
||||
a ();
|
||||
else
|
||||
b ();
|
||||
|
Loading…
Reference in New Issue
Block a user