https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88364 --- Comment #5 from Harald Anlauf <anlauf at gmx dot de> --- (In reply to Thomas Koenig from comment #4) > A simple fix is not to do the clobbers if there is a reference: The fix in c#4 fixes the testcase in c#2 for me. I'll give it a try.