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 2/5] Make tree-complex.c:extract_component() handle V_C_Es


On Tue, Apr 28, 2009 at 01:43:16PM +0200, Richard Guenther wrote:
> On Tue, 28 Apr 2009, Martin Jambor wrote:
> 
> > Currently     tree-complex.c:extract_component()     cannot     handle
> > VIEW_CONVERT_EXPRs  which  makes  the  new SRA  ICE  during  bootstrap
> > (IIRC).  This seems to be an ommision so I added a label for this code
> > so that they are handled just like other handled components.
> > 
> > Thanks,
> 
> Ok.
> 
> Thanks,
> Richard.

Re-bootstrapped, re-tested and committed as revision 147733.

Thanks,

Martin

> 
> > 2009-04-27  Martin Jambor  <mjambor@suse.cz>
> > 
> > 	* tree-complex.c (extract_component): Added VIEW_CONVERT_EXPR switch
> > 	case.
> > 
> > 
> > Index: mine/gcc/tree-complex.c
> > ===================================================================
> > --- mine.orig/gcc/tree-complex.c	2009-04-25 19:11:37.000000000 +0200
> > +++ mine/gcc/tree-complex.c	2009-04-25 19:11:47.000000000 +0200
> > @@ -601,6 +601,7 @@ extract_component (gimple_stmt_iterator 
> >      case INDIRECT_REF:
> >      case COMPONENT_REF:
> >      case ARRAY_REF:
> > +    case VIEW_CONVERT_EXPR:
> >        {
> >  	tree inner_type = TREE_TYPE (TREE_TYPE (t));


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