public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Fwd: [Bug fortran/54286] [4.8 Regression] Accepts invalid proc-pointer assignments involving proc-ptr function result
       [not found] ` <bug-54286-10374-cV3eGTkmj0@http.gcc.gnu.org/bugzilla/>
@ 2013-01-15  5:32   ` Paul Richard Thomas
  0 siblings, 0 replies; only message in thread
From: Paul Richard Thomas @ 2013-01-15  5:32 UTC (permalink / raw)
  To: fortran, gcc-patches

Dear,

I missed the null interface case in the fix for PR54286.  The fix is
'obvious' and 'safe'.

Thanks to Dominique for identifying the problem and the fix.

Cheers

Paul

Author: pault
Date: Tue Jan 15 05:29:01 2013
New Revision: 195185

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195185
Log:
2013-01-15  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/54286
    * expr.c (gfc_check_pointer_assign): Check for presence of
    's2' before using it.

2013-01-15  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/54286
    * gfortran.dg/proc_ptr_result_8.f90 : Add module 'm' to check
    case where interface is null.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_result_8.f90

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-15  5:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-54286-10374@http.gcc.gnu.org/bugzilla/>
     [not found] ` <bug-54286-10374-cV3eGTkmj0@http.gcc.gnu.org/bugzilla/>
2013-01-15  5:32   ` Fwd: [Bug fortran/54286] [4.8 Regression] Accepts invalid proc-pointer assignments involving proc-ptr function result Paul Richard Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).