Extend meaning of 'c' operands to support .vtinherit.

From-SVN: r23038
This commit is contained in:
Catherine Moore 1998-10-13 06:05:23 +00:00 committed by Catherine Moore
parent d5e4ff4814
commit 5ca2111fc2
2 changed files with 13 additions and 1 deletions

View File

@ -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.

View File

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