diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2018-11-04 19:51:09 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2018-11-04 19:51:09 +0000 |
commit | e8bf3d5ed983791a658b86f4eae338e13b6fdc3f (patch) | |
tree | cbca26e118c1d2a7c2ab243b2d4405fbd561b565 /gcc/mcf.c | |
parent | 770fe3a36400fb03d0936cff86ffb76a136d5674 (diff) | |
download | gcc-e8bf3d5ed983791a658b86f4eae338e13b6fdc3f.zip gcc-e8bf3d5ed983791a658b86f4eae338e13b6fdc3f.tar.gz gcc-e8bf3d5ed983791a658b86f4eae338e13b6fdc3f.tar.bz2 |
re PR tree-optimization/86572 (unsafe strlen folding of const arguments with non-const offset)
gcc:
2018-11-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR tree-optimization/86572
* builtins.c (c_strlen): Handle negative offsets in a safe way.
testsuite:
2018-11-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR tree-optimization/86572
* gcc.dg/pr86572.c: New test.
From-SVN: r265778
Diffstat (limited to 'gcc/mcf.c')
0 files changed, 0 insertions, 0 deletions