Ticket #5 (defect)
Opened 1 year ago
Last modified 1 year ago
barrier_neg test is overly strict
Status: closed (fixed)
| Reported by: | gary | Assigned to: | apokayi |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | 1.0 |
| Keywords: | guts | Cc: | |
On GCC/UPC 4.0.3.4 fails as follows:
============================================================================== --------------> Working on unit -- barrier_neg\n ERROR: The NEGATIVE unit [barrier_neg] pass the compilation phase The unit will not be run!!! TEST FAILED for the unit [barrier_neg]
The body of the test is:
/*
* To check that the expressions used as operands to upc_notify,
* upc_wait, upc_barrier and upc_fence must be integer expressions
* so the compiler must raise an ERROR here !!!
*/
char A, B;
upc_notify A;
upc_wait B;
Since a "char" type is trivially converted to an "int" type, then either the spec. is overly specific, or the thest is overly narrow.
Change History
09/06/07 16:28:00: Modified by sbahra
- owner changed from somebody to apokayi.
09/20/07 05:15:54: Modified by apokayi
- status changed from new to closed.
- resolution set to fixed.

test case is dropped