[Ada] Avoid warnings regarding rep clauses in generics -- follow-on

2021-11-10 Thread Pierre-Marie de Rodat via Gcc-patches
Codepeer is complaining about uninitialized variables. This fixes it. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * repinfo.adb (List_Component_Layout): Initialize Sbit.diff --git a/gcc/ada/repinfo.adb b/gcc/ada/repinfo.adb --- a/gcc/ada/repinfo.adb +++ b/gcc/ada/repinfo.

[Ada] Avoid warnings regarding rep clauses in generics

2021-11-10 Thread Pierre-Marie de Rodat via Gcc-patches
Representation-related node fields are not set for types in generic units, so we should not warn based on the values of such fields. Also avoid printing the values of such fields for -gnatR. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * repinfo.adb (List_Common_Type_Info,