aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>2016-11-09 09:46:13 +0000
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>2016-11-09 09:46:13 +0000
commite15861c2da5fc3b5822eedb8669c7331a6edda00 (patch)
tree603f80d389fea8c45630a0abbfe2fe5960b98c7c /gcc
parent5f395580078d31f52b920a46a723da54c080a04e (diff)
downloadgcc-e15861c2da5fc3b5822eedb8669c7331a6edda00.zip
gcc-e15861c2da5fc3b5822eedb8669c7331a6edda00.tar.gz
gcc-e15861c2da5fc3b5822eedb8669c7331a6edda00.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/pr35691-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr35691-2.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 43586a9..a7e0250 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+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>
PR fortran/71894
diff --git a/gcc/testsuite/gcc.dg/pr35691-1.c b/gcc/testsuite/gcc.dg/pr35691-1.c
index 5211f815..125923d 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 90cbf6d..70f68a6 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;
}