mirror of git://gcc.gnu.org/git/gcc.git
re PR lto/42088 (flag_gtoggle in free_lang_data hides -fcompare-debug errors)
2009-12-02 Richard Guenther <rguenther@suse.de> PR middle-end/42088 * tree.c (free_lang_data): Disable if not using LTO. From-SVN: r154918
This commit is contained in:
parent
29a8405af1
commit
a881cad635
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue