https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614
--- Comment #32 from Martin Jambor <jamborm at gcc dot gnu.org> --- Created attachment 61119 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61119&action=edit Fixed WIP patch Right, I forgot to modify output_cgraph_opt_summary_p as well, which was not necessary for the small testcase but is for the one prepared for the testsuite (and there was another unfinished undo in ipa_return_value_range, as you noticed, thanks also for the formatting fixes). This one does fix the testcase from comment #20.