This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: [GUPC] UPC-related front-end changes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]