| |
Home • About Us •A-Z Index• Search |
Organization | Huawei |
---|---|
Author | Peng Shen |
Product Identification | Version/Release Number | Product Supplier |
---|---|---|
EulerOS | 2.0 | Huawei Technologies Co., Ltd. |
Testing Environment | Binary-compatible Family | Portability Environment | Indicator of Compliance | Compliance Details |
---|---|---|---|---|
Huawei Kunlun Mission Critical Server | Huawei Kunlun Mission Critical Server | Internationalized System Calls and Libraries Extended V3 | Test Report from Plum-Hall C Validation Suite | Test Suite: cvs14a Test Report: report_cvs_huawei.tar.gz |
None.
Question 1: What is the limit on the number of nesting levels of compound statements, iteration control structures, and selection control structures?
Response
Limited only by stack size, tested to be more than 370000
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 2: What is the limit on the number of nesting levels of conditional inclusions?
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 nesting levels of conditional inclusions, implementations should avoid imposing fixed translation limits whenever possible.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
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
8000
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C, Section 5.2.4.1, Translation Limits.
Question 4: What is the limit on the number of nesting levels of parenthesized declarators within a full declarator?
Response
190000
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C, Section 5.2.4.1, Translation Limits.
Question 5: What is the limit on the number of nesting levels of parenthesized expressions within a full expression?
Response
10000
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 7: What is the number of significant initial characters in an external identifier?
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 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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 8: What is the limit on the number of external identifiers in one translation unit?
Response
30000
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 9: What is the limit on the number of identifiers with block scope declared within one block?
Response
30000
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 10: What is the limit on the number of macro identifiers simultaneously defined in one translation unit?
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 4095 macro identifiers simultaneously defined in one translation unit, implementations should avoid imposing fixed translation limits whenever possible.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 11: What is the limit on the number of parameters in one function definition?
Response
68000
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 12: What is the limit on the number of arguments in one function call?
Response
68000
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 13: What is the limit on the number of parameters in one macro definition?
Response
65535
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 14: What is the limit on the number of arguments in one macro invocation?
Response
65535
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 15: What is the limit on the number of characters in a logical source line?
Response
Limited by 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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 16: What is the limit on the number of characters in a character string literal or wide string literal (after concatenation)?
Response
Limited by 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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 17: What is the limit on the number of bytes in an object (in a hosted environment only)?
Response
Limited by 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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 18: What is the limit on the number of nesting levels for #included files?
Response
200
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 19: What is the limit on the number of case labels for a switch statement (excluding those for any nested switch statement)?
Response
Limited by 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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 20: What is the limit on the number of members in a single structure or union?
Response
Limited by 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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 21: What is the limit on the number of enumeration constants in a single enumeration?
Response
Limited by 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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 22: What is the limit on the number of levels of nested structure or union definitions in a single struct-declaration-list?
Response
35713
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.2.4.1, Translation Limits.
Question 23: What conversion rules are applied when converting an integer type to a floating type which cannot represent the result exactly?
Response
The nearest higher or nearest lower value is chosen according to the rounding specification of the IEC 60559 floating-point standard.
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 6.3.1, Arithmetic Operands.
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
The nearest higher or nearest lower value is chosen according to the rounding specification of the IEC 60559 floating-point standard.
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 6.3.1, Arithmetic Operands.
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 6.10.2, Source File Inclusion.
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.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 6.7.2, Type Specifiers.
Question 27: What definitions of the function main(), other than the standard two definitions, does the implementation support, if any?
Response
None.
Rationale
The ISO C specification states that implementations may provide the main() function in an implementation-defined manner.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 5.1.2.2.1, Program Startup.
Question 28: What extended signed integer types are supported by the implementation, if any?
Response
not applicable
Rationale
The ISO C specification states that implementations may provide extended signed integer types.
Reference
ISO/IEC 9899:1999, Programming Languages - C , Section 6.2.5, Types, Section 6.3.1.1, Boolean Characters and Integers.
Copyright © 2016
All rights reserved.
Date | Name | Comment |
---|---|---|
11-Aug-2016 | Peng Shen | EulerOS 2.0 |
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.