[Bug middle-end/83069] [8 Regression] internal compiler error: in from_gcov_type, at profile-count.h:676
skpgkp1 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 27 18:40:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83069
Sunil Pandey <skpgkp1 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |skpgkp1 at gmail dot com
--- Comment #10 from Sunil Pandey <skpgkp1 at gmail dot com> ---
Seems like I hit the same bug while compiling mariadb with GCC8.
$cat CMap.i.cc
void a() {
int b = 0;
for (; b < 256; ++b)
a();
}
$g++ --version
g++ (GCC) 8.0.0 20171127 (experimental)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$g++ -O3 -o CMap.i.cc.o -c CMap.i.cc
during IPA pass: inline
CMap.i.cc: In function ‘void a()’:
CMap.i.cc:1:6: internal compiler error: in from_gcov_type, at
profile-count.h:676
void a() {
^
0x712c42 estimate_bb_frequencies(bool)
../../gcc-main.3O1J/gcc/profile-count.h:676
0xe73137 rebuild_frequencies()
../../gcc-main.3O1J/gcc/predict.c:3911
0xe59904 execute_function_todo
../../gcc-main.3O1J/gcc/passes.c:1975
0xe5a28e execute_todo
../../gcc-main.3O1J/gcc/passes.c:2048
0x70fc43 execute_one_ipa_transform_pass
../../gcc-main.3O1J/gcc/passes.c:2245
0x70fc43 execute_all_ipa_transforms()
../../gcc-main.3O1J/gcc/passes.c:2281
0xba1a8a cgraph_node::expand()
../../gcc-main.3O1J/gcc/cgraphunit.c:2132
0xba2cab expand_all_functions
../../gcc-main.3O1J/gcc/cgraphunit.c:2275
0xba2cab symbol_table::compile()
../../gcc-main.3O1J/gcc/cgraphunit.c:2623
0xba4fc9 symbol_table::compile()
../../gcc-main.3O1J/gcc/cgraphunit.c:2537
0xba4fc9 symbol_table::finalize_compilation_unit()
../../gcc-main.3O1J/gcc/cgraphunit.c:2716
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
More information about the Gcc-bugs
mailing list