[PATCH] Fortran: adjust error message for SHORT and LONG intrinsics

Manfred Schwarb manfred99@gmx.ch
Fri Oct 29 23:15:22 GMT 2021


Am 29.10.21 um 21:51 schrieb Harald Anlauf via Fortran:
> Hi Manfred,
>
> Am 29.10.21 um 16:12 schrieb Manfred Schwarb via Fortran:
>> Hi,
>>
>> on 2019-07-23, support for SHORT and LONG intrinsics were removed be Steve Kargl by
>> adding an error message in check.c.  However, the error message
>>    Error: 'long' intrinsic subprogram at (1) has been deprecated
>> is misleading, as support has been disabled by this patch.
>>
>> Adjust the error message. This error message does not appear in the testsuite AFAIK.
>
> the patch looks fine.  A testcase checking the error message is missing,
> as well as a ChangeLog entry.

Sorry, forgot the changelog entry, I added it to the patch now.
Testcase was missing already before, but I added a trivial test to the patch for completeness.

>
> Thanks,
> Harald
>
>> Signed-off-by Manfred Schwarb <manfred99@gmx.ch>
>>
>>
>> [Note: I do not have commit access]
>>
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_error_message_for_short_and_long.patch
Type: text/x-patch
Size: 993 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20211030/06c273bd/attachment.bin>


More information about the Fortran mailing list