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
f79322f0
Commit
f79322f0
authored
Feb 03, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(init_objc): Use xrealoc, not realloc.
From-SVN: r3419
parent
b82a0ad9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gcc/objc/objc-act.c
+6
-6
No files found.
gcc/objc/objc-act.c
View file @
f79322f0
...
...
@@ -4929,14 +4929,14 @@ init_objc ()
util_firstobj
=
(
char
*
)
obstack_finish
(
&
util_obstack
);
tree_code_type
=
(
char
**
)
realloc
(
tree_code_type
,
sizeof
(
char
*
)
*
LAST_OBJC_TREE_CODE
);
=
(
char
**
)
x
realloc
(
tree_code_type
,
sizeof
(
char
*
)
*
LAST_OBJC_TREE_CODE
);
tree_code_length
=
(
int
*
)
realloc
(
tree_code_length
,
sizeof
(
int
)
*
LAST_OBJC_TREE_CODE
);
=
(
int
*
)
x
realloc
(
tree_code_length
,
sizeof
(
int
)
*
LAST_OBJC_TREE_CODE
);
tree_code_name
=
(
char
**
)
realloc
(
tree_code_name
,
sizeof
(
char
*
)
*
LAST_OBJC_TREE_CODE
);
=
(
char
**
)
x
realloc
(
tree_code_name
,
sizeof
(
char
*
)
*
LAST_OBJC_TREE_CODE
);
bcopy
(
objc_tree_code_type
,
tree_code_type
+
(
int
)
LAST_AND_UNUSED_TREE_CODE
,
(((
int
)
LAST_OBJC_TREE_CODE
-
(
int
)
LAST_AND_UNUSED_TREE_CODE
)
...
...
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