http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49901
Summary: gfortran.dg/debug/[pr35154-dwarf2.f/pr37738.f] failures on darwin Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: howa...@nitro.med.uc.edu The new failures... FAIL: gfortran.dg/debug/pr35154-dwarf2.f -gdwarf-2 -g3 (internal compiler error) FAIL: gfortran.dg/debug/pr35154-dwarf2.f -gdwarf-2 -g3 (test for excess errors) UNRESOLVED: gfortran.dg/debug/pr35154-dwarf2.f scan-assembler DIE[^\\n]*DW_TAG_common_block UNRESOLVED: gfortran.dg/debug/pr35154-dwarf2.f scan-assembler (DW_AT_name: "__BLNK__"|"__BLNK__[^\\n]*"[^\\n]*DW_AT_name) UNRESOLVED: gfortran.dg/debug/pr35154-dwarf2.f scan-assembler DIE[^\\n]*DW_TAG_variable UNRESOLVED: gfortran.dg/debug/pr35154-dwarf2.f scan-assembler "i[^\\n]*"[^\\n]*DW_AT_name UNRESOLVED: gfortran.dg/debug/pr35154-dwarf2.f scan-assembler "j[^\\n]*"[^\\n]*DW_AT_name UNRESOLVED: gfortran.dg/debug/pr35154-dwarf2.f scan-assembler DIE[^\\n]*DW_TAG_common_block UNRESOLVED: gfortran.dg/debug/pr35154-dwarf2.f scan-assembler (DW_AT_name: "label"|"label[^\\n]*"[^\\n]*DW_AT_name) UNRESOLVED: gfortran.dg/debug/pr35154-dwarf2.f scan-assembler DIE[^\\n]*DW_TAG_variable UNRESOLVED: gfortran.dg/debug/pr35154-dwarf2.f scan-assembler "l[^\\n]*"[^\\n]*DW_AT_name UNRESOLVED: gfortran.dg/debug/pr35154-dwarf2.f scan-assembler "m[^\\n]*"[^\\n]*DW_AT_name FAIL: gfortran.dg/debug/pr37738.f -gdwarf-2 -g3 (internal compiler error) FAIL: gfortran.dg/debug/pr37738.f -gdwarf-2 -g3 (test for excess errors) UNRESOLVED: gfortran.dg/debug/pr37738.f scan-assembler-times DIE[^\\n]*DW_TAG_common_block 3 appear in the regress server logs for powerpc-apple-darwin after revision 176629 but before or on revision 176671. I suspect this could be failout from... Author: jakub Date: Fri Jul 22 20:06:09 2011 New Revision: 176653 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176653 Log: * dwarf2.h (DW_AT_GNU_macros): New. (enum dwarf_macro_record_type): New enum. Add DW_MACRO_GNU_*. * dwarf2out.c (struct macinfo_struct): Change code to unsigned char. (DEBUG_MACRO_SECTION, DEBUG_MACRO_SECTION_LABEL): Define. (dwarf_attr_name): Handle DW_AT_GNU_macros. (dwarf2out_define): If the vector is empty and lineno is 0, emit a dummy entry first. (dwarf2out_undef): Likewise. Remove redundant semicolon. (htab_macinfo_hash, htab_macinfo_eq, output_macinfo_op, optimize_macinfo_range): New functions. (output_macinfo): Use them. If !dwarf_strict and .debug_str is mergeable, optimize longer strings using DW_MACRO_GNU_{define,undef}_indirect and if HAVE_COMDAT_GROUP, optimize longer sequences of define/undef ops from headers using DW_MACRO_GNU_transparent_include. For !dwarf_strict emit a section headers. (dwarf2out_init): For !dwarf_strict set debug_macinfo_section and macinfo_section_label to DEBUG_MACRO_SECTION resp. DEBUG_MACRO_SECTION_LABEL. (dwarf2out_finish): For !dwarf_strict emit DW_AT_GNU_macros instead of DW_AT_macro_info. Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/include/ChangeLog trunk/include/dwarf2.h The failure is also observed on x86_64-apple-darwin11.