aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2020-12-21 16:22:53 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-04-29 04:00:50 -0400
commit2e8ee0a364ac7dc9959b1caac7d7145afedd1eaa (patch)
tree3b573c52b620c5a54080e94a2a9f30feadfcdecf /gcc/tree-ssa-structalias.c
parentd099fc2e643d6e0228864b5858223e55c8092d7c (diff)
downloadgcc-2e8ee0a364ac7dc9959b1caac7d7145afedd1eaa.zip
gcc-2e8ee0a364ac7dc9959b1caac7d7145afedd1eaa.tar.gz
gcc-2e8ee0a364ac7dc9959b1caac7d7145afedd1eaa.tar.bz2
[Ada] Eliminate useless 128-bit overflow check for conversion
gcc/ada/ * exp_attr.adb (Expand_N_Attribute_Reference) <Attribute_Max_Size_In_Storage_Elements>: Apply the checks for universal integer contexts only in the default case. * exp_ch4.adb (Get_Size_For_Range): Move to library level. (Expand_N_Type_Conversion): If the operand has Universal_Integer type and the conversion requires an overflow check, try to do an intermediate conversion to a narrower type.
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions