This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/18164] New: ICE on trivial invalid asm
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Oct 2004 19:53:51 -0000
- Subject: [Bug c/18164] New: ICE on trivial invalid asm
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
void
f (void)
{
int x;
asm ("" : "" (x));
}
yields an ICE (discovered while attempting to disallow wide strings in asms)
t.c: In function 'f':
t.c:5: error: output operand constraint lacks '='
t.c:5: error: output operand constraint lacks '='
t.c:5: error: invalid lvalue in asm output 0
t.c:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
This appears to be fairly recent:
: Search converges between 2004-10-09-014001-trunk (#585) and
2004-10-09-161001-trunk (#586).
--
Summary: ICE on trivial invalid asm
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18164