Commit 22ad5e0a by Eric Botcazou

stor-layout.c (finalize_size_functions): Allocate a structure and reset cfun…

stor-layout.c (finalize_size_functions): Allocate a structure and reset cfun before dumping the functions.

	* stor-layout.c (finalize_size_functions): Allocate a structure and
	reset cfun before dumping the functions.

From-SVN: r198376
parent 20cab75e
2013-04-28 Eric Botcazou <ebotcazou@gcc.gnu.org>
* stor-layout.c (finalize_size_functions): Allocate a structure and
reset cfun before dumping the functions.
2013-04-27 Jakub Jelinek <jakub@redhat.com> 2013-04-27 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (ix86_expand_call): Make cregs_size unsigned. * config/i386/i386.c (ix86_expand_call): Make cregs_size unsigned.
......
...@@ -290,6 +290,8 @@ finalize_size_functions (void) ...@@ -290,6 +290,8 @@ finalize_size_functions (void)
for (i = 0; size_functions && size_functions->iterate (i, &fndecl); i++) for (i = 0; size_functions && size_functions->iterate (i, &fndecl); i++)
{ {
allocate_struct_function (fndecl, false);
set_cfun (NULL);
dump_function (TDI_original, fndecl); dump_function (TDI_original, fndecl);
gimplify_function_tree (fndecl); gimplify_function_tree (fndecl);
dump_function (TDI_generic, fndecl); dump_function (TDI_generic, fndecl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment