https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85001
--- Comment #3 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #2) > gfortran-8 changed at r254604 (pr78814). > gfortran-7 changed at r256646. > gfortran-6 changed at r256647. Remove myself from CC list. My patches prevent a NULL pointer dereference, which force the compiler to take a different path. Whoever wrote the CLASS_DATA() macro and abused it needs to fix the alternative path.