[Bug c++/45605] Missed devirtualization
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Wed Sep 15 19:10:00 GMT 2010
------- Comment #8 from rguenther at suse dot de 2010-09-15 19:09 -------
Subject: Re: Missed devirtualization
On Wed, 15 Sep 2010, jamborm at gcc dot gnu dot org wrote:
> ------- Comment #7 from jamborm at gcc dot gnu dot org 2010-09-15 18:42 -------
> Well, it turns out that fold_stmt_1 is never called on that statement
> (neither with -O -finline or -O2 or -O3). Where is it supposed to be
> called from?
We fold a stmt only if it is propagated to (by ccp, copyprop, forwprop,
dom or by inlining).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45605
More information about the Gcc-bugs
mailing list