This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/17016] [lno] ICE with struct passed as reference


------- Additional Comments From rakdver at atrey dot karlin dot mff dot cuni dot cz  2004-08-23 07:53 -------
Subject: Re:  [lno] ICE with struct passed as reference

> ------- Additional Comments From reichelt at igpm dot rwth-aachen dot de  2004-08-23 07:49 -------
> Subject: Re:  [lno] ICE with struct passed as
>  reference
> 
> On 23 Aug, rakdver at gcc dot gnu dot org wrote:
> > 
> > ------- Additional Comments From rakdver at gcc dot gnu dot org  2004-08-23 07:43 -------
> > Patch:
> > 
> > http://gcc.gnu.org/ml/gcc-patches/2004-08/msg01729.html
> > 
> > Fixed on lno, the bug is also latently present in mainline.
> 
> Zdenek, your patch looks somewhat suspicious to me:
> 
> First you replace
> !   if (TREE_CODE (type) == POINTER_TYPE)
> by
> !   if (POINTER_TYPE_P (type))
> 
> and then you replace
> !     && TREE_CODE (type) != POINTER_TYPE)
> by
> !     && POINTER_TYPE_P (type))
> 
> Isn't there a "!" missing?

sure.  Grr....

Zdenek


-- 


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


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