[COMMITTED] ada: Small consistency fix for -gnatwv warning

2023-11-21 Thread Marc Poulhiès
From: Eric Botcazou The goal is to arrange for the warning to be issued consistently between objects whose address is taken and objects whose address is not taken. gcc/ada/ * sem_warn.adb (Check_References.Type_OK_For_No_Value_Assigned): New predicate. (Check_References)

[COMMITTED] ada: Small consistency fix

2022-11-08 Thread Marc Poulhiès via Gcc-patches
From: Eric Botcazou gcc/ada/ * fe.h (Get_Warn_On_Questionable_Layout): Add void parameter. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/fe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/fe.h b/gcc/ada/fe.h index 8102c6d5ec4..12ad15b6d3