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
7d2f0f9b
Commit
7d2f0f9b
authored
Nov 21, 2017
by
Jakub Jelinek
Committed by
Jakub Jelinek
Nov 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-common.c (get_nonnull_operand): Use tree_to_uhwi.
From-SVN: r255003
parent
aa11164a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/c-family/ChangeLog
+2
-0
gcc/c-family/c-common.c
+1
-1
No files found.
gcc/c-family/ChangeLog
View file @
7d2f0f9b
2017
-
11
-
21
Jakub
Jelinek
<
jakub
@
redhat
.
com
>
*
c
-
common
.
c
(
get_nonnull_operand
):
Use
tree_to_uhwi
.
PR
c
++/
83059
*
c
-
common
.
c
(
get_atomic_generic_size
):
Use
TREE_INT_CST_LOW
instead
of
tree_to_uhwi
,
formatting
fix
.
...
...
gcc/c-family/c-common.c
View file @
7d2f0f9b
...
...
@@ -5359,7 +5359,7 @@ get_nonnull_operand (tree arg_num_expr, unsigned HOST_WIDE_INT *valp)
/* Verify the arg number is a small constant. */
if
(
tree_fits_uhwi_p
(
arg_num_expr
))
{
*
valp
=
TREE_INT_CST_LOW
(
arg_num_expr
);
*
valp
=
tree_to_uhwi
(
arg_num_expr
);
return
true
;
}
else
...
...
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