From e8c8ffa90081e97f664e73f58518a95f695aaca3 Mon Sep 17 00:00:00 2001 From: Bin Cheng Date: Fri, 12 Dec 2014 04:45:58 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/aarch64/ldp_stp_2.c | 2 -- gcc/testsuite/gcc.target/aarch64/ldp_stp_3.c | 2 -- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c9c94ff3eb8..1c06df09b10 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-12-12 Bin Cheng + + * gcc.target/aarch64/ldp_stp_2.c: Make test less vulnerable. + * gcc.target/aarch64/ldp_stp_3.c: Ditto. + 2014-12-11 Eric Botcazou * gcc.dg/builtin-arith-overflow-1.c (fn2): Take signed char. diff --git a/gcc/testsuite/gcc.target/aarch64/ldp_stp_2.c b/gcc/testsuite/gcc.target/aarch64/ldp_stp_2.c index e3b56413390..483f4afd2e8 100644 --- a/gcc/testsuite/gcc.target/aarch64/ldp_stp_2.c +++ b/gcc/testsuite/gcc.target/aarch64/ldp_stp_2.c @@ -7,10 +7,8 @@ long long foo () { long long ll = 0; - ll += arr[0][1]; ll += arr[1][0]; ll += arr[1][1]; - ll += arr[2][0]; return ll; } diff --git a/gcc/testsuite/gcc.target/aarch64/ldp_stp_3.c b/gcc/testsuite/gcc.target/aarch64/ldp_stp_3.c index c6c877bf87a..e257654a5cc 100644 --- a/gcc/testsuite/gcc.target/aarch64/ldp_stp_3.c +++ b/gcc/testsuite/gcc.target/aarch64/ldp_stp_3.c @@ -7,10 +7,8 @@ unsigned long long foo () { unsigned long long ll = 0; - ll += arr[0][1]; ll += arr[1][0]; ll += arr[1][1]; - ll += arr[2][0]; return ll; } -- 2.30.2