diff options
author | Catherine Moore <clm@cygnus.com> | 1998-10-13 06:05:23 +0000 |
---|---|---|
committer | Catherine Moore <clm@gcc.gnu.org> | 1998-10-13 02:05:23 -0400 |
commit | 5ca2111fc269899dcd8d5c6342a64bd0a6ef0414 (patch) | |
tree | d26e716028f63dc1c3ce2a3467f64f4829608791 /gcc | |
parent | d5e4ff48146169795c31246ac5547df56bd799a8 (diff) | |
download | gcc-5ca2111fc269899dcd8d5c6342a64bd0a6ef0414.zip gcc-5ca2111fc269899dcd8d5c6342a64bd0a6ef0414.tar.gz gcc-5ca2111fc269899dcd8d5c6342a64bd0a6ef0414.tar.bz2 |
Extend meaning of 'c' operands to support .vtinherit.
From-SVN: r23038
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/v850/v850.c | 9 |
2 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 26df069..6a1b45b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 13 08:00:52 1998 Catherine Moore <clm@cygnus.com> + + * config/v850/v850.c (print_operand): Extend meaning + of 'c' operands to support .vtinherit. + Tue Oct 13 21:38:35 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * config/c4x/c4x.c: Convert to gen_rtx_FOO. diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index 8d9981c..0924640 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)) |