[Bug target/106959] [13 Regression] ICE in curr_insn_transform, at lra-constraints.cc:4168 (error: unable to generate reloads), or ICE in simplify_subreg, at simplify-rtx.cc:7405 since r13-2100-g5cccc24c06610d2f

asolokha at gmx dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 20 18:57:56 GMT 2022


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

--- Comment #3 from Arseny Solokha <asolokha at gmx dot com> ---
Here's a shorter testcase that AFAICT doesn't rely on UB:

unsigned __int128 m;
int n;

__attribute__ ((simd)) void
foo (int x)
{
  x = n ? n : (short int) x;
  if (x)
    m /= 2;
}

gcc 13.0.0 20221016 snapshot ICEs on that w/ just -O2 -fpeel-loops (and,
optionally, --param max-combine-insns=2, as before).


More information about the Gcc-bugs mailing list