From: Richard Biener Date: Thu, 15 Apr 2021 10:57:00 +0000 (+0200) Subject: Deprecate gimple-builder.h API X-Git-Tag: basepoints/gcc-12~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddcf111d0554c0cd4f80c1ce033af0304f8ff024;p=thirdparty%2Fgcc.git Deprecate gimple-builder.h API This adds a deprecation note to the undocumented gimple-builder.h API only used by asan and sancov. 2021-04-15 Richard Biener * gimple-builder.h: Add deprecation note. --- diff --git a/gcc/gimple-builder.h b/gcc/gimple-builder.h index 61cf08c8dcbc..ae273ce90417 100644 --- a/gcc/gimple-builder.h +++ b/gcc/gimple-builder.h @@ -21,6 +21,8 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_GIMPLE_BUILDER_H #define GCC_GIMPLE_BUILDER_H +/* ??? This API is legacy and should not be used in new code. */ + gassign *build_assign (enum tree_code, tree, int, tree lhs = NULL_TREE); gassign *build_assign (enum tree_code, gimple *, int, tree lhs = NULL_TREE); gassign *build_assign (enum tree_code, tree, tree, tree lhs = NULL_TREE);