http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52010
--- Comment #5 from Fran Martinez Fadrique <fmartinez at gmv dot com>
2012-01-28 23:08:46 UTC ---
I have bumped into another problem that I think may be related to this same
topic.
I have an example that generates the following message:
m_pointer_test.f90:22.2:
b%pa => a
1
Error: Different types in pointer assignment at (1); attempted assignment of
CLASS(ta) to TYPE(ta)
If in line 14 I make the change from
type(ta), pointer :: pa => null()
to
class(ta), pointer :: pa => null()
Then it works but then it does not in my Intel version. Actually I do not see
the reason why the change should be made. I have not been able to trace this to
the standard.