Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#46718 - [gcc]Internal Compiler Error: Reentrant error reporting program
Attached to Project:
Arch Linux
Opened by 刘力铭 (linux40) - Wednesday, 14 October 2015, 15:57 GMT
Last edited by Allan McRae (Allan) - Tuesday, 15 December 2015, 06:12 GMT
Opened by 刘力铭 (linux40) - Wednesday, 14 October 2015, 15:57 GMT
Last edited by Allan McRae (Allan) - Tuesday, 15 December 2015, 06:12 GMT
|
DetailsDescription:
It happend when i add "auto t4 = glgltinySTL::tuple_cat(t, t3, 'z');" in my source file, and executed "g++ -std=c++11 -c test.cc -o test.o". the output is as follows: 内部编译器错误:重入错误报告程序。 Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. my code: https://gist.github.com/anonymous/07f968fc0f97a19e044f Additional info: gcc -v 使用内建 specs。 COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/lto-wrapper 目标:x86_64-unknown-linux-gnu 配置为:/build/gcc/src/gcc-5.2.0/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --with-default-libstdcxx-abi=gcc4-compatible 线程模型:posix gcc 版本 5.2.0 (GCC) Steps to reproduce:every time when i execute "g++ -std=c++11 -c test.cc -o test.o". |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 15 December 2015, 06:12 GMT
Reason for closing: Upstream
Additional comments about closing: https://gcc.gnu.org/bugzilla/show_bug.cg i?id=67983
Tuesday, 15 December 2015, 06:12 GMT
Reason for closing: Upstream
Additional comments about closing: https://gcc.gnu.org/bugzilla/show_bug.cg i?id=67983
You recursively instantiate:
643 template <typename T, typename... Args> constexpr
644 auto make_single_index(tuple<T, Args...> &t) noexcept
645 -> decltype(make_single_index(const_cast<const tuple<T, Args...>
&>(t)))
646 {
647 return make_single_index(const_cast<const tuple<T, Args...> &>(t));
648 }
Still a bug, but only on bad code.
const tuple<int, int, int> t(1, 2, 3);
index_holder<0, 0, 0> i = add_equal_index(make_multiple_index<0>(t.data.ot));
I get no ICE,
but if the code is
const tuple<int, int, int> t(1, 2, 3);
index_holder<0, 0, 0> i = make_multiple_index<0>(t.data);
I will get this bug, is this bad code?
Given this is only an error on bad code, and upstream is aware, I will close this bug.