* config/tc-m68k.c (m68k_ip_op): Don't decrement strend when

calculating opP->isiz; this permits the expression size to be
	determined as well, later on.

Fixes PR 2911.
This commit is contained in:
Ian Lance Taylor 1993-07-19 19:13:30 +00:00
parent 32090b8e4f
commit ce2ad89aca
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,9 @@
Mon Jul 19 14:30:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* config/tc-m68k.c (m68k_ip_op): Don't decrement strend when
calculating opP->isiz; this permits the expression size to be
determined as well, later on.
* expr.c (clean_up_expression): Don't cancel the subtraction of
undefined symbols.

View file

@ -1159,12 +1159,10 @@ m68k_ip_op (str, opP)
case 'w':
case 'W':
opP->isiz = 2;
strend -= 2;
break;
case 'l':
case 'L':
opP->isiz = 3;
strend -= 2;
break;
}
}