[PATCH][AARCH64]Fix syntax error in target selector "-O2" for volatileloadpair-1.c & volatileloadpair-2.c
Richard Earnshaw
rearnsha@arm.com
Thu Jan 15 15:12:00 GMT 2015
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" } } */
>
>
More information about the Gcc-patches
mailing list