* upc-act.c (upc_num_threads): When THREADS is specified
commit2c0467aa360ecc6fe58728e3513b50eb679b7343
authorgfunck <gfunck@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2012 08:04:18 +0000 (4 08:04 +0000)
committergfunck <gfunck@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2012 08:04:18 +0000 (4 08:04 +0000)
tree0c486e9b743a62369d1a1c306569a6eeb55145ca
parent612fd9d20102c809478155b883dd198be1af0cf2
* upc-act.c (upc_num_threads): When THREADS is specified
statically, convert the value to a signed size type,
so that (for example) the thread affinity test in a
upc_forall() statement will work as expected for negative
integer index values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gupc@187147 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/upc/ChangeLog
gcc/upc/upc-act.c