https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldyh at gcc dot gnu.org, | |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I'm afraid the amount of code in the wild that assumes that &ptr->first_member == NULL for ptr == NULL is huge in real-world code, so I'm not sure if we can afford to fold such comparisons to false. But perhaps the threader shouldn't thread such paths because we should consider them extremely unlikely.