This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Make the C front-end produce &a[0]
- From: Richard Henderson <rth at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 15 Oct 2004 12:22:31 -0700
- Subject: Re: [PATCH] Make the C front-end produce &a[0]
- References: <7D46DC04-1EB9-11D9-9E71-000A95D692F4@physics.uc.edu>
On Fri, Oct 15, 2004 at 10:50:00AM -0400, Andrew Pinski wrote:
> * c-typeck.c (default_function_array_conversion): Always create
> &a[0] for array types.
> (build_unary_op): Do not fold &a[x] into a + x.
Ok.
r~