OSDN Git Service

PR libgomp/42942
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Mar 2010 15:16:52 +0000 (15:16 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Mar 2010 15:16:52 +0000 (15:16 +0000)
commit0bdba7760faceb03c5f42a9da1227e4bb4cc11fb
tree655886a8d69ffcdc399d52cfe655719423ef7e2b
parentc2a532e722cf82f70ad82b3e307ee6001f40886a
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157635 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/env.c
libgomp/testsuite/libgomp.c/pr42942.c [new file with mode: 0644]