From: Martin Sebor Date: Thu, 5 Jul 2018 14:36:09 +0000 (+0000) Subject: PR tree-optimization/86400 - set::set::set + + PR c++/86400 + * tree-ssa-strlen.c (maybe_set_strlen_range): Use type size rather + than its domain to compute its the upper bound of a char array. + 2018-07-05 Nathan Sidwell Replace NO_IMPLICIT_EXTERN_C with SYSTEM_IMPLICIT_EXTERN_C. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c5acb695888..9f2cc8410ca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-07-05 Martin Sebor + + PR c++/86400 + * gcc.dg/strlenopt-47.c: New test. + * gcc.dg/strlenopt-48.c: New test. + 2018-07-05 Tamar Christina PR target/84711 diff --git a/gcc/testsuite/gcc.dg/strlenopt-47.c b/gcc/testsuite/gcc.dg/strlenopt-47.c new file mode 100644 index 00000000000..68945c7c1a1 --- /dev/null +++ b/gcc/testsuite/gcc.dg/strlenopt-47.c @@ -0,0 +1,36 @@ +/* PR tree-optimization/86400 - set::set::set