diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2022-07-12 14:22:53 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2022-09-06 09:14:23 +0200 |
commit | a80e0583973cb1664adf663d499c43c0425018b6 (patch) | |
tree | 97735b4cd884a28b38b297612a0340b3692524d2 /gcc/ada/gcc-interface/utils.cc | |
parent | 5e34c91420ffcacb27e4b0a9a83b97b9ee42a337 (diff) | |
download | gcc-a80e0583973cb1664adf663d499c43c0425018b6.zip gcc-a80e0583973cb1664adf663d499c43c0425018b6.tar.gz gcc-a80e0583973cb1664adf663d499c43c0425018b6.tar.bz2 |
[Ada] Extend No_Dependence restriction to code generation (continued)
gcc/ada/
* gcc-interface/trans.cc (gnat_to_gnu) <N_Op_Divide>: Report a
violation of No_Dependence on System.GCC if the result type is
larger than a word.
<N_Op_Shift>: Likewise.
<N_Op_Mod>: Likewise.
<N_Op_Rem>: Likewise.
(convert_with_check): Report a violation of No_Dependence on
System.GCC for a conversion between an integer type larger than
a word and a floating-point type.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions