Commit e8c8ffa9 by Bin Cheng Committed by Bin Cheng

ldp_stp_2.c: Make test less vulnerable.


	gcc/testsuite
	* gcc.target/aarch64/ldp_stp_2.c: Make test less vulnerable.
	* gcc.target/aarch64/ldp_stp_3.c: Ditto.

From-SVN: r218657
parent acaa5911
2014-12-12 Bin Cheng <bin.cheng@arm.com>
* gcc.target/aarch64/ldp_stp_2.c: Make test less vulnerable.
* gcc.target/aarch64/ldp_stp_3.c: Ditto.
2014-12-11 Eric Botcazou <ebotcazou@adacore.com> 2014-12-11 Eric Botcazou <ebotcazou@adacore.com>
* gcc.dg/builtin-arith-overflow-1.c (fn2): Take signed char. * gcc.dg/builtin-arith-overflow-1.c (fn2): Take signed char.
......
...@@ -7,10 +7,8 @@ long long ...@@ -7,10 +7,8 @@ long long
foo () foo ()
{ {
long long ll = 0; long long ll = 0;
ll += arr[0][1];
ll += arr[1][0]; ll += arr[1][0];
ll += arr[1][1]; ll += arr[1][1];
ll += arr[2][0];
return ll; return ll;
} }
......
...@@ -7,10 +7,8 @@ unsigned long long ...@@ -7,10 +7,8 @@ unsigned long long
foo () foo ()
{ {
unsigned long long ll = 0; unsigned long long ll = 0;
ll += arr[0][1];
ll += arr[1][0]; ll += arr[1][0];
ll += arr[1][1]; ll += arr[1][1];
ll += arr[2][0];
return ll; return ll;
} }
......
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