[Ada] Style checks on invalid UTF character cause crash
authorJustin Squirek <squirek@adacore.com>
Thu, 30 Apr 2020 12:55:33 +0000 (08:55 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 19 Jun 2020 08:17:19 +0000 (04:17 -0400)
commitb64bea1830d8fa651843f4e5e5c04263746b06af
treef235ccaa5acb3e8bb5fd844ec52b250ebdac0160
parent7841c99268adfaba9c30be23ce7569c85cae52dc
[Ada] Style checks on invalid UTF character cause crash

2020-06-19  Justin Squirek  <squirek@adacore.com>

gcc/ada/

* widechar.adb, widechar.ads (Skip_Wide): Catch validity check
failure when skipping over characters, and update comment to
reflect Skip_Wide's usage in error printing.
gcc/ada/widechar.adb
gcc/ada/widechar.ads