re PR middle-end/87053 (wrong code with c_strlen)
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 29 Aug 2018 22:16:09 +0000 (22:16 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 29 Aug 2018 22:16:09 +0000 (16:16 -0600)
commit1ebf0641a5201939cbaa1cc4f008bb8eda68895c
treedb468a623870c89e111e941c934472e18869fe46
parentd66ab7d12bb632c3de947f535d189275209a3915
re PR middle-end/87053 (wrong code with c_strlen)

gcc:
2018-08-22  Bernd Edlinger  <bernd.edlinger@hotmail.de>

PR middle-end/87053
* builtins.c (c_strlen): Improve range checks.

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

PR middle-end/87053
* gcc.c-torture/execute/pr87053.c: New test.

From-SVN: r263968
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr87053.c [new file with mode: 0644]