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

Unified Diff: gcc/gcc/testsuite/gcc.dg/debug/dwarf2/const-1.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/cpp/unc4.c ('k') | gcc/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.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/const-1.c
diff --git a/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/const-1.c b/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/const-1.c
index aa20e6d5cdca1a7dcb9dde6ae35194ca86aa17f6..bc5c7d611de68ba02fa7dfc2b143781a0ddc42aa 100644
--- a/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/const-1.c
+++ b/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/const-1.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();
-static void (*f)() = x;
+extern void fnx() __attribute__((visibility("hidden")));
+static void (*f)() = fnx;
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/cpp/unc4.c ('k') | gcc/gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698