[PATCH, Fortran] pad char to int conversions with spaces instead of zeros (legacy)
Jakub Jelinek
jakub@redhat.com
Thu Dec 6 10:54:00 GMT 2018
On Wed, Dec 05, 2018 at 06:27:00PM -0800, Jerry DeLisle wrote:
> I disagree completely. I assume the idea of -fdec-pad-with-spaces is to
> accomodate some old dec fortran code. The only reason to use some other
> character is if someone is writing new dec fortran code, which is implying
> encouraging people to be writing non standard conforming code.
>
> Even if it is conforming in the sense that it is processor dependent you are
> encouraging people to create new non portable code across compilers. Please
> just stay consistent with Intel.
So do you prefer to always use ' ' instead of '\0', or decide based on -fdec
without a separate option controlling that?
Jakub
More information about the Fortran
mailing list