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/13761] [tree-ssa] component refs to the same struct should not alias


------- Additional Comments From dalej at apple dot com  2004-05-17 19:56 -------
Here's another example (for lno).  The two inner loops should have identical code.

int x; int y;
struct { int x; int y; } global;
int foo() {
  int i;
  for ( i=0; i<10; i++)
    y += x*x;
  for ( i=0; i<10; i++)
    global.y += global.x*global.x;
}

-- 


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


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