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 libgomp/42942] OpenMP omp_set_max_active_levels(0) isn't resetting value



------- Comment #2 from jakub at gcc dot gnu dot org  2010-03-22 15:17 -------
Subject: Bug 42942

Author: jakub
Date: Mon Mar 22 15:16:52 2010
New Revision: 157635

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157635
Log:
        PR libgomp/42942
        * env.c (parse_unsigned_long): Add ALLOW_ZERO argument.
        (initialize_env): Adjust callers.
        (omp_set_max_active_levels): Set gomp_max_active_levels_var even
        when the argument is 0.

        * testsuite/libgomp.c/pr42942.c: New test.

Added:
    trunk/libgomp/testsuite/libgomp.c/pr42942.c
Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/env.c


-- 


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


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