------- Comment #9 from dave at hiauly1 dot hia dot nrc dot ca 2010-08-07 20:57 ------- Subject: Re: [4.4/4.5/4.6 regression] wrong code for complex division
> ;; x.1 = std::operator/<double> (&D.24646, &x.1); [return slot optimization] > > Isn't this fixed on trunk since > > 2010-07-26 Richard Guenther <rguent...@suse.de> > > PR tree-optimization/43784 > * tree-nrv.c (dest_safe_for_nrv_p): It's not safe to NRV > if the destination is used by the call. Still present on trunk today. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44632