From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62410 invoked by alias); 5 Oct 2015 17:54:25 -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 62390 invoked by uid 48); 5 Oct 2015 17:54:22 -0000 From: "vtjnash at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67814] pentium4 cmp instruction register allocation error (tree-pre?) Date: Mon, 05 Oct 2015 17:54: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: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: vtjnash at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: component version 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: 2015-10/txt/msg00355.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67814 Jameson changed: What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |rtl-optimization Version|5.2.0 |5.1.1 --- Comment #1 from Jameson --- I have discovered that the following is also sufficient to generate the same `cmpl %ebx, %ebx` assembly: `gcc -m32 -fPIC -O2 -ggdb3 -c alloc.i -S -o - | less` I tested this using gcc 5.1.1 from Ubuntu 15.04 x86_64. (search for ".loc 1 583 0" in the resulting assembly to quickly find the failed instruction sequence).