From f7c99751c37cfb690d4ef016fb095226784bc3a8 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 1 Apr 2016 12:57:52 +0000 Subject: [PATCH] * tree.def (TRY_CATCH_EXPR): Correct documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234671 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/tree.def | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 123987ead6d7..93db5c6cf0b8 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 2355a7c0fe3e..44130d7c77fb 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.47.3