[Bug debug/57519] DW_TAG_imported_declaration put in wrong class (base class instead of derived class)

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sat Apr 4 12:16:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57519

--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The test succeeds on darwin with the following patch

--- ../_clean/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C    2014-06-04
00:42:23.000000000 +0200
+++ gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C    2015-04-04
13:41:18.000000000 +0200
@@ -1,5 +1,5 @@
 // { dg-do compile }
-// { dg-options "-gdwarf-2 -dA -O0 -fno-merge-debug-strings" }
+// { dg-options "-gdwarf-2 -gno-strict-dwarf -dA -O0 -fno-merge-debug-strings"
}

 class AAAA
 {



More information about the Gcc-bugs mailing list