This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24310] ipa-inline dump reads from freed memory resulting in a corrupt dump file



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]