This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Tobi and Jakub,
They are not standard Fortran. Using Hollerith constants this way was the way of encoding strings before there was a Character type in Fortran, so the current behavior is intentional. Whether there actually is code that uses logicals to encode strings, I can't tell. I CCed Feng Wang who added the original Hollerith support, and Steve who last modified the testcase.
I am not so sure about that in the case of transfer_simplify_4.f90 - we have already had serious amounts of correspondence about it as witnessed in PR33759. What the standard says is:
Cheers, - Tobi
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |