https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58754
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pault at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 35301 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35301&action=edit A preliminary patch This fixes the problem. However, it will produce multiple evaluations of function results and expressions. I will introduce a temporary to cover those cases. Paul PS It's a pity I did not clock this before the RC!