Correct UPC_CHAR to be a 'signed' char
Issue #116
new
Originally reported on Google Code with ID 116
The table in 7.3.2 paragraph 2 giving the types corresponding to the macros needs to
be updated to explicitly used 'signed char' for 'UPC_CHAR' (and probably add signed
to the other signed integer types as well), as 'char' alone is not guaranteed to be
signed. Note that the table in 7.4.3.1 paragraph 2 explicitly uses 'signed'.
Reported by sdvormwa@cray.com
on 2013-08-06 16:35:14
Comments (8)
-
Account Deleted -
Account Deleted Proposed resolution: --- upc-lib-core.tex (revision 223) +++ upc-lib-core.tex (working copy) @@ -813,7 +813,7 @@ \begin{tabular}[b]{ p{30pt} l l } & Macro name & Specified type\\ \cline{2-3} -\defmacrotab{CHAR} {char} +\defmacrotab{CHAR} {signed char} \defmacrotab{UCHAR} {unsigned char} \defmacrotab{SHORT} {short} \defmacrotab{USHORT} {unsigned short} No change annotation is required as this section is entirely new in 1.3.
Reported by
danbonachea
on 2013-08-18 00:06:45 -
Account Deleted Proposal mailed 8/17/13
Reported by
danbonachea
on 2013-08-18 00:10:13 - Status changed:PendingApproval
-
Account Deleted Reported by
gary.funck
on 2013-09-09 20:35:07 -
Account Deleted Ratified at the 11/15/13 telecon and committed as SVN r232
Reported by
danbonachea
on 2013-11-15 19:12:05 - Status changed:Ratified
-
Account Deleted Adjust summary for clarity
Reported by
danbonachea
on 2013-11-16 23:34:42 -
Account Deleted > So C99 requires that "int" designates the exact same type as "signed int", and similarly for the other basic integer types that are not char. This means that "signed long int" is always guaranteed to be a long-winded way to say "long" (pun intended). Yes, but adding 'signed' makes the formatting of the table nicer, as then all the basic integer types have the type specifier in both cases. It is also then consistent with the wording of the reduction suffixes in the table of 7.4.3.1 paragraph 2.
Reported by
sdvormwa@cray.com
on 2013-11-18 15:26:59 -
Account Deleted Sorry to be a stickler for process, but our release is imminent. This issue was in a PendingApproval state for over three months (during which no comments were received), and is now officially ratified and committed. The comment period for this issue is well past, and the issue is now closed. Any further concerns therefore constitute a new issue, and the deadline for new issues targeted for 1.3 is also well past. If you feel this text merits further adjustment, please submit a new issue for 1.4.
Reported by
danbonachea
on 2013-11-18 18:30:22 - Log in to comment
Reported by
danbonachea
on 2013-08-18 00:00:39