[Bug fortran/84504] [F08] procedure pointer variables cannot be initialized with functions returning pointers

2019-03-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84504 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--

[Bug fortran/84504] [F08] procedure pointer variables cannot be initialized with functions returning pointers

2019-03-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84504 --- Comment #9 from janus at gcc dot gnu.org --- Author: janus Date: Sat Mar 9 18:25:39 2019 New Revision: 269529 URL: https://gcc.gnu.org/viewcvs?rev=269529&root=gcc&view=rev Log: fix PR 84504 2019-03-09 Janus Weil PR fortran/84504

[Bug fortran/84504] [F08] procedure pointer variables cannot be initialized with functions returning pointers

2019-03-09 Thread nmsriram at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84504 --- Comment #8 from nmsriram at gmail dot com --- Thank you! I had given up on this. :-) Sriram On Sat, Mar 9, 2019 at 7:48 PM janus at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84504 > > -

[Bug fortran/84504] [F08] procedure pointer variables cannot be initialized with functions returning pointers

2019-03-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84504 --- Comment #7 from janus at gcc dot gnu.org --- The following patch fixes the problem and shows no regressions on x86_64-linux-gnu: diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c index 51552a79cde..4e95f243661 100644 --- a/gcc/fortran/expr

[Bug fortran/84504] [F08] procedure pointer variables cannot be initialized with functions returning pointers

2019-03-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84504 janus at gcc dot gnu.org changed: What|Removed |Added Summary|[F03] procedure pointer |[F08] procedure pointer