aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils2.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-01-26 11:34:39 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2019-01-26 11:34:39 +0000
commit03160cc9d6a54017ced6e3f8566649b63f42a040 (patch)
tree23f7d23da445eb1212e1d218d8371c970fd44c9a /gcc/ada/gcc-interface/utils2.c
parent18f5df94df9a8abcbf9410c79c180de6f7b85f51 (diff)
downloadgcc-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