aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr119549.c
blob: a465bec3cf00c0f34f3a7fd223d39bd26a4c1b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-msse4" } */

typedef long long v2di __attribute__((vector_size(16)));

static inline __attribute__((always_inline))
int rte_trace_feature_is_enabled() { return 1; } /* { dg-error "inlining failed" } */

void __attribute__((target ("no-sse3"))) __attribute__((target ("no-sse4")))
rte_eal_trace_generic_void_init(void)
{
  if (!rte_trace_feature_is_enabled()) return;
  __asm__ volatile ("" : : : "memory");
}