ice when compiling included lambda pattern (internal compiler error: in is_base_type, at dwarf2out.c:9968)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.8 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When compiling the attached repro.cc without the -g flag, g++ succeeds:
~/gcc_bug [deepthought●] » g++ -std=c++11 repro.cc
With the -g flag, g++ hits an internal compiler error:
~/gcc_bug [deepthought●] » g++ -std=c++11 repro.cc -g
repro.cc: In instantiation of ‘struct lambda_
repro.cc:10:8: required from ‘struct lambda_
repro.cc:49:62: required from here
repro.cc:22:8: internal compiler error: in is_base_type, at dwarf2out.c:9968
struct lambda_
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
Preprocessed source stored into /tmp/cclEDzyl.out file, please attach this to your bugreport.
g++ -v:
~/gcc_bug [deepthought●] » g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~
ice.tgz is attached with
- error.out has the above output
- repro.cc has the source which triggers the ice
- preprocessed_
- the crash file
I reported the bug upstream: https:/
It seems to be fixed by 5.3.1.