[Bug 1624240] [NEW] vector::emplace_back causes ICE for value_type without a matching ctor

Ondrej Oprala 1624240 at bugs.launchpad.net
Fri Sep 16 07:30:05 UTC 2016


Public bug reported:

Ubuntu 16.04.1 LTS

COLLECT_GCC=g++-4.7
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.4-3ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.4 (Ubuntu/Linaro 4.7.4-3ubuntu12) 


Bug trigger:
g++-4.7 -std=c++11 b.cc -o b
Compiler error:
Internal compiler error: Error reporting routines re-entered.

Details:
vector<T>::emplace_back causes an ICE when called for T that does not define a matching ctor.

Works fine with g++-4.9 - error diagnostics are shown

** Affects: gcc-4.7 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "preprocessed code"
   https://bugs.launchpad.net/bugs/1624240/+attachment/4741860/+files/ccswTC7o.out

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1624240

Title:
  vector::emplace_back causes ICE for value_type without a matching ctor

Status in gcc-4.7 package in Ubuntu:
  New

Bug description:
  Ubuntu 16.04.1 LTS

  COLLECT_GCC=g++-4.7
  COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
  Target: x86_64-linux-gnu
  Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.4-3ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  Thread model: posix
  gcc version 4.7.4 (Ubuntu/Linaro 4.7.4-3ubuntu12) 

  
  Bug trigger:
  g++-4.7 -std=c++11 b.cc -o b
  Compiler error:
  Internal compiler error: Error reporting routines re-entered.

  Details:
  vector<T>::emplace_back causes an ICE when called for T that does not define a matching ctor.

  Works fine with g++-4.9 - error diagnostics are shown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1624240/+subscriptions



More information about the foundations-bugs mailing list