On Wed, Jul 9, 2025 at 4:37 AM Alex (Waffl3x) <waff...@baylibre.com> wrote:
>

 /* Nonzero in a _DECL if the use of the name is defined as an
    unavailable feature by __attribute__((unavailable)).  */
 #define TREE_UNAVAILABLE(NODE) \
-  ((NODE)->base.u.bits.unavailable_flag)
+  ((TREE_CHECK_BITS_AVAILABLE (NODE))->base.u.bits.unavailable_flag)

the comment suggests we should use DECL_MINIMAL_CHECK (...) which I think
covers bits availability.

Otherwise this looks good to me.

Thanks,
Richard.

Reply via email to