Mark Eggleston
2018-12-04 14:47:25 UTC
Here is a patch to considered for incorporation into gfortran adding to
its legacy support. It pads character to integer conversions using
spaces instead of zeros when enabled.
The pad character is 'undefined' or 'processor dependent' depending on
which standard you read. This makes it 0x20 which matches the Oracle
Fortran compiler.
Enabled using -fdec-pad-with-spaces and -fdec.
Please find attached a patch file and text files containing change log
entries for gcc/fortran and gcc/testsuite.
Note: I do not have write access so can not commit changes. Someone else
will have to commit the change if it is acceptable.
There are several more patches to support legacy Fortran which will be
sent in order.
regards,
Mark Eggleston
its legacy support. It pads character to integer conversions using
spaces instead of zeros when enabled.
The pad character is 'undefined' or 'processor dependent' depending on
which standard you read. This makes it 0x20 which matches the Oracle
Fortran compiler.
Enabled using -fdec-pad-with-spaces and -fdec.
Please find attached a patch file and text files containing change log
entries for gcc/fortran and gcc/testsuite.
Note: I do not have write access so can not commit changes. Someone else
will have to commit the change if it is acceptable.
There are several more patches to support legacy Fortran which will be
sent in order.
regards,
Mark Eggleston
--
https://www.codethink.co.uk/privacy.html
https://www.codethink.co.uk/privacy.html