From 9553dd73e12101952610efe89be599e06d999aee Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Fri, 1 Apr 2016 12:57:52 +0000 Subject: [PATCH] * tree.def (TRY_CATCH_EXPR): Correct documentation. From-SVN: r234671 --- gcc/ChangeLog | 4 ++++ gcc/tree.def | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 123987ead6d..93db5c6cf0b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-04-01 Nathan Sidwell + + * tree.def (TRY_CATCH_EXPR): Correct documentation. + 2016-03-31 Vladimir Makarov PR rtl-optimization/70461 diff --git a/gcc/tree.def b/gcc/tree.def index 2355a7c0fe3..44130d7c77f 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -870,10 +870,10 @@ DEFTREECODE (POSTINCREMENT_EXPR, "postincrement_expr", tcc_expression, 2) /* Used to implement `va_arg'. */ DEFTREECODE (VA_ARG_EXPR, "va_arg_expr", tcc_expression, 1) -/* Evaluate operand 1. If and only if an exception is thrown during - the evaluation of operand 1, evaluate operand 2. +/* Evaluate operand 0. If and only if an exception is thrown during + the evaluation of operand 0, evaluate operand 1. - This differs from TRY_FINALLY_EXPR in that operand 2 is not evaluated + This differs from TRY_FINALLY_EXPR in that operand 1 is not evaluated on a normal or jump exit, only on an exception. */ DEFTREECODE (TRY_CATCH_EXPR, "try_catch_expr", tcc_statement, 2) -- 2.30.2