http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54136
--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-07-31
09:01:54 UTC ---
cam_xyz[0][j] = table[i].trans[j]
How are those two arrays (cam_xyz[0] and trans) defined?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54136
--- Comment #2 from Venkataramanan venkataramanan.kumar at amd dot com
2012-07-31 09:02:34 UTC ---
Created attachment 27904
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27904
Simplied test case
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54136
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54136
--- Comment #4 from Venkataramanan venkataramanan.kumar at amd dot com
2012-07-31 09:22:47 UTC ---
Ok thanks will adjust the test case.
So compiler can generate infinite loop incase of array out of bound acess?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54136
--- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2012-07-31
09:24:56 UTC ---
(In reply to comment #4)
Ok thanks will adjust the test case.
So compiler can generate infinite loop incase of array out of bound acess?
Yes,