aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-09-22 15:22:15 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2009-09-22 15:22:15 +0200
commit65f753a01e7359246def8d277016a0e4ebab4e7b (patch)
tree31d77ddbb19c09cb2be27291d30f6ee0eb49451c /gcc/testsuite/objc.dg
parent9190e0a99ca2d2b729e80dca8109c93605fe82ce (diff)
downloadgcc-65f753a01e7359246def8d277016a0e4ebab4e7b.zip
gcc-65f753a01e7359246def8d277016a0e4ebab4e7b.tar.gz
gcc-65f753a01e7359246def8d277016a0e4ebab4e7b.tar.bz2
re PR bootstrap/41405 (Bootstrap fails on *-apple-darwin* due to revision 151815)
PR bootstrap/41405 * dwarf2out.c (base_type_die, record_type_tag, gen_subprogram_die, add_call_src_coords_attributes, add_high_low_attributes, gen_compile_unit_die, gen_type_die_with_usage force_decl_die, gen_decl_die, dwarf2out_imported_module_or_decl_1, dwarf2out_finish, dwarf2out_imported_module_or_decl): Avoid using DWARF3 additions when -gdwarf-2 -gstrict-dwarf. (loc_list_from_tree): Likewise. Avoid using DWARF4 additions when -gdwarf-[23] -gstrict-dwarf. (address_of_int_loc_descriptor, loc_descriptor, loc_list_for_address_of_addr_expr_of_indirect_ref): Avoid using DWARF4 additions when -gdwarf-[23] -gstrict-dwarf. * common.opt (gno-strict-dwarf, gstrict-dwarf): New options. * gfortran.dg/debug/pr37738.f: Add -gno-strict-dwarf to dg-options. * gfortran.dg/debug/pr35154-dwarf2.f: Likewise. * g++.dg/debug/dwarf2/explicit-constructor.C: Likewise. * g++.dg/debug/dwarf2/imported-module-2.C: Likewise. * g++.dg/debug/dwarf2/imported-module-3.C: Likewise. * g++.dg/debug/dwarf2/imported-module-4.C: Likewise. * g++.dg/debug/dwarf2/namespace-1.C: Likewise. * objc.dg/dwarf-2.m: Likewise. From-SVN: r151978
Diffstat (limited to 'gcc/testsuite/objc.dg')
-rw-r--r--gcc/testsuite/objc.dg/dwarf-2.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/objc.dg/dwarf-2.m b/gcc/testsuite/objc.dg/dwarf-2.m
index f85a750..967f515 100644
--- a/gcc/testsuite/objc.dg/dwarf-2.m
+++ b/gcc/testsuite/objc.dg/dwarf-2.m
@@ -1,4 +1,4 @@
-/* { dg-options "-gdwarf-2 -dA" } */
+/* { dg-options "-gdwarf-2 -dA -gno-strict-dwarf" } */
/* { dg-final { scan-assembler "0x10\[^0-9a-f\].*DW_AT_language" } } */
/* { dg-skip-if "No Dwarf" { { *-*-aix* hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */
int x;