mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-29 21:10:46 +08:00
(copy_node): Fix error in last change.
From-SVN: r12835
This commit is contained in:
parent
1a0bdd2991
commit
b14b81294e
14
gcc/tree.c
14
gcc/tree.c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user