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
b14b8129
Commit
b14b8129
authored
Sep 24, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(copy_node): Fix error in last change.
From-SVN: r12835
parent
1a0bdd29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
gcc/tree.c
+5
-9
No files found.
gcc/tree.c
View file @
b14b8129
...
...
@@ -1133,17 +1133,13 @@ copy_node (node)
for REAL_CST, since the number of words is machine-dependent due
to varying size and alignment of `double'. */
if
(
code
==
INTEGER_CST
)
{
length
=
sizeof
(
struct
tree_int_cst
);
break
;
}
length
=
sizeof
(
struct
tree_int_cst
);
else
if
(
code
==
REAL_CST
)
{
length
=
sizeof
(
struct
tree_real_cst
);
break
;
}
length
=
sizeof
(
struct
tree_real_cst
);
else
abort
();
length
=
(
sizeof
(
struct
tree_common
)
+
tree_code_length
[(
int
)
code
]
*
sizeof
(
char
*
));
break
;
case
'x'
:
/* something random, like an identifier. */
length
=
sizeof
(
struct
tree_common
)
...
...
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