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

Re: [Patch, fortran] PR56008 (and PR47517) [F03] wrong code with lhs-realloc on assignment with derived types having allocatable components


Committed revision 195741.

Thanks for the review.

Paul

On 28 January 2013 22:18, Thomas Koenig <tkoenig@netcologne.de> wrote:
> Hi Paul,
>
>
>> This patch is sufficiently straightforward that the ChangeLog entry
>> describes it completely.  The fix for both bugs lay in the
>> nullification of the allocatable components of the newly (re)allocated
>> array.
>
>
> I think this fix is OK for trunk, for the reasons you mentioned.  I also
> think it is straightforward enough (bordering on the obvious, but only
> after having read it :-) that it does not carry too much risk of a
> regression.
>
> So yes, OK from my side, unless somebody speaks up really quickly.
>
>         Thomas



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy


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