When compiling code with -gnateA -gnateE switches, i.e. with aliasing checks and extra information in exception messages, the runtime error includes names the overlapping formal parameters. Those parameters are now printed exactly as they appear in the source code, not in casing that has been determined for the compilation unit. For example, error emitted for GNATprove included name "Fa" for a formal parameter that appears in the code as "FA", because GNATprove uses mixed case coding convention (just like GNAT). Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * checks.adb (Overlap_Check): Replace Set_Casing with Adjust_Name_Case and adapt surrounding code as needed.