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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-02-23
            Summary|[4.5/4.6/4.7] OpenMP        |OpenMP incorrectly
                   |incorrectly parallelizes    |parallelizes loops (wrong
                   |loops (wrong iteration      |iteration count)
                   |count)                      |
     Ever Confirmed|0                           |1
      Known to fail|                            |4.3.6, 4.4.6, 4.5.3, 4.6.2,
                   |                            |4.7.0

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-23 
09:58:24 UTC ---
With 4.3.x we warned

testcase.c: In function 'main':
testcase.c:26: warning: iteration variable 'x' is unsigned

and up to 4.6.2 we produce

INT32_MAX: 0 / 65535
UINT32_MAX: 32768 / 65535

but on trunk (4.7) we say

INT32_MAX: 0 / 65535
UINT32_MAX: 65535 / 65535

Confirmed that ICC produces

INT32_MAX: 65535 / 65535
UINT32_MAX: 65535 / 65535

Reply via email to