[Patch, fortran, pr65889, v1] [6 Regressions] [OOP] ICE with sizeof a polymorphic variable
Paul Richard Thomas
paul.richard.thomas@gmail.com
Tue Oct 6 18:06:00 GMT 2015
Mikael - you beat me to it by a couple of hours :-)
Thanks, Andre!
Paul
On 6 October 2015 at 17:52, 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
--
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.
Groucho Marx
More information about the Fortran
mailing list