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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Btw,

make check-gcc RUNTESTFLAGS="--target_board=unix/-march=znver2/-Ofast
vect.exp=vect-tsvc-s1281.c"

doesn't work to reproduce since the harness appends -O2, but I can reproduce
with -Ofast -mavx2 on trunk.

value: inf, expected: inf

because

    } else if (!strcmp(name, "s1281")) {
        return INFINITY;

and

tatic _Bool is_checksum_same(real_t expected, real_t value)
{
  if (expected == INFINITY)
      return value == INFINITY;

is likely optimized away and we end up in

  else {
      real_t fraction = value / expected;
      return 0.99f <= fraction && fraction <= 1.01f;

so I'd call that a testsuite issue.

Do we know what goes wrong with povray?

Reply via email to