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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #4)
> Confirmed.  The warning sees the IL below.  It's not the same as pr83382
> because there's no call to a UBSAN function.  The warning here is due to a
> direct use of a GCC-internal variable (introduced in tree-nested.c).  The
> variable has the DECL_ARTIFICIAL bit set, so maybe also disabling the
> warning for variables with that bit might make sense.

Sure not, the 'FRAME' variable is artificial but its members refer to the
parent frame user variables which we do want to warn on.

IIRC Eric had some patches to dissect 'FRAME' again after inlining to help
optimization and diagnostics.

Reply via email to