diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-01-07 23:04:13 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-03 06:01:34 -0400 |
commit | eebcb5618002bcd30219203ce4c59b0ef809f236 (patch) | |
tree | f15378fd2ea1903a6a23c123a5a651f635fa91bd /gcc/ada/debug.adb | |
parent | 8f8fc3840e9ac62a053fc8ebe0d25955a9ecf290 (diff) | |
download | gcc-eebcb5618002bcd30219203ce4c59b0ef809f236.zip gcc-eebcb5618002bcd30219203ce4c59b0ef809f236.tar.gz gcc-eebcb5618002bcd30219203ce4c59b0ef809f236.tar.bz2 |
[Ada] More efficient System.Random_Numbers.Random_Discrete for 32-bit types
2020-06-03 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* libgnat/s-rannum.adb (Random_Discrete): In the 32-bit case,
use the same linear implementation as in the 64-bit case when
the type has a contiguous representation.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions