Commit e15861c2 by Prathamesh Kulkarni Committed by Prathamesh Kulkarni

re PR testsuite/78256 (test case gcc.dg/pr35691-1.c fails starting with its…

re PR testsuite/78256 (test case gcc.dg/pr35691-1.c fails starting with its introduction in r241915)

2016-11-09  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

	PR middle-end/78256
testsuite/
	* gcc.dg/pr35691-1.c (foo): Use & instead of &&.
	* gcc.dg/pr35691-2.c (foo): Use | instead of ||.

From-SVN: r241994
parent 5f395580
2016-11-09 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
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 <janus@gcc.gnu.org> 2016-11-09 Janus Weil <janus@gcc.gnu.org>
PR fortran/71894 PR fortran/71894
......
...@@ -5,7 +5,7 @@ int foo(int z0, unsigned z1) ...@@ -5,7 +5,7 @@ int foo(int z0, unsigned z1)
{ {
int t0 = (z0 == 0); int t0 = (z0 == 0);
int t1 = (z1 == 0); int t1 = (z1 == 0);
int t2 = (t0 && t1); int t2 = (t0 & t1);
return t2; return t2;
} }
......
...@@ -5,7 +5,7 @@ int foo(int z0, unsigned z1) ...@@ -5,7 +5,7 @@ int foo(int z0, unsigned z1)
{ {
int t0 = (z0 != 0); int t0 = (z0 != 0);
int t1 = (z1 != 0); int t1 = (z1 != 0);
int t2 = (t0 || t1); int t2 = (t0 | t1);
return t2; return t2;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment