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

Martin Uecker <muecker at gwdg dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |muecker at gwdg dot de

--- Comment #8 from Martin Uecker <muecker at gwdg dot de> ---
So according to my amateurish analysis, there seem to be at least three
underlying issues:

- gimplify_compound_lval size expressions are gimplified too early. This
patch attempts to address this:

https://gcc.gnu.org/pipermail/gcc-patches/2021-August/576484.html

- inside sizeof, this seems to be a FE problem as the information from the
statement expression is lost.

- and then there is another issue, when a variably-sized object (but not a
pointer to it) is returned from the statement expression

Reply via email to