This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
testsuite patches (3/14): gcc.dg/c99-stdint-1.c [avr-*-*]: Update line number for dg-bogus.
- From: Joern Rennecke <joern dot rennecke at embecosm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Denis Chertykov <chertykov at gmail dot com>, Anatoly Sokolov <aesok at post dot ru>, Eric Weddington <eric dot weddington at atmel dot com>
- Date: Sat, 20 Jul 2013 01:58:42 -0400
- Subject: testsuite patches (3/14): gcc.dg/c99-stdint-1.c [avr-*-*]: Update line number for dg-bogus.
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);