Hi This patch fixes a testing error on arm backend. It has been tested on both x86 and arm target with following commands.
make check-g++ RUNTESTFLAGS="--target_board=arm-sim/thumb/arch=armv7-a dg.exp=anon-ns1.C" make check-g++ RUNTESTFLAGS="dg.exp=anon-ns1.C" thanks Carrot 2011-07-13 Guozhi Wei <car...@google.com> Backport from gcc-4_6-branch 2011-07-05 Jason Merrill <ja...@redhat.com> PR testsuite/49643 * g++.dg/rtti/anon-ns1.C: Allow for null-termination. Backport from gcc-4_6-branch Index: ChangeLog =================================================================== --- ChangeLog (revision 176194) +++ ChangeLog (working copy) @@ -1,3 +1,8 @@ +2011-07-05 Jason Merrill <ja...@redhat.com> + + PR testsuite/49643 + * g++.dg/rtti/anon-ns1.C: Allow for null-termination. + 2011-07-05 Rainer Orth <r...@cebitec.uni-bielefeld.de> * ada/acats/run_acats (which): Extract last field from type -p, Index: g++.dg/rtti/anon-ns1.C =================================================================== --- g++.dg/rtti/anon-ns1.C (revision 176194) +++ g++.dg/rtti/anon-ns1.C (working copy) @@ -2,7 +2,7 @@ // The typeinfo name for A should start with * so we compare // it by address rather than contents. -// { dg-final { scan-assembler "\"\*N\[^\"\]+1AE\"" } } +// { dg-final { scan-assembler "\"\*N\[^\"\]+1AE" } } namespace { -- This patch is available for review at http://codereview.appspot.com/4695051