[Bug tree-optimization/43801] [4.5/4.6 Regression] error: function causes a section type conflict with -fipa-cp -fipa-cp-clone
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 1 11:03:00 GMT 2010
------- Comment #8 from jakub at gcc dot gnu dot org 2010-07-01 11:03 -------
Subject: Bug 43801
Author: jakub
Date: Thu Jul 1 11:03:31 2010
New Revision: 161661
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161661
Log:
Backport from mainline
2010-06-29 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/43801
* cgraph.c (cgraph_create_virtual_clone): Clear DECL_SECTION_NAME
if old_decl was DECL_ONE_ONLY.
* g++.dg/torture/pr43801.C: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/torture/pr43801.C
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/cgraph.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43801
More information about the Gcc-bugs
mailing list