From: Ville Voutilainen Date: Wed, 14 May 2025 13:39:09 +0000 (+0300) Subject: Remove a sanity check comment now that the sanity check has been removed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=871099ae65a4f528496c7550331364866f9806bb;p=thirdparty%2Fgcc.git Remove a sanity check comment now that the sanity check has been removed gcc/cp/ChangeLog: * cp-gimplify.cc (cp_fold): Remove a remnant comment. --- diff --git a/gcc/cp/cp-gimplify.cc b/gcc/cp/cp-gimplify.cc index 4e5d383daeb..eab55504b05 100644 --- a/gcc/cp/cp-gimplify.cc +++ b/gcc/cp/cp-gimplify.cc @@ -3347,8 +3347,6 @@ cp_fold (tree x, fold_flags_t flags) || id_equal (DECL_NAME (callee), "as_const"))) { r = CALL_EXPR_ARG (x, 0); - /* Check that the return and argument types are sane before - folding. */ if (!same_type_p (TREE_TYPE (x), TREE_TYPE (r))) r = build_nop (TREE_TYPE (x), r); x = cp_fold (r, flags);