https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65773
James Molloy <james.molloy at arm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |james.molloy at arm dot com --- Comment #13 from James Molloy <james.molloy at arm dot com> --- Hi, This has just been pinged at me. Thanks for debugging this and sorry about the broken code. Just a note that the actual problem/fix is even more simple. The problem is we're asking for a reference instead of a copy (which is the pattern used elsewhere), so simply removing the '&' will enforce correct behaviour. Cheers, James