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

Unified Diff: gcc/gcc/testsuite/g++.dg/debug/dwarf2/const1.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/g++.dg/cpp0x/variadic-ex1.C ('k') | gcc/gcc/testsuite/g++.dg/debug/dwarf2/const2b.C » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/g++.dg/debug/dwarf2/const1.C
diff --git a/gcc/gcc/testsuite/g++.dg/debug/dwarf2/const1.C b/gcc/gcc/testsuite/g++.dg/debug/dwarf2/const1.C
index be23c10bae1a39105ca6383d2e4d83c7d8565c53..7b18fa0693bfb183dd6eecb78491e61c5965297f 100644
--- a/gcc/gcc/testsuite/g++.dg/debug/dwarf2/const1.C
+++ b/gcc/gcc/testsuite/g++.dg/debug/dwarf2/const1.C
@@ -1,6 +1,7 @@
/* { dg-do compile } */
-/* { dg-options "-O -gdwarf-2 -dA" } */
-/* { dg-final { scan-assembler "DW_AT_const_value" } } */
+/* { dg-options "-O -gdwarf-2 -dA -gno-strict-dwarf -fno-merge-debug-strings" } */
+/* { dg-require-visibility "" } */
+/* { dg-final { scan-assembler "DW_AT_location\[^\\r\\n\]*\[\\r\\n\]*\[^\\r\\n\]*DW_OP_addr\[^\\r\\n\]*\[\\r\\n\]*\[^\\r\\n\]*fnx\[^\\r\\n\]*\[\\r\\n\]*\[^\\r\\n\]*DW_OP_stack_value" } } */
-extern void x ();
-void (* const f) () = x;
+extern void fnx () __attribute__((visibility ("hidden")));
+void (* const f) () = fnx;
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/cpp0x/variadic-ex1.C ('k') | gcc/gcc/testsuite/g++.dg/debug/dwarf2/const2b.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698