Index: gcc/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c |
diff --git a/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c b/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c |
index 3a6318ea586c5f3d411c929514a3f81981706cda..06d1b59c3b16c8e3f8646d7994bb2bd097355fe7 100644 |
--- a/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c |
+++ b/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c |
@@ -34,14 +34,14 @@ |
/* There are 3 DW_AT_inline attributes: one per abstract inline instance. |
The value of the attribute must be 0x3, meaning the function was |
actually inlined. */ |
-/* { dg-final { scan-assembler-times "byte.*?0x3.*? DW_AT_inline" 3 } } */ |
+/* { dg-final { scan-assembler-times "(?:byte|data1)\[^\n\]*0x3\[^\n\]* DW_AT_inline" 3 } } */ |
+volatile int *a; |
inline void |
third (int arg3) |
{ |
int var3 = arg3; |
- int* a = 0; |
a[0] = var3; |
} |