aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-uninit.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-12-06 10:23:51 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2016-12-06 10:23:51 +0100
commit66972191ee05c5dd2d02e5d062fe1c942e42fcd7 (patch)
tree7a92a285d47f865cf7dc7522c6b591159d6a2013 /gcc/tree-ssa-uninit.c
parentbf2d0849a360376182b796042fedaa018b87d605 (diff)
downloadgcc-66972191ee05c5dd2d02e5d062fe1c942e42fcd7.zip
gcc-66972191ee05c5dd2d02e5d062fe1c942e42fcd7.tar.gz
gcc-66972191ee05c5dd2d02e5d062fe1c942e42fcd7.tar.bz2
re PR c++/71537 (GCC rejects consetxpr boolean conversions and comparisons on the result of pointer arithmetic.)
2016-12-06 Jakub Jelinek <jakub@redhat.com> PR c++/71537 * fold-const-call.c (fold_const_call_1): Remove memchr handling here. (fold_const_call) <case CFN_BUILT_IN_STRNCMP, case CFN_BUILT_IN_STRNCASECMP>: Formatting improvements. (fold_const_call) <case CFN_BUILT_IN_MEMCMP>: Likewise. If s2 is 0 and arguments have no side-effects, return 0. (fold_const_call): Handle CFN_BUILT_IN_MEMCHR. * g++.dg/cpp0x/constexpr-memchr.C: New test. From-SVN: r243285
Diffstat (limited to 'gcc/tree-ssa-uninit.c')
0 files changed, 0 insertions, 0 deletions