https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108110
Bug ID: 108110 Summary: ice in modify_call, at ipa-param-manipulation.cc:700 with -std=c++14 -O3 -march=native Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 54093 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54093&action=edit gzipped C++ source code The attached C++ source code does this: during IPA pass: inline In file included from /home/dcb36/rpmbuild/BUILD/xtensor-0.23.1/test/test_xview. cpp:33: In function ‘auto xt::view(E&&, S&& ...) [with E = xarray_container<uvector<doub le, std::allocator<double> >, xt::layout_type::row_major, svector<long unsigned int, 4, std::allocator<long unsigned int>, true>, xtensor_expression_tag>&; S = {int, xrange_adaptor<long int, long int, placeholders::xtuph>}]’, inlined from ‘virtual void xt::xview_access_Test::TestBody()’ at /home/dcb36 /rpmbuild/BUILD/xtensor-0.23.1/test/test_xview.cpp:335:51: /home/dcb36/rpmbuild/BUILD/xtensor-0.23.1/include/xtensor/xview.hpp:1670:127: in ternal compiler error: in modify_call, at ipa-param-manipulation.cc:700 1670 | return detail::make_view_impl(std::forward<E>(e), std::make_inde x_sequence<sizeof...(S)>(), std::forward<S>(slices)...); | ^ 0xe33c71 ipa_param_adjustments::modify_call(cgraph_edge*, bool) ../../trunk.d1/gcc/ipa-param-manipulation.cc:700 I have a reduction running. Problem seems to be recent (today or yesterday). Command line is $ ~/gcc/results.20221214.asan.ubsan/bin/g++ -c -march=native -std=c++14 -O3 bug867.cc $ ~/gcc/results.20221213.asan.ubsan/bin/g++ -v 2>&1 | fgrep exp gcc version 13.0.0 20221213 (experimental) (0a43f7b1a73c8e3b) $ ~/gcc/results.20221214.asan.ubsan/bin/g++ -v 2>&1 | fgrep exp gcc version 13.0.0 20221214 (experimental) (330b9a8d87dd73e1) $ Native is zen2 or maybe zen3.