[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-fortran
Subject: Re: [Patch,Fortran] PR46122 Make PROTECT check less strict
From: Paul Richard Thomas <paul.richard.thomas () gmail ! com>
Date: 2010-10-23 12:56:21
Message-ID: AANLkTimuj2iOrP8V85zp0FqXJh8Sw=jTrU6DvfmCa7CQ () mail ! gmail ! com
[Download RAW message or body]
Dear Tobias,
I saw the thread on clf. Thanks for fixing it so quickly.
OK for trunk.
Paul
On Sat, Oct 23, 2010 at 2:48 PM, Tobias Burnus <burnus@net-b.de> wrote:
> Currently, GCC rejects
>
> protected_pointer%pointer%var = 5
>
> as the "protected_pointer" is protected. However, that only protects the
> pointer association status - but the example does not modify it - only the
> target of the pointer is modified, which is valid.
>
> The solution is to do the same as with INTENT: Don't continue checking as
> soon as there is component-ref with a pointer component involved (which is
> not the last component-ref).
>
> Build and currently regtesting on x86-64-linux.
> OK for the trunk?
>
> Tobias
>
--
The knack of flying is learning how to throw yourself at the ground and miss.
--Hitchhikers Guide to the Galaxy
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic