https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114985
Bug ID: 114985 Summary: [15 regression] internal compiler error: in discriminator_fail during stage2 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- I am looking for the source but this is the failure: /home/seurer/gcc/git/build/gcc-trunk-bootstrap/./prev-gcc/xg++ -B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./prev-gcc/ -B/home/seurer/gcc/git/install/gcc-trunk-bootstrap/powerpc64le-unknown-linux-gnu/bin/ -nostdinc++ -B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs -B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu -I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/git/gcc-trunk-bootstrap/libstdc++-v3/libsupc++ -L/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c -DIN_GCC_FRONTEND -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -fno-PIE -I. -Ic -I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc -I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/c -I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../include -I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libcpp/include -I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libcody -I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./gmp -I/home/seurer/gcc/git/gcc-trunk-bootstrap/gmp -I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./mpfr/src -I/home/seurer/gcc/git/gcc-trunk-bootstrap/mpfr/src -I/home/seurer/gcc/git/gcc-trunk-bootstrap/mpc/src -I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libdecnumber -I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/../libbacktrace -I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./isl/include -I/home/seurer/gcc/git/gcc-trunk-bootstrap/isl/include -o c/c-parser.o -MT c/c-parser.o -MMD -MP -MF c/.deps/c-parser.TPo /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/c/c-parser.cc DISCRIMINATOR FAIL. Dispatch ====> RO_PPP <==== during IPA pass: inline In file included from /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/c/c-parser.cc:26971: ./gt-c-c-parser.h:94:2: internal compiler error: in discriminator_fail, at range-op.cc:204 94 | }; | ^ 0x11993d23 range_op_handler::discriminator_fail(vrange const&, vrange const&, vrange const&) const /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/range-op.cc:204 0x11993fff range_op_handler::fold_range(vrange&, tree_node*, vrange const&, vrange const&, relation_trio) const /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/range-op.cc:228 0x13198197 ipa_value_range_from_jfunc(vrange&, ipa_node_params*, cgraph_edge*, ipa_jump_func*, tree_node*) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-cp.cc:1743 0x116214e3 evaluate_properties_for_edge(cgraph_edge*, bool, unsigned int*, unsigned int*, ipa_auto_call_arg_values*, bool) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-fnsummary.cc:680 0x116567d3 do_estimate_edge_size(cgraph_edge*) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline-analysis.cc:337 0x11657ab7 estimate_edge_size(cgraph_edge*) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline.h:79 0x11657ba3 estimate_edge_growth(cgraph_edge*) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline.h:100 0x11656d0b do_estimate_growth_1 /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline-analysis.cc:436 0x11176bcf cgraph_node::call_for_symbol_and_aliases(bool (*)(cgraph_node*, void*), void*, bool) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/cgraph.h:3429 0x11656fbb estimate_growth(cgraph_node*) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline-analysis.cc:474 0x131cb18f inline_small_functions /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline.cc:2081 0x131ce89b ipa_inline /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline.cc:2850 0x131cfc6b execute /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ipa-inline.cc:3248