------- Comment #10 from rguenther at suse dot de 2010-09-16 08:50 ------- Subject: Re: Missed devirtualization
On Wed, 15 Sep 2010, hubicka at ucw dot cz wrote: > ------- Comment #9 from hubicka at ucw dot cz 2010-09-15 22:39 ------- > Subject: Re: Missed devirtualization > > > We fold a stmt only if it is propagated to (by ccp, copyprop, forwprop, > > dom or by inlining). > Well, since fold_stmt is stornger than what fe does, I guess we should fold > each stmt at least once. No we shouldn't. We do fold some stmts during gimplification. Richard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45605