------- Comment #2 from hubicka at ucw dot cz  2008-04-01 00:15 -------
Subject: Re:  [4.4 Regression]: Revision 133759 breaks ia64

> 
> 
> ------- Comment #1 from wilson at tuliptree dot org  2008-03-31 22:42 -------
> Subject: Re:   New: [4.4 Regression]: Revision 133759
>  breaks ia64
> 
> hjl dot tools at gmail dot com wrote:
> > On Linux/ia64, I got
> > /net/gnu-13/export/gnu/src/gcc/gcc/gcc/emit-rtl.c: In function `init_emit':
> > /net/gnu-13/export/gnu/src/gcc/gcc/gcc/emit-rtl.c:5035: error: structure 
> > has no
> > member named `emit'
> 
> That isn't the only one broken.  Just grepping for cfun->emit, I see 
> that m32c and sparc are broken also.  There may also be others that are 
> broken, I haven't fully studied the patch yet.
> 
> It looks like
>      cfun->emit->regno_pointer_align
> is now
>      rtl.emit.regno_pointer_align
> And since rtl is apparently now static allocated, the old code
>      if (cfun && cfun->emit->regno_pointer_align)        \
> becomes
>      if (rtl.emit.regno_pointer_align)          \

Yes, you are right, there are three backends using emit directly (sparc,
m32c and ia64).  I've posted the patch for it to
http://gcc.gnu.org/ml/gcc-patches/2008-03/msg02043.html
If someone could confirm that it solves the ia-64 problem, I will commit
it.  I am currently out of reach of ia-64 boxes.

Honza


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35781

Reply via email to