diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-04-23 16:22:28 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-18 05:08:29 -0400 |
commit | 5b3950bed95136ad2b5e037e29daf3a464dc7cd5 (patch) | |
tree | 5380f76c098483c4b7931e4880918d29475b1295 /gcc/ada/init.c | |
parent | 0c32ab8232a40d8bb982c0ac13864d2290dc9336 (diff) | |
download | gcc-5b3950bed95136ad2b5e037e29daf3a464dc7cd5.zip gcc-5b3950bed95136ad2b5e037e29daf3a464dc7cd5.tar.gz gcc-5b3950bed95136ad2b5e037e29daf3a464dc7cd5.tar.bz2 |
[Ada] Fix host/target confusion for attribute To_Address
2020-06-18 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* sem_attr.adb (Analyze_Attribute) <To_Address>: Use the address
size of the target instead of the host when checking the value of
a static expression. Also use standard idiom for exponentiation.
Diffstat (limited to 'gcc/ada/init.c')
0 files changed, 0 insertions, 0 deletions