ada: Fix minor issue with Mod operator
commit0e58d85c40223fcdde298aaa443d8d5f7863ab16
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 24 Feb 2023 15:14:30 +0000 (24 16:14 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 30 May 2023 07:12:18 +0000 (30 09:12 +0200)
tree3ea79e0eb26f8ed1b4b1f0e60796ae60d60be705
parente2c9982eef42bc6421c7e9539983a743c7f7a13a
ada: Fix minor issue with Mod operator

gcc/ada/

* gcc-interface/trans.cc (gnat_to_gnu) <N_Op_Mod>: Test the
precision of the operation rather than that of the result type.
gcc/ada/gcc-interface/trans.cc