aboutsummaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2001-06-04 18:04:36 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2001-06-04 18:04:36 +0000
commit0631e0bfb7d40fd3cb58d2d5400075f49000ab51 (patch)
tree829c85ccd2ce524faa3bdeb601db3f7f80cc282f /gcc/simplify-rtx.c
parent5c626f5260d6e2f48bdbd5461b74d11fdd02afe0 (diff)
downloadgcc-0631e0bfb7d40fd3cb58d2d5400075f49000ab51.zip
gcc-0631e0bfb7d40fd3cb58d2d5400075f49000ab51.tar.gz
gcc-0631e0bfb7d40fd3cb58d2d5400075f49000ab51.tar.bz2
rtlanal.c (operand_preference): Fix preference for objects.
* rtlanal.c (operand_preference): Fix preference for objects. * gcse.c (handle_avail_expr): Be prepared to handle single_set parallels. * combine.c (if_then_else_cond): Use simplify_subreg instead of operand_subword. * integreate.c (sub_constants): Likewise. * emit-rtl.c (constant_subword): Deprecate; remove most of code and use simplify_gen_subreg. Mon Jun 4 19:55:23 CEST 2001 Lars Brinkhoff <lars@nocrew.org> * sibcall.c (skip_copy_to_return_value): recognize the situation when the called function's return value is copied into an intermediate pseudo, and then into the calling functions return value register. From-SVN: r42864
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r--gcc/simplify-rtx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index aef9b55..574513f 100644
--- a/gcc/simplify-rtx.c
+++ b/gcc/simplify-rtx.c
@@ -2227,9 +2227,9 @@ simplify_subreg (outermode, op, innermode, byte)
&& GET_MODE_SIZE (innermode) > UNITS_PER_WORD
&& GET_MODE_CLASS (outermode) == MODE_INT)
{
- rtx new = operand_subword (op,
- (byte / UNITS_PER_WORD),
- 0, innermode);
+ rtx new = constant_subword (op,
+ (byte / UNITS_PER_WORD),
+ innermode);
if (new)
return new;
}