This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33138] [4.3 Regression] rejects valid? assembler, segfaults
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2007 15:42:14 -0000
- Subject: [Bug target/33138] [4.3 Regression] rejects valid? assembler, segfaults
- References: <bug-33138-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2007-09-05 15:42 -------
Yeah, the asm is bogus for multiple reasons.
But can be fixed easily, e.g. %3, %4 nor %5 aren't used anywhere, so
just nuking the unneeded
"r" (c), "r" (a), "r" (b),
makes this to compile.
Apparently e.g. gcc 4.1.x decided to give %0 the same register %3, %1 as %4
and so it happened to compile, still the constraints cause extreme register
preassure.
What is that "3" doing among clobbers? A fancy way to duplicate "%rbx"
clobber?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33138