view gcc/testsuite/gcc.dg/torture/pr84811.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
line wrap: on
line source

/* { dg-do compile { target lp64 } } */

int a;
long b[1][9];
typedef long V __attribute__((vector_size (16), may_alias));

void
foo ()
{
  V *c = (V *) ((char *) b + -9060696663385964544);
  *c = (V) { 1, 1 };
  c++;
  *c = (V) { 1, 1 };
  c++;
  *c = (V) { 1, 1 };
  c++;
  *c = (V) { 1, 1 };
  long __attribute__((may_alias)) *d = (long *) ((char *) b + 162675373468811328);
  *d = 1;
}