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
This commit is contained in:
Jakub Jelinek 2017-01-27 12:34:58 +01:00 committed by Jakub Jelinek
parent 89dc4c9488
commit c04f41398e
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2017-01-27 Jakub Jelinek <jakub@redhat.com>
* g++.dg/cilk-plus/CK/fib-opr-overload.cc (main): Change
all occurrences of 40 to 32.
2017-01-27 Richard Earnshaw <rearnsha@arm.com>
PR target/79239

View File

@ -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;