https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114985
--- Comment #13 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #12 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- > Created attachment 58168 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58168&action=edit > proposed patch in testing I just tried bootstrapping on sparc-sun-solaris2.11 with this patch and commit 36e877996936abd8bd08f8b1d983c8d1023a5842 Author: Aldy Hernandez <al...@redhat.com> Date: Tue May 7 14:05:50 2024 +0200 Enable prange support. reapplied. It ICEs in stage 2: Unsupported operand combination in dispatch: RO_PII during IPA pass: inline In file included from /vol/gcc/src/hg/master/solaris/gcc/c/c-parser.cc:26971: ./gt-c-c-parser.h:94:2: internal compiler error: in discriminator_fail, at range-op.cc:205 94 | }; | ^ 0x218a05b range_op_handler::discriminator_fail(vrange const&, vrange const&, vrange const&) const /vol/gcc/src/hg/master/solaris/gcc/range-op.cc:205 0x218a313 range_op_handler::fold_range(vrange&, tree_node*, vrange const&, vrange const&, relation_trio) const /vol/gcc/src/hg/master/solaris/gcc/range-op.cc:229 0x3569d2f ipa_vr_operation_and_type_effects /vol/gcc/src/hg/master/solaris/gcc/ipa-cp.cc:1663 0x356a337 ipa_value_range_from_jfunc(vrange&, ipa_node_params*, cgraph_edge*, ipa_jump_func*, tree_node*) /vol/gcc/src/hg/master/solaris/gcc/ipa-cp.cc:1759 0x1e1cbef evaluate_properties_for_edge(cgraph_edge*, bool, unsigned int*, unsigned int*, ipa_auto_call_arg_values*, bool) /vol/gcc/src/hg/master/solaris/gcc/ipa-fnsummary.cc:684 0x1e4ea47 do_estimate_edge_size(cgraph_edge*) /vol/gcc/src/hg/master/solaris/gcc/ipa-inline-analysis.cc:337 0x1e4fcff estimate_edge_size(cgraph_edge*) /vol/gcc/src/hg/master/solaris/gcc/ipa-inline.h:79 0x1e4fdbb estimate_edge_growth(cgraph_edge*) /vol/gcc/src/hg/master/solaris/gcc/ipa-inline.h:100 0x1e4f033 do_estimate_growth_1 /vol/gcc/src/hg/master/solaris/gcc/ipa-inline-analysis.cc:436 0x1971d87 cgraph_node::call_for_symbol_and_aliases(bool (*)(cgraph_node*, void*), void*, bool) /vol/gcc/src/hg/master/solaris/gcc/cgraph.h:3429 0x1e4f2a7 estimate_growth(cgraph_node*) /vol/gcc/src/hg/master/solaris/gcc/ipa-inline-analysis.cc:474 0x359d46f inline_small_functions /vol/gcc/src/hg/master/solaris/gcc/ipa-inline.cc:2081 0x35a1083 ipa_inline /vol/gcc/src/hg/master/solaris/gcc/ipa-inline.cc:2850 0x35a24b3 execute /vol/gcc/src/hg/master/solaris/gcc/ipa-inline.cc:3248