diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2022-02-03 21:12:21 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2022-02-03 21:14:10 +0100 |
commit | 7eef766dc5a8abda2ca2cf8d535cdf160f40b50c (patch) | |
tree | f85ed9010c56dc8f250d7cba5761b4eae58f2a42 /gcc/rust/backend/rust-compile-expr.cc | |
parent | 5199ecb8519c4c5f92160365cefe8e0aa1ca3873 (diff) | |
parent | ff7aeceb6b3a476c3bac66a7f39a5ef4240206fc (diff) | |
download | gcc-7eef766dc5a8abda2ca2cf8d535cdf160f40b50c.zip gcc-7eef766dc5a8abda2ca2cf8d535cdf160f40b50c.tar.gz gcc-7eef766dc5a8abda2ca2cf8d535cdf160f40b50c.tar.bz2 |
Merge commit 'ff7aeceb6b3a476c3bac66a7f39a5ef4240206fc' [#247, #906]
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.cc')
-rw-r--r-- | gcc/rust/backend/rust-compile-expr.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/backend/rust-compile-expr.cc b/gcc/rust/backend/rust-compile-expr.cc index ae4a841..d61a568 100644 --- a/gcc/rust/backend/rust-compile-expr.cc +++ b/gcc/rust/backend/rust-compile-expr.cc @@ -187,7 +187,7 @@ CompileExpr::visit (HIR::MatchExpr &expr) Operand 1 is CASE_HIGH. If it is NULL_TREE, the label is a simple (one-value) case label. If it is non-NULL_TREE, the case is a range. Operand 2 is CASE_LABEL, which has the corresponding LABEL_DECL. - Operand 3 is CASE_CHAIN. This operand is only used in tree-cfg.c to + Operand 3 is CASE_CHAIN. This operand is only used in tree-cfg.cc to speed up the lookup of case labels which use a particular edge in the control flow graph. */ // DEFTREECODE (CASE_LABEL_EXPR, "case_label_expr", tcc_statement, 4) @@ -1128,7 +1128,7 @@ CompileExpr::array_copied_expr (Location expr_locus, const TyTy::ArrayType &array_tyty, tree array_type, HIR::ArrayElemsCopied &elems) { - // see gcc/cp/typeck2.c:1369-1401 + // see gcc/cp/typeck2.cc:1369-1401 gcc_assert (TREE_CODE (array_type) == ARRAY_TYPE); tree domain = TYPE_DOMAIN (array_type); if (!domain) |