Commit Message

Hi!
During 4.4 development the creation of conditions were incorrectly changed
from build2 to fold_build2. This is wrong, because comparisons with
the highest or lowest type's value can be folded into != test, which is not
valid OpenMP condition (the middle-end code wants to know if the condition
is </<= or >/>=).
Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux,
committed (so far) on the trunk.
2010-12-02 Jakub Jelinek <jakub@redhat.com>
PR fortran/46753
* trans-openmp.c (gfc_trans_omp_do): Use build2_loc instead of
fold_build2_loc for OMP_FOR conditions.
* libgomp.fortran/pr46753.f90: New test.
Jakub