This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[google] Backport patch r175881 from gcc-4_6-branch to google/gcc-4_6 (issue4695051)


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  <carrot@google.com>

	Backport from gcc-4_6-branch

	2011-07-05  Jason Merrill  <jason@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  <jason@redhat.com>
+
+	PR testsuite/49643
+	* g++.dg/rtti/anon-ns1.C: Allow for null-termination.
+
 2011-07-05  Rainer Orth  <ro@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]