| |
Home About Us A-Z Index Search • |
Organization | IBM Corporation |
---|---|
Author | William L. Toth |
Product Identification | Version/Release Number | Product Supplier | |
---|---|---|---|
1. | Visual Age Compiler(PID 5765-F56) | VAC 6.0.0.8 | International Business Machines Corporation |
Testing Environment | Binary-compatible Family | Portability Environment | Indicator of Compliance | Compliance Details | |
---|---|---|---|---|---|
1. |
|
| Internationalized System Calls and Libraries Extended V3 | Test Report from Perennial ANSI C Validation Suite | Test Suite:
CVSA V8.2 Test Report: OSCC-CTR-11-CLANG |
Question 1: What is the limit on the number of nesting levels of compound statements, iteration control structures, and selection control structures?
Response
Unlimited, but constrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 127 nesting levels of compound statements, iteration control structures, and selection control structures, implementations should avoid imposing fixed translation limits whenever possible.
Question 2: What is the limit on the number of nesting levels of conditional inclusions?
Response
64
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 63 nesting levels of conditional inclusions, implementations should avoid imposing fixed translation limits whenever possible.
Question 3: What is the limit on the number of pointer, array, and function declarators (in any combination) modifying an arithmetic, a structure, a union, or an incomplete type in a declaration?
Response
more than or equal to 12, but constrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 12 pointer, array, and function declarators (in any combination) modifying an arithmetic, a structure, a union, or an incomplete type in a declaration, implementations should avoid imposing fixed translation limits whenever possible.
Question 4: What is the limit on the number of nesting levels of parenthesized declarators within a full declarator?
Response
More than or equal to 1984, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 63 nesting levels of parenthesized declarators within a full declarator, implementations should avoid imposing fixed translation limits whenever possible.
Question 5: What is the limit on the number of nesting levels of parenthesized expressions within a full expression?
Response
More than or equal to 2048, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 63 nesting levels of parenthesized expressions within a full expression, implementations should avoid imposing fixed translation limits whenever possible.
Question 6: What is the number of significant initial characters in an internal identifier or macro name?
Response
Unlimited
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 63 significant initial characters in an internal identifier or macro name, implementations should avoid imposing fixed translation limits whenever possible.
Question 7: What is the number of significant initial characters in an external identifier?
Response
No limit by the compiler, linker limit is 4096
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 31 significant initial characters in an external identifier, implementations should avoid imposing fixed translation limits whenever possible.
XSI-conformant systems support the significance of external identifiers up to a length of at least 31 bytes.
Question 8: What is the limit on the number of external identifiers in one translation unit?
Response
More than or equal to 511, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 4095 external identifiers in one translation unit, implementations should avoid imposing fixed translation limits whenever possible.
Question 9: What is the limit on the number of identifiers with block scope declared within one block?
Response
More than or equal to 254, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 511 identifiers with block scope declared within one block, implementations should avoid imposing fixed translation limits whenever possible.
Question 10: What is the limit on the number of macro identifiers simultaneously defined in one translation unit?
Response
More than or equal to 1024, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 4095 macro identifiers simultaneously defined in one translation unit, implementations should avoid imposing fixed translation limits whenever possible.
Question 11: What is the limit on the number of parameters in one function definition?
Response
1023
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 127 parameters in one function definition, implementations should avoid imposing fixed translation limits whenever possible.
Question 12: What is the limit on the number of arguments in one function call?
Response
1023
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 127 arguments in one function call, implementations should avoid imposing fixed translation limits whenever possible.
Question 13: What is the limit on the number of parameters in one macro definition?
Response
More than or equal to 3968, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 127 parameters in one macro definition, implementations should avoid imposing fixed translation limits whenever possible.
Question 14: What is the limit on the number of arguments in one macro invocation?
Response
More than or equal to 3968, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 127 arguments in one macro invocation, implementations should avoid imposing fixed translation limits whenever possible.
Question 15: What is the limit on the number of characters in a logical source line?
Response
More than or equal to 122880, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 4095 characters in a logical source line, implementations should avoid imposing fixed translation limits whenever possible.
Question 16: What is the limit on the number of characters in a character string literal or wide string literal (after concatenation)?
Response
Ulimited, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 4095 characters in a character string literal or wide string literal (after concatenation), implementations should avoid imposing fixed translation limits whenever possible.
Question 17: What is the limit on the number of bytes in an object (in a hosted environment only)?
Response
More than or equal to 32768, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 65535 bytes in an object (in a hosted environment only), implementations should avoid imposing fixed translation limits whenever possible.
Question 18: What is the limit on the number of nesting levels for #included files?
Response
64
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 15 nesting levels for #includeed files, implementations should avoid imposing fixed translation limits whenever possible.
Question 19: What is the limit on the number of case labels for a switch statement (excluding those for any nested switch statement)?
Response
More than or equal to 257, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 1023 case labels for a switch statement (excluding those for any nested switch statement), implementations should avoid imposing fixed translation limits whenever possible.
Question 20: What is the limit on the number of members in a single structure or union?
Response
More than or equal to 127, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 1023 members in a single structure or union, implementations should avoid imposing fixed translation limits whenever possible.
Question 21: What is the limit on the number of enumeration constants in a single enumeration?
Response
More than or equal to 127, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 1023 enumeration constants in a single enumeration, iteration control structures, and selection control structures, implementations should avoid imposing fixed translation limits whenever possible.
Question 22: What is the limit on the number of levels of nested structure or union definitions in a single struct-declaration-list?
Response
More than or equal to 15, but contrained by available memory
Rationale
The ISO C specification states that, while the implementation shall be able to translate and execute at least one program that contains at least one instance of 63 levels of nested structure or union definitions in a single struct-declaration-list, implementations should avoid imposing fixed translation limits whenever possible.
Question 23: What conversion rules are applied when converting an integer type to a floating type which cannot represent the result exactly?
Response
Rationale
The ISO C specification states that when a value of integer type is converted to a floating type, if the value being converted is in the range of values which can be represented but cannot be represented exactly, the result is either the nearest higher value or nearest lower value, chosen in an implementation-defined manner.
Question 24: What conversion rules are applied when converting a double to a float or a long double to a double or a float which cannot represent the result exactly?
Response
Rationale
The ISO C specification states that when converting a double to a float, or a long double to a double or a float, if the value being converted is in the range of values which can be represented but cannot be represented exactly, the result is either the nearest higher value or nearest lower value, chosen in an implementation-defined manner.
Question 25: When mapping sequences of characters in #include directives to external source file names, does the implementation ignore distinctions of alphabetic case and restrict the mapping to 8 significant characters?
Response
No
Rationale
The ISO C specification states that the implementation may ignore distinctions of alphabetic case and restrict the mapping to 8 significant characters.
Question 26: Does the implementation support imaginary types?
Response
No
Rationale
The ISO C specification states that implementations are not required to provide imaginary types.
Question 27: What definitions of the function main(), other than the standard two definitions, does the implementation support, if any?
Response
Rationale
The ISO C specification states that implementations may provide the main() function in an implementation-defined manner.
Question 28: What extended signed integer types are supported by the implementation, if any?
Response
Rationale
The ISO C specification states that implementations may provide extended signed integer types.
Copyright © 2004 International Business Machines Corp
All rights reserved.
Date | Name | Comment |
---|---|---|
09-Sep-2004 | William L. Toth | Initial UNIX03 Submission on the 8-2004 AIX V5.2 release |
The Open Group and Boundaryless Information Flow are trademarks and UNIX is a registered trademark of The Open Group in the United States and other countries. All other trademarks are the property of their respective owners.