1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* This used to ICE due to a regmove problem on s390. */ /* { dg-do compile } */ /* { dg-options "-O2" } */ extern void abort (void); extern void **alloc (void); void *test (void) { void **p = alloc (); if (!p) abort (); __builtin_set_thread_pointer (p); return *p; }