summaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-17 14:33:37 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-17 14:33:37 +0000
commitbf78c7a86db8736fb8f83de9c42875e74c52f8e5 (patch)
tree8f36d5f3dae5405b232a966c1cf6d0f1b14887ed /gcc/simplify-rtx.c
parent6625191c7abb94b9ed67bca4de192faf58510462 (diff)
downloadgcc-bf78c7a86db8736fb8f83de9c42875e74c52f8e5.tar.gz
* simplify-rtx.c (simplify_unary_operation): Add cases
FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36471 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r--gcc/simplify-rtx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index 0091d727092..1e130768eed 100644
--- a/gcc/simplify-rtx.c
+++ b/gcc/simplify-rtx.c
@@ -389,6 +389,8 @@ simplify_unary_operation (code, mode, op, op_mode)
break;
case SQRT:
+ case FLOAT_EXTEND:
+ case FLOAT_TRUNCATE:
return 0;
default: