[Ada] Fix uninitialized out parameter in s-regpat.adb
authorArnaud Charlet <charlet@adacore.com>
Wed, 18 Dec 2019 07:16:17 +0000 (07:16 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 18 Dec 2019 07:16:17 +0000 (07:16 +0000)
commitc7e3d0694bc09e8099542840f1a1f647c23a7222
tree4fa9e9c9cb80d9a2bc16d259cf9517144e277558
parent19f0436b8facfbc75d938ebd6f88c68d8aea3a7e
[Ada] Fix uninitialized out parameter in s-regpat.adb

2019-12-18  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* libgnat/s-regpat.adb (Parse_Literal, Parse_Piece): Ensure
Expr_Flags is always fully initialized.

From-SVN: r279517
gcc/ada/ChangeLog
gcc/ada/libgnat/s-regpat.adb