[Bug tree-optimization/17016] [lno] ICE with struct passed as reference
rakdver at atrey dot karlin dot mff dot cuni dot cz
gcc-bugzilla@gcc.gnu.org
Mon Aug 23 07:53:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list