[Bug c/61050] OpenMP: wrong behavior of 'omp for' on corner cases

2014-05-04 Thread guido at vanguardiasur dot com.ar
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61050 --- Comment #2 from Guido Martínez --- (In reply to Jakub Jelinek from comment #1) > This is undefined behavior. > See OpenMP 4.0, 2.6, lines 18-26 on page 52: > > "The following restrictions also apply: > > - If test-expr is of the form var rel

[Bug c/61050] New: OpenMP: wrong behavior of 'omp for' on corner cases

2014-05-03 Thread guido at vanguardiasur dot com.ar
iority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: guido at vanguardiasur dot com.ar Created attachment 32728 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32728&action=edit example input Note: by infinite loop, we mean something of the form &