[Bug c++/94250] valgrind error for ./g++.dg/ipa/remref-1.C
xerofoify at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Mar 21 15:20:48 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94250
--- Comment #2 from Nicholas Krause <xerofoify at gmail dot com> ---
(In reply to Nicholas Krause from comment #1)
> After looking through the git history that last time this functions in your
> trace were changed is by commit id,
> db30281f0b2ff6dfc0c4146291baf020a27e4065. Martin Liska was the original
> committer so he should comment on this.
> https://gcc.gnu.org/git/?p=gcc.git;a=commit;
> h=db30281f0b2ff6dfc0c4146291baf020a27e4065
>
> However this was changed:
> summary->duplicate (edge1, edge2, edge1_summary,
> summary->get_create (edge2));
and it appears to be assuming based on the above lines:
if (summary->m_initialize_when_cloning)
edge1_summary = summary->get_create (edge1);
else
edge1_summary = summary->get (edge1);
That this can never occur for edge2. Martin is edge2 assumed to be good by this
comment?
More information about the Gcc-bugs
mailing list