view gcc/testsuite/gcc.dg/align-2.c @ 111:04ced10e8804

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

/* PR 17962 */
/* { dg-do compile { target vect_natural_alignment } } */
/* { dg-options "" } */

typedef float v4 __attribute__((vector_size(sizeof(float)*4)));
extern char compile_time_assert[__alignof__(v4) == sizeof(float)*4 ? 1 : -1];