[Bug tree-optimization/59892] out of bounds array access is misoptimized

2014-01-21 Thread lukasz.dorau at intel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59892 --- Comment #5 from Lukasz Dorau --- I see. Now I understand. Thanks!

[Bug tree-optimization/59892] out of bounds array access is misoptimized

2014-01-21 Thread trippels at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59892 --- Comment #4 from Markus Trippelsdorf --- (In reply to Lukasz Dorau from comment #3) > (In reply to Markus Trippelsdorf from comment #2) > > When v.hosts[0] or v.hosts[1] is NULL the loop is fine, so there is > > no reason for a warning. > > The

[Bug tree-optimization/59892] out of bounds array access is misoptimized

2014-01-21 Thread lukasz.dorau at intel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59892 --- Comment #3 from Lukasz Dorau --- (In reply to Markus Trippelsdorf from comment #2) > When v.hosts[0] or v.hosts[1] is NULL the loop is fine, so there is > no reason for a warning. > The testcase is obviously invalid. > But v.hosts[0] and v.hos

[Bug tree-optimization/59892] out of bounds array access is misoptimized

2014-01-20 Thread trippels at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59892 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/59892] out of bounds array access is misoptimized

2014-01-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59892 --- Comment #1 from Andrew Pinski --- The warning should be there already.