This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24310] ipa-inline dump reads from freed memory resulting in a corrupt dump file
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2005 15:42:14 -0000
- Subject: [Bug c++/24310] ipa-inline dump reads from freed memory resulting in a corrupt dump file
- References: <bug-24310-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2005-10-11 15:42 -------
The patch causes diffs like the following in the ipa-inline-dump:
-Considering int GuardLayers<Dim>::lower(int) const [with int Dim = 2] with 0
in
sns to be inlined into int UniformGridPartition<Dim>::partition(const D&,
std::v
ector<Node<Interval<Dim>, Interval<Dim> >*, std::allocator<Node<Interval<Dim>,
I
nterval<Dim> >*> >&, const ContextMapper<Dim>&) const [with D = Interval<2>,
int
Dim = 2]
+Considering int GuardLayers<Dim>::lower(int) const [with int Dim = 2] with 0
in
sns to be inlined into 270^X^U@270^X^U@ormGridPartition<Dim>::partition(const
D&
, std::vector<Node<Interval<Dim>, Interval<Dim> >*,
std::allocator<Node<Interval
<Dim>, Interval<Dim> >*> >&, const ContextMapper<Dim>&) const [with D =
Interval
<2>, int Dim = 2]
there are 20 occourances of corruption.
Oh, btw. compile with -O2 -fdump-ipa-inline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24310