Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr94574.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -w -Wno-psabi" } */ typedef unsigned int v4si __attribute__((vector_size(16))); typedef unsigned int v2si __attribute__((vector_size(8))); /* The aliasing is somewhat dubious here, but it must compile. */ v2si foo (v4si v) { v2si res; *(v4si *) &res = v; return res; }