From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22843 invoked by alias); 1 Feb 2009 10:58:10 -0000 Received: (qmail 22822 invoked by uid 48); 1 Feb 2009 10:57:59 -0000 Date: Sun, 01 Feb 2009 10:58:00 -0000 Subject: [Bug inline-asm/39058] New: [4.3/4.4 regression] ICE with double in inline-asm 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: 2009-02/txt/msg00024.txt.bz2 The following (IMHO valid) code snippet triggers an ICE since GCC 4.3.0 when compiled with "-O": ======================================== double foo() { double x; asm("" : "=r,r"(x) : "0,0"(x)); return x; } ======================================== bug.c: In function 'foo': bug.c:5: internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1393 Please submit a full bug report, [etc.] The same code compiles fine if I use float instead of double. -- Summary: [4.3/4.4 regression] ICE with double in inline-asm 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 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39058