From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25518 invoked by alias); 19 Jan 2014 18:41:45 -0000 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 Received: (qmail 25479 invoked by uid 48); 19 Jan 2014 18:41:42 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/59880] ix86_avoid_lea_for_addr is buggy Date: Sun, 19 Jan 2014 18:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg02072.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59880 --- Comment #6 from Uro=C5=A1 Bizjak --- (In reply to Jakub Jelinek from comment #5) > Created attachment 31893 [details] > gcc49-pr59880.patch >=20 > Untested fix. The reason for the problem is that if it is just a > (zero-extended SI->DI or normal) move from %r13, %rbp or (for k6 %esi), t= hen > decomposition sets parts.disp to const0_rtx and thus we count it as two > parts, even when we wouldn't emit it as a lea insn originally. True. However, can you put new test before costly call to ix86_ok_to_clobber_flags and ix86_decompose_address? >>From gcc-bugs-return-440931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jan 19 19:03:57 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 702 invoked by alias); 19 Jan 2014 19:03:56 -0000 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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 624 invoked by uid 48); 19 Jan 2014 19:03:53 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54425] Rvalue/Lvalue overload resolution of templated function Date: Sun, 19 Jan 2014 19:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg02073.txt.bz2 Content-length: 577 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54425 Marc Glisse changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |glisse at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from Marc Glisse --- Already fixed on trunk. *** This bug has been marked as a duplicate of bug 57172 ***