This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, testsuite]: Fix PR43963, FAIL: g++.dg/debug/dwarf2/icf.C scan-assembler 0x0.*Vtable slot
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 02 May 2010 22:44:25 +0200
- Subject: [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" } }