From: Jason Merrill Date: Wed, 29 Jun 2011 17:38:53 +0000 (-0400) Subject: re PR c++/49272 (FAIL: g++.old-deja/g++.jason/rfg10.C (test for errors, line 11)) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55d80bc439380c02b8110662016d35dfc01b4cf0;p=gcc.git re PR c++/49272 (FAIL: g++.old-deja/g++.jason/rfg10.C (test for errors, line 11)) PR c++/49272 * g++.old-deja/g++.jason/rfg10.C: Accept other overflow error too. From-SVN: r175659 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d817d854cfb..a4ccb073b8f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2011-06-29 Jason Merrill + PR c++/49272 + * g++.old-deja/g++.jason/rfg10.C: Accept other overflow error too. + PR c++/49520 * g++.dg/cpp0x/constexpr-using2.C: New. diff --git a/gcc/testsuite/g++.old-deja/g++.jason/rfg10.C b/gcc/testsuite/g++.old-deja/g++.jason/rfg10.C index 8769f5afc46..75680748e01 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/rfg10.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/rfg10.C @@ -8,5 +8,5 @@ enum COLOR { red, green = ULONG_MAX, - blue // { dg-error "too large for .unsigned long" } + blue // { dg-error "too large for .unsigned long|overflow" } };