[Bug other/60783] unexpected address variation when taking address of reference, const reference, etc.

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 7 21:15:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60783

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Parke from comment #3)
> Thanks, I thought it might be something like the creation of temporaries,
> but could not find it discussed anywhere, and was surprised that I got
> different behavior from 4.7.3 (many temporaries) and 4.8.2 (apparently only
> one temporary).

Well 4.8 is better at coalescing the temporaries as there was a fix to the
front-end to produce a CLOBBER after the statement has ended.



More information about the Gcc-bugs mailing list