https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123892
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Torbjorn Svensson <[email protected]>: https://gcc.gnu.org/g:6b228f02ef7fa58e962486356b5a6716fd99a6b0 commit r16-7349-g6b228f02ef7fa58e962486356b5a6716fd99a6b0 Author: Torbjörn SVENSSON <[email protected]> Date: Wed Feb 4 10:31:04 2026 +0100 middle-end: replace CONST_CAST_TREE with const_cast<tree> [PR123892] gcc/ChangeLog: PR middle-end/123892 * attribs.cc: Replace CONST_CAST_TREE with const_cast<tree>. * config/aarch64/aarch64.cc: Likewise. * config/arm/arm.cc: Likewise. * config/darwin.cc: Likewise. * fold-const.cc: Likewise. * gimple-expr.cc: Likewise. * print-rtl.cc: Likewise. * tree-object-size.cc: Likewise. * tree.cc: Likewise. * varasm.cc: Likewise. * tree.h: Likewise. gcc/c-family/ChangeLog: PR middle-end/123892 * c-gimplify.cc: Replace CONST_CAST_TREE with const_cast<tree>. gcc/cp/ChangeLog: PR middle-end/123892 * call.cc: Replace CONST_CAST_TREE with const_cast<tree>. * constraint.cc: Likewise. * cp-lang.cc: Likewise. * cp-tree.h: Likewise. * cp-objcp-common.cc: Likewise. * decl.cc: Likewise. * init.cc: Likewise. * pt.cc: Likewise. * reflect.cc: Likewise. * tree.cc: Likewise. * typeck.cc: Likewise. * typeck2.cc: Likewise. gcc/lto/ChangeLog: PR middle-end/123892 * lto-common.cc: Replace CONST_CAST_TREE with const_cast<tree>. gcc/rust/ChangeLog: PR middle-end/123892 * backend/rust-tree.cc: Replace CONST_CAST_TREE with const_cast<tree>. Signed-off-by: Torbjörn SVENSSON <[email protected]>
