[Bug middle-end/37358] [4.4 Regression] IPA-CP generates duplicated symbols at -O3
hubicka at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 4 10:33:00 GMT 2008
------- Comment #6 from hubicka at gcc dot gnu dot org 2008-09-04 10:31 -------
Subject: Bug 37358
Author: hubicka
Date: Thu Sep 4 10:30:26 2008
New Revision: 139980
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139980
Log:
PR tree-optimization/37345
PR tree-optimization/37358
PR tree-optimization/37357
* tree.c (build_function_type_skip_args): Build distinct type copy;
set TYPE_CONTEXT.
(build_function_decl_skip_args): Set type of new decl not orig decl;
clear DECL_VINDEX for methods turned into functions.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr37345.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37358
More information about the Gcc-bugs
mailing list