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 middle-end/36770] PowerPC missed autoincrement opportunity



------- Comment #5 from bonzini at gnu dot org  2008-07-18 14:13 -------
Hmm, even that wouldn't restore the optimization.  The problem here is that
there is another access via b, like

   a <- b + c
   *b
   *(b + c)

The bad placement of the first assignment (bad because doing it the other way
round would have lower register pressure) in turn happens as soon as
gimplification.


-- 


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


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