aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2016-04-01 12:57:52 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2016-04-01 12:57:52 +0000
commit9553dd73e12101952610efe89be599e06d999aee (patch)
tree889232ea4bc2fc5bd4de52aad5dcf75ce250c9f6 /gcc
parent73b9085d707cb18d66c0365fafa569039b7fa444 (diff)
downloadgcc-9553dd73e12101952610efe89be599e06d999aee.zip
gcc-9553dd73e12101952610efe89be599e06d999aee.tar.gz
gcc-9553dd73e12101952610efe89be599e06d999aee.tar.bz2
* tree.def (TRY_CATCH_EXPR): Correct documentation.
From-SVN: r234671
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree.def6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 123987e..93db5c6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2016-04-01 Nathan Sidwell <nathan@acm.org>
+
+ * tree.def (TRY_CATCH_EXPR): Correct documentation.
+
2016-03-31 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/70461
diff --git a/gcc/tree.def b/gcc/tree.def
index 2355a7c..44130d7 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)