[OpenMP, Patch] PR fortran/47886 fix ICE in OMP task's if() clause

Tobias Burnus burnus@net-b.de
Sat Feb 26 18:53:00 GMT 2011


The patch is rather obvious. Without, one gets an ICE as the function is 
not resolved but BT_UNKNOWN in

    !$omp task if(omp_get_num_threads()>  0)


Build and regtested on x86-64-linux.
OK for the trunk? What about GCC 4.4 and 4.5?

Tobias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: omp-task.diff
Type: text/x-patch
Size: 588 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20110226/09b91ea7/attachment.bin>


More information about the Fortran mailing list