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

2011-07-01 Thread Gary Funck
On 07/01/11 22:42:55, Jakub Jelinek wrote: > 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; > > + /*

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

2011-07-01 Thread Gary Funck
On 07/01/11 19:28:34, Joseph S. Myers wrote: > On Fri, 1 Jul 2011, Gary Funck wrote: > GF: * Most of the #ifdef conditionals have been removed. Some target macros > GF: have been defined and documented in tm.texi. We still have some questions > > [...] > I looked at the first

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

2011-07-01 Thread Gary Funck
On 07/02/11 00:06:07, Jakub Jelinek wrote: > Yes, look at DECL_VALUE_EXPR/SET_DECL_VALUE_EXPR/DECL_HAS_VALUE_EXPR_P > or DECL_DEBUG_EXPR/SET_DECL_DEBUG_EXPR/DEBUG_EXPR_IS_FROM. OK, thanks. The UPC front end will be changed use a similar method to encode UPC's block size.

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

2011-07-01 Thread Gary Funck
On 07/01/11 16:39:55, Mike Stump wrote: > You can use that to allocate additional data for the frontend's exclusive > use. > See the C++ frontend, it uses language specific data. :-) Heh. It sounds like this language-specific hook works well for language front-ends that aren't sharing the logi

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

2011-07-02 Thread Gary Funck
On 07/02/11 15:21:32, Joseph S. Myers wrote: [...] > In general configure options aren't really a good idea in many cases: > > * If something is always best on a particular architecture, maybe you want > a target hook (not macro) rather than a configure option, with the target > hook being set a

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

2011-07-02 Thread Gary Funck
Off list, Mike S. pointed out that the Objective C front-end uses the lang-specific extensions to GCC's tree node, and it shares logic with the C and C++ front ends. Therefore, the lang-specific extensions might offer an alternative approach for storing UPC's layout qualifier. The current plan, h

[patch] c-decl.c(grokdeclarator) trivial formating fixes

2011-03-31 Thread Gary Funck
e by inspection.) - Gary Index: ChangeLog === --- ChangeLog (revision 171815) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2011-04-01 Gary Funck + + * c-decl.c (grokdeclarator): Fix formatting. + 2011-03-3

<    1   2