https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125887

--- Comment #4 from Roman Rotko <superroman652 at gmail dot com> ---
(In reply to Drea Pinski from comment #1)
> I am not sure this is well defined.
> 
> 
>       char *a = ({
>               char _ret[size];        
>               _ret;
>       });
> 

Checked the latest draft and it is indeed undefined behavior, both for static
and dynamic sizes.

Reply via email to