You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 3 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Copyright (C) 1988-2020 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with the
  7. Invariant Sections being "Funding Free Software", the Front-Cover
  8. Texts being (a) (see below), and with the Back-Cover Texts being (b)
  9. (see below). A copy of the license is included in the section entitled
  10. "GNU Free Documentation License".
  11. (a) The FSF's Front-Cover Text is:
  12. A GNU Manual
  13. (b) The FSF's Back-Cover Text is:
  14. You have freedom to copy and modify this GNU Manual, like GNU
  15. software. Copies published by the Free Software Foundation raise
  16. funds for GNU development. -->
  17. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  18. <head>
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  20. <title>C Implementation (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="C Implementation (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="C Implementation (Using the GNU Compiler Collection (GCC))">
  23. <meta name="resource-type" content="document">
  24. <meta name="distribution" content="global">
  25. <meta name="Generator" content="makeinfo">
  26. <link href="index.html#Top" rel="start" title="Top">
  27. <link href="Option-Index.html#Option-Index" rel="index" title="Option Index">
  28. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  29. <link href="index.html#Top" rel="up" title="Top">
  30. <link href="Translation-implementation.html#Translation-implementation" rel="next" title="Translation implementation">
  31. <link href="Precompiled-Headers.html#Precompiled-Headers" rel="prev" title="Precompiled Headers">
  32. <style type="text/css">
  33. <!--
  34. a.summary-letter {text-decoration: none}
  35. blockquote.indentedblock {margin-right: 0em}
  36. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  37. blockquote.smallquotation {font-size: smaller}
  38. div.display {margin-left: 3.2em}
  39. div.example {margin-left: 3.2em}
  40. div.lisp {margin-left: 3.2em}
  41. div.smalldisplay {margin-left: 3.2em}
  42. div.smallexample {margin-left: 3.2em}
  43. div.smalllisp {margin-left: 3.2em}
  44. kbd {font-style: oblique}
  45. pre.display {font-family: inherit}
  46. pre.format {font-family: inherit}
  47. pre.menu-comment {font-family: serif}
  48. pre.menu-preformatted {font-family: serif}
  49. pre.smalldisplay {font-family: inherit; font-size: smaller}
  50. pre.smallexample {font-size: smaller}
  51. pre.smallformat {font-family: inherit; font-size: smaller}
  52. pre.smalllisp {font-size: smaller}
  53. span.nolinebreak {white-space: nowrap}
  54. span.roman {font-family: initial; font-weight: normal}
  55. span.sansserif {font-family: sans-serif; font-weight: normal}
  56. ul.no-bullet {list-style: none}
  57. -->
  58. </style>
  59. </head>
  60. <body lang="en">
  61. <a name="C-Implementation"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="C_002b_002b-Implementation.html#C_002b_002b-Implementation" accesskey="n" rel="next">C++ Implementation</a>, Previous: <a href="Invoking-GCC.html#Invoking-GCC" accesskey="p" rel="prev">Invoking GCC</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  65. </div>
  66. <hr>
  67. <a name="C-Implementation_002dDefined-Behavior"></a>
  68. <h2 class="chapter">4 C Implementation-Defined Behavior</h2>
  69. <a name="index-implementation_002ddefined-behavior_002c-C-language"></a>
  70. <p>A conforming implementation of ISO C is required to document its
  71. choice of behavior in each of the areas that are designated
  72. &ldquo;implementation defined&rdquo;. The following lists all such areas,
  73. along with the section numbers from the ISO/IEC 9899:1990, ISO/IEC
  74. 9899:1999 and ISO/IEC 9899:2011 standards. Some areas are only
  75. implementation-defined in one version of the standard.
  76. </p>
  77. <p>Some choices depend on the externally determined ABI for the platform
  78. (including standard character encodings) which GCC follows; these are
  79. listed as &ldquo;determined by ABI&rdquo; below. See <a href="Compatibility.html#Compatibility">Binary
  80. Compatibility</a>, and <a href="http://gcc.gnu.org/readings.html">http://gcc.gnu.org/readings.html</a>. Some
  81. choices are documented in the preprocessor manual.
  82. See <a href="http://gcc.gnu.org/onlinedocs/cpp/Implementation_002ddefined-behavior.html#Implementation_002ddefined-behavior">Implementation-defined
  83. behavior</a> in <cite>The C Preprocessor</cite>. Some choices are made by the
  84. library and operating system (or other environment when compiling for
  85. a freestanding environment); refer to their documentation for details.
  86. </p>
  87. <table class="menu" border="0" cellspacing="0">
  88. <tr><td align="left" valign="top">&bull; <a href="Translation-implementation.html#Translation-implementation" accesskey="1">Translation implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  89. </td></tr>
  90. <tr><td align="left" valign="top">&bull; <a href="Environment-implementation.html#Environment-implementation" accesskey="2">Environment implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  91. </td></tr>
  92. <tr><td align="left" valign="top">&bull; <a href="Identifiers-implementation.html#Identifiers-implementation" accesskey="3">Identifiers implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  93. </td></tr>
  94. <tr><td align="left" valign="top">&bull; <a href="Characters-implementation.html#Characters-implementation" accesskey="4">Characters implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  95. </td></tr>
  96. <tr><td align="left" valign="top">&bull; <a href="Integers-implementation.html#Integers-implementation" accesskey="5">Integers implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  97. </td></tr>
  98. <tr><td align="left" valign="top">&bull; <a href="Floating-point-implementation.html#Floating-point-implementation" accesskey="6">Floating point implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  99. </td></tr>
  100. <tr><td align="left" valign="top">&bull; <a href="Arrays-and-pointers-implementation.html#Arrays-and-pointers-implementation" accesskey="7">Arrays and pointers implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  101. </td></tr>
  102. <tr><td align="left" valign="top">&bull; <a href="Hints-implementation.html#Hints-implementation" accesskey="8">Hints implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  103. </td></tr>
  104. <tr><td align="left" valign="top">&bull; <a href="Structures-unions-enumerations-and-bit_002dfields-implementation.html#Structures-unions-enumerations-and-bit_002dfields-implementation" accesskey="9">Structures unions enumerations and bit-fields implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  105. </td></tr>
  106. <tr><td align="left" valign="top">&bull; <a href="Qualifiers-implementation.html#Qualifiers-implementation">Qualifiers implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  107. </td></tr>
  108. <tr><td align="left" valign="top">&bull; <a href="Declarators-implementation.html#Declarators-implementation">Declarators implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  109. </td></tr>
  110. <tr><td align="left" valign="top">&bull; <a href="Statements-implementation.html#Statements-implementation">Statements implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  111. </td></tr>
  112. <tr><td align="left" valign="top">&bull; <a href="Preprocessing-directives-implementation.html#Preprocessing-directives-implementation">Preprocessing directives implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  113. </td></tr>
  114. <tr><td align="left" valign="top">&bull; <a href="Library-functions-implementation.html#Library-functions-implementation">Library functions implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  115. </td></tr>
  116. <tr><td align="left" valign="top">&bull; <a href="Architecture-implementation.html#Architecture-implementation">Architecture implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  117. </td></tr>
  118. <tr><td align="left" valign="top">&bull; <a href="Locale_002dspecific-behavior-implementation.html#Locale_002dspecific-behavior-implementation">Locale-specific behavior implementation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  119. </td></tr>
  120. </table>
  121. <hr>
  122. <div class="header">
  123. <p>
  124. Next: <a href="C_002b_002b-Implementation.html#C_002b_002b-Implementation" accesskey="n" rel="next">C++ Implementation</a>, Previous: <a href="Invoking-GCC.html#Invoking-GCC" accesskey="p" rel="prev">Invoking GCC</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  125. </div>
  126. </body>
  127. </html>