re PR middle-end/86121 (missing -Wstringop-overflow on strcpy followed by strcat)
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 21 Aug 2018 08:56:11 +0000 (08:56 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Tue, 21 Aug 2018 08:56:11 +0000 (08:56 +0000)
commit7d4ae1fbbf162289ad27490899dafc6747f18800
treefe6bfff51640c372b84e45b54a24140553495fd7
parenteae016fc707fac3bf11d671f7fd40b213ee5141b
re PR middle-end/86121 (missing -Wstringop-overflow on strcpy followed by strcat)

2018-08-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/86121
        * tree-ssa-strlen.c (adjust_last_stmt): Avoid folding away undefined
        behaviour.

testsuite:
2018-08-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/86121
        * gcc.dg/Wstringop-overflow-6.c: Remove xfail.

From-SVN: r263693
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wstringop-overflow-6.c
gcc/tree-ssa-strlen.c