Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: gcc/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/debug/dwarf2/const-1.c ('k') | gcc/gcc/testsuite/gcc.dg/declspec-10.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/debug/dwarf2/const-1.c ('k') | gcc/gcc/testsuite/gcc.dg/declspec-10.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698