[Bug fortran/68226] [6/7/8 Regression] [OOP] ICE on assignment of pointer-valued function to allocatable

anlauf at gmx dot de gcc-bugzilla@gcc.gnu.org
Fri Feb 23 21:29:00 GMT 2018


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

--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> ---
The code in comment#0 compiles with current trunk.  The ICE is gone.

Not sure if the code is valid, but NAG accepts it
without complaining.

Adding a line

  print *, a

prints

           1           2

which I think is correct.


More information about the Gcc-bugs mailing list