[Bug lto/64636] LTO PGO bootstrap fails on linux-sparc64 in stream_out_histogram_value
grgoffe at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Tue Jun 16 20:09:19 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64636
--- Comment #12 from George R. Goffe <grgoffe at yahoo dot com> ---
Hi,
I am seeing a failure in stream_out_histogram_value building the last release
of python 2.x ( 2.7.18).
I just posted the preprocessed c code for this problem.
Here is the failing command and following output:
/tools/python/Python-2.7.18# gcc -S --save-temps -pthread -c
-fno-strict-aliasing -g -O2 -g -O0 -Wall -Wstrict-prototypes -fprofile-use
-fprofile-correction -flto -fuse-linker-plugin -ffat-lto-objects
-flto-partition=none -g -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o
Objects/abstract.o Objects/abstract.c
during IPA pass: fnsummary
Objects/abstract.c:3124:1: internal compiler error: in
stream_out_histogram_value, at value-prof.c:336
3124 | }
| ^
0x70b9a4 stream_out_histogram_value(output_block*, histogram_value_t*)
../../gcc/gcc/value-prof.c:336
0x16170b0 output_gimple_stmt
../../gcc/gcc/gimple-streamer-out.c:196
0x16170b0 output_bb(output_block*, basic_block_def*, function*)
../../gcc/gcc/gimple-streamer-out.c:231
0xbfa9b4 output_function
../../gcc/gcc/lto-streamer-out.c:2198
0xbfa9b4 lto_output()
../../gcc/gcc/lto-streamer-out.c:2530
0xc91241 write_lto
../../gcc/gcc/passes.c:2612
0xc91241 ipa_write_summaries_1
../../gcc/gcc/passes.c:2676
0xc91241 ipa_write_summaries()
../../gcc/gcc/passes.c:2731
0x9230ab ipa_passes
../../gcc/gcc/cgraphunit.c:2650
0x9230ab symbol_table::compile()
../../gcc/gcc/cgraphunit.c:2737
0x924d3c symbol_table::compile()
../../gcc/gcc/cgraphunit.c:2717
0x924d3c symbol_table::finalize_compilation_unit()
../../gcc/gcc/cgraphunit.c:2984
More information about the Gcc-bugs
mailing list