view gcc/testsuite/gcc.dg/torture/asm-subreg-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR middle-end/20491 */

/* { dg-do compile } */
/* { dg-skip-if "" { hppa*64*-*-* || sparc-*-vxworks* } } */

/* 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));
}