This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [OpenMP, Patch] PR fortran/47886 fix ICE in OMP task's if() clause
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Sat, 26 Feb 2011 10:56:21 -0800
- Subject: Re: [OpenMP, Patch] PR fortran/47886 fix ICE in OMP task's if() clause
- References: <4D694C37.6040205@net-b.de>
On Sat, Feb 26, 2011 at 07:53:43PM +0100, Tobias Burnus wrote:
> 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?
>
Unless Jakub has some objection, I think the patch
can be committed to all three.
--
Steve