This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/48894] generic omp_get_ancestor_thread_num(l(i)) produces incorrect output


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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-06 10:11:10 UTC ---
Author: jakub
Date: Fri May  6 10:11:07 2011
New Revision: 173476

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173476
Log:
    PR fortran/48894
    * fortran.c: Include limits.h.
    (TO_INT): Define.
    (omp_set_dynamic_8_, omp_set_num_threads_8_): Use !!*set instead of
    *set.
    (omp_set_num_threads_8_, omp_set_schedule_8_,
    omp_set_max_active_levels_8_, omp_get_ancestor_thread_num_8_,
    omp_get_team_size_8_): Use TO_INT macro.
    * testsuite/libgomp.fortran/pr48894.f90: New test.

Added:
    trunk/libgomp/testsuite/libgomp.fortran/pr48894.f90
Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/fortran.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]