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
63b7a614
Commit
63b7a614
authored
Nov 04, 2019
by
Aldy Hernandez
Committed by
Aldy Hernandez
Nov 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused range_int_cst_singleton_p.
From-SVN: r277792
parent
c58d5046
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
10 deletions
+5
-10
gcc/ChangeLog
+5
-0
gcc/tree-vrp.c
+0
-9
gcc/tree-vrp.h
+0
-1
No files found.
gcc/ChangeLog
View file @
63b7a614
2019-11-04 Aldy Hernandez <aldyh@redhat.com>
2019-11-04 Aldy Hernandez <aldyh@redhat.com>
* tree-vrp.c (range_int_cst_singleton_p): Remove.
* tree-vrp.h (range_int_cst_singleton_p): Remove.
2019-11-04 Aldy Hernandez <aldyh@redhat.com>
* tree-vrp.c (value_range_base::normalize_addresses): Handle
* tree-vrp.c (value_range_base::normalize_addresses): Handle
VR_UNDEFINED.
VR_UNDEFINED.
gcc/tree-vrp.c
View file @
63b7a614
...
@@ -945,15 +945,6 @@ range_int_cst_p (const value_range_base *vr)
...
@@ -945,15 +945,6 @@ range_int_cst_p (const value_range_base *vr)
return
(
vr
->
kind
()
==
VR_RANGE
&&
range_has_numeric_bounds_p
(
vr
));
return
(
vr
->
kind
()
==
VR_RANGE
&&
range_has_numeric_bounds_p
(
vr
));
}
}
/* Return true if VR is a INTEGER_CST singleton. */
bool
range_int_cst_singleton_p
(
const
value_range_base
*
vr
)
{
return
(
range_int_cst_p
(
vr
)
&&
tree_int_cst_equal
(
vr
->
min
(),
vr
->
max
()));
}
/* Return the single symbol (an SSA_NAME) contained in T if any, or NULL_TREE
/* Return the single symbol (an SSA_NAME) contained in T if any, or NULL_TREE
otherwise. We only handle additive operations and set NEG to true if the
otherwise. We only handle additive operations and set NEG to true if the
symbol is negated and INV to the invariant part, if any. */
symbol is negated and INV to the invariant part, if any. */
...
...
gcc/tree-vrp.h
View file @
63b7a614
...
@@ -282,7 +282,6 @@ extern bool infer_value_range (gimple *, tree, tree_code *, tree *);
...
@@ -282,7 +282,6 @@ extern bool infer_value_range (gimple *, tree, tree_code *, tree *);
extern
bool
vrp_bitmap_equal_p
(
const_bitmap
,
const_bitmap
);
extern
bool
vrp_bitmap_equal_p
(
const_bitmap
,
const_bitmap
);
extern
bool
range_int_cst_p
(
const
value_range_base
*
);
extern
bool
range_int_cst_p
(
const
value_range_base
*
);
extern
bool
range_int_cst_singleton_p
(
const
value_range_base
*
);
extern
int
compare_values
(
tree
,
tree
);
extern
int
compare_values
(
tree
,
tree
);
extern
int
compare_values_warnv
(
tree
,
tree
,
bool
*
);
extern
int
compare_values_warnv
(
tree
,
tree
,
bool
*
);
...
...
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