aboutsummaryrefslogtreecommitdiff
path: root/libgomp/ordered.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2015-12-22 21:47:58 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2015-12-22 21:47:58 +0100
commitd6dd2c8e29213be6d5f95106bcb9b2cb7cbabb48 (patch)
tree2db18c0a05eec9cf42467509904fc197af7af259 /libgomp/ordered.c
parentb5c4bc31baa52fc4ef51a89dcf97413f34c86d70 (diff)
downloadgcc-d6dd2c8e29213be6d5f95106bcb9b2cb7cbabb48.zip
gcc-d6dd2c8e29213be6d5f95106bcb9b2cb7cbabb48.tar.gz
gcc-d6dd2c8e29213be6d5f95106bcb9b2cb7cbabb48.tar.bz2
re PR c++/67376 (Comparison with pointer to past-the-end of array fails inside constant expression)
PR c++/67376 * fold-const.c (size_low_cst): Removed. (fold_comparison): For POINTER_PLUS_EXPR where base is ADDR_EXPR call get_inner_reference and handle INDIRECT_REF base of it. Use offset_int for computation of the bitpos. (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Formatting fixes for X +- Y CMP X and C - X CMP X folding. Add X CMP X +- Y and X CMP C - X folding. * g++.dg/cpp0x/constexpr-67376.C: New test. From-SVN: r231909
Diffstat (limited to 'libgomp/ordered.c')
0 files changed, 0 insertions, 0 deletions