https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70366
--- Comment #6 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Sat Mar 26 10:08:47 2016 New Revision: 234490 URL: https://gcc.gnu.org/viewcvs?rev=234490&root=gcc&view=rev Log: 2016-03-26 Richard Biener <rguent...@suse.de> Prathamesh Kulkarni <prathamesh.kulka...@linaro.org> PR ipa/70366 * ipa-inline-transform.c (inline_call): Pass opts_for_fn (to->decl) instead of TREE_OPTIMIZATION (DECL_FUNCTION_SPECIFIC_OPTIMIZATION (to->decl)) as 2nd argument to cl_optimization_restore(). Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-inline-transform.c