]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix missing information in exception messages with -gnateE
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 8 May 2020 14:46:04 +0000 (16:46 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 8 May 2020 15:24:15 +0000 (17:24 +0200)
commitc900c70049965fad7fa02aa08f0ac3a67ab99b37
treed167c4f9ef639b8c4cedbfd3f86f168a91d551cc
parentdb4062a0cbe00ce4075a4d7f68a2ff15165cd72b
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.
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c