OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* config/frv/frv.h (HARD_REGNO_RENAME_OK): Define. Do not allow
[pf3gnuchains/gcc-fork.git]
/
libgomp
/
team.c
diff --git
a/libgomp/team.c
b/libgomp/team.c
index
18b02e7
..
224236c
100644
(file)
--- a/
libgomp/team.c
+++ b/
libgomp/team.c
@@
-498,7
+498,8
@@
gomp_team_end (void)
gomp_mutex_destroy (&team->work_share_list_free_lock);
#endif
- if (__builtin_expect (thr->ts.team != NULL, 0))
+ if (__builtin_expect (thr->ts.team != NULL, 0)
+ || __builtin_expect (team->nthreads == 1, 0))
free_team (team);
else
{