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
6e40dcae
Commit
6e40dcae
authored
6 years ago
by
Aldy Hernandez
Committed by
Aldy Hernandez
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-vrp.c (may_contain_p): Do not access m_min/m_max directly.
From-SVN: r265954
parent
5756b6a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/tree-vrp.c
+2
-2
No files found.
gcc/ChangeLog
View file @
6e40dcae
2018-11-08 Aldy Hernandez <aldyh@redhat.com>
* tree-vrp.c (may_contain_p): Do not access m_min/m_max directly.
2018-11-08 Aldy Hernandez <aldyh@redhat.com>
* vr-values.c (vr_values::get_value_range): Use value_range API
instead of piecing together ranges.
(vr_values::update_value_range): Same.
This diff is collapsed.
Click to expand it.
gcc/tree-vrp.c
View file @
6e40dcae
...
...
@@ -250,10 +250,10 @@ value_range::may_contain_p (tree val) const
if
(
m_kind
==
VR_ANTI_RANGE
)
{
int
res
=
value_inside_range
(
val
,
m
_min
,
m_max
);
int
res
=
value_inside_range
(
val
,
m
in
(),
max
()
);
return
res
==
0
||
res
==
-
2
;
}
return
value_inside_range
(
val
,
m
_min
,
m_max
)
!=
0
;
return
value_inside_range
(
val
,
m
in
(),
max
()
)
!=
0
;
}
void
...
...
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