[Bug ipa/102557] [12 Regression] ICE: Segmentation fault signal terminated program cc1plus (indefinite recursion in modref_ref_node<int>::insert_access)

asolokha at gmx dot com gcc-bugzilla@gcc.gnu.org
Fri Oct 1 16:43:06 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102557

--- Comment #1 from Arseny Solokha <asolokha at gmx dot com> ---
Semi-reduced testcase for the reference:

#include <sstream>

void
test01 (char *mname)
{
  std::istringstream iss;

  iss.str (mname);
  iss.str (mname);
}

% g++-12.0.0 -std=c++20 -O3 -fopenacc --param max-inline-insns-single=2 --param
modref-max-accesses=2 --param uninlined-function-time=999998 -c ujd9xqvr.cc
g++-12.0.0: internal compiler error: Segmentation fault signal terminated
program cc1plus


More information about the Gcc-bugs mailing list