diff options
author | Martin Sebor <msebor@redhat.com> | 2018-08-28 00:10:46 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2018-08-27 18:10:46 -0600 |
commit | 1583124e4fdfa4c60f7cfa4063e3ef47087927ca (patch) | |
tree | 79a8a2437a23485a87f39f56eb6b737742601de4 /gcc/tree-ssa-strlen.c | |
parent | bdd039843c2df9c7ab1ebcd914a70208aaa14c23 (diff) | |
download | gcc-1583124e4fdfa4c60f7cfa4063e3ef47087927ca.zip gcc-1583124e4fdfa4c60f7cfa4063e3ef47087927ca.tar.gz gcc-1583124e4fdfa4c60f7cfa4063e3ef47087927ca.tar.bz2 |
PR tree-optimization/87112 - ICE in fold_binary_loc on strnlen of mixed integer types
gcc/ChangeLog:
PR tree-optimization/87112
* builtins.c (expand_builtin_strnlen): Convert c_strlen result to
the type of the bound argument.
gcc/testsuite/ChangeLog:
PR tree-optimization/87112
* gcc.dg/pr87112.c: New test.
From-SVN: r263900
Diffstat (limited to 'gcc/tree-ssa-strlen.c')
0 files changed, 0 insertions, 0 deletions