Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/target_attr_crypto_ice_2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mcpu=thunderx+nofp -march=armv8-a" } */
3 /* { dg-prune-output "warning: switch .* conflicts" } */
4
5 /* Make sure that we don't ICE when dealing with vector parameters
6 in a simd-tagged function within a non-simd translation unit. */
7
8 #pragma GCC push_options
9 #pragma GCC target ("+nothing+simd")
10 typedef unsigned int __uint32_t;
11 typedef __uint32_t uint32_t ;
12 typedef __Uint32x4_t uint32x4_t;
13 #pragma GCC pop_options
14
15
16 __attribute__ ((target ("cpu=cortex-a57")))
17 uint32x4_t
18 foo (uint32x4_t a, uint32_t b, uint32x4_t c)
19 {
20 return c;
21 }