This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR83388
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Biener <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Dec 2017 11:26:26 +0100
- Subject: Re: [PATCH] Fix PR83388
- Authentication-results: sourceware.org; auth=none
- References: <alpine.LSU.2.20.1712151105070.12252@zhemvz.fhfr.qr>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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