Compiler version is 11.1.059 on 64-bit RHEL 5.4. Here are sample programs
write (6,*) 'sub1 s = ', s
We use the following compiler flags :
When executed, this code crashes at the write statement in sub1 with error "forrtl: severe (408): fort: (18): Dummy character variable 'S' has length 8 which is greater then actual variable length 1". It should print "sub1 s = X". Disabling -check bounds it not an option. Are there other flags needed to get compatibility with HP VMS Fortran, before we take on changing the 1,193 locations in our code that will generate this crash?