aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-03-02 13:13:35 -0800
committerJim Wilson <wilson@gcc.gnu.org>1993-03-02 13:13:35 -0800
commitb3b1e8bd9c49e29c496d178bb69e42f04859a9a0 (patch)
tree94dc7346909132311579f7e2b0cac6933570c7ba /gcc
parent46b68a3769fb5e5d0f18f7ef9211ce43274b08d2 (diff)
downloadgcc-b3b1e8bd9c49e29c496d178bb69e42f04859a9a0.zip
gcc-b3b1e8bd9c49e29c496d178bb69e42f04859a9a0.tar.gz
gcc-b3b1e8bd9c49e29c496d178bb69e42f04859a9a0.tar.bz2
(print_operand): Use output_operand_lossage, not abort.
From-SVN: r3610
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sparc/sparc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index 4ec5b08..8c15009 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -2659,13 +2659,13 @@ print_operand (file, x, code)
case 'Y':
/* Adjust the operand to take into account a RESTORE operation. */
if (GET_CODE (x) != REG)
- abort ();
- if (REGNO (x) < 8)
+ output_operand_lossage ("Invalid %%Y operand");
+ else if (REGNO (x) < 8)
fputs (reg_names[REGNO (x)], file);
else if (REGNO (x) >= 24 && REGNO (x) < 32)
fputs (reg_names[REGNO (x)-16], file);
else
- abort ();
+ output_operand_lossage ("Invalid %%Y operand");
return;
case 'R':
/* Print out the second register name of a register pair or quad.
@@ -2704,7 +2704,7 @@ print_operand (file, x, code)
case IOR: fputs ("or", file); break;
case AND: fputs ("and", file); break;
case XOR: fputs ("xor", file); break;
- default: abort ();
+ default: output_operand_lossage ("Invalid %%A operand");
}
return;
@@ -2714,7 +2714,7 @@ print_operand (file, x, code)
case IOR: fputs ("orn", file); break;
case AND: fputs ("andn", file); break;
case XOR: fputs ("xnor", file); break;
- default: abort ();
+ default: output_operand_lossage ("Invalid %%B operand");
}
return;