https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62171
--- Comment #6 from vries at gcc dot gnu.org --- (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. Richard, can you give a complete example of what you think we'd miscompile? Thanks, - Tom