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. */ > > DEF_INTERNAL_FN (DIVMOD, ECF_CONST | ECF_LEAF, NULL) > > > > +/* A NOP function with aribtrary arguments and return value. */ > > arbitrary > > > +static void > > +expand_NOP (internal_fn, gcall *call_stmt) > > +{ > > + /* Nothing. But it shouldn't really prevail. */ > > It could with -O0 (but who would use -flto -O0) or with -fno-tree-dce > -fno-tree-whateverelse.
Yeah, with the -O0 variant of the testcase it does prevail and then we expand it to nothing. Richard.