From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29130 invoked by alias); 30 May 2004 22:57:31 -0000 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 Received: (qmail 29122 invoked by uid 48); 30 May 2004 22:57:30 -0000 Date: Mon, 31 May 2004 21:29:00 -0000 From: "l_belev at yahoo dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20040530225725.15740.l_belev@yahoo.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug inline-asm/15740] New: ICE caused by a memory operand in an asm statement X-Bugzilla-Reason: CC X-SW-Source: 2004-05/txt/msg03723.txt.bz2 List-Id: The following code compiled with -O (or greater) causes ICE: void foo(void) { int a, b; a = 1; b = a + 1; asm ("nop" : : "m" (a)); } This is with the snapshot gcc-3.5-20040530. -- Summary: ICE caused by a memory operand in an asm statement Product: gcc Version: 3.5.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: inline-asm AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: l_belev at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux GCC host triplet: i686-pc-linux GCC target triplet: i686-pc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15740