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

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Dominik Vogt from comment #11)
> Fails if configured with "--with-arch=zEC12", passes without that.

The innermost loop is fully unrolled.  Looks like somebody bumped
--param max-unroll-times for zEC12:

  if (opts->x_s390_tune >= PROCESSOR_2097_Z10)
    {
      maybe_set_param_value (PARAM_MAX_UNROLLED_INSNS, 100,
                             opts->x_param_values,
                             opts_set->x_param_values);
      maybe_set_param_value (PARAM_MAX_UNROLL_TIMES, 32,
                             opts->x_param_values,
                             opts_set->x_param_values);

you can test/commit a patch adjusting dg-options to specify sth
like --param max-unroll-times=8

Reply via email to