1 /* { dg-do compile } */
2 /* { dg-options "-O" } */
3 /* { dg-bogus "internal compiler error" "ICE" { target *-*-* } 0 } */
6 #define ASMDECL __asm (REG);
7 #define CLOBBER_LIST : REG
8 #define INP_CLOBBER_LIST : CLOBBER_LIST
9 #if defined (__alpha__)
11 #elif defined (__CRIS__) || defined (__sh__)
13 #elif defined (__hppa__)
15 #elif defined (__i386__)
17 #elif defined (__MMIX__)
19 #elif defined (__powerpc__) || defined (__PPC__) || defined (__ppc__) \
20 || defined (__POWERPC__) || defined (PPC) || defined (_IBMR2)
22 #elif defined (__x86_64__)
24 #elif defined (__m68k__)
27 /* Make this test harmless for any target not recognized above. */
50 register char* dst ASMDECL
;
51 __asm__ ("":"=g"(*dst
): : REG
);
54 /* The tree optimizers currently prevent us from finding an overlap -
55 we end up using a copy of dst rather than dst.
56 But at least make sure we don't get an ICE. */
59 register char* dst ASMDECL
;
60 __asm__ ("": :"g"(*dst
) CLOBBER_LIST
);
66 register struct C
*dst ASMDECL
;
67 __asm__ ("" : "=g"(dst
->c
.b
[1].a
) INP_CLOBBER_LIST
);