diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 43586a91430..a7e0250e0c4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-11-09 Prathamesh Kulkarni + + PR middle-end/78256 + * gcc.dg/pr35691-1.c (foo): Use & instead of &&. + * gcc.dg/pr35691-2.c (foo): Use | instead of ||. + 2016-11-09 Janus Weil PR fortran/71894 diff --git a/gcc/testsuite/gcc.dg/pr35691-1.c b/gcc/testsuite/gcc.dg/pr35691-1.c index 5211f815c53..125923dd24c 100644 --- a/gcc/testsuite/gcc.dg/pr35691-1.c +++ b/gcc/testsuite/gcc.dg/pr35691-1.c @@ -5,7 +5,7 @@ int foo(int z0, unsigned z1) { int t0 = (z0 == 0); int t1 = (z1 == 0); - int t2 = (t0 && t1); + int t2 = (t0 & t1); return t2; } diff --git a/gcc/testsuite/gcc.dg/pr35691-2.c b/gcc/testsuite/gcc.dg/pr35691-2.c index 90cbf6dccdd..70f68a685d7 100644 --- a/gcc/testsuite/gcc.dg/pr35691-2.c +++ b/gcc/testsuite/gcc.dg/pr35691-2.c @@ -5,7 +5,7 @@ int foo(int z0, unsigned z1) { int t0 = (z0 != 0); int t1 = (z1 != 0); - int t2 = (t0 || t1); + int t2 = (t0 | t1); return t2; }