http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59947
--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> --- So far I was trying to make the users of ipa-devirt to not query ipa-devirt with -fno-devirtualize or at wrong time. With fold I guess it is only way to make it do nothing before we build the graph. So the patch is OK. Thanks!