This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR83388


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.

LGTM otherwise.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]