https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534
--- Comment #2 from rguenther at suse dot de <rguenther at suse dot de> --- On January 30, 2016 8:37:59 AM GMT+01:00, "pinskia at gcc dot gnu.org" <gcc-bugzi...@gcc.gnu.org> wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534 > >--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >Try using -fno-delete-null-pointer-checks, a lot of C++ code violates >the rule >about calling a class method with a null pointer. I did. It doesn't help. Neither does disabling devirtualization.