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]

[PATCH, testsuite]: Fix PR43963, FAIL: g++.dg/debug/dwarf2/icf.C scan-assembler 0x0.*Vtable slot


Hello!

Attached patch updates assembler scan regexp for recent format
placeholder changes.

2010-05-02  Uros Bizjak  <ubizjak@gmail.com>

	PR testsuite/43963
	* g++.dg/debug/dwarf2/icf.C: Update scan regexp for Vtable slot 0.

Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline.

Uros.

Index: g++.dg/debug/dwarf2/icf.C
===================================================================
--- g++.dg/debug/dwarf2/icf.C   (revision 158970)
+++ g++.dg/debug/dwarf2/icf.C   (working copy)
@@ -46,5 +46,5 @@
 // { dg-final { scan-assembler "Caller DIE offset" } }
 // { dg-final { scan-assembler "Point of call" } }
 // { dg-final { scan-assembler "Callee DIE offset" } }
-// { dg-final { scan-assembler "0x0.*Vtable slot" } }
-// { dg-final { scan-assembler "0x1.*Vtable slot" } }
+// { dg-final { scan-assembler "0\[ \t\]+.*Vtable slot" } }
+// { dg-final { scan-assembler "0x1\[ \t\]+.*Vtable slot" } }


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