[Ada] Move overriding rename error message from declaration to use
Pierre-Marie de Rodat
derodat@adacore.com
Mon Jul 5 13:13:55 GMT 2021
Posting the error message on the declaration of the renamed subprogram
is more confusing than posting the message on the name of the renamed
subprogram in the renaming.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* sem_ch3.adb (Check_Abstract_Overriding): Post error message on
renaming node.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 611 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210705/0c62dc62/attachment.bin>
More information about the Gcc-patches
mailing list