https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88273
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Yes you have -fno-delete-null-pointer-checks but that just will not cause an trap to happen. Can you attach the original preprocessed source because that will help to decide if this is a valid warning or not?