http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54618
--- Comment #20 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-05 11:35:11 UTC --- (In reply to comment #18) > I am seeing intermittent issues with CLASS,ALLOCATABLE,INTENT(OUT) variables > that have a CLASS,ALLOCATABLE component; however when I tried to reduce to the > following test code, it segfaults on the inner clone, whereas the full code > only fails on the outer code. In any case, the attached code is supposed to > work, and it fails (under 4.7.2, 4.8.0 and trunk) For the code in comment 18 and comment 19, I get the output T T T T using the latest draft patch at https://userpage.physik.fu-berlin.de/~tburnus/final/ (It doesn't help with comment 3.) Thus, if you build GCC yourself, that might be a work around.