https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62171
--- Comment #4 from vries at gcc dot gnu.org --- (In reply to vries from comment #3) > (In reply to Richard Biener from comment #2) > > And maybe set DECL_BY_REFERENCE, a mere REFERENCE_TYPE doesn't prevent > > you from doing (¶m)[2] which we'd miscompile. Not sure who added > > that REFERENCE_TYPE code. > [correcting copy/past-o] Submitted here: https://gcc.gnu.org/ml/gcc-patches/2011-09/msg01426.html OK-ed here: https://gcc.gnu.org/ml/gcc-patches/2011-09/msg01489.html
