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
37e6d6fe
Commit
37e6d6fe
authored
Sep 03, 2004
by
Jan Hubicka
Committed by
Jan Hubicka
Sep 03, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c (finish_function): Clean out pointers we no longer need.
From-SVN: r87055
parent
1e3e17d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl.c
+12
-0
No files found.
gcc/cp/ChangeLog
View file @
37e6d6fe
2004-09-03 Jan Hubicka <jh@suse.cz>
* decl.c (finish_function): Clean out pointers we no longer need.
2004-09-03 Jan Beulich <jbeulich@novell.com>
* g++spec.c (MATH_LIBRARY_PROFILE): Default to MATH_LIBRARY rather
...
...
gcc/cp/decl.c
View file @
37e6d6fe
...
...
@@ -10451,11 +10451,23 @@ finish_function (int flags)
/* Genericize before inlining. */
if
(
!
processing_template_decl
)
{
struct
language_function
*
f
=
DECL_SAVED_FUNCTION_DATA
(
fndecl
);
cp_genericize
(
fndecl
);
/* Clear out the bits we don't need. */
f
->
x_current_class_ptr
=
NULL
;
f
->
x_current_class_ref
=
NULL
;
f
->
x_eh_spec_block
=
NULL
;
f
->
x_in_charge_parm
=
NULL
;
f
->
x_vtt_parm
=
NULL
;
f
->
x_return_value
=
NULL
;
f
->
bindings
=
NULL
;
/* Handle attribute((warn_unused_result)). Relies on gimple input. */
c_warn_unused_result
(
&
DECL_SAVED_TREE
(
fndecl
));
}
/* Clear out the bits we don't need. */
local_names
=
NULL
;
named_label_uses
=
NULL
;
/* We're leaving the context of this function, so zap cfun. It's still in
DECL_STRUCT_FUNCTION, and we'll restore it in tree_rest_of_compilation. */
...
...
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