From 37cd74abd752d7580bedfe4cca9594fb5fa66beb Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Thu, 18 Jul 2013 10:17:44 +0000 Subject: [PATCH] pr42611.c: Move dg-error to correct line. gcc/testsuite/ 2013-07-18 Kyrylo Tkachov * gcc.dg/pr42611.c: Move dg-error to correct line. From-SVN: r201027 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/pr42611.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2d6ece45d1e..761d900058e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-07-18 Kyrylo Tkachov + + * gcc.dg/pr42611.c: Move dg-error to correct line. + 2013-07-17 Tobias Burnus PR fortran/57895 diff --git a/gcc/testsuite/gcc.dg/pr42611.c b/gcc/testsuite/gcc.dg/pr42611.c index c33e248caf5..19e0b2bc06a 100644 --- a/gcc/testsuite/gcc.dg/pr42611.c +++ b/gcc/testsuite/gcc.dg/pr42611.c @@ -9,11 +9,11 @@ : sizeof (__SIZE_TYPE__) == sizeof (long) ? __LONG_MAX__ \ : sizeof (__SIZE_TYPE__) == sizeof (long long) ? __LONG_LONG_MAX__ \ : __INTMAX_MAX__) -struct S { int a; char b[L]; }; +struct S { int a; char b[L]; }; /* { dg-error "type .struct S. is too large" } */ void foo (void) { - struct S s; /* { dg-error "is too large" } */ + struct S s; asm volatile ("" : : "r" (&s)); }