This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix loop.c for targets without HAVE_prefetch
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: "H . J . Lu" <hjl at lucon dot org>
- Cc: gcc-patches at gcc dot gnu dot org, janis187 at us dot ibm dot com
- Date: Wed, 23 Jan 2002 09:22:07 -0800
- Subject: Re: PATCH: Fix loop.c for targets without HAVE_prefetch
- References: <20020122201247.A27302@lucon.org>
On Tue, Jan 22, 2002 at 08:12:47PM -0800, H . J . Lu wrote:
> This patch
>
> http://gcc.gnu.org/ml/gcc-patches/2002-01/msg01393.html
>
> breaks targets without HAVE_prefetch defined. On mips, I got
>
> /home/hjl/work/gnu/src/gcc/gcc/gcc/loop.c:4026: `CODE_FOR_prefetch' undeclared
> (first use in this function)
> /home/hjl/work/gnu/src/gcc/gcc/gcc/loop.c:4026: (Each undeclared identifier is
> reported only once
> /home/hjl/work/gnu/src/gcc/gcc/gcc/loop.c:4026: for each function it appears
> in.)
> make[4]: *** [loop.o] Error 1
>
> This patch seems to work for me.
Also see the one I just sent in:
http://gcc.gnu.org/ml/gcc-patches/2002-01/msg01617.html.
Janis