From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17206 invoked by alias); 10 Nov 2012 19:11:18 -0000 Received: (qmail 17175 invoked by uid 48); 10 Nov 2012 19:11:03 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/55247] [4.8 Regression] internal compiler error: Max. number of generated reload insns per insn is achieved (90) Date: Sat, 10 Nov 2012 19:11: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-11/txt/msg00918.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55247 --- Comment #13 from H.J. Lu 2012-11-10 19:11:03 UTC --- (In reply to comment #12) > (In reply to comment #11) > > ~/gcc-build/gcc/cc1 -O2 -mx32 -maddress-mode=long pr55247.c > > > > results in following sequence: > > > > movdqu (%eax), %xmm0 > > movdqa %xmm0, (%rsp) > > movq (%rsp), %rax > > movq 8(%rsp), %rdx > > movq %rax, 16(%rsp) > > movq %rdx, 24(%rsp) > > > > while -maddress=mode=short produces expected code: > > > > movq 8(%eax), %rdx > > movq (%eax), %rax > > movq %rdx, 8(%esp) > > movq %rax, (%esp) > > This is related to PR 55259. This patch: > > http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00799.html > > fixes it. With this fix, we don't need to change *movti_internal_rex64 since it generates redundant load/store.