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 tree-optimization/19639] Funny (horrible) code for empty destructor


------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de  2005-01-30 18:54 -------
Subject: Re:  Funny (horrible) code for empty
 destructor

pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-29 21:19 -------
> As(In reply to comment #7)
> 
>>Or we could simply unroll the loop completely, but while SCEV finds
>>the IV as
> 
> 
> Again this is most likely because fold does not fold "&x.foo[2] - 4B" to "&x.foo[0]", or someone forgets 
> to call fold on that.  I know that fold_stmt can do it.

Yeah, I can find code to fold &x.foo[i] - c * j, but not without the c * 
mult.  I'll look into this later.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19639


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