Skip to contentSkip to conversation

__builtin_unreachable() and MOD_NORETURN

DISCUSSION Dan Carpenter 1 participant 1 message Nov 18, 2025 Sparse checker

lore
Share & tools
lore
#0 lore raw

I think it would be handy if the __builtin_unreachable() function were marked as a MOD_NORETURN. I'm not positive other people want that? Also I looked at how to implement it and I didn't see an easy way to do it.

regards,
dan carpenter