------- Comment #2 from pault at gcc dot gnu dot org 2007-01-05 09:30 ------- (In reply to comment #1) > What GCC is doing is calling _gfortran_internal_pack/_gfortran_internal_unpack > in a different order than most other compilers.
It should not call _gfortran_internal_unpack at all for the intent in variable - this is the missed optimisation to which Richard was referring. I am regetesting a patch with the patches for PR23232, PR27996 and PR27998. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30374