https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78122

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|marxin at gcc dot gnu.org          |unassigned at gcc dot 
gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Not being a fortran expert, however ifort rejects the source code:

/tmp/pi.f90(5): error #6592: This symbol must be a defined parameter, an
enumerator, or an argument of an inquiry function that evaluates to a
compile-time constant.   [A]
    real, pointer :: p => a
--------------------------^
/tmp/pi.f90(5): error #6973: This is not a valid initialization expression.  
[A]
    real, pointer :: p => a
--------------------------^

Problem is that symtab_node::get is called for a local symbol.

Reply via email to