From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16275 invoked by alias); 19 Mar 2010 20:37:43 -0000 Received: (qmail 16201 invoked by uid 48); 19 Mar 2010 20:37:28 -0000 Date: Fri, 19 Mar 2010 20:37:00 -0000 Message-ID: <20100319203728.16200.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/43437] ICE in CSE, during libgcc build In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub at gcc dot gnu dot org" 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: 2010-03/txt/msg01891.txt.bz2 ------- Comment #6 from jakub at gcc dot gnu dot org 2010-03-19 20:37 ------- Created an attachment (id=20144) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20144&action=view) gcc45-pr43437.patch Possible patch. Except that note_uses (and note_stores) walk parallels from end to start, so as first the side effects for r15 store are replaced etc. Not sure what the insn really does, if it expects the storing to be done first parallel goes to r0 - 4, second to r0 - 8, third to r0 - 12 and fourth to r0 - 16, or first to r0 - 16, second to r0 - 12, third to r0 - 8 and fourth to r0 - 4. To me this sounds very much like multiple side-effects in one statement in C, I'd say doing this should be invalid RTL. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43437