https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78049
--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Thu Jun 22 11:14:13 2017 New Revision: 249511 URL: https://gcc.gnu.org/viewcvs?rev=249511&root=gcc&view=rev Log: Backport r241380 2017-06-22 Martin Liska <mli...@suse.cz> Backport from mainline 2016-10-20 Martin Liska <mli...@suse.cz> PR lto/78049 * lto-streamer-in.c (fixup_call_stmt_edges_1): Replace value comparison with STMT_UID_NOT_IN_RANGE. (fixup_call_stmt_edges): Do not fixup edges of a thunk in LTRANS. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/lto-streamer-in.c