http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49956

           Summary: [4.7 Regression] FAIL:
                    gfortran.dg/debug/(pr35154-dwarf2.f|pr37738.f)
                    -gdwarf-2 -g3 (internal compiler error) on
                    *-apple-darwin*
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: domi...@lps.ens.fr
                CC: ja...@redhat.com
              Host: *-apple-darwin*
            Target: *-apple-darwin*
             Build: *-apple-darwin*


Between revisions 176629 and 176671  (see
http://gcc.gnu.org/ml/gcc-testresults/2011-07/msg02685.html and
http://gcc.gnu.org/ml/gcc-testresults/2011-07/msg02727.html ) the following
tests failed on *-apple-darwin*

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
"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

Revision 176653 seems to be a candidate. The ICE is

[macbook] f90/bug% gfc
/opt/gcc/work/gcc/testsuite/gfortran.dg/debug/pr35154-dwarf2.f -g3
-gno-strict-dwarf
/opt/gcc/work/gcc/testsuite/gfortran.dg/debug/pr35154-dwarf2.f:14:0: internal
compiler error: in darwin_asm_output_dwarf_offset, at config/darwin.c:2706

and needs -g3 -gno-strict-dwarf. Does the option -gno-strict-dwarf make any
sense on darwin? I thought that darwin is a "strict-dwarf" target.

Reply via email to