aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/asm-subreg-1.c
blob: 2a5392085295d376d0776617c3e5ff94cb51bc8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR middle-end/20491 */

/* { dg-do compile } */

/* Combine used to introduce invalid subregs for the asm input, and
   we'd crash later on, when removing all subregs.  */

volatile unsigned short _const_32 [4] = {1,2,3,4};
void
evas_common_convert_yuv_420p_601_rgba()
{
  __asm__ __volatile__ ("" : : "X" (*_const_32));
}