https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12392
--- Comment #33 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Mar 30 07:47:40 2016 New Revision: 234546 URL: https://gcc.gnu.org/viewcvs?rev=234546&root=gcc&view=rev Log: 2016-03-30 Michael Matz <m...@suse.de> Richard Biener <rguent...@suse.de> PR ipa/12392 * ipa-polymorphic-call.c (struct type_change_info): Change speculative to an unsigned allowing to limit the work we do. (csftc_abort_walking_p): New inline function.. (check_stmt_for_type_change): Limit the number of may-defs skipped for speculative devirtualization to max-speculative-devirt-maydefs. * params.def (max-speculative-devirt-maydefs): New param. * doc/invoke.texi (--param max-speculative-devirt-maydefs): Document. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi trunk/gcc/ipa-polymorphic-call.c trunk/gcc/params.def