This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/26077] New: ice on inline asm with invalid constraint
- From: "gcc at broadmeadow dot plus dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2006 17:11:52 -0000
- Subject: [Bug inline-asm/26077] New: ice on inline asm with invalid constraint
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following invalid code produces an internal compiler error on 4.0.0. 3.3.0
and 2.95.2:
$ cat ros.i
struct s {
int x, y, z;
};
void f (struct s s) {
asm ("%0" : : "a" (s));
}
$ gcc-4.0 ros.i
ros.i: In function 'f':
ros.i:6: internal compiler error: in emit_move_insn, at expr.c:3092
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ice on inline asm with invalid constraint
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at broadmeadow dot plus dot com
GCC build triplet: i386-gnu-linux
GCC host triplet: i386-gnu-linux
GCC target triplet: i386-gnu-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26077