This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Don't optimize away calls to looping pure builtins (PR middle-end/44974)
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 20 Aug 2010 11:48:12 -0700
- Subject: Re: [PATCH] Don't optimize away calls to looping pure builtins (PR middle-end/44974)
- References: <20100820181409.GG702@tyan-ft48-01.lab.bos.redhat.com>
On 08/20/2010 11:14 AM, Jakub Jelinek wrote:
> PR middle-end/44974
> * builtins.c (expand_builtin): Don't optimize away
> calls to DECL_LOOPING_CONST_OR_PURE_P builtins.
>
> * gcc.dg/pr44974.c: New test.
Ok.
r~