re PR tree-optimization/87940 (FAIL: gcc.dg/warn-strlen-no-nul.c)
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 9 Nov 2018 20:38:07 +0000 (20:38 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Fri, 9 Nov 2018 20:38:07 +0000 (20:38 +0000)
commitab386758ef41dad695ccf25f975ebf12b4afe8c4
treeb4e750d78e5710a9c0ddaf5743b86c604eedd376
parent340e0dd66466091ea2bbd160592c017eb67dc47d
re PR tree-optimization/87940 (FAIL: gcc.dg/warn-strlen-no-nul.c)

2018-11-09  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR tree-optimization/87940
        * expr.c (string_constant): Don't strip NOPS in subexpressions.
        Fold PLUS_EXPR correctly.

From-SVN: r265992
gcc/ChangeLog
gcc/expr.c