https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111856
--- Comment #8 from Drea Pinski <pinskia at gcc dot gnu.org> --- The main place to read up is the section on types. Basically a typedef of a void becomes a variant of void_type_node so a direct comparison against void_type_node no longer works so the easiest way to see if it is the type is a void type is compare the TREE_CODE of the type to VOID_TYPE. This is what VOID_TYPE_P does too.
