This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sparc.md generates invalid opcode
- To: jfc at tiac dot net
- Subject: Re: sparc.md generates invalid opcode
- From: "David S. Miller" <davem at dm dot cobaltmicro dot com>
- Date: Tue, 11 Aug 1998 00:04:56 -0700
- CC: egcs-bugs at cygnus dot com, egcs-patches at cygnus dot com
- References: <199808102304.TAA19364@pc.>
From: John Carr <jfc@tiac.net>
Date: Mon, 10 Aug 1998 19:04:09 EDT
The new sparc.md generates the opcode "b,pt %xcc" which causes the
Solaris 2.6 assembler to dump core. This patch fixes the problem
by changing "b,pt" to "ba,pt". Also, since the only processor with
the b,a bug is TurboSPARC the patch eliminates the bug workaround
for V9.
Does it really dump core? :-) Or just refuse to assemble it?
I've checked your fix into the tree, thanks a lot.
Later,
David S. Miller
davem@dm.cobaltmicro.com