We have legacy code (HP 1000 Fortran) that includes many instances of the following:
! I(1) should contain 0x6261 and I(2) should contain 0x0063
Is there an elegant way using attributes to make this work in CVF?
The present solution we have is a pre-compiler that converts the above code to
equivalence ($c1, $t1)
data $c1 /'abc'/
This works but I wonder if there is a cleaner way to do it.