diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree.c | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 896781b..1700570 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2009-12-02 Richard Guenther <rguenther@suse.de> + PR middle-end/42088 + * tree.c (free_lang_data): Disable if not using LTO. + +2009-12-02 Richard Guenther <rguenther@suse.de> + PR middle-end/42229 * cfgloopmanip.c (remove_path): Avoid cancelling loops twice. @@ -4923,7 +4923,8 @@ free_lang_data (void) unsigned i; /* If we are the LTO frontend we have freed lang-specific data already. */ - if (in_lto_p) + if (in_lto_p + || !flag_generate_lto) return 0; /* Allocate and assign alias sets to the standard integer types @@ -4932,11 +4933,6 @@ free_lang_data (void) if (integer_types[i]) TYPE_ALIAS_SET (integer_types[i]) = get_alias_set (integer_types[i]); - /* FIXME. Remove after save_debug_info is working. */ - if (!(flag_generate_lto - || (!flag_gtoggle && debug_info_level == DINFO_LEVEL_NONE))) - return 0; - /* Traverse the IL resetting language specific information for operands, expressions, etc. */ free_lang_data_in_cgraph (); |