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