aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-07-22 13:56:55 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-07-22 13:56:55 +0000
commit52860cc145a7075a9f30840703f96b242cd0150f (patch)
treed2c89e2e6587d36af6c2b95c94a23dbeb3c04cc5 /gcc/tree-cfg.c
parentf3d2fbfdb83bcc60d72824daf7a470c0e5398854 (diff)
downloadgcc-52860cc145a7075a9f30840703f96b242cd0150f.zip
gcc-52860cc145a7075a9f30840703f96b242cd0150f.tar.gz
gcc-52860cc145a7075a9f30840703f96b242cd0150f.tar.bz2
[Ada] Fix wrong assumption on bounds in GNAT.Encode_String
This fixes a couple of oversights in the GNAT.Encode_String package, whose effect is to assume that all the strings have a lower bound of 1. 2019-07-22 Eric Botcazou <ebotcazou@adacore.com> gcc/ada/ * libgnat/g-encstr.adb (Encode_Wide_String): Fix oversight. (Encode_Wide_Wide_String): Likewise. gcc/testsuite/ * gnat.dg/encode_string1.adb, gnat.dg/encode_string1_pkg.adb, gnat.dg/encode_string1_pkg.ads: New testcase. From-SVN: r273674
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions