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
This commit is contained in:
parent
20cab75e80
commit
22ad5e0a85
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* config/i386/i386.c (ix86_expand_call): Make cregs_size unsigned.
|
||||
|
|
|
@ -290,6 +290,8 @@ finalize_size_functions (void)
|
|||
|
||||
for (i = 0; size_functions && size_functions->iterate (i, &fndecl); i++)
|
||||
{
|
||||
allocate_struct_function (fndecl, false);
|
||||
set_cfun (NULL);
|
||||
dump_function (TDI_original, fndecl);
|
||||
gimplify_function_tree (fndecl);
|
||||
dump_function (TDI_generic, fndecl);
|
||||
|
|
Loading…
Add table
Reference in a new issue