https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64270
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Actually this is invalid and here is the reason why: a packed reference is not going to bind to a reference by design. It is a copy of the array at this point. If you change from an array to a scalar it will also do the same behavior.