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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
C runtime testcase:
unsigned int a[100];
long long int b[100];
unsigned short c[100];

__attribute__((noinline, noclone)) void
foo (void)
{
  int i;
  for (i = 0; i < 100; ++i)
    b[i] = a[i] * (c[i] * (_Bool) c[i]);
}

int
main ()
{
  int i;
  if (__SIZEOF_INT__ * __CHAR_BIT__ != 32)
    return 0;
  for (i = 0; i < 100; ++i)
    {
      a[i] = 3489456818U;
      b[i] = 0x1eadbeefbeefdeadLL;
      c[i] = 38364;
    }
  foo ();
  for (i = 0; i < 100; ++i)
    if (b[i] != 0xed446af8U)
      __builtin_abort ();
  return 0;
}

Reply via email to