diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2005-09-02 12:41:08 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2005-09-02 05:41:08 -0700 |
commit | 9bf777eedf9bb3fe6ae516051d101456636f34e9 (patch) | |
tree | 1694f7e36c9401df62c8941c4af4cd07410647b6 /libgfortran/io/unix.c | |
parent | b8d7f9febca57fbd2070e4c1c6148ae24f9b19ca (diff) | |
download | gcc-9bf777eedf9bb3fe6ae516051d101456636f34e9.zip gcc-9bf777eedf9bb3fe6ae516051d101456636f34e9.tar.gz gcc-9bf777eedf9bb3fe6ae516051d101456636f34e9.tar.bz2 |
re PR middle-end/23547 ([non-unit-at-a-time] ICE with recursive call to nested function)
2005-09-02 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/23547
* tree-nested.c (struct var_map_elt): Mark with GTY.
(struct nesting_info): Mark with GTY. Mark var_map's param is struct
var_map_elt.
(lookup_field_for_decl): Allocate new element in GC memory.
(lookup_tramp_for_decl): Likewise.
(convert_nl_goto_reference): Likewise
(create_nesting_tree): Allocate info in GC memory. Likewise for info->var_map.
(free_nesting_tree): Free with ggc_free instead of free.
(root): New static variable.
(lower_nested_functions): Remove root as local variable. And zero out root at the end of the function.
2005-09-02 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/23547
* gcc.dg/pr23547.c: New test.
From-SVN: r103777
Diffstat (limited to 'libgfortran/io/unix.c')
0 files changed, 0 insertions, 0 deletions