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 rtl-optimization/85302] New: [8 Regression] ICE in size_of_loc_descr, at dwarf2out.c:1771 on i686-linux-gnu


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

            Bug ID: 85302
           Summary: [8 Regression] ICE in size_of_loc_descr, at
                    dwarf2out.c:1771 on i686-linux-gnu
           Product: gcc
           Version: 7.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

seen with r259224 on i686-linux-gnu, trying to build clamav. not seen on
x86_64.

$ cat PointerTracking.ii
class a {
  const char *b;

public:
  a(const char *c) : b(c) {}
};
class B {
public:
  void d(a);
} e;
void f() { e.d(""); }

$ g++ -std=c++11 -c -gsplit-dwarf -O1 PointerTracking.ii 
PointerTracking.ii:11:21: internal compiler error: in size_of_loc_descr, at
dwarf2out.c:1771
 void f() { e.d(""); }
                     ^
0x81bc782 size_of_loc_descr
        ../../src/gcc/dwarf2out.c:1771
0x845f242 size_of_locs(dw_loc_descr_node*)
        ../../src/gcc/dwarf2out.c:1967
0x846086d skip_loc_list_entry
        ../../src/gcc/dwarf2out.c:10057
0x8467471 index_location_lists
        ../../src/gcc/dwarf2out.c:30904
0x8467438 index_location_lists
        ../../src/gcc/dwarf2out.c:30912
0x8467438 index_location_lists
        ../../src/gcc/dwarf2out.c:30912
0x8467438 index_location_lists
        ../../src/gcc/dwarf2out.c:30912
0x847f518 dwarf2out_finish
        ../../src/gcc/dwarf2out.c:31194
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.

Configured with: ../src/configure -v
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr
--with-gcc-major-version-only --program-suffix=-8
--program-prefix=i686-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie
--with-system-zlib --with-target-system-zlib --enable-objc-gc=auto
--enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu
--target=i686-linux-gnu

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