[Bug tree-optimization/17252] [3.5 Regression] LIM can create wrong code because of aliasing
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 31 21:07:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list