aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2020-12-07 10:17:20 +0100
committerEric Botcazou <ebotcazou@adacore.com>2020-12-07 10:18:15 +0100
commit090abb0f51b5cf8ce46fb686bc4b968f6e2055be (patch)
tree9a282e3945c6eb09c674d59bc95d61f05808f1c1 /gcc/tree-nested.c
parentbf615bf65a0035cac3d4ac229e6413aad3b1d44a (diff)
downloadgcc-090abb0f51b5cf8ce46fb686bc4b968f6e2055be.zip
gcc-090abb0f51b5cf8ce46fb686bc4b968f6e2055be.tar.gz
gcc-090abb0f51b5cf8ce46fb686bc4b968f6e2055be.tar.bz2
Fix problematic conversion to boolean type
The new ranger exposed a problematic conversion to boolean type. gcc/ada/ChangeLog: * gcc-interface/utils.c (convert) <INTEGER_TYPE>: Call fold_convert in the cases where convert_to_integer is not called. <BOOLEAN_TYPE>: Call fold_convert instead of convert_to_integer.
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions