* single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
commitfb590993978608d4249ad06bbd4f8ad1b3ee492b
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2005 17:43:45 +0000 (13 17:43 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2005 17:43:45 +0000 (13 17:43 +0000)
treebf6c6e41f8372e50f1b9a4fa75400e9360304d3f
parenta89eafcde9999f8b9a08a49905a9d7ec7cd9aca6
* single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
* testsuite/libgomp.dg/single-2.c: New test.

* testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file,
lang_link_flags): Unset, so that they aren't inherited from previously
sourced *.exp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-20050608-branch@105376 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/single.c
libgomp/testsuite/libgomp.dg/dg.exp
libgomp/testsuite/libgomp.dg/single-2.c [new file with mode: 0644]