view gcc/testsuite/gcc.dg/torture/asm-subreg-1.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +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));
}