2 /* { dg-do compile } */
3 /* { dg-options "-O2 -std=gnu89" } */
4 /* { dg-require-effective-target alloca } */
7 foo (void *ptr
, long n
)
9 __asm__
__volatile__ ("" :: "m" (({ struct { char x
[n
]; } *p
= ptr
; *p
; })));
13 bar (void *ptr
, long n
)
15 __asm__
__volatile__ ("" :: "m" (*({ struct { char x
[n
]; } *p
= ptr
; p
; })));