Message ID | 20130720015842.ncb41feq8c0k8g44-nzlynne@webmail.spamcop.net |
---|---|
State | New |
Headers | show |
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);
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);