From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15578 invoked by alias); 27 Aug 2008 08:09:16 -0000 Received: (qmail 14159 invoked by uid 48); 27 Aug 2008 08:07:52 -0000 Date: Wed, 27 Aug 2008 08:09:00 -0000 Message-ID: <20080827080752.14158.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/37243] [4.4 Regression] Revision 139590 caused many regressions In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "Joey dot ye at intel dot com" 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: 2008-08/txt/msg02029.txt.bz2 ------- Comment #7 from Joey dot ye at intel dot com 2008-08-27 08:07 ------- Created an attachment (id=16155) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16155&action=view) Test case from 2006.434.zeusmp Though fail to extract a smaller case, hopeful it helpful. Compile with gfortran -c -O2 -DSPEC_CPU_LP64 tranx1.f -S -fdump-rtl-all -g. Miscompile in revision 139590. In IRA dump file, I believe following suspicious RTL is the cause of segfault: (insn 886 885 893 35 tranx1.f:570 (set (reg:DI 0 ax [orig:123 D.3215 ] [123]) (mem/c:DI (plus:DI (reg/f:DI 7 sp) (const_int -104 [0xffffffffffffff98])) [68 D.3215+0 S8 A64])) 89 {*movdi_1_rex64} (nil)) (insn 893 886 896 35 tranx1.f:570 (set (mem/c:DI (plus:DI (reg/f:DI 7 sp) (const_int -104 [0xffffffffffffff98])) [68 ivtmp.160+0 S8 A64]) (reg/f:DI 3 bx [orig:159 ivtmp.160 ] [159])) 89 {*movdi_1_rex64} (nil)) D.3215 and ivtmp.160 shares the spill space (%rsp-104), where as D.3215 and ivtmp.160 has overlapped liverange. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37243