This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM][testsuite] Adjust test polytypes.c for new notes in warning.
- From: =?big5?b?RG91ZyBLd2FuICjD9q62vHcp?= <dougkwan at google dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 30 Jul 2009 16:58:12 -0700
- Subject: Re: [PATCH][ARM][testsuite] Adjust test polytypes.c for new notes in warning.
- References: <498552560907251548u629696d6q80abc932ce860967@mail.gmail.com>
ping
2009/7/25 Doug Kwan (Ãö®¶¼w) <dougkwan@google.com>:
> Hi,
>
> This patch fixes the test gcc.target/arm/neon/polytypes.c. The
> test has been failing since rev. 141298, in which new notes was added
> in type warnings. The notes has caused failures due to excess errors.
>
> -Doug
>
> 2009-07-25 Doug Kwan <dougkwan@google.com>
>
> * gcc.target/arm/neon/polytypes.c: Adjust test for new notes
> in warnings added in rev 141298.
> ----
> Index: gcc/gcc/testsuite/gcc.target/arm/neon/polytypes.c
> ===================================================================
> --- gcc/gcc/testsuite/gcc.target/arm/neon/polytypes.c (revision 150084)
> +++ gcc/gcc/testsuite/gcc.target/arm/neon/polytypes.c (working copy)
> @@ -45,4 +45,4 @@ void foo ()
> u128_16 (v128_16); /* { dg-error "incompatible type for argument 1
> of 'u128_16'" } */
> p128_16 (v128_16);
> }
> -
> +/* { dg-message "note: expected '\[^'\n\]*' but argument is of type
> '\[^'\n\]*'" "note: expected" { target *-*-* } 0 } */
>