mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 02:29:40 +08:00
combine.c (combine_simplify_rtx): Also recompute 'mode' if the call to simplify_binary_operation returns a new...
2001-07-06 Diego Novillo <dnovillo@redhat.com> * combine.c (combine_simplify_rtx): Also recompute 'mode' if the call to simplify_binary_operation returns a new pattern. From-SVN: r43826
This commit is contained in:
parent
39bd294869
commit
4531c1c787
@ -1,3 +1,8 @@
|
||||
2001-07-06 Diego Novillo <dnovillo@redhat.com>
|
||||
|
||||
* combine.c (combine_simplify_rtx): Also recompute 'mode' if the
|
||||
call to simplify_binary_operation returns a new pattern.
|
||||
|
||||
2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
|
||||
|
||||
* glimits.h (__SHRT_MAX__): New.
|
||||
|
@ -3702,7 +3702,12 @@ combine_simplify_rtx (x, op0_mode, last, in_dest)
|
||||
}
|
||||
|
||||
if (temp)
|
||||
x = temp, code = GET_CODE (temp), op0_mode = VOIDmode;
|
||||
{
|
||||
x = temp;
|
||||
code = GET_CODE (temp);
|
||||
op0_mode = VOIDmode;
|
||||
mode = GET_MODE (temp);
|
||||
}
|
||||
|
||||
/* First see if we can apply the inverse distributive law. */
|
||||
if (code == PLUS || code == MINUS
|
||||
|
Loading…
Reference in New Issue
Block a user