diff options
author | Jeff Law <law@redhat.com> | 2018-10-02 08:10:16 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2018-10-02 08:10:16 -0600 |
commit | 911ce7b502a243aa400d07b57975f02252db281e (patch) | |
tree | c600f9c56639c877515217ba435a7977ddc8a37e /gcc/gimple-fold.c | |
parent | 6c4aa5f6bd8aacf51ddceb78239a7a2da0a1b959 (diff) | |
download | gcc-911ce7b502a243aa400d07b57975f02252db281e.zip gcc-911ce7b502a243aa400d07b57975f02252db281e.tar.gz gcc-911ce7b502a243aa400d07b57975f02252db281e.tar.bz2 |
* gimple-fold.c (get_range_strlen): Remove dead code.
From-SVN: r264788
Diffstat (limited to 'gcc/gimple-fold.c')
-rw-r--r-- | gcc/gimple-fold.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c index cf04c92..fa1fc60 100644 --- a/gcc/gimple-fold.c +++ b/gcc/gimple-fold.c @@ -1345,14 +1345,7 @@ get_range_strlen (tree arg, tree length[2], bitmap *visited, int type, /* If we potentially had a non-terminated string, then bubble that information up to the caller. */ if (!val) - { - *nonstr = data.decl; - /* If TYPE is asking for a maximum, then use any - length (including the length of an unterminated - string) for VAL. */ - if (type == 2) - val = data.len; - } + *nonstr = data.decl; } if (!val && fuzzy) |