https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96294
--- Comment #4 from PengWang ---
(In reply to Dominique d'Humieres from comment #3)
> See https://gcc.gnu.org/wiki/GFortranStandards.
thanks a lot!!! ^_^
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96294
--- Comment #2 from PengWang ---
(In reply to Dominique d'Humieres from comment #1)
> read
>
> F2008: A pointer function assignment is ambiguous if it is the first
> executable statement after the specification block. Please add any other
> kind
Assignee: unassigned at gcc dot gnu.org
Reporter: peng.w...@compiler-dev.com
Target Milestone: ---
I got a testcase like this:
program a
IMPLICIT NONE
myfunc() = 311
print*,myfunc()
contains
FUNCTION myfunc() RESULT (result_ptr)
IMPLICIT
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95718
--- Comment #4 from PengWang ---
(In reply to kargl from comment #3)
>16.5.2.2 Pointer association status
>
>A pointer may have a pointer association status of associated,
>disassociated, or undefined. Its association status may cha
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: peng.w...@compiler-dev.com
Target Milestone: ---
consider the code below:
program test
integer,pointer::ptr
integer,pointer::ptr1
integer,pointer::ptr2
integer,pointer::ptr3
integer,pointer::ptr4
print