diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-28 13:02:52 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-28 13:02:52 +0000 |
commit | af4ced458f1481d7d255b684c5d557bfae57d569 (patch) | |
tree | f6a5730e206725ab942a13db5d5ef3bf8e76e1bd /gcc/simplify-rtx.c | |
parent | 794134f487fe7555f188855babfaf7574ed9375c (diff) | |
download | gcc-af4ced458f1481d7d255b684c5d557bfae57d569.tar.gz |
PR rtl-optimization/18420
* simplify-rtx.c (simplify_gen_subreg): Revert 2004-10-28 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91419 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 52c0cffb87b..75bf42afbd4 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -3782,8 +3782,7 @@ simplify_gen_subreg (enum machine_mode outermode, rtx op, if (newx) return newx; - if (GET_CODE (op) == SUBREG || GET_MODE (op) == VOIDmode - || (REG_P (op) && REGNO (op) < FIRST_PSEUDO_REGISTER)) + if (GET_CODE (op) == SUBREG || GET_MODE (op) == VOIDmode) return NULL_RTX; if (validate_subreg (outermode, innermode, op, byte)) |