view gcc/testsuite/gcc.dg/torture/pr54920.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */

typedef short __v8hi __attribute__ ((__vector_size__ (16)));
typedef long long __m128i __attribute__ ((__vector_size__ (16)));
int a;
__m128i b;

void
fn1 ()
{
  while (1)
    b = (__m128i) (__v8hi) { a, 0, 0, 0, 0, 0 };
}