public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][AARCH64]Fix syntax error in target selector "-O2" for volatileloadpair-1.c & volatileloadpair-2.c
@ 2015-01-15 14:28 Renlin Li
  2015-01-15 15:12 ` Richard Earnshaw
  0 siblings, 1 reply; 2+ messages in thread
From: Renlin Li @ 2015-01-15 14:28 UTC (permalink / raw)
  To: gcc-patches; +Cc: marcus Shawcroft, ramana Radhakrishnan, pinskia

[-- Attachment #1: Type: text/plain, Size: 463 bytes --]

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.



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: new(1).diff --]
[-- Type: text/x-patch; name="new(1).diff", Size: 986 bytes --]

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" } } */
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH][AARCH64]Fix syntax error in target selector "-O2" for volatileloadpair-1.c & volatileloadpair-2.c
  2015-01-15 14:28 [PATCH][AARCH64]Fix syntax error in target selector "-O2" for volatileloadpair-1.c & volatileloadpair-2.c Renlin Li
@ 2015-01-15 15:12 ` Richard Earnshaw
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Earnshaw @ 2015-01-15 15:12 UTC (permalink / raw)
  To: Renlin Li, gcc-patches; +Cc: Marcus Shawcroft, Ramana Radhakrishnan, pinskia

On 15/01/15 14:10, Renlin Li wrote:
> 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.
> 

OK.

R.
> 
> new(1).diff
> 
> 
> 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" } } */
>  
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-15 14:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-15 14:28 [PATCH][AARCH64]Fix syntax error in target selector "-O2" for volatileloadpair-1.c & volatileloadpair-2.c Renlin Li
2015-01-15 15:12 ` Richard Earnshaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).