$NetBSD: patch-gcc_tree.h,v 1.2 2025/02/08 14:05:03 wiz Exp $ LTO compilation error --- gcc/tree.h.orig 2023-07-27 11:13:07.000000000 +0300 +++ gcc/tree.h @@ -1299,7 +1299,7 @@ extern void protected_set_expr_location (tree, location_t); extern void protected_set_expr_location_if_unset (tree, location_t); -ATTRIBUTE_WARN_UNUSED_RESULT +WARN_UNUSED_RESULT extern tree protected_set_expr_location_unshare (tree, location_t); WARN_UNUSED_RESULT extern tree maybe_wrap_with_location (tree, location_t);