[Ada] Fix inconsistent quoting in messages about compile-time errors
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 8 Dec 2021 22:24:13 +0000 (23:24 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 7 Jan 2022 16:24:08 +0000 (16:24 +0000)
commit57136d60c69d4ac5c189fd7d5150227179cff79e
treeef412002cf1b8556459bd567c061e95b8f3e6f6c
parentc8e99971b643c1b0610175bba047cd789c571c74
[Ada] Fix inconsistent quoting in messages about compile-time errors

gcc/ada/

* exp_ch4.adb (Raise_Accessibility_Error): Move exception name
to the message string; move << control characters to the end,
for consistency.
* sem_ch6.adb (Analyze_Function_Return): Likewise.
* sem_util.adb (Compile_Time_Constraint_Error): Likewise.
* gcc-interface/decl.c (gnat_to_gnu_entity): Remove quotes
around Storage_Error.
* gcc-interface/trans.c (gnat_to_gnu): Remove quotes around
Constraint_Error.

gcc/testsuite/

* gnat.dg/aggr26.adb: Update expected error message.
gcc/ada/exp_ch4.adb
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c
gcc/ada/sem_ch6.adb
gcc/ada/sem_util.adb
gcc/testsuite/gnat.dg/aggr26.adb