https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83388
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Fri Dec 15 13:43:30 2017 New Revision: 255694 URL: https://gcc.gnu.org/viewcvs?rev=255694&root=gcc&view=rev Log: 2017-12-15 Richard Biener <rguent...@suse.de> PR lto/83388 * internal-fn.def (IFN_NOP): Add. * internal-fn.c (expand_NOP): Do nothing. * lto-streamer-in.c (input_function): Instead of removing sanitizer calls replace them with IFN_NOP calls. * gcc.dg/lto/pr83388_0.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/lto/pr83388_0.c Modified: trunk/gcc/ChangeLog trunk/gcc/internal-fn.c trunk/gcc/internal-fn.def trunk/gcc/lto-streamer-in.c trunk/gcc/testsuite/ChangeLog