Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
911ce7b5
Commit
911ce7b5
authored
6 years ago
by
Jeff Law
Committed by
Jeff Law
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gimple-fold.c (get_range_strlen): Remove dead code.
From-SVN: r264788
parent
6c4aa5f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
gcc/ChangeLog
+4
-0
gcc/gimple-fold.c
+1
-8
No files found.
gcc/ChangeLog
View file @
911ce7b5
2018-10-02 Jeff Law <law@redhat.com>
* gimple-fold.c (get_range_strlen): Remove dead code.
2018-10-02 Martin Sebor <msebor@redhat.com>
Jeff Law <law@redhat.com>
This diff is collapsed.
Click to expand it.
gcc/gimple-fold.c
View file @
911ce7b5
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment