diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2019-01-26 11:34:39 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2019-01-26 11:34:39 +0000 |
commit | 03160cc9d6a54017ced6e3f8566649b63f42a040 (patch) | |
tree | 23f7d23da445eb1212e1d218d8371c970fd44c9a /gcc/ada/gcc-interface/utils2.c | |
parent | 18f5df94df9a8abcbf9410c79c180de6f7b85f51 (diff) | |
download | gcc-03160cc9d6a54017ced6e3f8566649b63f42a040.zip gcc-03160cc9d6a54017ced6e3f8566649b63f42a040.tar.gz gcc-03160cc9d6a54017ced6e3f8566649b63f42a040.tar.bz2 |
decl.c (annotate_value): Use test on the sign bit instead of on the sign of the value.
* gcc-interface/decl.c (annotate_value) <INTEGER_CST>: Use test on
the sign bit instead of on the sign of the value.
<PLUS_EXPR>: Turn addition of negative constant into subtraction.
<MULT_EXPR>: Add test for degenerate case.
<BIT_AND_EXPR>: Simplify.
From-SVN: r268286
Diffstat (limited to 'gcc/ada/gcc-interface/utils2.c')
0 files changed, 0 insertions, 0 deletions