From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18993 invoked by alias); 27 Feb 2006 23:40:45 -0000 Received: (qmail 18968 invoked by uid 48); 27 Feb 2006 23:40:43 -0000 Date: Mon, 27 Feb 2006 23:55:00 -0000 Message-ID: <20060227234043.18967.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/17387] Redundant instructions in loop optimization In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl at lucon dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg03112.txt.bz2 List-Id: ------- Comment #19 from hjl at lucon dot org 2006-02-27 23:40 ------- Even with the new patch http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01994.html I still got the same result. The new see pass won't touch (insn:HI 13 9 14 2 (set (reg/v:SI 73 [ t ]) (mem/s:SI (symbol_ref:DI ("state") [flags 0x40] ) [3 state+0 S4 A32])) 40 {*movsi_1} (nil) (nil)) (insn:HI 14 13 16 2 (parallel [ (set (reg/v:SI 73 [ t ]) (xor:SI (mem/s:SI (symbol_ref:DI ("S") [flags 0x40] ) [3 S+0 S4 A32]) (reg/v:SI 73 [ t ]))) (clobber (reg:CC 17 flags)) ]) 340 {*xorsi_1} (insn_list:REG_DEP_TRUE 13 (nil)) (expr_list:REG_UNUSED (reg:CC 17 flags) (expr_list:REG_EQUAL (xor:SI (mem/s:SI (symbol_ref:DI ("S") [flags 0x40] ) [3 S+0 S4 A32]) (mem/s:SI (symbol_ref:DI ("state") [flags 0x40] ) [3 state+0 S4 A32])) (nil)))) (insn:HI 16 14 18 2 (set (mem/s:SI (symbol_ref:DI ("state") [flags 0x40] ) [3 state+0 S4 A32]) (reg/v:SI 73 [ t ])) 40 {*movsi_1} (insn_list:REG_DEP_TRUE 14 (nil)) (nil)) (insn:HI 18 16 21 2 (set (reg:DI 79 [ t ]) (zero_extend:DI (reg/v:SI 73 [ t ]))) 111 {zero_extendsidi2_rex64} (nil) (expr_list:REG_DEAD (reg/v:SI 73 [ t ]) (nil))) -- hjl at lucon dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Version|4.0.0 |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17387