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

            Bug ID: 66604
           Summary: ICE in use_thunk at cp/method.c:338 when creating a
                    default virtual destructor
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eric_moyer at yahoo dot com
  Target Milestone: ---

This may be the same as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60595
unfortunately, I don't know how to compile using the preprocessed source so I
couldn't relocate it to a machine where I can run a more recent g++ to verify
that the problem is fixed.

The machine is running 64-bit Centos.

>From gcc -v:
Configured with: ./configure --prefix=/usr/local/gcc/4.8.1
--build=x86_64-redhat-linux-gnu --libdir=/usr/lib64 --with-slibdir=/usr/l
ib64 --enable-version-specific-runtime-libs --enable-threads --enable-static
--enable-languages=c,c++ --disable-multilib --with-cloo
g=/tmp/gcc-deps --enable-cloog-backend=isl --disable-cloog-version-check

Thread model: posix
gcc version 4.8.1 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-c' '-Wno-format-y2k' '-pthread' '-O2'
'-fPIC' '-std=c++11' '-g' '-Wall' '-Wextra' '-Werror'
 '-Wpedantic' '-I' '../../../../../../include' '-I'
'../../../../../../include/internal' '-I' '.' '-I'
'/netopt/ncbi_tools64/c++.by-
date/20150619/src/internal/variation/snp/dbsnp2.0/lib' '-D' 'NDEBUG' '-D'
'_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-D' '_LAR
GEFILE64_SOURCE' '-D' '_MT' '-D' '_REENTRANT' '-D' '_THREAD_SAFE' '-I'
'/netopt/ncbi_tools64/c++.by-date/20150619/GCC481-Release64MT
/inc' '-I' '/netopt/ncbi_tools64/c++.by-date/20150619/include' '-I'
'/netopt/ncbi_tools64/c++.by-date/20150619/include/internal' '-s
hared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/local/gcc/4.8.1/libexec/gcc/x86_64-redhat-linux-gnu/4.8.1/cc1plus -E
-quiet -v -I ../../../../../../include -I ../../../../../
../include/internal -I . -I
/netopt/ncbi_tools64/c++.by-date/20150619/src/internal/variation/snp/dbsnp2.0/lib
-I /netopt/ncbi_tools6
4/c++.by-date/20150619/GCC481-Release64MT/inc -I
/netopt/ncbi_tools64/c++.by-date/20150619/include -I
/netopt/ncbi_tools64/c++.by-da
te/20150619/include/internal -D_GNU_SOURCE -D_REENTRANT -D NDEBUG -D
_LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _LARGEFILE64_SOURC
E -D _MT -D _REENTRANT -D _THREAD_SAFE Rs/RefSnpSnapshot.cpp -mtune=generic
-march=x86-64 -std=c++11 -Wno-format-y2k -Wall -Wextra -
Werror -Wpedantic -fPIC -g -fworking-directory -O2 -fpch-preprocess -o
RefSnpSnapshot.ii
ignoring nonexistent directory
"/usr/lib64/gcc/x86_64-redhat-linux-gnu/4.8.1/../../../../../x86_64-redhat-linux-gnu/include"

Error message:
Compiler executable checksum: ae8d4875691bdb213696bc564004f479
In file included from
../../../../../../include/internal/variation/snp/dbsnp2.0/lib/Build/BuildComponent.hpp:32:0,
                 from
../../../../../../include/internal/variation/snp/dbsnp2.0/lib/Build/DerivedProductBuildComponent.hpp:30,
                 from
../../../../../../include/internal/variation/snp/dbsnp2.0/lib/Build/Summary.hpp:31,
                 from
../../../../../../include/internal/variation/snp/dbsnp2.0/lib/Rs/RefSnpSnapshot.hpp:30,
                 from Rs/RefSnpSnapshot.cpp:29:
../../../../../../include/internal/variation/snp/dbsnp2.0/lib/SharedFromThis.hpp:66:13:
internal compiler error: in use_thunk, at cp/method.c:338
     virtual ~virtual_enable_shared_from_this() = default;
             ^
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to