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))