[Ada] Unbounded strings: inline Initialize and Adjust
authorBob Duff <duff@adacore.com>
Fri, 25 May 2018 09:03:19 +0000 (09:03 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Fri, 25 May 2018 09:03:19 +0000 (09:03 +0000)
commit5a7aacd18052583ef1ed9620c20e25cc77c35938
tree022443dfa18fd31e41a2a6a488ff54b8f4c145ab
parent6b5eb7d7d4368326570f7cb0a26828b8f8f1db8a
[Ada] Unbounded strings: inline Initialize and Adjust

Procedures Initialize and Adjust in the Ada.[Wide_[Wide_]]Strings.Unbounded
package are now inlined for nondispatching calls. No test available (efficiency
issue only).

2018-05-25  Bob Duff  <duff@adacore.com>

gcc/ada/

* libgnat/a-strunb__shared.ads, libgnat/a-stwiun__shared.ads,
libgnat/a-stzunb__shared.ads: (Initialize, Adjust): Add pragma Inline.

From-SVN: r260719
gcc/ada/ChangeLog
gcc/ada/libgnat/a-strunb__shared.ads
gcc/ada/libgnat/a-stwiun__shared.ads
gcc/ada/libgnat/a-stzunb__shared.ads