From c04f41398e6ec418907dc8e7f4a761345ac23a74 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 27 Jan 2017 12:34:58 +0100 Subject: [PATCH] fib-opr-overload.cc (main): Change all occurrences of 40 to 32. * g++.dg/cilk-plus/CK/fib-opr-overload.cc (main): Change all occurrences of 40 to 32. From-SVN: r244967 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cilk-plus/CK/fib-opr-overload.cc | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index aaabdf3f197..4f3104ba4ad 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-01-27 Jakub Jelinek + + * g++.dg/cilk-plus/CK/fib-opr-overload.cc (main): Change + all occurrences of 40 to 32. + 2017-01-27 Richard Earnshaw PR target/79239 diff --git a/gcc/testsuite/g++.dg/cilk-plus/CK/fib-opr-overload.cc b/gcc/testsuite/g++.dg/cilk-plus/CK/fib-opr-overload.cc index 386a5021c92..88ecff8d0ea 100644 --- a/gcc/testsuite/g++.dg/cilk-plus/CK/fib-opr-overload.cc +++ b/gcc/testsuite/g++.dg/cilk-plus/CK/fib-opr-overload.cc @@ -66,14 +66,14 @@ T fibonacci (T f) int main (void) { - Some_Struct f (40), f_serial(40); + Some_Struct f (32), f_serial(32); f = fibonacci (f); f_serial = fibonacci_serial (f_serial); if (f != f_serial) __builtin_abort (); - int t = 40, t_serial = 40; + int t = 32, t_serial = 32; t = fibonacci (t); t_serial = fibonacci_serial (t_serial); if (t != t_serial) @@ -86,8 +86,8 @@ int main (void) __builtin_abort (); #if HAVE_IO - std::cout << "Fib_Parallel (40) = " << f.get_calculated_value() << std::endl; - std::cout << "Fib_Serial (40) = " << f_serial.get_calculated_value() + std::cout << "Fib_Parallel (32) = " << f.get_calculated_value() << std::endl; + std::cout << "Fib_Serial (32) = " << f_serial.get_calculated_value() << std::endl; #endif return 0; -- 2.30.2