This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/15740] New: ICE caused by a memory operand in an asm statement
- From: "l_belev at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2004 22:57:30 -0000
- Subject: [Bug inline-asm/15740] New: ICE caused by a memory operand in an asm statement
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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