* dojump.c (do_jump): Handle UNSAVE_EXPR specially.

From-SVN: r64791
This commit is contained in:
Jakub Jelinek 2003-03-24 12:43:21 +01:00 committed by Jakub Jelinek
parent 1134f4ace4
commit 2ff1fb45d5
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-03-24 Jakub Jelinek <jakub@redhat.com>
* dojump.c (do_jump): Handle UNSAVE_EXPR specially.
2003-03-24 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* doc/contrib.texi (Contributors): Update Janis Johnson.

View File

@ -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