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: [PATCH 1/7] Fix GTY markup of u2


Hi,

On Sat, 10 May 2014, Mike Stump wrote:

> > The rtx u2 field currently uses a desc/tag pair for GTY.  This seems
> > unnecessary though,
> 
> > OK to install?
> 
> Ick.  I don’t favor skip.  The change feels like a premature 
> optimization that doesn’t net any code gen benefit.  I’ll defer to a gty 
> person if they prefer skip.

The skip is necessary, otherwise union members of GTY structs are required 
to have a 'desc' (and their members in turn are required to have a 'tag').  
So it's either the skip or the desc/tag pair.  The code-gen difference is 
one empty (but two-cased) switch statement less.


Ciao,
Michael.

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