https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97191
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |16994 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > but the underlying reason may be a stale VLA reference due to a missing > DECL_EXPR. No, it looks more like a cloning of the function issue for the ctor. If I change [0] to [1], the correct a is used. The incorrect one: aD.2126 = 0; _1 = (ssizetype) aD.2106; Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 [Bug 16994] [meta-bug] VLA and C++