diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-12-07 10:17:20 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2020-12-07 10:18:15 +0100 |
commit | 090abb0f51b5cf8ce46fb686bc4b968f6e2055be (patch) | |
tree | 9a282e3945c6eb09c674d59bc95d61f05808f1c1 /gcc/tree-nested.c | |
parent | bf615bf65a0035cac3d4ac229e6413aad3b1d44a (diff) | |
download | gcc-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