diff options
author | Ed Schonberg <schonberg@adacore.com> | 2018-10-09 15:05:59 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-10-09 15:05:59 +0000 |
commit | 184d0451c491493927816b41dc0b9eebd63601eb (patch) | |
tree | 3ea0782e0c02d213421752d9f21a785be0e78232 /libcpp | |
parent | 9e25affdbd810a3a40cc078d2a6415dd4b3baf7b (diff) | |
download | gcc-184d0451c491493927816b41dc0b9eebd63601eb.zip gcc-184d0451c491493927816b41dc0b9eebd63601eb.tar.gz gcc-184d0451c491493927816b41dc0b9eebd63601eb.tar.bz2 |
[Ada] Fix expansion of operations on nonbinary modular types
2018-10-09 Ed Schonberg <schonberg@adacore.com>
gcc/ada/
* exp_ch4.adb (Expand_Modular_Op): When expanding an operation
on nonbinary modular types, convert the opersnds to an integer
type that is large enough to hold the modulus of the type, which
may be larger than Integer'Last.
From-SVN: r264973
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions