On Mon, Jan 12, 2015 at 1:31 AM, H.J. Lu <hjl.to...@gmail.com> wrote:
> nonpic in target selector in gcc.target/i386/nop-mcount.c is ignored
> since {} is misplaced.  This patch properly places {} in target selector.
> Tested on Linux/x86.  OK for trunk?
>
> Thanks.
>
> H.J.
> ---
>  gcc/testsuite/gcc.target/i386/nop-mcount.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 2015-01-11  H.J. Lu  <hongjiu...@intel.com>
>
>         * gcc.target/i386/nop-mcount.c: Properly place {} in target
>         selector.

This counts as obvious, so OK.

Thanks,
Uros.

> diff --git a/gcc/testsuite/gcc.target/i386/nop-mcount.c 
> b/gcc/testsuite/gcc.target/i386/nop-mcount.c
> index 561792f..139fbb0 100644
> --- a/gcc/testsuite/gcc.target/i386/nop-mcount.c
> +++ b/gcc/testsuite/gcc.target/i386/nop-mcount.c
> @@ -1,5 +1,5 @@
>  /* Test -mnop-mcount */
> -/* { dg-do compile { target { *-*-linux* } && { nonpic } } } */
> +/* { dg-do compile { target { { *-*-linux* } && nonpic } } } */
>  /* { dg-options "-pg -mfentry -mrecord-mcount -mnop-mcount" } */
>  /* { dg-final { scan-assembler-not "__fentry__" } } */
>  /* Origin: Andi Kleen */
> --
> 1.9.3
>

Reply via email to