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] PR40605 Fix some issues with -fcheck=pointer


OK for trunk.

Thanks

Paul

On Thu, Jul 9, 2009 at 8:36 AM, Tobias Burnus<burnus@net-b.de> wrote:
> Dear all,
>
> the recently added -fcheck=pointer had a couple of issues:
>
> a) If the actual argument optional and absent, there was an ICE
> b) If the actual argument was a generic procedure, the wrong
> ? attributes were picked up (generic not specific) which could
> ? lead to an ICE
> c) If the argument associated with an OPTIONAL actual argument
> ? was not present, a segfault occured at run time
> d) Using intrinsic functions could lead to a segfault as
> ? sym->result was not set
>
> The attached patch fixes this, where especially (c) is a bit lengthy.
> I hope I have not missed anything.
>
> Build and regtested 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


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