https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126886
Bug ID: 126886
Summary: [17 Regression] Build failure in path_range_query
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: tkoenig at gcc dot gnu.org
Target Milestone: ---
This is on cfarm120, on ppc64le, with revision
df494ca28d75f80b4d0b4e0b93b5d23d2092131a .
during GIMPLE pass: thread
../../trunk/libcpp/lex.cc: In function ‘void _cpp_clean_line(cpp_reader*)’:
../../trunk/libcpp/lex.cc:970:1: internal compiler error: Segmentation fault
970 | _cpp_clean_line (cpp_reader *pfile)
| ^~~~~~~~~~~~~~~
0x140d327f internal_error(char const*, ...)
../../trunk/gcc/diagnostic-global-context.cc:787
0x11fefee3 crash_signal
../../trunk/gcc/toplev.cc:325
0x123624d4 path_range_query::ssa_range_in_phi(vrange&, gphi*)
../../trunk/gcc/gimple-range-path.cc:262
0x123628a3 path_range_query::range_defined_in_block(vrange&, tree_node*,
basic_block_def*)
../../trunk/gcc/gimple-range-path.cc:303
0x12361db7 path_range_query::internal_range_of_expr(vrange&, tree_node*,
gimple*)
../../trunk/gcc/gimple-range-path.cc:160
0x12361f67 path_range_query::range_of_expr(vrange&, tree_node*, gimple*)
../../trunk/gcc/gimple-range-path.cc:180
0x118d4d8f fur_stmt::get_operand(vrange&, tree_node*)
../../trunk/gcc/gimple-range-fold.cc:145
0x118d81af fold_using_range::range_of_range_op(vrange&,
gimple_range_op_handler&, fur_source&)
../../trunk/gcc/gimple-range-fold.cc:817
0x118d758b fold_using_range::fold_stmt(vrange&, gimple*, fur_source&,
tree_node*)
../../trunk/gcc/gimple-range-fold.cc:706
0x118d5773 fold_range(vrange&, gimple*, range_query*)
../../trunk/gcc/gimple-range-fold.cc:321
0x123647e7 path_range_query::range_of_stmt(vrange&, gimple*, tree_node*)
../../trunk/gcc/gimple-range-path.cc:685
0x123628ff path_range_query::range_defined_in_block(vrange&, tree_node*,
basic_block_def*)
../../trunk/gcc/gimple-range-path.cc:309
0x12361db7 path_range_query::internal_range_of_expr(vrange&, tree_node*,
gimple*)
../../trunk/gcc/gimple-range-path.cc:160
0x12361f67 path_range_query::range_of_expr(vrange&, tree_node*, gimple*)
../../trunk/gcc/gimple-range-path.cc:180
0x118d4d8f fur_stmt::get_operand(vrange&, tree_node*)
../../trunk/gcc/gimple-range-fold.cc:145
0x118d81af fold_using_range::range_of_range_op(vrange&,
gimple_range_op_handler&, fur_source&)
../../trunk/gcc/gimple-range-fold.cc:817
0x118d758b fold_using_range::fold_stmt(vrange&, gimple*, fur_source&,
tree_node*)
../../trunk/gcc/gimple-range-fold.cc:706
0x118d5773 fold_range(vrange&, gimple*, range_query*)
../../trunk/gcc/gimple-range-fold.cc:321
0x123647e7 path_range_query::range_of_stmt(vrange&, gimple*, tree_node*)
../../trunk/gcc/gimple-range-path.cc:685
0x123628ff path_range_query::range_defined_in_block(vrange&, tree_node*,
basic_block_def*)
../../trunk/gcc/gimple-range-path.cc:309
/home/tkoenig/trunk-bin/./prev-gcc/cc1plus -quiet -nostdinc++ -I
/home/tkoenig/trunk-bin/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I
/home/tkoenig/trunk-bin/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I /home/tkoenig/trunk/libstdc++-v3/libsupc++ -I ../../trunk/libcpp -I . -I
../../trunk/libcpp/../include -I ../../trunk/libcpp/include -I
../../trunk/libcpp -I . -I ../../trunk/libcpp/../include -I
../../trunk/libcpp/include -iprefix
/home/tkoenig/trunk-bin/prev-gcc/../lib/gcc/powerpc64le-unknown-linux-gnu/17.0.0/
-isystem /home/tkoenig/trunk-bin/./prev-gcc/include -isystem
/home/tkoenig/trunk-bin/./prev-gcc/include-fixed -MMD lex.d -MF .deps/lex.Tpo
-MP -MT lex.o -D_GNU_SOURCE ../../trunk/libcpp/lex.cc -quiet -dumpbase lex.cc
-dumpbase-ext .cc -g -gtoggle -O2 -Wextra -Wall -Wno-narrowing -Wwrite-strings
-Wsuggest-attribute=format -Wpedantic -Wno-long-long -Werror -fno-checking
-fno-exceptions -fno-rtti -o /tmp/ccW85q1a.s
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.