[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#732624: /usr/bin/g++-4.8: internal compiler error: in use_thunk, at cp/method.c:338



Package: g++-4.8
Version: 4.8.2-1
Severity: normal
File: /usr/bin/g++-4.8

Dear Maintainer,
when compiling the attached source file with g++-4.8 in c++11 mode the
compiler produces an internal compiler error:

$ g++ -std=c++11 sample.cpp -c -o sample.o
sample.cpp:5:3: internal compiler error: in use_thunk, at cp/method.c:338
   ~B() = default;
   ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccTby0W5.out file, please attach this to your bugreport.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages g++-4.8 depends on:
ii  gcc-4.8            4.8.2-1
ii  gcc-4.8-base       4.8.2-1
ii  libc6              2.17-97
ii  libcloog-isl4      0.18.1-3
ii  libgmp10           2:5.1.2+dfsg-3
ii  libisl10           0.12.1-2
ii  libmpc3            1.0.1-1
ii  libmpfr4           3.1.2-1
ii  libstdc++-4.8-dev  4.8.2-1
ii  zlib1g             1:1.2.8.dfsg-1

g++-4.8 recommends no packages.

Versions of packages g++-4.8 suggests:
pn  g++-4.8-multilib    <none>
ii  gcc-4.8-doc         4.8.2-1
ii  libstdc++6-4.8-dbg  4.8.2-1

-- no debconf information
template <class> struct A {
  virtual ~A();
};
template <class... Ts> struct B : A<Ts>... {
  ~B() = default;
};
struct C : B<int, char> {
  C() {}
};

Reply to: