Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

3 роки тому
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471
  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>Option Summary (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="Option Summary (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="Option Summary (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="Invoking-GCC.html#Invoking-GCC" rel="up" title="Invoking GCC">
  30. <link href="Overall-Options.html#Overall-Options" rel="next" title="Overall Options">
  31. <link href="Invoking-GCC.html#Invoking-GCC" rel="prev" title="Invoking GCC">
  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="Option-Summary"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="Overall-Options.html#Overall-Options" accesskey="n" rel="next">Overall Options</a>, Up: <a href="Invoking-GCC.html#Invoking-GCC" accesskey="u" rel="up">Invoking GCC</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="Option-Summary-1"></a>
  68. <h3 class="section">3.1 Option Summary</h3>
  69. <p>Here is a summary of all the options, grouped by type. Explanations are
  70. in the following sections.
  71. </p>
  72. <dl compact="compact">
  73. <dt><em>Overall Options</em></dt>
  74. <dd><p>See <a href="Overall-Options.html#Overall-Options">Options Controlling the Kind of Output</a>.
  75. </p><div class="smallexample">
  76. <pre class="smallexample">-c -S -E -o <var>file</var> -x <var>language</var>
  77. -v -### --help<span class="roman">[</span>=<var>class</var><span class="roman">[</span>,&hellip;<span class="roman">]]</span> --target-help --version
  78. -pass-exit-codes -pipe -specs=<var>file</var> -wrapper
  79. @<var>file</var> -ffile-prefix-map=<var>old</var>=<var>new</var>
  80. -fplugin=<var>file</var> -fplugin-arg-<var>name</var>=<var>arg</var>
  81. -fdump-ada-spec<span class="roman">[</span>-slim<span class="roman">]</span> -fada-spec-parent=<var>unit</var> -fdump-go-spec=<var>file</var>
  82. </pre></div>
  83. </dd>
  84. <dt><em>C Language Options</em></dt>
  85. <dd><p>See <a href="C-Dialect-Options.html#C-Dialect-Options">Options Controlling C Dialect</a>.
  86. </p><div class="smallexample">
  87. <pre class="smallexample">-ansi -std=<var>standard</var> -fgnu89-inline
  88. -fpermitted-flt-eval-methods=<var>standard</var>
  89. -aux-info <var>filename</var> -fallow-parameterless-variadic-functions
  90. -fno-asm -fno-builtin -fno-builtin-<var>function</var> -fgimple
  91. -fhosted -ffreestanding
  92. -fopenacc -fopenacc-dim=<var>geom</var>
  93. -fopenmp -fopenmp-simd
  94. -fms-extensions -fplan9-extensions -fsso-struct=<var>endianness</var>
  95. -fallow-single-precision -fcond-mismatch -flax-vector-conversions
  96. -fsigned-bitfields -fsigned-char
  97. -funsigned-bitfields -funsigned-char
  98. </pre></div>
  99. </dd>
  100. <dt><em>C++ Language Options</em></dt>
  101. <dd><p>See <a href="C_002b_002b-Dialect-Options.html#C_002b_002b-Dialect-Options">Options Controlling C++ Dialect</a>.
  102. </p><div class="smallexample">
  103. <pre class="smallexample">-fabi-version=<var>n</var> -fno-access-control
  104. -faligned-new=<var>n</var> -fargs-in-order=<var>n</var> -fchar8_t -fcheck-new
  105. -fconstexpr-depth=<var>n</var> -fconstexpr-cache-depth=<var>n</var>
  106. -fconstexpr-loop-limit=<var>n</var> -fconstexpr-ops-limit=<var>n</var>
  107. -fno-elide-constructors
  108. -fno-enforce-eh-specs
  109. -fno-gnu-keywords
  110. -fno-implicit-templates
  111. -fno-implicit-inline-templates
  112. -fno-implement-inlines -fms-extensions
  113. -fnew-inheriting-ctors
  114. -fnew-ttp-matching
  115. -fno-nonansi-builtins -fnothrow-opt -fno-operator-names
  116. -fno-optional-diags -fpermissive
  117. -fno-pretty-templates
  118. -fno-rtti -fsized-deallocation
  119. -ftemplate-backtrace-limit=<var>n</var>
  120. -ftemplate-depth=<var>n</var>
  121. -fno-threadsafe-statics -fuse-cxa-atexit
  122. -fno-weak -nostdinc++
  123. -fvisibility-inlines-hidden
  124. -fvisibility-ms-compat
  125. -fext-numeric-literals
  126. -Wabi-tag -Wcatch-value -Wcatch-value=<var>n</var>
  127. -Wno-class-conversion -Wclass-memaccess
  128. -Wcomma-subscript -Wconditionally-supported
  129. -Wno-conversion-null -Wctor-dtor-privacy -Wno-delete-incomplete
  130. -Wdelete-non-virtual-dtor -Wdeprecated-copy -Wdeprecated-copy-dtor
  131. -Weffc++ -Wextra-semi -Wno-inaccessible-base
  132. -Wno-inherited-variadic-ctor -Wno-init-list-lifetime
  133. -Wno-invalid-offsetof -Wno-literal-suffix -Wmismatched-tags
  134. -Wmultiple-inheritance -Wnamespaces -Wnarrowing
  135. -Wnoexcept -Wnoexcept-type -Wnon-virtual-dtor
  136. -Wpessimizing-move -Wno-placement-new -Wplacement-new=<var>n</var>
  137. -Wredundant-move -Wredundant-tags
  138. -Wreorder -Wregister
  139. -Wstrict-null-sentinel -Wno-subobject-linkage -Wtemplates
  140. -Wno-non-template-friend -Wold-style-cast
  141. -Woverloaded-virtual -Wno-pmf-conversions -Wsign-promo
  142. -Wsized-deallocation -Wsuggest-final-methods
  143. -Wsuggest-final-types -Wsuggest-override
  144. -Wno-terminate -Wuseless-cast -Wvirtual-inheritance
  145. -Wno-virtual-move-assign -Wvolatile -Wzero-as-null-pointer-constant
  146. </pre></div>
  147. </dd>
  148. <dt><em>Objective-C and Objective-C++ Language Options</em></dt>
  149. <dd><p>See <a href="Objective_002dC-and-Objective_002dC_002b_002b-Dialect-Options.html#Objective_002dC-and-Objective_002dC_002b_002b-Dialect-Options">Options Controlling
  150. Objective-C and Objective-C++ Dialects</a>.
  151. </p><div class="smallexample">
  152. <pre class="smallexample">-fconstant-string-class=<var>class-name</var>
  153. -fgnu-runtime -fnext-runtime
  154. -fno-nil-receivers
  155. -fobjc-abi-version=<var>n</var>
  156. -fobjc-call-cxx-cdtors
  157. -fobjc-direct-dispatch
  158. -fobjc-exceptions
  159. -fobjc-gc
  160. -fobjc-nilcheck
  161. -fobjc-std=objc1
  162. -fno-local-ivars
  163. -fivar-visibility=<span class="roman">[</span>public<span class="roman">|</span>protected<span class="roman">|</span>private<span class="roman">|</span>package<span class="roman">]</span>
  164. -freplace-objc-classes
  165. -fzero-link
  166. -gen-decls
  167. -Wassign-intercept -Wno-property-assign-default
  168. -Wno-protocol -Wselector
  169. -Wstrict-selector-match
  170. -Wundeclared-selector
  171. </pre></div>
  172. </dd>
  173. <dt><em>Diagnostic Message Formatting Options</em></dt>
  174. <dd><p>See <a href="Diagnostic-Message-Formatting-Options.html#Diagnostic-Message-Formatting-Options">Options to Control Diagnostic Messages Formatting</a>.
  175. </p><div class="smallexample">
  176. <pre class="smallexample">-fmessage-length=<var>n</var>
  177. -fdiagnostics-show-location=<span class="roman">[</span>once<span class="roman">|</span>every-line<span class="roman">]</span>
  178. -fdiagnostics-color=<span class="roman">[</span>auto<span class="roman">|</span>never<span class="roman">|</span>always<span class="roman">]</span>
  179. -fdiagnostics-urls=<span class="roman">[</span>auto<span class="roman">|</span>never<span class="roman">|</span>always<span class="roman">]</span>
  180. -fdiagnostics-format=<span class="roman">[</span>text<span class="roman">|</span>json<span class="roman">]</span>
  181. -fno-diagnostics-show-option -fno-diagnostics-show-caret
  182. -fno-diagnostics-show-labels -fno-diagnostics-show-line-numbers
  183. -fno-diagnostics-show-cwe
  184. -fdiagnostics-minimum-margin-width=<var>width</var>
  185. -fdiagnostics-parseable-fixits -fdiagnostics-generate-patch
  186. -fdiagnostics-show-template-tree -fno-elide-type
  187. -fdiagnostics-path-format=<span class="roman">[</span>none<span class="roman">|</span>separate-events<span class="roman">|</span>inline-events<span class="roman">]</span>
  188. -fdiagnostics-show-path-depths
  189. -fno-show-column
  190. </pre></div>
  191. </dd>
  192. <dt><em>Warning Options</em></dt>
  193. <dd><p>See <a href="Warning-Options.html#Warning-Options">Options to Request or Suppress Warnings</a>.
  194. </p><div class="smallexample">
  195. <pre class="smallexample">-fsyntax-only -fmax-errors=<var>n</var> -Wpedantic
  196. -pedantic-errors
  197. -w -Wextra -Wall -Wabi=<var>n</var>
  198. -Waddress -Wno-address-of-packed-member -Waggregate-return
  199. -Walloc-size-larger-than=<var>byte-size</var> -Walloc-zero
  200. -Walloca -Walloca-larger-than=<var>byte-size</var>
  201. -Wno-aggressive-loop-optimizations
  202. -Warith-conversion
  203. -Warray-bounds -Warray-bounds=<var>n</var>
  204. -Wno-attributes -Wattribute-alias=<var>n</var> -Wno-attribute-alias
  205. -Wno-attribute-warning -Wbool-compare -Wbool-operation
  206. -Wno-builtin-declaration-mismatch
  207. -Wno-builtin-macro-redefined -Wc90-c99-compat -Wc99-c11-compat
  208. -Wc11-c2x-compat
  209. -Wc++-compat -Wc++11-compat -Wc++14-compat -Wc++17-compat
  210. -Wc++20-compat
  211. -Wcast-align -Wcast-align=strict -Wcast-function-type -Wcast-qual
  212. -Wchar-subscripts
  213. -Wclobbered -Wcomment
  214. -Wconversion -Wno-coverage-mismatch -Wno-cpp
  215. -Wdangling-else -Wdate-time
  216. -Wno-deprecated -Wno-deprecated-declarations -Wno-designated-init
  217. -Wdisabled-optimization
  218. -Wno-discarded-array-qualifiers -Wno-discarded-qualifiers
  219. -Wno-div-by-zero -Wdouble-promotion
  220. -Wduplicated-branches -Wduplicated-cond
  221. -Wempty-body -Wno-endif-labels -Wenum-compare -Wenum-conversion
  222. -Werror -Werror=* -Wexpansion-to-defined -Wfatal-errors
  223. -Wfloat-conversion -Wfloat-equal -Wformat -Wformat=2
  224. -Wno-format-contains-nul -Wno-format-extra-args
  225. -Wformat-nonliteral -Wformat-overflow=<var>n</var>
  226. -Wformat-security -Wformat-signedness -Wformat-truncation=<var>n</var>
  227. -Wformat-y2k -Wframe-address
  228. -Wframe-larger-than=<var>byte-size</var> -Wno-free-nonheap-object
  229. -Wno-hsa -Wno-if-not-aligned -Wno-ignored-attributes
  230. -Wignored-qualifiers -Wno-incompatible-pointer-types
  231. -Wimplicit -Wimplicit-fallthrough -Wimplicit-fallthrough=<var>n</var>
  232. -Wno-implicit-function-declaration -Wno-implicit-int
  233. -Winit-self -Winline -Wno-int-conversion -Wint-in-bool-context
  234. -Wno-int-to-pointer-cast -Wno-invalid-memory-model
  235. -Winvalid-pch -Wjump-misses-init -Wlarger-than=<var>byte-size</var>
  236. -Wlogical-not-parentheses -Wlogical-op -Wlong-long
  237. -Wno-lto-type-mismatch -Wmain -Wmaybe-uninitialized
  238. -Wmemset-elt-size -Wmemset-transposed-args
  239. -Wmisleading-indentation -Wmissing-attributes -Wmissing-braces
  240. -Wmissing-field-initializers -Wmissing-format-attribute
  241. -Wmissing-include-dirs -Wmissing-noreturn -Wno-missing-profile
  242. -Wno-multichar -Wmultistatement-macros -Wnonnull -Wnonnull-compare
  243. -Wnormalized=<span class="roman">[</span>none<span class="roman">|</span>id<span class="roman">|</span>nfc<span class="roman">|</span>nfkc<span class="roman">]</span>
  244. -Wnull-dereference -Wno-odr -Wopenmp-simd
  245. -Wno-overflow -Woverlength-strings -Wno-override-init-side-effects
  246. -Wpacked -Wno-packed-bitfield-compat -Wpacked-not-aligned -Wpadded
  247. -Wparentheses -Wno-pedantic-ms-format
  248. -Wpointer-arith -Wno-pointer-compare -Wno-pointer-to-int-cast
  249. -Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls
  250. -Wrestrict -Wno-return-local-addr -Wreturn-type
  251. -Wno-scalar-storage-order -Wsequence-point
  252. -Wshadow -Wshadow=global -Wshadow=local -Wshadow=compatible-local
  253. -Wno-shadow-ivar
  254. -Wno-shift-count-negative -Wno-shift-count-overflow -Wshift-negative-value
  255. -Wno-shift-overflow -Wshift-overflow=<var>n</var>
  256. -Wsign-compare -Wsign-conversion
  257. -Wno-sizeof-array-argument
  258. -Wsizeof-pointer-div -Wsizeof-pointer-memaccess
  259. -Wstack-protector -Wstack-usage=<var>byte-size</var> -Wstrict-aliasing
  260. -Wstrict-aliasing=n -Wstrict-overflow -Wstrict-overflow=<var>n</var>
  261. -Wstring-compare
  262. -Wstringop-overflow=<var>n</var> -Wno-stringop-truncation
  263. -Wsuggest-attribute=<span class="roman">[</span>pure<span class="roman">|</span>const<span class="roman">|</span>noreturn<span class="roman">|</span>format<span class="roman">|</span>malloc<span class="roman">]</span>
  264. -Wswitch -Wno-switch-bool -Wswitch-default -Wswitch-enum
  265. -Wno-switch-outside-range -Wno-switch-unreachable -Wsync-nand
  266. -Wsystem-headers -Wtautological-compare -Wtrampolines -Wtrigraphs
  267. -Wtype-limits -Wundef
  268. -Wuninitialized -Wunknown-pragmas
  269. -Wunsuffixed-float-constants -Wunused
  270. -Wunused-but-set-parameter -Wunused-but-set-variable
  271. -Wunused-const-variable -Wunused-const-variable=<var>n</var>
  272. -Wunused-function -Wunused-label -Wunused-local-typedefs
  273. -Wunused-macros
  274. -Wunused-parameter -Wno-unused-result
  275. -Wunused-value -Wunused-variable
  276. -Wno-varargs -Wvariadic-macros
  277. -Wvector-operation-performance
  278. -Wvla -Wvla-larger-than=<var>byte-size</var> -Wno-vla-larger-than
  279. -Wvolatile-register-var -Wwrite-strings
  280. -Wzero-length-bounds
  281. </pre></div>
  282. </dd>
  283. <dt><em>Static Analyzer Options</em></dt>
  284. <dd><div class="smallexample">
  285. <pre class="smallexample">-fanalyzer
  286. -fanalyzer-call-summaries
  287. -fanalyzer-checker=<var>name</var>
  288. -fanalyzer-fine-grained
  289. -fanalyzer-state-merge
  290. -fanalyzer-state-purge
  291. -fanalyzer-transitivity
  292. -fanalyzer-verbose-edges
  293. -fanalyzer-verbose-state-changes
  294. -fanalyzer-verbosity=<var>level</var>
  295. -fdump-analyzer
  296. -fdump-analyzer-stderr
  297. -fdump-analyzer-callgraph
  298. -fdump-analyzer-exploded-graph
  299. -fdump-analyzer-exploded-nodes
  300. -fdump-analyzer-exploded-nodes-2
  301. -fdump-analyzer-exploded-nodes-3
  302. -fdump-analyzer-state-purge
  303. -fdump-analyzer-supergraph
  304. -Wno-analyzer-double-fclose
  305. -Wno-analyzer-double-free
  306. -Wno-analyzer-exposure-through-output-file
  307. -Wno-analyzer-file-leak
  308. -Wno-analyzer-free-of-non-heap
  309. -Wno-analyzer-malloc-leak
  310. -Wno-analyzer-null-argument
  311. -Wno-analyzer-null-dereference
  312. -Wno-analyzer-possible-null-argument
  313. -Wno-analyzer-possible-null-dereference
  314. -Wno-analyzer-stale-setjmp-buffer
  315. -Wno-analyzer-tainted-array-index
  316. -Wanalyzer-too-complex
  317. -Wno-analyzer-unsafe-call-within-signal-handler
  318. -Wno-analyzer-use-after-free
  319. -Wno-analyzer-use-of-pointer-in-stale-stack-frame
  320. -Wno-analyzer-use-of-uninitialized-value
  321. </pre></div>
  322. </dd>
  323. <dt><em>C and Objective-C-only Warning Options</em></dt>
  324. <dd><div class="smallexample">
  325. <pre class="smallexample">-Wbad-function-cast -Wmissing-declarations
  326. -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs
  327. -Wold-style-declaration -Wold-style-definition
  328. -Wstrict-prototypes -Wtraditional -Wtraditional-conversion
  329. -Wdeclaration-after-statement -Wpointer-sign
  330. </pre></div>
  331. </dd>
  332. <dt><em>Debugging Options</em></dt>
  333. <dd><p>See <a href="Debugging-Options.html#Debugging-Options">Options for Debugging Your Program</a>.
  334. </p><div class="smallexample">
  335. <pre class="smallexample">-g -g<var>level</var> -gdwarf -gdwarf-<var>version</var>
  336. -ggdb -grecord-gcc-switches -gno-record-gcc-switches
  337. -gstabs -gstabs+ -gstrict-dwarf -gno-strict-dwarf
  338. -gas-loc-support -gno-as-loc-support
  339. -gas-locview-support -gno-as-locview-support
  340. -gcolumn-info -gno-column-info
  341. -gstatement-frontiers -gno-statement-frontiers
  342. -gvariable-location-views -gno-variable-location-views
  343. -ginternal-reset-location-views -gno-internal-reset-location-views
  344. -ginline-points -gno-inline-points
  345. -gvms -gxcoff -gxcoff+ -gz<span class="roman">[</span>=<var>type</var><span class="roman">]</span>
  346. -gsplit-dwarf -gdescribe-dies -gno-describe-dies
  347. -fdebug-prefix-map=<var>old</var>=<var>new</var> -fdebug-types-section
  348. -fno-eliminate-unused-debug-types
  349. -femit-struct-debug-baseonly -femit-struct-debug-reduced
  350. -femit-struct-debug-detailed<span class="roman">[</span>=<var>spec-list</var><span class="roman">]</span>
  351. -fno-eliminate-unused-debug-symbols -femit-class-debug-always
  352. -fno-merge-debug-strings -fno-dwarf2-cfi-asm
  353. -fvar-tracking -fvar-tracking-assignments
  354. </pre></div>
  355. </dd>
  356. <dt><em>Optimization Options</em></dt>
  357. <dd><p>See <a href="Optimize-Options.html#Optimize-Options">Options that Control Optimization</a>.
  358. </p><div class="smallexample">
  359. <pre class="smallexample">-faggressive-loop-optimizations
  360. -falign-functions[=<var>n</var>[:<var>m</var>:[<var>n2</var>[:<var>m2</var>]]]]
  361. -falign-jumps[=<var>n</var>[:<var>m</var>:[<var>n2</var>[:<var>m2</var>]]]]
  362. -falign-labels[=<var>n</var>[:<var>m</var>:[<var>n2</var>[:<var>m2</var>]]]]
  363. -falign-loops[=<var>n</var>[:<var>m</var>:[<var>n2</var>[:<var>m2</var>]]]]
  364. -fno-allocation-dce -fallow-store-data-races
  365. -fassociative-math -fauto-profile -fauto-profile[=<var>path</var>]
  366. -fauto-inc-dec -fbranch-probabilities
  367. -fcaller-saves
  368. -fcombine-stack-adjustments -fconserve-stack
  369. -fcompare-elim -fcprop-registers -fcrossjumping
  370. -fcse-follow-jumps -fcse-skip-blocks -fcx-fortran-rules
  371. -fcx-limited-range
  372. -fdata-sections -fdce -fdelayed-branch
  373. -fdelete-null-pointer-checks -fdevirtualize -fdevirtualize-speculatively
  374. -fdevirtualize-at-ltrans -fdse
  375. -fearly-inlining -fipa-sra -fexpensive-optimizations -ffat-lto-objects
  376. -ffast-math -ffinite-math-only -ffloat-store -fexcess-precision=<var>style</var>
  377. -ffinite-loops
  378. -fforward-propagate -ffp-contract=<var>style</var> -ffunction-sections
  379. -fgcse -fgcse-after-reload -fgcse-las -fgcse-lm -fgraphite-identity
  380. -fgcse-sm -fhoist-adjacent-loads -fif-conversion
  381. -fif-conversion2 -findirect-inlining
  382. -finline-functions -finline-functions-called-once -finline-limit=<var>n</var>
  383. -finline-small-functions -fipa-cp -fipa-cp-clone
  384. -fipa-bit-cp -fipa-vrp -fipa-pta -fipa-profile -fipa-pure-const
  385. -fipa-reference -fipa-reference-addressable
  386. -fipa-stack-alignment -fipa-icf -fira-algorithm=<var>algorithm</var>
  387. -flive-patching=<var>level</var>
  388. -fira-region=<var>region</var> -fira-hoist-pressure
  389. -fira-loop-pressure -fno-ira-share-save-slots
  390. -fno-ira-share-spill-slots
  391. -fisolate-erroneous-paths-dereference -fisolate-erroneous-paths-attribute
  392. -fivopts -fkeep-inline-functions -fkeep-static-functions
  393. -fkeep-static-consts -flimit-function-alignment -flive-range-shrinkage
  394. -floop-block -floop-interchange -floop-strip-mine
  395. -floop-unroll-and-jam -floop-nest-optimize
  396. -floop-parallelize-all -flra-remat -flto -flto-compression-level
  397. -flto-partition=<var>alg</var> -fmerge-all-constants
  398. -fmerge-constants -fmodulo-sched -fmodulo-sched-allow-regmoves
  399. -fmove-loop-invariants -fno-branch-count-reg
  400. -fno-defer-pop -fno-fp-int-builtin-inexact -fno-function-cse
  401. -fno-guess-branch-probability -fno-inline -fno-math-errno -fno-peephole
  402. -fno-peephole2 -fno-printf-return-value -fno-sched-interblock
  403. -fno-sched-spec -fno-signed-zeros
  404. -fno-toplevel-reorder -fno-trapping-math -fno-zero-initialized-in-bss
  405. -fomit-frame-pointer -foptimize-sibling-calls
  406. -fpartial-inlining -fpeel-loops -fpredictive-commoning
  407. -fprefetch-loop-arrays
  408. -fprofile-correction
  409. -fprofile-use -fprofile-use=<var>path</var> -fprofile-partial-training
  410. -fprofile-values -fprofile-reorder-functions
  411. -freciprocal-math -free -frename-registers -freorder-blocks
  412. -freorder-blocks-algorithm=<var>algorithm</var>
  413. -freorder-blocks-and-partition -freorder-functions
  414. -frerun-cse-after-loop -freschedule-modulo-scheduled-loops
  415. -frounding-math -fsave-optimization-record
  416. -fsched2-use-superblocks -fsched-pressure
  417. -fsched-spec-load -fsched-spec-load-dangerous
  418. -fsched-stalled-insns-dep[=<var>n</var>] -fsched-stalled-insns[=<var>n</var>]
  419. -fsched-group-heuristic -fsched-critical-path-heuristic
  420. -fsched-spec-insn-heuristic -fsched-rank-heuristic
  421. -fsched-last-insn-heuristic -fsched-dep-count-heuristic
  422. -fschedule-fusion
  423. -fschedule-insns -fschedule-insns2 -fsection-anchors
  424. -fselective-scheduling -fselective-scheduling2
  425. -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops
  426. -fsemantic-interposition -fshrink-wrap -fshrink-wrap-separate
  427. -fsignaling-nans
  428. -fsingle-precision-constant -fsplit-ivs-in-unroller -fsplit-loops
  429. -fsplit-paths
  430. -fsplit-wide-types -fsplit-wide-types-early -fssa-backprop -fssa-phiopt
  431. -fstdarg-opt -fstore-merging -fstrict-aliasing
  432. -fthread-jumps -ftracer -ftree-bit-ccp
  433. -ftree-builtin-call-dce -ftree-ccp -ftree-ch
  434. -ftree-coalesce-vars -ftree-copy-prop -ftree-dce -ftree-dominator-opts
  435. -ftree-dse -ftree-forwprop -ftree-fre -fcode-hoisting
  436. -ftree-loop-if-convert -ftree-loop-im
  437. -ftree-phiprop -ftree-loop-distribution -ftree-loop-distribute-patterns
  438. -ftree-loop-ivcanon -ftree-loop-linear -ftree-loop-optimize
  439. -ftree-loop-vectorize
  440. -ftree-parallelize-loops=<var>n</var> -ftree-pre -ftree-partial-pre -ftree-pta
  441. -ftree-reassoc -ftree-scev-cprop -ftree-sink -ftree-slsr -ftree-sra
  442. -ftree-switch-conversion -ftree-tail-merge
  443. -ftree-ter -ftree-vectorize -ftree-vrp -funconstrained-commons
  444. -funit-at-a-time -funroll-all-loops -funroll-loops
  445. -funsafe-math-optimizations -funswitch-loops
  446. -fipa-ra -fvariable-expansion-in-unroller -fvect-cost-model -fvpt
  447. -fweb -fwhole-program -fwpa -fuse-linker-plugin
  448. --param <var>name</var>=<var>value</var>
  449. -O -O0 -O1 -O2 -O3 -Os -Ofast -Og
  450. </pre></div>
  451. </dd>
  452. <dt><em>Program Instrumentation Options</em></dt>
  453. <dd><p>See <a href="Instrumentation-Options.html#Instrumentation-Options">Program Instrumentation Options</a>.
  454. </p><div class="smallexample">
  455. <pre class="smallexample">-p -pg -fprofile-arcs --coverage -ftest-coverage
  456. -fprofile-abs-path
  457. -fprofile-dir=<var>path</var> -fprofile-generate -fprofile-generate=<var>path</var>
  458. -fprofile-note=<var>path</var> -fprofile-prefix-path=<var>path</var>
  459. -fprofile-update=<var>method</var> -fprofile-filter-files=<var>regex</var>
  460. -fprofile-exclude-files=<var>regex</var>
  461. -fprofile-reproducible=<span class="roman">[</span>multithreaded<span class="roman">|</span>parallel-runs<span class="roman">|</span>serial<span class="roman">]</span>
  462. -fsanitize=<var>style</var> -fsanitize-recover -fsanitize-recover=<var>style</var>
  463. -fasan-shadow-offset=<var>number</var> -fsanitize-sections=<var>s1</var>,<var>s2</var>,...
  464. -fsanitize-undefined-trap-on-error -fbounds-check
  465. -fcf-protection=<span class="roman">[</span>full<span class="roman">|</span>branch<span class="roman">|</span>return<span class="roman">|</span>none<span class="roman">|</span>check<span class="roman">]</span>
  466. -fstack-protector -fstack-protector-all -fstack-protector-strong
  467. -fstack-protector-explicit -fstack-check
  468. -fstack-limit-register=<var>reg</var> -fstack-limit-symbol=<var>sym</var>
  469. -fno-stack-limit -fsplit-stack
  470. -fvtable-verify=<span class="roman">[</span>std<span class="roman">|</span>preinit<span class="roman">|</span>none<span class="roman">]</span>
  471. -fvtv-counts -fvtv-debug
  472. -finstrument-functions
  473. -finstrument-functions-exclude-function-list=<var>sym</var>,<var>sym</var>,&hellip;
  474. -finstrument-functions-exclude-file-list=<var>file</var>,<var>file</var>,&hellip;
  475. </pre></div>
  476. </dd>
  477. <dt><em>Preprocessor Options</em></dt>
  478. <dd><p>See <a href="Preprocessor-Options.html#Preprocessor-Options">Options Controlling the Preprocessor</a>.
  479. </p><div class="smallexample">
  480. <pre class="smallexample">-A<var>question</var>=<var>answer</var>
  481. -A-<var>question</var><span class="roman">[</span>=<var>answer</var><span class="roman">]</span>
  482. -C -CC -D<var>macro</var><span class="roman">[</span>=<var>defn</var><span class="roman">]</span>
  483. -dD -dI -dM -dN -dU
  484. -fdebug-cpp -fdirectives-only -fdollars-in-identifiers
  485. -fexec-charset=<var>charset</var> -fextended-identifiers
  486. -finput-charset=<var>charset</var> -fmacro-prefix-map=<var>old</var>=<var>new</var>
  487. -fmax-include-depth=<var>depth</var>
  488. -fno-canonical-system-headers -fpch-deps -fpch-preprocess
  489. -fpreprocessed -ftabstop=<var>width</var> -ftrack-macro-expansion
  490. -fwide-exec-charset=<var>charset</var> -fworking-directory
  491. -H -imacros <var>file</var> -include <var>file</var>
  492. -M -MD -MF -MG -MM -MMD -MP -MQ -MT
  493. -no-integrated-cpp -P -pthread -remap
  494. -traditional -traditional-cpp -trigraphs
  495. -U<var>macro</var> -undef
  496. -Wp,<var>option</var> -Xpreprocessor <var>option</var>
  497. </pre></div>
  498. </dd>
  499. <dt><em>Assembler Options</em></dt>
  500. <dd><p>See <a href="Assembler-Options.html#Assembler-Options">Passing Options to the Assembler</a>.
  501. </p><div class="smallexample">
  502. <pre class="smallexample">-Wa,<var>option</var> -Xassembler <var>option</var>
  503. </pre></div>
  504. </dd>
  505. <dt><em>Linker Options</em></dt>
  506. <dd><p>See <a href="Link-Options.html#Link-Options">Options for Linking</a>.
  507. </p><div class="smallexample">
  508. <pre class="smallexample"><var>object-file-name</var> -fuse-ld=<var>linker</var> -l<var>library</var>
  509. -nostartfiles -nodefaultlibs -nolibc -nostdlib
  510. -e <var>entry</var> --entry=<var>entry</var>
  511. -pie -pthread -r -rdynamic
  512. -s -static -static-pie -static-libgcc -static-libstdc++
  513. -static-libasan -static-libtsan -static-liblsan -static-libubsan
  514. -shared -shared-libgcc -symbolic
  515. -T <var>script</var> -Wl,<var>option</var> -Xlinker <var>option</var>
  516. -u <var>symbol</var> -z <var>keyword</var>
  517. </pre></div>
  518. </dd>
  519. <dt><em>Directory Options</em></dt>
  520. <dd><p>See <a href="Directory-Options.html#Directory-Options">Options for Directory Search</a>.
  521. </p><div class="smallexample">
  522. <pre class="smallexample">-B<var>prefix</var> -I<var>dir</var> -I-
  523. -idirafter <var>dir</var>
  524. -imacros <var>file</var> -imultilib <var>dir</var>
  525. -iplugindir=<var>dir</var> -iprefix <var>file</var>
  526. -iquote <var>dir</var> -isysroot <var>dir</var> -isystem <var>dir</var>
  527. -iwithprefix <var>dir</var> -iwithprefixbefore <var>dir</var>
  528. -L<var>dir</var> -no-canonical-prefixes --no-sysroot-suffix
  529. -nostdinc -nostdinc++ --sysroot=<var>dir</var>
  530. </pre></div>
  531. </dd>
  532. <dt><em>Code Generation Options</em></dt>
  533. <dd><p>See <a href="Code-Gen-Options.html#Code-Gen-Options">Options for Code Generation Conventions</a>.
  534. </p><div class="smallexample">
  535. <pre class="smallexample">-fcall-saved-<var>reg</var> -fcall-used-<var>reg</var>
  536. -ffixed-<var>reg</var> -fexceptions
  537. -fnon-call-exceptions -fdelete-dead-exceptions -funwind-tables
  538. -fasynchronous-unwind-tables
  539. -fno-gnu-unique
  540. -finhibit-size-directive -fcommon -fno-ident
  541. -fpcc-struct-return -fpic -fPIC -fpie -fPIE -fno-plt
  542. -fno-jump-tables
  543. -frecord-gcc-switches
  544. -freg-struct-return -fshort-enums -fshort-wchar
  545. -fverbose-asm -fpack-struct[=<var>n</var>]
  546. -fleading-underscore -ftls-model=<var>model</var>
  547. -fstack-reuse=<var>reuse_level</var>
  548. -ftrampolines -ftrapv -fwrapv
  549. -fvisibility=<span class="roman">[</span>default<span class="roman">|</span>internal<span class="roman">|</span>hidden<span class="roman">|</span>protected<span class="roman">]</span>
  550. -fstrict-volatile-bitfields -fsync-libcalls
  551. </pre></div>
  552. </dd>
  553. <dt><em>Developer Options</em></dt>
  554. <dd><p>See <a href="Developer-Options.html#Developer-Options">GCC Developer Options</a>.
  555. </p><div class="smallexample">
  556. <pre class="smallexample">-d<var>letters</var> -dumpspecs -dumpmachine -dumpversion
  557. -dumpfullversion -fcallgraph-info<span class="roman">[</span>=su,da<span class="roman">]</span>
  558. -fchecking -fchecking=<var>n</var>
  559. -fdbg-cnt-list -fdbg-cnt=<var>counter-value-list</var>
  560. -fdisable-ipa-<var>pass_name</var>
  561. -fdisable-rtl-<var>pass_name</var>
  562. -fdisable-rtl-<var>pass-name</var>=<var>range-list</var>
  563. -fdisable-tree-<var>pass_name</var>
  564. -fdisable-tree-<var>pass-name</var>=<var>range-list</var>
  565. -fdump-debug -fdump-earlydebug
  566. -fdump-noaddr -fdump-unnumbered -fdump-unnumbered-links
  567. -fdump-final-insns<span class="roman">[</span>=<var>file</var><span class="roman">]</span>
  568. -fdump-ipa-all -fdump-ipa-cgraph -fdump-ipa-inline
  569. -fdump-lang-all
  570. -fdump-lang-<var>switch</var>
  571. -fdump-lang-<var>switch</var>-<var>options</var>
  572. -fdump-lang-<var>switch</var>-<var>options</var>=<var>filename</var>
  573. -fdump-passes
  574. -fdump-rtl-<var>pass</var> -fdump-rtl-<var>pass</var>=<var>filename</var>
  575. -fdump-statistics
  576. -fdump-tree-all
  577. -fdump-tree-<var>switch</var>
  578. -fdump-tree-<var>switch</var>-<var>options</var>
  579. -fdump-tree-<var>switch</var>-<var>options</var>=<var>filename</var>
  580. -fcompare-debug<span class="roman">[</span>=<var>opts</var><span class="roman">]</span> -fcompare-debug-second
  581. -fenable-<var>kind</var>-<var>pass</var>
  582. -fenable-<var>kind</var>-<var>pass</var>=<var>range-list</var>
  583. -fira-verbose=<var>n</var>
  584. -flto-report -flto-report-wpa -fmem-report-wpa
  585. -fmem-report -fpre-ipa-mem-report -fpost-ipa-mem-report
  586. -fopt-info -fopt-info-<var>options</var><span class="roman">[</span>=<var>file</var><span class="roman">]</span>
  587. -fprofile-report
  588. -frandom-seed=<var>string</var> -fsched-verbose=<var>n</var>
  589. -fsel-sched-verbose -fsel-sched-dump-cfg -fsel-sched-pipelining-verbose
  590. -fstats -fstack-usage -ftime-report -ftime-report-details
  591. -fvar-tracking-assignments-toggle -gtoggle
  592. -print-file-name=<var>library</var> -print-libgcc-file-name
  593. -print-multi-directory -print-multi-lib -print-multi-os-directory
  594. -print-prog-name=<var>program</var> -print-search-dirs -Q
  595. -print-sysroot -print-sysroot-headers-suffix
  596. -save-temps -save-temps=cwd -save-temps=obj -time<span class="roman">[</span>=<var>file</var><span class="roman">]</span>
  597. </pre></div>
  598. </dd>
  599. <dt><em>Machine-Dependent Options</em></dt>
  600. <dd><p>See <a href="Submodel-Options.html#Submodel-Options">Machine-Dependent Options</a>.
  601. </p>
  602. <p><em>AArch64 Options</em>
  603. </p><div class="smallexample">
  604. <pre class="smallexample">-mabi=<var>name</var> -mbig-endian -mlittle-endian
  605. -mgeneral-regs-only
  606. -mcmodel=tiny -mcmodel=small -mcmodel=large
  607. -mstrict-align -mno-strict-align
  608. -momit-leaf-frame-pointer
  609. -mtls-dialect=desc -mtls-dialect=traditional
  610. -mtls-size=<var>size</var>
  611. -mfix-cortex-a53-835769 -mfix-cortex-a53-843419
  612. -mlow-precision-recip-sqrt -mlow-precision-sqrt -mlow-precision-div
  613. -mpc-relative-literal-loads
  614. -msign-return-address=<var>scope</var>
  615. -mbranch-protection=<var>none</var>|<var>standard</var>|<var>pac-ret</var>[+<var>leaf</var>
  616. +<var>b-key</var>]|<var>bti</var>
  617. -mharden-sls=<var>opts</var>
  618. -march=<var>name</var> -mcpu=<var>name</var> -mtune=<var>name</var>
  619. -moverride=<var>string</var> -mverbose-cost-dump
  620. -mstack-protector-guard=<var>guard</var> -mstack-protector-guard-reg=<var>sysreg</var>
  621. -mstack-protector-guard-offset=<var>offset</var> -mtrack-speculation
  622. -moutline-atomics
  623. </pre></div>
  624. <p><em>Adapteva Epiphany Options</em>
  625. </p><div class="smallexample">
  626. <pre class="smallexample">-mhalf-reg-file -mprefer-short-insn-regs
  627. -mbranch-cost=<var>num</var> -mcmove -mnops=<var>num</var> -msoft-cmpsf
  628. -msplit-lohi -mpost-inc -mpost-modify -mstack-offset=<var>num</var>
  629. -mround-nearest -mlong-calls -mshort-calls -msmall16
  630. -mfp-mode=<var>mode</var> -mvect-double -max-vect-align=<var>num</var>
  631. -msplit-vecmove-early -m1reg-<var>reg</var>
  632. </pre></div>
  633. <p><em>AMD GCN Options</em>
  634. </p><div class="smallexample">
  635. <pre class="smallexample">-march=<var>gpu</var> -mtune=<var>gpu</var> -mstack-size=<var>bytes</var>
  636. </pre></div>
  637. <p><em>ARC Options</em>
  638. </p><div class="smallexample">
  639. <pre class="smallexample">-mbarrel-shifter -mjli-always
  640. -mcpu=<var>cpu</var> -mA6 -mARC600 -mA7 -mARC700
  641. -mdpfp -mdpfp-compact -mdpfp-fast -mno-dpfp-lrsr
  642. -mea -mno-mpy -mmul32x16 -mmul64 -matomic
  643. -mnorm -mspfp -mspfp-compact -mspfp-fast -msimd -msoft-float -mswap
  644. -mcrc -mdsp-packa -mdvbf -mlock -mmac-d16 -mmac-24 -mrtsc -mswape
  645. -mtelephony -mxy -misize -mannotate-align -marclinux -marclinux_prof
  646. -mlong-calls -mmedium-calls -msdata -mirq-ctrl-saved
  647. -mrgf-banked-regs -mlpc-width=<var>width</var> -G <var>num</var>
  648. -mvolatile-cache -mtp-regno=<var>regno</var>
  649. -malign-call -mauto-modify-reg -mbbit-peephole -mno-brcc
  650. -mcase-vector-pcrel -mcompact-casesi -mno-cond-exec -mearly-cbranchsi
  651. -mexpand-adddi -mindexed-loads -mlra -mlra-priority-none
  652. -mlra-priority-compact mlra-priority-noncompact -mmillicode
  653. -mmixed-code -mq-class -mRcq -mRcw -msize-level=<var>level</var>
  654. -mtune=<var>cpu</var> -mmultcost=<var>num</var> -mcode-density-frame
  655. -munalign-prob-threshold=<var>probability</var> -mmpy-option=<var>multo</var>
  656. -mdiv-rem -mcode-density -mll64 -mfpu=<var>fpu</var> -mrf16 -mbranch-index
  657. </pre></div>
  658. <p><em>ARM Options</em>
  659. </p><div class="smallexample">
  660. <pre class="smallexample">-mapcs-frame -mno-apcs-frame
  661. -mabi=<var>name</var>
  662. -mapcs-stack-check -mno-apcs-stack-check
  663. -mapcs-reentrant -mno-apcs-reentrant
  664. -mgeneral-regs-only
  665. -msched-prolog -mno-sched-prolog
  666. -mlittle-endian -mbig-endian
  667. -mbe8 -mbe32
  668. -mfloat-abi=<var>name</var>
  669. -mfp16-format=<var>name</var>
  670. -mthumb-interwork -mno-thumb-interwork
  671. -mcpu=<var>name</var> -march=<var>name</var> -mfpu=<var>name</var>
  672. -mtune=<var>name</var> -mprint-tune-info
  673. -mstructure-size-boundary=<var>n</var>
  674. -mabort-on-noreturn
  675. -mlong-calls -mno-long-calls
  676. -msingle-pic-base -mno-single-pic-base
  677. -mpic-register=<var>reg</var>
  678. -mnop-fun-dllimport
  679. -mpoke-function-name
  680. -mthumb -marm -mflip-thumb
  681. -mtpcs-frame -mtpcs-leaf-frame
  682. -mcaller-super-interworking -mcallee-super-interworking
  683. -mtp=<var>name</var> -mtls-dialect=<var>dialect</var>
  684. -mword-relocations
  685. -mfix-cortex-m3-ldrd
  686. -munaligned-access
  687. -mneon-for-64bits
  688. -mslow-flash-data
  689. -masm-syntax-unified
  690. -mrestrict-it
  691. -mverbose-cost-dump
  692. -mpure-code
  693. -mcmse
  694. -mfdpic
  695. </pre></div>
  696. <p><em>AVR Options</em>
  697. </p><div class="smallexample">
  698. <pre class="smallexample">-mmcu=<var>mcu</var> -mabsdata -maccumulate-args
  699. -mbranch-cost=<var>cost</var>
  700. -mcall-prologues -mgas-isr-prologues -mint8
  701. -mdouble=<var>bits</var> -mlong-double=<var>bits</var>
  702. -mn_flash=<var>size</var> -mno-interrupts
  703. -mmain-is-OS_task -mrelax -mrmw -mstrict-X -mtiny-stack
  704. -mfract-convert-truncate
  705. -mshort-calls -nodevicelib -nodevicespecs
  706. -Waddr-space-convert -Wmisspelled-isr
  707. </pre></div>
  708. <p><em>Blackfin Options</em>
  709. </p><div class="smallexample">
  710. <pre class="smallexample">-mcpu=<var>cpu</var><span class="roman">[</span>-<var>sirevision</var><span class="roman">]</span>
  711. -msim -momit-leaf-frame-pointer -mno-omit-leaf-frame-pointer
  712. -mspecld-anomaly -mno-specld-anomaly -mcsync-anomaly -mno-csync-anomaly
  713. -mlow-64k -mno-low64k -mstack-check-l1 -mid-shared-library
  714. -mno-id-shared-library -mshared-library-id=<var>n</var>
  715. -mleaf-id-shared-library -mno-leaf-id-shared-library
  716. -msep-data -mno-sep-data -mlong-calls -mno-long-calls
  717. -mfast-fp -minline-plt -mmulticore -mcorea -mcoreb -msdram
  718. -micplb
  719. </pre></div>
  720. <p><em>C6X Options</em>
  721. </p><div class="smallexample">
  722. <pre class="smallexample">-mbig-endian -mlittle-endian -march=<var>cpu</var>
  723. -msim -msdata=<var>sdata-type</var>
  724. </pre></div>
  725. <p><em>CRIS Options</em>
  726. </p><div class="smallexample">
  727. <pre class="smallexample">-mcpu=<var>cpu</var> -march=<var>cpu</var> -mtune=<var>cpu</var>
  728. -mmax-stack-frame=<var>n</var> -melinux-stacksize=<var>n</var>
  729. -metrax4 -metrax100 -mpdebug -mcc-init -mno-side-effects
  730. -mstack-align -mdata-align -mconst-align
  731. -m32-bit -m16-bit -m8-bit -mno-prologue-epilogue -mno-gotplt
  732. -melf -maout -melinux -mlinux -sim -sim2
  733. -mmul-bug-workaround -mno-mul-bug-workaround
  734. </pre></div>
  735. <p><em>CR16 Options</em>
  736. </p><div class="smallexample">
  737. <pre class="smallexample">-mmac
  738. -mcr16cplus -mcr16c
  739. -msim -mint32 -mbit-ops
  740. -mdata-model=<var>model</var>
  741. </pre></div>
  742. <p><em>C-SKY Options</em>
  743. </p><div class="smallexample">
  744. <pre class="smallexample">-march=<var>arch</var> -mcpu=<var>cpu</var>
  745. -mbig-endian -EB -mlittle-endian -EL
  746. -mhard-float -msoft-float -mfpu=<var>fpu</var> -mdouble-float -mfdivdu
  747. -melrw -mistack -mmp -mcp -mcache -msecurity -mtrust
  748. -mdsp -medsp -mvdsp
  749. -mdiv -msmart -mhigh-registers -manchor
  750. -mpushpop -mmultiple-stld -mconstpool -mstack-size -mccrt
  751. -mbranch-cost=<var>n</var> -mcse-cc -msched-prolog
  752. </pre></div>
  753. <p><em>Darwin Options</em>
  754. </p><div class="smallexample">
  755. <pre class="smallexample">-all_load -allowable_client -arch -arch_errors_fatal
  756. -arch_only -bind_at_load -bundle -bundle_loader
  757. -client_name -compatibility_version -current_version
  758. -dead_strip
  759. -dependency-file -dylib_file -dylinker_install_name
  760. -dynamic -dynamiclib -exported_symbols_list
  761. -filelist -flat_namespace -force_cpusubtype_ALL
  762. -force_flat_namespace -headerpad_max_install_names
  763. -iframework
  764. -image_base -init -install_name -keep_private_externs
  765. -multi_module -multiply_defined -multiply_defined_unused
  766. -noall_load -no_dead_strip_inits_and_terms
  767. -nofixprebinding -nomultidefs -noprebind -noseglinkedit
  768. -pagezero_size -prebind -prebind_all_twolevel_modules
  769. -private_bundle -read_only_relocs -sectalign
  770. -sectobjectsymbols -whyload -seg1addr
  771. -sectcreate -sectobjectsymbols -sectorder
  772. -segaddr -segs_read_only_addr -segs_read_write_addr
  773. -seg_addr_table -seg_addr_table_filename -seglinkedit
  774. -segprot -segs_read_only_addr -segs_read_write_addr
  775. -single_module -static -sub_library -sub_umbrella
  776. -twolevel_namespace -umbrella -undefined
  777. -unexported_symbols_list -weak_reference_mismatches
  778. -whatsloaded -F -gused -gfull -mmacosx-version-min=<var>version</var>
  779. -mkernel -mone-byte-bool
  780. </pre></div>
  781. <p><em>DEC Alpha Options</em>
  782. </p><div class="smallexample">
  783. <pre class="smallexample">-mno-fp-regs -msoft-float
  784. -mieee -mieee-with-inexact -mieee-conformant
  785. -mfp-trap-mode=<var>mode</var> -mfp-rounding-mode=<var>mode</var>
  786. -mtrap-precision=<var>mode</var> -mbuild-constants
  787. -mcpu=<var>cpu-type</var> -mtune=<var>cpu-type</var>
  788. -mbwx -mmax -mfix -mcix
  789. -mfloat-vax -mfloat-ieee
  790. -mexplicit-relocs -msmall-data -mlarge-data
  791. -msmall-text -mlarge-text
  792. -mmemory-latency=<var>time</var>
  793. </pre></div>
  794. <p><em>eBPF Options</em>
  795. </p><div class="smallexample">
  796. <pre class="smallexample">-mbig-endian -mlittle-endian -mkernel=<var>version</var>
  797. -mframe-limit=<var>bytes</var> -mxbpf
  798. </pre></div>
  799. <p><em>FR30 Options</em>
  800. </p><div class="smallexample">
  801. <pre class="smallexample">-msmall-model -mno-lsim
  802. </pre></div>
  803. <p><em>FT32 Options</em>
  804. </p><div class="smallexample">
  805. <pre class="smallexample">-msim -mlra -mnodiv -mft32b -mcompress -mnopm
  806. </pre></div>
  807. <p><em>FRV Options</em>
  808. </p><div class="smallexample">
  809. <pre class="smallexample">-mgpr-32 -mgpr-64 -mfpr-32 -mfpr-64
  810. -mhard-float -msoft-float
  811. -malloc-cc -mfixed-cc -mdword -mno-dword
  812. -mdouble -mno-double
  813. -mmedia -mno-media -mmuladd -mno-muladd
  814. -mfdpic -minline-plt -mgprel-ro -multilib-library-pic
  815. -mlinked-fp -mlong-calls -malign-labels
  816. -mlibrary-pic -macc-4 -macc-8
  817. -mpack -mno-pack -mno-eflags -mcond-move -mno-cond-move
  818. -moptimize-membar -mno-optimize-membar
  819. -mscc -mno-scc -mcond-exec -mno-cond-exec
  820. -mvliw-branch -mno-vliw-branch
  821. -mmulti-cond-exec -mno-multi-cond-exec -mnested-cond-exec
  822. -mno-nested-cond-exec -mtomcat-stats
  823. -mTLS -mtls
  824. -mcpu=<var>cpu</var>
  825. </pre></div>
  826. <p><em>GNU/Linux Options</em>
  827. </p><div class="smallexample">
  828. <pre class="smallexample">-mglibc -muclibc -mmusl -mbionic -mandroid
  829. -tno-android-cc -tno-android-ld
  830. </pre></div>
  831. <p><em>H8/300 Options</em>
  832. </p><div class="smallexample">
  833. <pre class="smallexample">-mrelax -mh -ms -mn -mexr -mno-exr -mint32 -malign-300
  834. </pre></div>
  835. <p><em>HPPA Options</em>
  836. </p><div class="smallexample">
  837. <pre class="smallexample">-march=<var>architecture-type</var>
  838. -mcaller-copies -mdisable-fpregs -mdisable-indexing
  839. -mfast-indirect-calls -mgas -mgnu-ld -mhp-ld
  840. -mfixed-range=<var>register-range</var>
  841. -mjump-in-delay -mlinker-opt -mlong-calls
  842. -mlong-load-store -mno-disable-fpregs
  843. -mno-disable-indexing -mno-fast-indirect-calls -mno-gas
  844. -mno-jump-in-delay -mno-long-load-store
  845. -mno-portable-runtime -mno-soft-float
  846. -mno-space-regs -msoft-float -mpa-risc-1-0
  847. -mpa-risc-1-1 -mpa-risc-2-0 -mportable-runtime
  848. -mschedule=<var>cpu-type</var> -mspace-regs -msio -mwsio
  849. -munix=<var>unix-std</var> -nolibdld -static -threads
  850. </pre></div>
  851. <p><em>IA-64 Options</em>
  852. </p><div class="smallexample">
  853. <pre class="smallexample">-mbig-endian -mlittle-endian -mgnu-as -mgnu-ld -mno-pic
  854. -mvolatile-asm-stop -mregister-names -msdata -mno-sdata
  855. -mconstant-gp -mauto-pic -mfused-madd
  856. -minline-float-divide-min-latency
  857. -minline-float-divide-max-throughput
  858. -mno-inline-float-divide
  859. -minline-int-divide-min-latency
  860. -minline-int-divide-max-throughput
  861. -mno-inline-int-divide
  862. -minline-sqrt-min-latency -minline-sqrt-max-throughput
  863. -mno-inline-sqrt
  864. -mdwarf2-asm -mearly-stop-bits
  865. -mfixed-range=<var>register-range</var> -mtls-size=<var>tls-size</var>
  866. -mtune=<var>cpu-type</var> -milp32 -mlp64
  867. -msched-br-data-spec -msched-ar-data-spec -msched-control-spec
  868. -msched-br-in-data-spec -msched-ar-in-data-spec -msched-in-control-spec
  869. -msched-spec-ldc -msched-spec-control-ldc
  870. -msched-prefer-non-data-spec-insns -msched-prefer-non-control-spec-insns
  871. -msched-stop-bits-after-every-cycle -msched-count-spec-in-critical-path
  872. -msel-sched-dont-check-control-spec -msched-fp-mem-deps-zero-cost
  873. -msched-max-memory-insns-hard-limit -msched-max-memory-insns=<var>max-insns</var>
  874. </pre></div>
  875. <p><em>LM32 Options</em>
  876. </p><div class="smallexample">
  877. <pre class="smallexample">-mbarrel-shift-enabled -mdivide-enabled -mmultiply-enabled
  878. -msign-extend-enabled -muser-enabled
  879. </pre></div>
  880. <p><em>M32R/D Options</em>
  881. </p><div class="smallexample">
  882. <pre class="smallexample">-m32r2 -m32rx -m32r
  883. -mdebug
  884. -malign-loops -mno-align-loops
  885. -missue-rate=<var>number</var>
  886. -mbranch-cost=<var>number</var>
  887. -mmodel=<var>code-size-model-type</var>
  888. -msdata=<var>sdata-type</var>
  889. -mno-flush-func -mflush-func=<var>name</var>
  890. -mno-flush-trap -mflush-trap=<var>number</var>
  891. -G <var>num</var>
  892. </pre></div>
  893. <p><em>M32C Options</em>
  894. </p><div class="smallexample">
  895. <pre class="smallexample">-mcpu=<var>cpu</var> -msim -memregs=<var>number</var>
  896. </pre></div>
  897. <p><em>M680x0 Options</em>
  898. </p><div class="smallexample">
  899. <pre class="smallexample">-march=<var>arch</var> -mcpu=<var>cpu</var> -mtune=<var>tune</var>
  900. -m68000 -m68020 -m68020-40 -m68020-60 -m68030 -m68040
  901. -m68060 -mcpu32 -m5200 -m5206e -m528x -m5307 -m5407
  902. -mcfv4e -mbitfield -mno-bitfield -mc68000 -mc68020
  903. -mnobitfield -mrtd -mno-rtd -mdiv -mno-div -mshort
  904. -mno-short -mhard-float -m68881 -msoft-float -mpcrel
  905. -malign-int -mstrict-align -msep-data -mno-sep-data
  906. -mshared-library-id=n -mid-shared-library -mno-id-shared-library
  907. -mxgot -mno-xgot -mlong-jump-table-offsets
  908. </pre></div>
  909. <p><em>MCore Options</em>
  910. </p><div class="smallexample">
  911. <pre class="smallexample">-mhardlit -mno-hardlit -mdiv -mno-div -mrelax-immediates
  912. -mno-relax-immediates -mwide-bitfields -mno-wide-bitfields
  913. -m4byte-functions -mno-4byte-functions -mcallgraph-data
  914. -mno-callgraph-data -mslow-bytes -mno-slow-bytes -mno-lsim
  915. -mlittle-endian -mbig-endian -m210 -m340 -mstack-increment
  916. </pre></div>
  917. <p><em>MeP Options</em>
  918. </p><div class="smallexample">
  919. <pre class="smallexample">-mabsdiff -mall-opts -maverage -mbased=<var>n</var> -mbitops
  920. -mc=<var>n</var> -mclip -mconfig=<var>name</var> -mcop -mcop32 -mcop64 -mivc2
  921. -mdc -mdiv -meb -mel -mio-volatile -ml -mleadz -mm -mminmax
  922. -mmult -mno-opts -mrepeat -ms -msatur -msdram -msim -msimnovec -mtf
  923. -mtiny=<var>n</var>
  924. </pre></div>
  925. <p><em>MicroBlaze Options</em>
  926. </p><div class="smallexample">
  927. <pre class="smallexample">-msoft-float -mhard-float -msmall-divides -mcpu=<var>cpu</var>
  928. -mmemcpy -mxl-soft-mul -mxl-soft-div -mxl-barrel-shift
  929. -mxl-pattern-compare -mxl-stack-check -mxl-gp-opt -mno-clearbss
  930. -mxl-multiply-high -mxl-float-convert -mxl-float-sqrt
  931. -mbig-endian -mlittle-endian -mxl-reorder -mxl-mode-<var>app-model</var>
  932. -mpic-data-is-text-relative
  933. </pre></div>
  934. <p><em>MIPS Options</em>
  935. </p><div class="smallexample">
  936. <pre class="smallexample">-EL -EB -march=<var>arch</var> -mtune=<var>arch</var>
  937. -mips1 -mips2 -mips3 -mips4 -mips32 -mips32r2 -mips32r3 -mips32r5
  938. -mips32r6 -mips64 -mips64r2 -mips64r3 -mips64r5 -mips64r6
  939. -mips16 -mno-mips16 -mflip-mips16
  940. -minterlink-compressed -mno-interlink-compressed
  941. -minterlink-mips16 -mno-interlink-mips16
  942. -mabi=<var>abi</var> -mabicalls -mno-abicalls
  943. -mshared -mno-shared -mplt -mno-plt -mxgot -mno-xgot
  944. -mgp32 -mgp64 -mfp32 -mfpxx -mfp64 -mhard-float -msoft-float
  945. -mno-float -msingle-float -mdouble-float
  946. -modd-spreg -mno-odd-spreg
  947. -mabs=<var>mode</var> -mnan=<var>encoding</var>
  948. -mdsp -mno-dsp -mdspr2 -mno-dspr2
  949. -mmcu -mmno-mcu
  950. -meva -mno-eva
  951. -mvirt -mno-virt
  952. -mxpa -mno-xpa
  953. -mcrc -mno-crc
  954. -mginv -mno-ginv
  955. -mmicromips -mno-micromips
  956. -mmsa -mno-msa
  957. -mloongson-mmi -mno-loongson-mmi
  958. -mloongson-ext -mno-loongson-ext
  959. -mloongson-ext2 -mno-loongson-ext2
  960. -mfpu=<var>fpu-type</var>
  961. -msmartmips -mno-smartmips
  962. -mpaired-single -mno-paired-single -mdmx -mno-mdmx
  963. -mips3d -mno-mips3d -mmt -mno-mt -mllsc -mno-llsc
  964. -mlong64 -mlong32 -msym32 -mno-sym32
  965. -G<var>num</var> -mlocal-sdata -mno-local-sdata
  966. -mextern-sdata -mno-extern-sdata -mgpopt -mno-gopt
  967. -membedded-data -mno-embedded-data
  968. -muninit-const-in-rodata -mno-uninit-const-in-rodata
  969. -mcode-readable=<var>setting</var>
  970. -msplit-addresses -mno-split-addresses
  971. -mexplicit-relocs -mno-explicit-relocs
  972. -mcheck-zero-division -mno-check-zero-division
  973. -mdivide-traps -mdivide-breaks
  974. -mload-store-pairs -mno-load-store-pairs
  975. -mmemcpy -mno-memcpy -mlong-calls -mno-long-calls
  976. -mmad -mno-mad -mimadd -mno-imadd -mfused-madd -mno-fused-madd -nocpp
  977. -mfix-24k -mno-fix-24k
  978. -mfix-r4000 -mno-fix-r4000 -mfix-r4400 -mno-fix-r4400
  979. -mfix-r5900 -mno-fix-r5900
  980. -mfix-r10000 -mno-fix-r10000 -mfix-rm7000 -mno-fix-rm7000
  981. -mfix-vr4120 -mno-fix-vr4120
  982. -mfix-vr4130 -mno-fix-vr4130 -mfix-sb1 -mno-fix-sb1
  983. -mflush-func=<var>func</var> -mno-flush-func
  984. -mbranch-cost=<var>num</var> -mbranch-likely -mno-branch-likely
  985. -mcompact-branches=<var>policy</var>
  986. -mfp-exceptions -mno-fp-exceptions
  987. -mvr4130-align -mno-vr4130-align -msynci -mno-synci
  988. -mlxc1-sxc1 -mno-lxc1-sxc1 -mmadd4 -mno-madd4
  989. -mrelax-pic-calls -mno-relax-pic-calls -mmcount-ra-address
  990. -mframe-header-opt -mno-frame-header-opt
  991. </pre></div>
  992. <p><em>MMIX Options</em>
  993. </p><div class="smallexample">
  994. <pre class="smallexample">-mlibfuncs -mno-libfuncs -mepsilon -mno-epsilon -mabi=gnu
  995. -mabi=mmixware -mzero-extend -mknuthdiv -mtoplevel-symbols
  996. -melf -mbranch-predict -mno-branch-predict -mbase-addresses
  997. -mno-base-addresses -msingle-exit -mno-single-exit
  998. </pre></div>
  999. <p><em>MN10300 Options</em>
  1000. </p><div class="smallexample">
  1001. <pre class="smallexample">-mmult-bug -mno-mult-bug
  1002. -mno-am33 -mam33 -mam33-2 -mam34
  1003. -mtune=<var>cpu-type</var>
  1004. -mreturn-pointer-on-d0
  1005. -mno-crt0 -mrelax -mliw -msetlb
  1006. </pre></div>
  1007. <p><em>Moxie Options</em>
  1008. </p><div class="smallexample">
  1009. <pre class="smallexample">-meb -mel -mmul.x -mno-crt0
  1010. </pre></div>
  1011. <p><em>MSP430 Options</em>
  1012. </p><div class="smallexample">
  1013. <pre class="smallexample">-msim -masm-hex -mmcu= -mcpu= -mlarge -msmall -mrelax
  1014. -mwarn-mcu
  1015. -mcode-region= -mdata-region=
  1016. -msilicon-errata= -msilicon-errata-warn=
  1017. -mhwmult= -minrt -mtiny-printf
  1018. </pre></div>
  1019. <p><em>NDS32 Options</em>
  1020. </p><div class="smallexample">
  1021. <pre class="smallexample">-mbig-endian -mlittle-endian
  1022. -mreduced-regs -mfull-regs
  1023. -mcmov -mno-cmov
  1024. -mext-perf -mno-ext-perf
  1025. -mext-perf2 -mno-ext-perf2
  1026. -mext-string -mno-ext-string
  1027. -mv3push -mno-v3push
  1028. -m16bit -mno-16bit
  1029. -misr-vector-size=<var>num</var>
  1030. -mcache-block-size=<var>num</var>
  1031. -march=<var>arch</var>
  1032. -mcmodel=<var>code-model</var>
  1033. -mctor-dtor -mrelax
  1034. </pre></div>
  1035. <p><em>Nios II Options</em>
  1036. </p><div class="smallexample">
  1037. <pre class="smallexample">-G <var>num</var> -mgpopt=<var>option</var> -mgpopt -mno-gpopt
  1038. -mgprel-sec=<var>regexp</var> -mr0rel-sec=<var>regexp</var>
  1039. -mel -meb
  1040. -mno-bypass-cache -mbypass-cache
  1041. -mno-cache-volatile -mcache-volatile
  1042. -mno-fast-sw-div -mfast-sw-div
  1043. -mhw-mul -mno-hw-mul -mhw-mulx -mno-hw-mulx -mno-hw-div -mhw-div
  1044. -mcustom-<var>insn</var>=<var>N</var> -mno-custom-<var>insn</var>
  1045. -mcustom-fpu-cfg=<var>name</var>
  1046. -mhal -msmallc -msys-crt0=<var>name</var> -msys-lib=<var>name</var>
  1047. -march=<var>arch</var> -mbmx -mno-bmx -mcdx -mno-cdx
  1048. </pre></div>
  1049. <p><em>Nvidia PTX Options</em>
  1050. </p><div class="smallexample">
  1051. <pre class="smallexample">-m32 -m64 -mmainkernel -moptimize
  1052. </pre></div>
  1053. <p><em>OpenRISC Options</em>
  1054. </p><div class="smallexample">
  1055. <pre class="smallexample">-mboard=<var>name</var> -mnewlib -mhard-mul -mhard-div
  1056. -msoft-mul -msoft-div
  1057. -msoft-float -mhard-float -mdouble-float -munordered-float
  1058. -mcmov -mror -mrori -msext -msfimm -mshftimm
  1059. </pre></div>
  1060. <p><em>PDP-11 Options</em>
  1061. </p><div class="smallexample">
  1062. <pre class="smallexample">-mfpu -msoft-float -mac0 -mno-ac0 -m40 -m45 -m10
  1063. -mint32 -mno-int16 -mint16 -mno-int32
  1064. -msplit -munix-asm -mdec-asm -mgnu-asm -mlra
  1065. </pre></div>
  1066. <p><em>picoChip Options</em>
  1067. </p><div class="smallexample">
  1068. <pre class="smallexample">-mae=<var>ae_type</var> -mvliw-lookahead=<var>N</var>
  1069. -msymbol-as-address -mno-inefficient-warnings
  1070. </pre></div>
  1071. <p><em>PowerPC Options</em>
  1072. See RS/6000 and PowerPC Options.
  1073. </p>
  1074. <p><em>PRU Options</em>
  1075. </p><div class="smallexample">
  1076. <pre class="smallexample">-mmcu=<var>mcu</var> -minrt -mno-relax -mloop
  1077. -mabi=<var>variant</var>
  1078. </pre></div>
  1079. <p><em>RISC-V Options</em>
  1080. </p><div class="smallexample">
  1081. <pre class="smallexample">-mbranch-cost=<var>N-instruction</var>
  1082. -mplt -mno-plt
  1083. -mabi=<var>ABI-string</var>
  1084. -mfdiv -mno-fdiv
  1085. -mdiv -mno-div
  1086. -march=<var>ISA-string</var>
  1087. -mtune=<var>processor-string</var>
  1088. -mpreferred-stack-boundary=<var>num</var>
  1089. -msmall-data-limit=<var>N-bytes</var>
  1090. -msave-restore -mno-save-restore
  1091. -mstrict-align -mno-strict-align
  1092. -mcmodel=medlow -mcmodel=medany
  1093. -mexplicit-relocs -mno-explicit-relocs
  1094. -mrelax -mno-relax
  1095. -mriscv-attribute -mmo-riscv-attribute
  1096. -malign-data=<var>type</var>
  1097. </pre></div>
  1098. <p><em>RL78 Options</em>
  1099. </p><div class="smallexample">
  1100. <pre class="smallexample">-msim -mmul=none -mmul=g13 -mmul=g14 -mallregs
  1101. -mcpu=g10 -mcpu=g13 -mcpu=g14 -mg10 -mg13 -mg14
  1102. -m64bit-doubles -m32bit-doubles -msave-mduc-in-interrupts
  1103. </pre></div>
  1104. <p><em>RS/6000 and PowerPC Options</em>
  1105. </p><div class="smallexample">
  1106. <pre class="smallexample">-mcpu=<var>cpu-type</var>
  1107. -mtune=<var>cpu-type</var>
  1108. -mcmodel=<var>code-model</var>
  1109. -mpowerpc64
  1110. -maltivec -mno-altivec
  1111. -mpowerpc-gpopt -mno-powerpc-gpopt
  1112. -mpowerpc-gfxopt -mno-powerpc-gfxopt
  1113. -mmfcrf -mno-mfcrf -mpopcntb -mno-popcntb -mpopcntd -mno-popcntd
  1114. -mfprnd -mno-fprnd
  1115. -mcmpb -mno-cmpb -mhard-dfp -mno-hard-dfp
  1116. -mfull-toc -mminimal-toc -mno-fp-in-toc -mno-sum-in-toc
  1117. -m64 -m32 -mxl-compat -mno-xl-compat -mpe
  1118. -malign-power -malign-natural
  1119. -msoft-float -mhard-float -mmultiple -mno-multiple
  1120. -mupdate -mno-update
  1121. -mavoid-indexed-addresses -mno-avoid-indexed-addresses
  1122. -mfused-madd -mno-fused-madd -mbit-align -mno-bit-align
  1123. -mstrict-align -mno-strict-align -mrelocatable
  1124. -mno-relocatable -mrelocatable-lib -mno-relocatable-lib
  1125. -mtoc -mno-toc -mlittle -mlittle-endian -mbig -mbig-endian
  1126. -mdynamic-no-pic -mswdiv -msingle-pic-base
  1127. -mprioritize-restricted-insns=<var>priority</var>
  1128. -msched-costly-dep=<var>dependence_type</var>
  1129. -minsert-sched-nops=<var>scheme</var>
  1130. -mcall-aixdesc -mcall-eabi -mcall-freebsd
  1131. -mcall-linux -mcall-netbsd -mcall-openbsd
  1132. -mcall-sysv -mcall-sysv-eabi -mcall-sysv-noeabi
  1133. -mtraceback=<var>traceback_type</var>
  1134. -maix-struct-return -msvr4-struct-return
  1135. -mabi=<var>abi-type</var> -msecure-plt -mbss-plt
  1136. -mlongcall -mno-longcall -mpltseq -mno-pltseq
  1137. -mblock-move-inline-limit=<var>num</var>
  1138. -mblock-compare-inline-limit=<var>num</var>
  1139. -mblock-compare-inline-loop-limit=<var>num</var>
  1140. -mstring-compare-inline-limit=<var>num</var>
  1141. -misel -mno-isel
  1142. -mvrsave -mno-vrsave
  1143. -mmulhw -mno-mulhw
  1144. -mdlmzb -mno-dlmzb
  1145. -mprototype -mno-prototype
  1146. -msim -mmvme -mads -myellowknife -memb -msdata
  1147. -msdata=<var>opt</var> -mreadonly-in-sdata -mvxworks -G <var>num</var>
  1148. -mrecip -mrecip=<var>opt</var> -mno-recip -mrecip-precision
  1149. -mno-recip-precision
  1150. -mveclibabi=<var>type</var> -mfriz -mno-friz
  1151. -mpointers-to-nested-functions -mno-pointers-to-nested-functions
  1152. -msave-toc-indirect -mno-save-toc-indirect
  1153. -mpower8-fusion -mno-mpower8-fusion -mpower8-vector -mno-power8-vector
  1154. -mcrypto -mno-crypto -mhtm -mno-htm
  1155. -mquad-memory -mno-quad-memory
  1156. -mquad-memory-atomic -mno-quad-memory-atomic
  1157. -mcompat-align-parm -mno-compat-align-parm
  1158. -mfloat128 -mno-float128 -mfloat128-hardware -mno-float128-hardware
  1159. -mgnu-attribute -mno-gnu-attribute
  1160. -mstack-protector-guard=<var>guard</var> -mstack-protector-guard-reg=<var>reg</var>
  1161. -mstack-protector-guard-offset=<var>offset</var> -mprefixed -mno-prefixed
  1162. -mpcrel -mno-pcrel -mmma -mno-mmma
  1163. </pre></div>
  1164. <p><em>RX Options</em>
  1165. </p><div class="smallexample">
  1166. <pre class="smallexample">-m64bit-doubles -m32bit-doubles -fpu -nofpu
  1167. -mcpu=
  1168. -mbig-endian-data -mlittle-endian-data
  1169. -msmall-data
  1170. -msim -mno-sim
  1171. -mas100-syntax -mno-as100-syntax
  1172. -mrelax
  1173. -mmax-constant-size=
  1174. -mint-register=
  1175. -mpid
  1176. -mallow-string-insns -mno-allow-string-insns
  1177. -mjsr
  1178. -mno-warn-multiple-fast-interrupts
  1179. -msave-acc-in-interrupts
  1180. </pre></div>
  1181. <p><em>S/390 and zSeries Options</em>
  1182. </p><div class="smallexample">
  1183. <pre class="smallexample">-mtune=<var>cpu-type</var> -march=<var>cpu-type</var>
  1184. -mhard-float -msoft-float -mhard-dfp -mno-hard-dfp
  1185. -mlong-double-64 -mlong-double-128
  1186. -mbackchain -mno-backchain -mpacked-stack -mno-packed-stack
  1187. -msmall-exec -mno-small-exec -mmvcle -mno-mvcle
  1188. -m64 -m31 -mdebug -mno-debug -mesa -mzarch
  1189. -mhtm -mvx -mzvector
  1190. -mtpf-trace -mno-tpf-trace -mtpf-trace-skip -mno-tpf-trace-skip
  1191. -mfused-madd -mno-fused-madd
  1192. -mwarn-framesize -mwarn-dynamicstack -mstack-size -mstack-guard
  1193. -mhotpatch=<var>halfwords</var>,<var>halfwords</var>
  1194. </pre></div>
  1195. <p><em>Score Options</em>
  1196. </p><div class="smallexample">
  1197. <pre class="smallexample">-meb -mel
  1198. -mnhwloop
  1199. -muls
  1200. -mmac
  1201. -mscore5 -mscore5u -mscore7 -mscore7d
  1202. </pre></div>
  1203. <p><em>SH Options</em>
  1204. </p><div class="smallexample">
  1205. <pre class="smallexample">-m1 -m2 -m2e
  1206. -m2a-nofpu -m2a-single-only -m2a-single -m2a
  1207. -m3 -m3e
  1208. -m4-nofpu -m4-single-only -m4-single -m4
  1209. -m4a-nofpu -m4a-single-only -m4a-single -m4a -m4al
  1210. -mb -ml -mdalign -mrelax
  1211. -mbigtable -mfmovd -mrenesas -mno-renesas -mnomacsave
  1212. -mieee -mno-ieee -mbitops -misize -minline-ic_invalidate -mpadstruct
  1213. -mprefergot -musermode -multcost=<var>number</var> -mdiv=<var>strategy</var>
  1214. -mdivsi3_libfunc=<var>name</var> -mfixed-range=<var>register-range</var>
  1215. -maccumulate-outgoing-args
  1216. -matomic-model=<var>atomic-model</var>
  1217. -mbranch-cost=<var>num</var> -mzdcbranch -mno-zdcbranch
  1218. -mcbranch-force-delay-slot
  1219. -mfused-madd -mno-fused-madd -mfsca -mno-fsca -mfsrra -mno-fsrra
  1220. -mpretend-cmove -mtas
  1221. </pre></div>
  1222. <p><em>Solaris 2 Options</em>
  1223. </p><div class="smallexample">
  1224. <pre class="smallexample">-mclear-hwcap -mno-clear-hwcap -mimpure-text -mno-impure-text
  1225. -pthreads
  1226. </pre></div>
  1227. <p><em>SPARC Options</em>
  1228. </p><div class="smallexample">
  1229. <pre class="smallexample">-mcpu=<var>cpu-type</var>
  1230. -mtune=<var>cpu-type</var>
  1231. -mcmodel=<var>code-model</var>
  1232. -mmemory-model=<var>mem-model</var>
  1233. -m32 -m64 -mapp-regs -mno-app-regs
  1234. -mfaster-structs -mno-faster-structs -mflat -mno-flat
  1235. -mfpu -mno-fpu -mhard-float -msoft-float
  1236. -mhard-quad-float -msoft-quad-float
  1237. -mstack-bias -mno-stack-bias
  1238. -mstd-struct-return -mno-std-struct-return
  1239. -munaligned-doubles -mno-unaligned-doubles
  1240. -muser-mode -mno-user-mode
  1241. -mv8plus -mno-v8plus -mvis -mno-vis
  1242. -mvis2 -mno-vis2 -mvis3 -mno-vis3
  1243. -mvis4 -mno-vis4 -mvis4b -mno-vis4b
  1244. -mcbcond -mno-cbcond -mfmaf -mno-fmaf -mfsmuld -mno-fsmuld
  1245. -mpopc -mno-popc -msubxc -mno-subxc
  1246. -mfix-at697f -mfix-ut699 -mfix-ut700 -mfix-gr712rc
  1247. -mlra -mno-lra
  1248. </pre></div>
  1249. <p><em>System V Options</em>
  1250. </p><div class="smallexample">
  1251. <pre class="smallexample">-Qy -Qn -YP,<var>paths</var> -Ym,<var>dir</var>
  1252. </pre></div>
  1253. <p><em>TILE-Gx Options</em>
  1254. </p><div class="smallexample">
  1255. <pre class="smallexample">-mcpu=CPU -m32 -m64 -mbig-endian -mlittle-endian
  1256. -mcmodel=<var>code-model</var>
  1257. </pre></div>
  1258. <p><em>TILEPro Options</em>
  1259. </p><div class="smallexample">
  1260. <pre class="smallexample">-mcpu=<var>cpu</var> -m32
  1261. </pre></div>
  1262. <p><em>V850 Options</em>
  1263. </p><div class="smallexample">
  1264. <pre class="smallexample">-mlong-calls -mno-long-calls -mep -mno-ep
  1265. -mprolog-function -mno-prolog-function -mspace
  1266. -mtda=<var>n</var> -msda=<var>n</var> -mzda=<var>n</var>
  1267. -mapp-regs -mno-app-regs
  1268. -mdisable-callt -mno-disable-callt
  1269. -mv850e2v3 -mv850e2 -mv850e1 -mv850es
  1270. -mv850e -mv850 -mv850e3v5
  1271. -mloop
  1272. -mrelax
  1273. -mlong-jumps
  1274. -msoft-float
  1275. -mhard-float
  1276. -mgcc-abi
  1277. -mrh850-abi
  1278. -mbig-switch
  1279. </pre></div>
  1280. <p><em>VAX Options</em>
  1281. </p><div class="smallexample">
  1282. <pre class="smallexample">-mg -mgnu -munix
  1283. </pre></div>
  1284. <p><em>Visium Options</em>
  1285. </p><div class="smallexample">
  1286. <pre class="smallexample">-mdebug -msim -mfpu -mno-fpu -mhard-float -msoft-float
  1287. -mcpu=<var>cpu-type</var> -mtune=<var>cpu-type</var> -msv-mode -muser-mode
  1288. </pre></div>
  1289. <p><em>VMS Options</em>
  1290. </p><div class="smallexample">
  1291. <pre class="smallexample">-mvms-return-codes -mdebug-main=<var>prefix</var> -mmalloc64
  1292. -mpointer-size=<var>size</var>
  1293. </pre></div>
  1294. <p><em>VxWorks Options</em>
  1295. </p><div class="smallexample">
  1296. <pre class="smallexample">-mrtp -non-static -Bstatic -Bdynamic
  1297. -Xbind-lazy -Xbind-now
  1298. </pre></div>
  1299. <p><em>x86 Options</em>
  1300. </p><div class="smallexample">
  1301. <pre class="smallexample">-mtune=<var>cpu-type</var> -march=<var>cpu-type</var>
  1302. -mtune-ctrl=<var>feature-list</var> -mdump-tune-features -mno-default
  1303. -mfpmath=<var>unit</var>
  1304. -masm=<var>dialect</var> -mno-fancy-math-387
  1305. -mno-fp-ret-in-387 -m80387 -mhard-float -msoft-float
  1306. -mno-wide-multiply -mrtd -malign-double
  1307. -mpreferred-stack-boundary=<var>num</var>
  1308. -mincoming-stack-boundary=<var>num</var>
  1309. -mcld -mcx16 -msahf -mmovbe -mcrc32
  1310. -mrecip -mrecip=<var>opt</var>
  1311. -mvzeroupper -mprefer-avx128 -mprefer-vector-width=<var>opt</var>
  1312. -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4 -mavx
  1313. -mavx2 -mavx512f -mavx512pf -mavx512er -mavx512cd -mavx512vl
  1314. -mavx512bw -mavx512dq -mavx512ifma -mavx512vbmi -msha -maes
  1315. -mpclmul -mfsgsbase -mrdrnd -mf16c -mfma -mpconfig -mwbnoinvd
  1316. -mptwrite -mprefetchwt1 -mclflushopt -mclwb -mxsavec -mxsaves
  1317. -msse4a -m3dnow -m3dnowa -mpopcnt -mabm -mbmi -mtbm -mfma4 -mxop
  1318. -madx -mlzcnt -mbmi2 -mfxsr -mxsave -mxsaveopt -mrtm -mhle -mlwp
  1319. -mmwaitx -mclzero -mpku -mthreads -mgfni -mvaes -mwaitpkg
  1320. -mshstk -mmanual-endbr -mforce-indirect-call -mavx512vbmi2 -mavx512bf16 -menqcmd
  1321. -mvpclmulqdq -mavx512bitalg -mmovdiri -mmovdir64b -mavx512vpopcntdq
  1322. -mavx5124fmaps -mavx512vnni -mavx5124vnniw -mprfchw -mrdpid
  1323. -mrdseed -msgx -mavx512vp2intersect
  1324. -mcldemote -mms-bitfields -mno-align-stringops -minline-all-stringops
  1325. -minline-stringops-dynamically -mstringop-strategy=<var>alg</var>
  1326. -mmemcpy-strategy=<var>strategy</var> -mmemset-strategy=<var>strategy</var>
  1327. -mpush-args -maccumulate-outgoing-args -m128bit-long-double
  1328. -m96bit-long-double -mlong-double-64 -mlong-double-80 -mlong-double-128
  1329. -mregparm=<var>num</var> -msseregparm
  1330. -mveclibabi=<var>type</var> -mvect8-ret-in-mem
  1331. -mpc32 -mpc64 -mpc80 -mstackrealign
  1332. -momit-leaf-frame-pointer -mno-red-zone -mno-tls-direct-seg-refs
  1333. -mcmodel=<var>code-model</var> -mabi=<var>name</var> -maddress-mode=<var>mode</var>
  1334. -m32 -m64 -mx32 -m16 -miamcu -mlarge-data-threshold=<var>num</var>
  1335. -msse2avx -mfentry -mrecord-mcount -mnop-mcount -m8bit-idiv
  1336. -minstrument-return=<var>type</var> -mfentry-name=<var>name</var> -mfentry-section=<var>name</var>
  1337. -mavx256-split-unaligned-load -mavx256-split-unaligned-store
  1338. -malign-data=<var>type</var> -mstack-protector-guard=<var>guard</var>
  1339. -mstack-protector-guard-reg=<var>reg</var>
  1340. -mstack-protector-guard-offset=<var>offset</var>
  1341. -mstack-protector-guard-symbol=<var>symbol</var>
  1342. -mgeneral-regs-only -mcall-ms2sysv-xlogues
  1343. -mindirect-branch=<var>choice</var> -mfunction-return=<var>choice</var>
  1344. -mindirect-branch-register
  1345. </pre></div>
  1346. <p><em>x86 Windows Options</em>
  1347. </p><div class="smallexample">
  1348. <pre class="smallexample">-mconsole -mcygwin -mno-cygwin -mdll
  1349. -mnop-fun-dllimport -mthread
  1350. -municode -mwin32 -mwindows -fno-set-stack-executable
  1351. </pre></div>
  1352. <p><em>Xstormy16 Options</em>
  1353. </p><div class="smallexample">
  1354. <pre class="smallexample">-msim
  1355. </pre></div>
  1356. <p><em>Xtensa Options</em>
  1357. </p><div class="smallexample">
  1358. <pre class="smallexample">-mconst16 -mno-const16
  1359. -mfused-madd -mno-fused-madd
  1360. -mforce-no-pic
  1361. -mserialize-volatile -mno-serialize-volatile
  1362. -mtext-section-literals -mno-text-section-literals
  1363. -mauto-litpools -mno-auto-litpools
  1364. -mtarget-align -mno-target-align
  1365. -mlongcalls -mno-longcalls
  1366. </pre></div>
  1367. <p><em>zSeries Options</em>
  1368. See S/390 and zSeries Options.
  1369. </p></dd>
  1370. </dl>
  1371. <hr>
  1372. <div class="header">
  1373. <p>
  1374. Next: <a href="Overall-Options.html#Overall-Options" accesskey="n" rel="next">Overall Options</a>, Up: <a href="Invoking-GCC.html#Invoking-GCC" accesskey="u" rel="up">Invoking GCC</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>
  1375. </div>
  1376. </body>
  1377. </html>