This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r268287 - in /branches/gcc-8-branch/gcc/ada: Ch...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 26 Jan 2019 11:35:23 -0000
- Subject: r268287 - in /branches/gcc-8-branch/gcc/ada: Ch...
Author: ebotcazou
Date: Sat Jan 26 11:35:23 2019
New Revision: 268287
URL: https://gcc.gnu.org/viewcvs?rev=268287&root=gcc&view=rev
Log:
* 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.
Modified:
branches/gcc-8-branch/gcc/ada/ChangeLog
branches/gcc-8-branch/gcc/ada/gcc-interface/decl.c