This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][AARCH64]Fix syntax error in target selector "-O2" for volatileloadpair-1.c & volatileloadpair-2.c


Hi all,

This is a simple fix to correct two typos (I believe) in the newly introduced volatileloadpair-1.c & volatileloadpair-2.c test case.

After the change, the test cases compiles and runs correctly.
Okay to commit?

Regards,
Renlin Li

gcc/testsuite/ChangeLog:

    2015-01-15 Renlin Li <renlin.li@arm.com>

    * gcc.target/aarch64/volatileloadpair-1.c: Correct dg-options.
    * gcc.target/aarch64/volatileloadpair-2.c: Likewise.


diff --git a/gcc/testsuite/gcc.target/aarch64/volatileloadpair-1.c b/gcc/testsuite/gcc.target/aarch64/volatileloadpair-1.c
index 76162a5..57a0535 100644
--- a/gcc/testsuite/gcc.target/aarch64/volatileloadpair-1.c
+++ b/gcc/testsuite/gcc.target/aarch64/volatileloadpair-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-do options "-O2" } */
+/* { dg-options "-O2" } */
 /* volatile references should not produce load pair. */
 /* { dg-final { scan-assembler-not "ldp\t" } } */
 
diff --git a/gcc/testsuite/gcc.target/aarch64/volatileloadpair-2.c b/gcc/testsuite/gcc.target/aarch64/volatileloadpair-2.c
index 133bda2..0a0616d 100644
--- a/gcc/testsuite/gcc.target/aarch64/volatileloadpair-2.c
+++ b/gcc/testsuite/gcc.target/aarch64/volatileloadpair-2.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-do options "-O2" } */
+/* { dg-options "-O2" } */
 /* volatile references should not produce load pair. */
 /* { dg-final { scan-assembler-not "ldp\t" } } */
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]