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
32fa4565
Commit
32fa4565
authored
May 09, 2002
by
Neil Booth
Committed by
Neil Booth
May 09, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cppexp.c (_cpp_expand_op_stack): Set op_limit.
From-SVN: r53348
parent
23357c55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
gcc/ChangeLog
+4
-0
gcc/cppexp.c
+5
-3
No files found.
gcc/ChangeLog
View file @
32fa4565
2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
* cppexp.c (_cpp_expand_op_stack): Set op_limit.
2002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
...
...
gcc/cppexp.c
View file @
32fa4565
...
...
@@ -824,10 +824,12 @@ struct op *
_cpp_expand_op_stack
(
pfile
)
cpp_reader
*
pfile
;
{
size_t
n
=
(
size_t
)
(
pfile
->
op_limit
-
pfile
->
op_stack
);
size_t
old_size
=
(
size_t
)
(
pfile
->
op_limit
-
pfile
->
op_stack
);
size_t
new_size
=
old_size
*
2
+
20
;
pfile
->
op_stack
=
(
struct
op
*
)
xrealloc
(
pfile
->
op_stack
,
(
n
*
2
+
20
)
*
sizeof
(
struct
op
));
new_size
*
sizeof
(
struct
op
));
pfile
->
op_limit
=
pfile
->
op_stack
+
new_size
;
return
pfile
->
op_stack
+
n
;
return
pfile
->
op_stack
+
old_size
;
}
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