This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: [GUPC] UPC-related front-end changes
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Gary Funck <gary at intrepid dot com>
- Cc: Gcc Patches <gcc-patches at gcc dot gnu dot org>, Joseph Myers <joseph at codesourcery dot com>, Richard Henderson <rth at redhat dot com>, Tom Tromey <tromey at redhat dot com>
- Date: Fri, 1 Jul 2011 22:42:55 +0200
- Subject: Re: RFC: [GUPC] UPC-related front-end changes
- References: <20100708061704.GA8748@intrepid.com> <20110701183145.GD6262@intrepid.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Jul 01, 2011 at 11:31:45AM -0700, Gary Funck wrote:
> @@ -2405,6 +2469,9 @@ struct GTY(()) tree_type_common {
> alias_set_type alias_set;
> tree pointer_to;
> tree reference_to;
> + /* UPC: for block-distributed arrays */
> + tree block_factor;
>
I think this is undesirable. Using a single bit and looking
it up in a hash table might be a better solution, the vast majority
of the types aren't going to be UPC block distributed arrays.
Jakub