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
023de292
Commit
023de292
authored
Sep 07, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(grokparms): Copy arg type list to savable obstack if nec.
From-SVN: r2071
parent
bc690db1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
+14
-1
gcc/c-decl.c
+14
-1
No files found.
gcc/c-decl.c
View file @
023de292
...
@@ -4438,7 +4438,20 @@ grokparms (parms_info, funcdef_flag)
...
@@ -4438,7 +4438,20 @@ grokparms (parms_info, funcdef_flag)
typelt
=
TREE_CHAIN
(
typelt
);
typelt
=
TREE_CHAIN
(
typelt
);
}
}
return
first_parm
;
/* Allocate the list of types the way we allocate a type. */
if
(
allocation_temporary_p
())
{
/* Construct a copy of the list of types
on the saveable obstack. */
tree
result
=
NULL
;
for
(
typelt
=
first_parm
;
typelt
;
typelt
=
TREE_CHAIN
(
typelt
))
result
=
saveable_tree_cons
(
NULL_TREE
,
TREE_VALUE
(
typelt
),
result
);
return
nreverse
(
result
);
}
else
/* The list we have is permanent already. */
return
first_parm
;
}
}
}
}
...
...
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