OSDN Git Service

2007-03-19 Andrew Pinski <andrew_pinski@playstation.sony.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / torture / asm-subreg-1.c
1 /* PR middle-end/20491 */
2
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { hppa*64*-*-* } "*" "" } */
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