This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] use XALLOCAVEC in Ada FE
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 7 Aug 2010 22:35:25 +0200
- Subject: Re: [PATCH] use XALLOCAVEC in Ada FE
- References: <20100807201813.GL17362@codesourcery.com>
> This makes converts several alloca calls to their XALLOCAVEC
> equivalents. The only possibly sketchy changes are to
> env.c:__gnat_setenv; I don't have a VMS machine to test those on.
Isn't XALLOCAVEC a host/gcc macro? If so, this is not OK, since env.c is
both a host (for the compiler) and a target (for the run-time) source.
The gigi changes (gcc-interface) look OK to me.
Arno