diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2013-04-28 17:29:01 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2013-04-28 17:29:01 +0000 |
commit | 22ad5e0a85cd25e2636b68434535bfa494b4edb4 (patch) | |
tree | 59bdecfde24eff9d10c65b553e0efd7f883eb57c /gcc/stor-layout.c | |
parent | 20cab75e808bf11ce02c6dbfce869a8e64595fbc (diff) | |
download | gcc-22ad5e0a85cd25e2636b68434535bfa494b4edb4.zip gcc-22ad5e0a85cd25e2636b68434535bfa494b4edb4.tar.gz gcc-22ad5e0a85cd25e2636b68434535bfa494b4edb4.tar.bz2 |
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
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 67dd958..5ad95b1 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -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); |