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/17252] [3.5 Regression] LIM can create wrong code because of aliasing


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-31 21:07 -------
Here is the better example of where the problem comes into play:
char *a;
void g()
{
  int i;
  a = (char*)&a;
  for(i=0;i<10;i++)a[i] = 0;
}

-- 


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


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