From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9101 invoked by alias); 7 Aug 2010 20:57:54 -0000 Received: (qmail 9052 invoked by alias); 7 Aug 2010 20:57:41 -0000 Date: Sat, 07 Aug 2010 20:57:00 -0000 Message-ID: <20100807205741.9051.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/44632] [4.4/4.5/4.6 regression] wrong code for complex division In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dave at hiauly1 dot hia dot nrc dot ca" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg00564.txt.bz2 ------- 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/ (&D.24646, &x.1); [return slot optimization] > > Isn't this fixed on trunk since > > 2010-07-26 Richard Guenther > > 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