* tree.def (TRY_CATCH_EXPR): Correct documentation.
authorNathan Sidwell <nathan@acm.org>
Fri, 1 Apr 2016 12:57:52 +0000 (12:57 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 1 Apr 2016 12:57:52 +0000 (12:57 +0000)
From-SVN: r234671

gcc/ChangeLog
gcc/tree.def

index 123987ead6d71c610de60d2825d6ab65b38ad838..93db5c6cf0b8c8f7f28fe8bf8b4a28e02378919f 100644 (file)
@@ -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
index 2355a7c0fe3e0ec7d365f6dacf9ec2fc78d1f919..44130d7c77fb01dcfbb6ced88b9e2e4ca6044338 100644 (file)
@@ -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)