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
2e28f042
Commit
2e28f042
authored
Sep 06, 1999
by
Bernd Schmidt
Committed by
Bernd Schmidt
Sep 06, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
copy_node should copy the node
From-SVN: r29142
parent
421cba92
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
gcc/ChangeLog
+4
-0
gcc/tree.c
+0
-2
No files found.
gcc/ChangeLog
View file @
2e28f042
Mon
Sep
6
15
:
26
:
23
1999
Bernd
Schmidt
<
bernds
@cygnus
.
co
.
uk
>
*
tree
.
c
(
copy_node
)
:
Copy
node
contents
also
if
doing
GC
.
Mon
Sep
6
08
:
42
:
06
1999
Alexandre
Oliva
<
oliva
@dcc
.
unicamp
.
br
>
*
collect2
.
c
(
scan_libraries
)
:
Fix
double
-
thinko
:-
).
...
...
gcc/tree.c
View file @
2e28f042
...
...
@@ -1140,10 +1140,8 @@ copy_node (node)
if
(
ggc_p
)
t
=
ggc_alloc_tree
(
length
);
else
{
t
=
(
tree
)
obstack_alloc
(
current_obstack
,
length
);
memcpy
(
t
,
node
,
length
);
}
/* EXPR_WITH_FILE_LOCATION must keep filename info stored in TREE_CHAIN */
if
(
TREE_CODE
(
node
)
!=
EXPR_WITH_FILE_LOCATION
)
...
...
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