Debian Codegraph @

gcc/testsuite/gcc.dg/torture/asm-subreg-1.c

raw
1 /* PR middle-end/20491 */
2
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { hppa*64*-*-* || sparc-*-vxworks* } } */
5
6 /* Combine used to introduce invalid subregs for the asm input, and
7 we'd crash later on, when removing all subregs. */
8
9 volatile unsigned short _const_32 [4] = {1,2,3,4};
10 void
11 evas_common_convert_yuv_420p_601_rgba()
12 {
13 __asm__ __volatile__ ("" : : "X" (*_const_32));
14 }
15