summaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-28 13:02:52 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-28 13:02:52 +0000
commitaf4ced458f1481d7d255b684c5d557bfae57d569 (patch)
treef6a5730e206725ab942a13db5d5ef3bf8e76e1bd /gcc/simplify-rtx.c
parent794134f487fe7555f188855babfaf7574ed9375c (diff)
downloadgcc-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.c3
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))