[PATCH 2/5] Make tree-complex.c:extract_component() handle V_C_Es

Martin Jambor mjambor@suse.cz
Wed May 20 10:20:00 GMT 2009


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));



More information about the Gcc-patches mailing list