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
8def91db
Commit
8def91db
authored
Aug 26, 2004
by
Nathan Sidwell
Committed by
Nathan Sidwell
Aug 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
From-SVN: r86611
parent
45f413e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/treelang/ChangeLog
+4
-0
gcc/treelang/treetree.c
+2
-1
No files found.
gcc/treelang/ChangeLog
View file @
8def91db
2004-08-26 Nathan Sidwell <nathan@codesourcery.com>
* treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
* treelang/treetree.c (treelang_init_decl_processing): Adjust
...
...
gcc/treelang/treetree.c
View file @
8def91db
...
...
@@ -680,7 +680,8 @@ tree_code_get_integer_value (unsigned char* chars, unsigned int length)
for
(
ix
=
start
;
ix
<
length
;
ix
++
)
val
=
val
*
10
+
chars
[
ix
]
-
(
unsigned
char
)
'0'
;
val
=
val
*
negative
;
return
build_int_cst
(
NULL_TREE
,
val
&
0xffffffff
,
(
val
>>
32
)
&
0xffffffff
);
return
build_int_cst_wide
(
NULL_TREE
,
val
&
0xffffffff
,
(
val
>>
32
)
&
0xffffffff
);
}
/* Return the tree for an expresssion, type EXP_TYPE (see treetree.h)
...
...
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