Re: [PATCH] Fix PR83388

2017-12-15 Thread Richard Biener
On Fri, 15 Dec 2017, Jakub Jelinek wrote: > On Fri, Dec 15, 2017 at 11:08:43AM +0100, Richard Biener wrote: > > --- gcc/internal-fn.def (revision 255678) > > +++ gcc/internal-fn.def (working copy) > > @@ -254,6 +254,9 @@ DEF_INTERNAL_FN (LAUNDER, ECF_LEAF | ECF > > /* Divmod function. */

Re: [PATCH] Fix PR83388

2017-12-15 Thread Jakub Jelinek
On Fri, Dec 15, 2017 at 11:08:43AM +0100, Richard Biener wrote: > --- gcc/internal-fn.def (revision 255678) > +++ gcc/internal-fn.def (working copy) > @@ -254,6 +254,9 @@ DEF_INTERNAL_FN (LAUNDER, ECF_LEAF | ECF > /* Divmod function. */ > DEF_INTERNAL_FN (DIVMOD, ECF_CONST | ECF_LEAF

[PATCH] Fix PR83388

2017-12-15 Thread Richard Biener
The following fixes removal of sanitizer IFN calls during LTO streaming in when not linking with -fsanitize= to not interfer with IPA reference nodes that might be attached to those stmts. The easiest idea I could come up with that would also work with IPA passes refering to those refs is to repl