------- Comment #7 from rguenth at gcc dot gnu dot org 2010-05-19 13:16 ------- Subject: Bug 43455
Author: rguenth Date: Wed May 19 13:14:37 2010 New Revision: 159564 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159564 Log: 2010-05-19 Richard Guenther <rguent...@suse.de> Backport from mainline: 2010-04-26 Richard Guenther <rguent...@suse.de> PR lto/43455 * tree-inline.c (tree_can_inline_p): Also check compatibility of return types. * gcc.dg/lto/20100423-1_0.c: New testcase. * gcc.dg/lto/20100423-1_1.c: Likewise. 2010-04-23 Richard Guenther <rguent...@suse.de> PR lto/42653 * tree.c (free_lang_data_in_decl): Do not reset DECL_CONTEXT of FUNCTION_DECLs. * g++.dg/lto/20100423-1_0.C: New testcase. 2010-04-26 Richard Guenther <rguent...@suse.de> PR lto/42425 * tree.c (free_lang_data_in_type): Do not free TYPE_CONTEXT if emitting debug information and it is either a function or a namespace decl. * g++.dg/lto/20100423-2_0.C: New testcase. 2010-04-26 Richard Guenther <rguent...@suse.de> PR lto/43080 * gimple.c (gimple_decl_printable_name): Deal gracefully with a NULL DECL_NAME. * g++.dg/lto/20100423-3_0.C: New testcase. 2010-04-30 Richard Guenther <rguent...@suse.de> PR lto/43946 * passes.c (init_optimization_passes): Move pass_ipa_free_lang_data first after all lowering passes. * gcc.dg/lto/20100430-1_0.c: New testcase. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/lto/20100423-1_0.C branches/gcc-4_5-branch/gcc/testsuite/g++.dg/lto/20100423-2_0.C branches/gcc-4_5-branch/gcc/testsuite/g++.dg/lto/20100423-3_0.C branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/lto/20100423-1_0.c branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/lto/20100423-1_1.c branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/lto/20100430-1_0.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/gimple.c branches/gcc-4_5-branch/gcc/passes.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-inline.c branches/gcc-4_5-branch/gcc/tree.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43455