int main()
{
int a[4];
- if ((char*)&a[1] + 4*i + 4 != (char*)&a[i+2])
+ if ((char*)&a[1] + __SIZEOF_INT__*i + __SIZEOF_INT__ != (char*)&a[i+2])
link_error();
return 0;
}
/* PR middle-end/103813 */
+/* { dg-require-effective-target size32plus } */
struct A { char b; char c[0x21000000]; };
struct A d;
/* PR middle-end/96426 */
+#if __SIZEOF_LONG_LONG__ == __SIZEOF_DOUBLE__
+
typedef long long V __attribute__((vector_size(16)));
typedef double W __attribute__((vector_size(16)));
{
__builtin_convertvector (*v, W);
}
+
+#endif
/* PR tree-optimization/103417 */
+/* { dg-require-effective-target int32plus } */
struct { int a : 8; int b : 24; } c = { 0, 1 };
/* PR tree-optimization/108498 */
+/* { dg-require-effective-target int32plus } */
struct U { char c[16]; };
struct V { char c[16]; };
/* { dg-do compile } */
+/* { dg-require-effective-target int32 } */
typedef unsigned char __attribute__((__vector_size__ (4))) V;
/* PR rtl-optimization/101008 */
/* { dg-do compile } */
/* { dg-options "-O2 -g" } */
+/* { dg-require-effective-target int32 } */
typedef unsigned __attribute__((__vector_size__(32))) U;
typedef unsigned __attribute__((__vector_size__(16))) V;
/* { dg-do run } */
/* { dg-options "-O2 -std=c99" } */
+/* { dg-require-effective-target int32plus } */
#include <limits.h>
#include <assert.h>
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
+/* { dg-require-effective-target int32plus } */
void foo();
/* { dg-do compile } */
/* { dg-options "-Og -fno-tree-ccp" } */
/* { dg-additional-options "-mabm" { target { i?86-*-* x86_64-*-* } } } */
+/* { dg-require-effective-target int32plus } */
int a, b, c;
extern void baz (int);
/* { dg-additional-options "-mbmi" { target { { i?86-*-* x86_64-*-* } && { ! { ia32 } } } } } */
/* { dg-additional-options "-march=rv64gc_zbb" { target { rv64 } } } */
/* { dg-additional-options "-march=rv32gc_zbb" { target { rv32 } } } */
+/* { dg-require-effective-target int32plus } */
int ctz1 (unsigned x)
{
/* { dg-do compile} */
/* { dg-options "-O2 -fdump-tree-evrp" } */
-
+/* { dg-require-effective-target int32 } */
unsigned char
foo (unsigned int x)
/* { dg-do run } */
/* { dg-options "-O -fdump-tree-optimized -fwrapv" } */
+/* { dg-require-effective-target int32 } */
#include <limits.h>
#include <stdbool.h>
/* { dg-do compile } */
/* { dg-options "-O2" } */
+/* { dg-require-effective-target int32plus } */
struct a {
unsigned c : 17;
/* PR tree-optimization/97750 */
/* { dg-do compile } */
/* { dg-options "-O2 -Wall -Wextra" } */
+/* { dg-require-effective-target ptr_eq_long } */
char CopyPlane_src;
long CopyPlane_copy_pitch;