------- Comment #9 from burnus at gcc dot gnu dot org 2010-03-02 10:01 ------- (In reply to comment #8) > Completely untested patch:
Still untested, but I think it might lead to wrong code with either allocatable(1)%pointer(1:2) ! Potentially non-contiguous or pointer%allocatable(1:2) ! Cannot alias & is contiguous Though I have not really studied the source code. Actually, also for other parts in this function I am unsure whether it really takes derived-type components into account. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43173