This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/55934] [4.8 Regression] LRA inline asm error recovery
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Jan 2013 12:59:33 +0000
- Subject: [Bug inline-asm/55934] [4.8 Regression] LRA inline asm error recovery
- Auto-submitted: auto-generated
- References: <bug-55934-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55934
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-11 12:59:33 UTC ---
Please also consider asm goto like:
void bar (int);
void
foo (_Complex float x)
{
asm volatile goto ("" : : "x" (x) : : foo); /* { dg-error "impossible
constraint" } */
bar (1);
foo:
bar (2);
}
Turning a JUMP_INSN pattern into (use (const_int 0)) might not work well,
though apparently reload.c does that too. Perhaps it is lucky enough with it,
as if reload results in errors, following passes are skipped.