https://gcc.gnu.org/g:e08b7d7ceba7bd3c794fda0c5cbbdcc138d3aad3
commit r17-1700-ge08b7d7ceba7bd3c794fda0c5cbbdcc138d3aad3 Author: Viljar Indus <[email protected]> Date: Wed Jun 10 11:37:52 2026 +0300 ada: Make Error_Msg_Sloc visible for gigi This is needed to improve the error messages for -gnatw.q. gcc/ada/ChangeLog: * fe.h: Define Error_Msg_Sloc for gigi. Diff: --- gcc/ada/fe.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/ada/fe.h b/gcc/ada/fe.h index cb2a30ba027b..398c107805a3 100644 --- a/gcc/ada/fe.h +++ b/gcc/ada/fe.h @@ -122,9 +122,11 @@ extern void Set_Identifier_Casing (void *, const void *); #define Error_Msg_Uint_1 err_vars__error_msg_uint_1 #define Error_Msg_Uint_2 err_vars__error_msg_uint_2 +#define Error_Msg_Sloc err_vars__error_msg_sloc extern Uint Error_Msg_Uint_1; extern Uint Error_Msg_Uint_2; +extern Source_Ptr Error_Msg_Sloc; /* exp_ch11: */
