This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fortran patch] Don't use TREE_LISTs for storing arguments to intrinsic functions
- From: "Lee Millward" <lee dot millward at gmail dot com>
- To: "Michael Meissner" <michael dot meissner at amd dot com>, fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 7 Jul 2007 17:41:05 +0100
- Subject: Re: [fortran patch] Don't use TREE_LISTs for storing arguments to intrinsic functions
- References: <9784d3ab0705081537jcb70109g962f91caf5c6ca97@mail.gmail.com> <9784d3ab0705101534x2c7849eeh93e03afc7bda71d7@mail.gmail.com> <4643A623.6000706@codesourcery.com> <9784d3ab0705271210l5c836055wf01b439ff2a2ac23@mail.gmail.com> <4663B7A0.8050802@codesourcery.com> <4.3.1.2.20070604112111.02f91f08@cits1.stanford.edu> <49F9D4F6-C730-4517-86D8-CED39CE5D6BC@gmail.com> <9784d3ab0706060421h1c88d5f4r411deee1f5b5eba9@mail.gmail.com> <9784d3ab0707051416g4312d36eteae7dde1fc5d4290@mail.gmail.com> <20070706153642.GA5717@mmeissner-gold.amd.com>
Hi,
On 7/6/07, Michael Meissner <michael.meissner@amd.com> wrote:
When I was doing the infrastructure work to remove the knowledge that arguments
used TREE_LIST's in the backends, I noticed the overloaded machine specific
intrinsic support for C/C++ was another place to be changed. I was just about
to start hacking on the front ends to get them to use a common infrastructure
for arguments and use vector support. You might glance over to my patches to
see if the infrastructure support in tree.h is sufficient to your needs:
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00445.html
What this patch is doing is not changing the actual representation of
the arguments in the front-end as your work has been for the
back-ends, but rather to modify the front-end so that it doesn't need
to construct a temporary TREE_LIST for the processed arguments in
favour of using argument arrays so, unfortunately, the infrastructure
changes you have made to support your work are not applicable in this
particular instance.
Cheers,
Lee.