summaryrefslogtreecommitdiffstats
path: root/gcc/dojump.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-24 11:43:21 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-24 11:43:21 +0000
commite5bb8cbf03ca933d1f199c657cad33919e964f27 (patch)
treea2c14fef711e6b4d37a47ae735cd0dbff11070e2 /gcc/dojump.c
parent75b6192e6f26b3c66cc89baed9b239038a6d6f17 (diff)
downloadppe42-gcc-e5bb8cbf03ca933d1f199c657cad33919e964f27.tar.gz
ppe42-gcc-e5bb8cbf03ca933d1f199c657cad33919e964f27.zip
* dojump.c (do_jump): Handle UNSAVE_EXPR specially.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64791 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dojump.c')
-rw-r--r--gcc/dojump.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/dojump.c b/gcc/dojump.c
index d028769223b..14fed968f32 100644
--- a/gcc/dojump.c
+++ b/gcc/dojump.c
@@ -160,6 +160,12 @@ do_jump (exp, if_false_label, if_true_label)
break;
#endif
+ case UNSAVE_EXPR:
+ do_jump (TREE_OPERAND (exp, 0), if_false_label, if_true_label);
+ TREE_OPERAND (exp, 0)
+ = (*lang_hooks.unsave_expr_now) (TREE_OPERAND (exp, 0));
+ break;
+
case NOP_EXPR:
if (TREE_CODE (TREE_OPERAND (exp, 0)) == COMPONENT_REF
|| TREE_CODE (TREE_OPERAND (exp, 0)) == BIT_FIELD_REF
OpenPOWER on IntegriCloud