internal compiler error: in tsubst_decl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Unknown
|
Unknown
|
|||
gcc-5 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Description: Ubuntu Wily Werewolf (development branch)
Release: 15.10
$ /usr/lib/
Using built-in specs.
COLLECT_
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 6.0.0 20150825 (experimental) [trunk revision 227171] (Ubuntu 20150825-0ubuntu1)
COLLECT_
/usr/lib/
ignoring nonexistent directory "/usr/local/
ignoring nonexistent directory "/usr/lib/
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/local/include
/usr/lib/
/usr/include/
/usr/include
End of search list.
COLLECT_
/usr/lib/
GNU C++14 (Ubuntu 20150825-0ubuntu1) version 6.0.0 20150825 (experimental) [trunk revision 227171] (x86_64-linux-gnu)
compiled by GNU C version 6.0.0 20150825 (experimental) [trunk revision 227171], GMP version 6.0.0, MPFR version 3.1.3, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-
GNU C++14 (Ubuntu 20150825-0ubuntu1) version 6.0.0 20150825 (experimental) [trunk revision 227171] (x86_64-linux-gnu)
compiled by GNU C version 6.0.0 20150825 (experimental) [trunk revision 227171], GMP version 6.0.0, MPFR version 3.1.3, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-
Compiler executable checksum: 46baca5a0447f06
seg.cpp: In instantiation of 'main()
seg.cpp:6:23: required from here
seg.cpp:1:5: internal compiler error: in tsubst_decl, at cp/pt.c:11302
int main() {
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
# 1 "seg.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/
# 1 "<command-line>" 2
# 1 "seg.cpp"
int main() {
unsigned const nsz = 0;
auto repeat_conditional = [&](auto) {
auto new_sz = nsz;
};
repeat_
}
Same with version 5.2 with more trace.
$ g++-5 -std=c++14 -c -v seg.cpp -save-temps
Using built-in specs.
COLLECT_GCC=g++-5
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 5.2.1 20150808 (Ubuntu 5.2.1-15ubuntu2)
COLLECT_
/usr/lib/
ignoring duplicate directory "/usr/include/
ignoring nonexistent directory "/usr/local/
ignoring nonexistent directory "/usr/lib/
#include "..." search starts here:
#include <...> search starts here:
/usr/include/c++/5
/usr/include/
/usr/include/
/usr/lib/
/usr/local/include
/usr/lib/
/usr/include/
/usr/include
End of search list.
COLLECT_
/usr/lib/
GNU C++14 (Ubuntu 5.2.1-15ubuntu2) version 5.2.1 20150808 (x86_64-linux-gnu)
compiled by GNU C version 5.2.1 20150808, GMP version 6.0.0, MPFR version 3.1.3, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-
GNU C++14 (Ubuntu 5.2.1-15ubuntu2) version 5.2.1 20150808 (x86_64-linux-gnu)
compiled by GNU C version 5.2.1 20150808, GMP version 6.0.0, MPFR version 3.1.3, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-
Compiler executable checksum: 6c22443aaafcb4e
seg.cpp: In instantiation of ‘main()
seg.cpp:6:23: required from here
seg.cpp:1:5: internal compiler error: in tsubst_decl, at cp/pt.c:10853
int main() {
^
0x634d4c tsubst_decl
0x627104 tsubst(tree_node*, tree_node*, int, tree_node*)
0x632c22 tsubst_copy
0x623be8 tsubst_
0x62c1e2 tsubst_expr
0x62cf95 tsubst_init
0x62c9f6 tsubst_expr
0x62c12c tsubst_expr
0x62c12c tsubst_expr
0x62ae97 instantiate_
0x65a172 mark_used(
0x5f99c0 build_over_call
0x5fc0f1 build_op_call_1
0x5fc0f1 build_op_
0x6c3878 finish_
0x677ad1 cp_parser_
0x679f69 cp_parser_
0x67aae7 cp_parser_
0x67b0dd cp_parser_
0x67d451 cp_parser_
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:/
Ok for 4.9.3 (Ubuntu 4.9.3-2ubuntu1).
affects: | gcc-snapshot (Ubuntu) → gcc-5 (Ubuntu) |
Changed in gcc-5 (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
This bug was fixed in the package gcc-5 - 5.2.1-17ubuntu1
---------------
gcc-5 (5.2.1-17ubuntu1) wily; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
-- Matthias Klose <email address hidden> Fri, 11 Sep 2015 03:24:48 +0200