[Patch, fortran, pr65889, commited] [6 Regressions] [OOP] ICE with sizeof a polymorphic variable
Andre Vehreschild
vehre@gmx.de
Wed Oct 7 11:00:00 GMT 2015
Hi Mikael, hi Paul, hi all,
Mikael, Paul: Thanks for timely review.
Committed as r228566.
Regards,
Andre
On Tue, 6 Oct 2015 17:52:55 +0200
Mikael Morin <mikael.morin@sfr.fr> wrote:
> Le 06/10/2015 16:22, Andre Vehreschild a écrit :
> > Hi all,
> >
> > the attached patch fixes a 6 regression when the argument of sizeof()
> > is a pointer to a class object, e.g., when the class object is
> > intent(out). The patch improves the check if the parameter is a
> > class object by previously checking whether the argument is the plain
> > object or a pointer to one and using TREE_OPERAND() once or twice,
> > respectively.
> >
> > Bootstraps and regtests ok on x86_64-linux-gnu/f21.
> >
> > Ok for trunk?
> >
> Ok. Thanks.
>
> Mikael
--
Andre Vehreschild * Email: vehre ad gmx dot de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 2617 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20151007/508b7a20/attachment.bin>
More information about the Fortran
mailing list