This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/82054] New: ice in add_dwarf_attr with -fopenmp


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

            Bug ID: 82054
           Summary: ice in add_dwarf_attr with -fopenmp
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 42090
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42090&action=edit
C++ source code

The attached C++ code does this

grid.cpp: In member function ‘bool CSG_Grid::Create(const CSG_Grid&)’:
grid.cpp:1283:1: internal compiler error: in add_dwarf_attr, at
dwarf2out.c:4132
0xa1edde add_dwarf_attr
        ../../trunk/gcc/dwarf2out.c:4132
0xa1f059 add_AT_die_ref
        ../../trunk/gcc/dwarf2out.c:4509
0xa4a672 gen_subprogram_die
        ../../trunk/gcc/dwarf2out.c:22371
0xa4ca03 gen_decl_die
        ../../trunk/gcc/dwarf2out.c:25320

when compiled by recent gcc trunk. Flags -fopenmp and -g required.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]