[Bug middle-end/51768] New: [4.5/4.6/4.7 Regression] ICE with invalid asm goto
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 5 15:48:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51768
Bug #: 51768
Summary: [4.5/4.6/4.7 Regression] ICE with invalid asm goto
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jakub@gcc.gnu.org
void
foo (void)
{
asm goto ("" : : : : lab, lab, lab2, lab);/* { dg-error "duplicate asm
operand name" } */
lab:;
lab2:;
}
void
bar (void)
{
asm goto ("" : : [lab] "i" (0) : : lab);/* { dg-error "duplicate asm operand
name" } */
lab:;
}
ICEs with tree-checking (or just crashes during error reporting if not tree
checking).
More information about the Gcc-bugs
mailing list