From: Jack Howarth Date: Wed, 18 Feb 2009 23:17:56 +0000 (+0000) Subject: re PR testsuite/38165 (g++.dg/pubtypes.C fails at -m32/-m64 on i686-apple-darwin9) X-Git-Tag: releases/gcc-4.4.0~499 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5842753d9d01d776a88671e8a537e847cf132692;p=thirdparty%2Fgcc.git re PR testsuite/38165 (g++.dg/pubtypes.C fails at -m32/-m64 on i686-apple-darwin9) 2009-02-18 Jack Howarth PR testsuite/38165 * g++.dg/pubtypes.C: Adopt Radar 4535968 fix to testcase. From-SVN: r144277 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 836796b00da3..0605ccbe0ced 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2009-02-18 Jack Howarth + PR testsuite/38165 + * g++.dg/pubtypes.C: Adopt Radar 4535968 fix to testcase. + PR testsuite/38166 * g++.dg/ext/visibility/class1.C: Revert revision 122348 and skip on Darwin. diff --git a/gcc/testsuite/g++.dg/pubtypes.C b/gcc/testsuite/g++.dg/pubtypes.C index a17ad208ed6b..74bff595a83b 100644 --- a/gcc/testsuite/g++.dg/pubtypes.C +++ b/gcc/testsuite/g++.dg/pubtypes.C @@ -1,10 +1,11 @@ +/* Radar 4535968 */ /* { dg-do compile { target *-*-darwin* } } */ /* { dg-options "-O0 -gdwarf-2 -dA -fno-eliminate-unused-debug-types" } */ /* { dg-final { scan-assembler "__debug_pubtypes" } } */ -/* { dg-final { scan-assembler "long+\[ \t\]+0x24+\[ \t\]+\[#;]+\[ \t\]+Length of Public Type Names Info" } } */ -/* { dg-final { scan-assembler "\"empty\\\\0\"+\[ \t\]+\[#;]+\[ \t\]+external name" } } */ -/* { dg-final { scan-assembler "\"A\\\\0\"+\[ \t\]+\[#;]+\[ \t\]+external name" } } */ -/* { dg-final { scan-assembler "\"B\\\\0\"+\[ \t\]+\[#;]+\[ \t\]+external name" } } */ +/* { dg-final { scan-assembler "long+\[ \t\]+\(0x\)?\[0-9a-f]+\[ \t\n\]+\[#;@]+\[ \t\]+Length of Public Type Names Info" } } */ +/* { dg-final { scan-assembler "\"empty\\\\0\"+\[ \t\]+\[#;@]+\[ \t\]+external name" } } */ +/* { dg-final { scan-assembler "\"A\\\\0\"+\[ \t\]+\[#;@]+\[ \t\]+external name" } } */ +/* { dg-final { scan-assembler "\"B\\\\0\"+\[ \t\]+\[#;@]+\[ \t\]+external name" } } */ struct A