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 (__i386__)
15 #elif defined (__MMIX__)
17 #elif defined (__powerpc__) || defined (__PPC__) || defined (__ppc__) \
18 || defined (__POWERPC__) || defined (PPC) || defined (_IBMR2)
20 #elif defined (__x86_64__)
22 #elif defined (__m68k__)
25 /* Make this test harmless for any target not recognized above. */
48 register char* dst ASMDECL;
49 __asm__ ("":"=g"(*dst): : REG);
52 /* The tree optimizers currently prevent us from finding an overlap -
53 we end up using a copy of dst rather than dst.
54 But at least make sure we don't get an ICE. */
57 register char* dst ASMDECL;
58 __asm__ ("": :"g"(*dst) CLOBBER_LIST);
64 register struct C *dst ASMDECL;
65 __asm__ ("" : "=g"(dst->c.b[1].a) INP_CLOBBER_LIST);