[Bug fortran/78122] [5/6/7 Regression] ICE in get, at cgraph.h:395
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 3 15:05:00 GMT 2016
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.
More information about the Gcc-bugs
mailing list