DECODE statement

In moving a piece of code from F77 to F90, I find that the DECODE statement produces a Segmentation Fault. The code runs well using PGF77 and I get no compiler erros using PGF90. ?

Will: I’m afraid I have to ask for more information; can you give the decode statement that fails? We’re not seeing the error, though we don’t have a lot of encode/decode tests.