Commit c04f4139 by Jakub Jelinek Committed by Jakub Jelinek

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
parent 89dc4c94
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> 2017-01-27 Richard Earnshaw <rearnsha@arm.com>
PR target/79239 PR target/79239
......
...@@ -66,14 +66,14 @@ T fibonacci (T f) ...@@ -66,14 +66,14 @@ T fibonacci (T f)
int main (void) int main (void)
{ {
Some_Struct f (40), f_serial(40); Some_Struct f (32), f_serial(32);
f = fibonacci (f); f = fibonacci (f);
f_serial = fibonacci_serial (f_serial); f_serial = fibonacci_serial (f_serial);
if (f != f_serial) if (f != f_serial)
__builtin_abort (); __builtin_abort ();
int t = 40, t_serial = 40; int t = 32, t_serial = 32;
t = fibonacci (t); t = fibonacci (t);
t_serial = fibonacci_serial (t_serial); t_serial = fibonacci_serial (t_serial);
if (t != t_serial) if (t != t_serial)
...@@ -86,8 +86,8 @@ int main (void) ...@@ -86,8 +86,8 @@ int main (void)
__builtin_abort (); __builtin_abort ();
#if HAVE_IO #if HAVE_IO
std::cout << "Fib_Parallel (40) = " << f.get_calculated_value() << std::endl; std::cout << "Fib_Parallel (32) = " << f.get_calculated_value() << std::endl;
std::cout << "Fib_Serial (40) = " << f_serial.get_calculated_value() std::cout << "Fib_Serial (32) = " << f_serial.get_calculated_value()
<< std::endl; << std::endl;
#endif #endif
return 0; return 0;
......
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