From 5ca2111fc269899dcd8d5c6342a64bd0a6ef0414 Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Tue, 13 Oct 1998 06:05:23 +0000 Subject: [PATCH] Extend meaning of 'c' operands to support .vtinherit. From-SVN: r23038 --- gcc/ChangeLog | 5 +++++ gcc/config/v850/v850.c | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 26df069c775..6a1b45b157a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 13 08:00:52 1998 Catherine Moore + + * config/v850/v850.c (print_operand): Extend meaning + of 'c' operands to support .vtinherit. + Tue Oct 13 21:38:35 1998 Michael Hayes * config/c4x/c4x.c: Convert to gen_rtx_FOO. diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index 8d9981c810c..09246402907 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -365,9 +365,16 @@ print_operand (file, x, code) switch (code) { + case 'c': + /* We use 'c' operands with symbols for .vtinherit */ + if (GET_CODE (x) == SYMBOL_REF) + { + output_addr_const(file, x); + break; + } + /* fall through */ case 'b': case 'B': - case 'c': case 'C': switch ((code == 'B' || code == 'C') ? reverse_condition (GET_CODE (x)) : GET_CODE (x)) -- 2.30.2