From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11625 invoked by alias); 23 Feb 2008 18:07:33 -0000 Received: (qmail 3951 invoked by uid 48); 23 Feb 2008 18:06:50 -0000 Date: Sat, 23 Feb 2008 18:07:00 -0000 Subject: [Bug inline-asm/35318] New: [4.3/4.4 regression] ICE with inline asm in reload X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt 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: 2008-02/txt/msg02449.txt.bz2 The following valid code snippet triggers an ICE on mainline and 4.3 branch when compiled with -O: ============================================ void foo() { double x = 4, y; __asm__ volatile ("" : "=r,r" (x), "=r,r" (y) : "%0,0" (x), "m,r" (8)); } ============================================ bug.c: In function 'void foo()': bug.c:5: error: Failure trying to reload: (nil) bug.c:5: internal compiler error: in gen_reload, at reload1.c:8043 Please submit a full bug report, [etc.] -- Summary: [4.3/4.4 regression] ICE with inline asm in reload Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: inline-asm AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35318