This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: testsuite patches (3/14): gcc.dg/c99-stdint-1.c [avr-*-*]: Update line number for dg-bogus.
- From: Mike Stump <mikestump at comcast dot net>
- To: Joern Rennecke <joern dot rennecke at embecosm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Denis Chertykov <chertykov at gmail dot com>, Anatoly Sokolov <aesok at post dot ru>, Eric Weddington <eric dot weddington at atmel dot com>
- Date: Wed, 14 Aug 2013 10:16:03 -0700
- Subject: Re: testsuite patches (3/14): gcc.dg/c99-stdint-1.c [avr-*-*]: Update line number for dg-bogus.
- References: <20130720015842 dot ncb41feq8c0k8g44-nzlynne at webmail dot spamcop dot net>
Ok.
[ minor updates like this can be checked in under the obvious rule if you wish ]
On Jul 19, 2013, at 10:58 PM, Joern Rennecke <joern.rennecke@embecosm.com> wrote:
> Because we now issue the error message for the place of the macro definition,
> the expected line number has to be updated.
>
> Tested for avr with --target_board=atmega128-sim and native on i686-pc-linuc-gnu.
>
> 2013-05-26 Joern Rennecke <joern.rennecke@embecosm.com>
>
> * gcc.dg/c99-stdint-1.c [avr-*-*]: Update line number for dg-bogus.
>
> Index: gcc.dg/c99-stdint-1.c
> ===================================================================
> --- gcc.dg/c99-stdint-1.c (revision 201032)
> +++ gcc.dg/c99-stdint-1.c (working copy)
> @@ -214,7 +214,7 @@ test_max (void)
> void
> test_misc_limits (void)
> {
> -/* { dg-bogus "size" "ptrdiff is 16bits" { xfail avr-*-* } 218 } */
> +/* { dg-bogus "size" "ptrdiff is 16bits" { xfail avr-*-* } 56 } */
> CHECK_SIGNED_LIMITS_2(__PTRDIFF_TYPE__, PTRDIFF_MIN, PTRDIFF_MAX, -65535L, 65535L);
> #ifndef SIGNAL_SUPPRESS
> CHECK_LIMITS_2(sig_atomic_t, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX, -127, 127, 255);