aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2020-05-08 16:46:04 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2020-05-08 17:24:15 +0200
commitc900c70049965fad7fa02aa08f0ac3a67ab99b37 (patch)
treed167c4f9ef639b8c4cedbfd3f86f168a91d551cc /gcc/ada/gcc-interface/utils.c
parentdb4062a0cbe00ce4075a4d7f68a2ff15165cd72b (diff)
downloadgcc-c900c70049965fad7fa02aa08f0ac3a67ab99b37.zip
gcc-c900c70049965fad7fa02aa08f0ac3a67ab99b37.tar.gz
gcc-c900c70049965fad7fa02aa08f0ac3a67ab99b37.tar.bz2
Fix missing information in exception messages with -gnateE
The information was missing in cases the front-end was able to turn the range comparison into a simple comparison. * gcc-interface/trans.c (Raise_Error_to_gnu): Always compute a lower bound and an upper bound for use by the -gnateE switch for range and comparison operators.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions