ืื ื’ืœื™ืชืฆืจืคืชื™ืชืกืคืจื“ื™

ืกืžืœ OnWorks

aarch64-linux-gnu-g++-4.8 - ืžืงื•ื•ืŸ ื‘ืขื ืŸ

ื”ืคืขืœ ืืช aarch64-linux-gnu-g++-4.8 ื‘ืกืคืง ืื™ืจื•ื— ื—ื™ื ืžื™ ืฉืœ OnWorks ืขืœ ืื•ื‘ื•ื ื˜ื• Online, Fedora Online, ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ Windows ืื• ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ MAC OS

ื–ื•ื”ื™ ื”ืคืงื•ื“ื” aarch64-linux-gnu-g++-4.8 ืฉื ื™ืชืŸ ืœื”ืคืขื™ืœ ื‘ืกืคืง ื”ืื™ืจื•ื— ื”ื—ื™ื ืžื™ ืฉืœ OnWorks ื‘ืืžืฆืขื•ืช ืื—ืช ืžืชื—ื ื•ืช ื”ืขื‘ื•ื“ื” ื”ืžืงื•ื•ื ื•ืช ื”ืžืจื•ื‘ื•ืช ืฉืœื ื• ื‘ื—ื™ื ื ื›ื’ื•ืŸ Ubuntu Online, Fedora Online, ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ Windows ืื• ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ MAC OS

ืชึธื›ึฐื ึดื™ืช:

ืฉืึตื


gcc - ืžื”ื“ืจ GNU ืคืจื•ื™ื™ืงื˜ C ื•-C++

ืชึทืงืฆึดื™ืจ


gcc [-c|-S|-E] [-std=ืชึถืงึถืŸ]
[-g] [-ืขืžื•ื“] [-Oืจึธืžึธื”]
[-Wืœื”ื–ื”ื™ืจ...] [-Wpedantic]
[-Idir...] [-Ldir...]
[-Dืžืืงืจื•[=defn]...] [-Uืžืืงืจื•]
[-fืื•ึนืคึผึฐืฆึดื™ึธื”...] [-mืืคืฉืจื•ืช ืœืžื›ื•ื ื”...]
[-o ืื•ืกืฃ] [@ืคื™ืœื”] ื‘ืงื•ื‘ืฅ...

ืจืง ื”ืืคืฉืจื•ื™ื•ืช ื”ืฉื™ืžื•ืฉื™ื•ืช ื‘ื™ื•ืชืจ ืžืคื•ืจื˜ื•ืช ื›ืืŸ; ืจืื” ืœื”ืœืŸ ืœื’ื‘ื™ ื”ืฉืืจ. g ++ ืžืงื‘ืœืช
ืœืจื•ื‘ ืื•ืชืŸ ืืคืฉืจื•ื™ื•ืช ื›ืžื• gcc.

ืชื™ืื•ืจ


ื›ืืฉืจ ืืชื” ืžืคืขื™ืœ ืืช GCC, ื–ื” ื‘ื“ืจืš ื›ืœืœ ืขื•ืฉื” ืขื™ื‘ื•ื“ ืžืงื“ื™ื, ืงื•ืžืคื™ืœืฆื™ื”, ื”ืจื›ื‘ื” ื•ืงื™ืฉื•ืจ.
"ื”ืืคืฉืจื•ื™ื•ืช ื”ื›ื•ืœืœื•ืช" ืžืืคืฉืจื•ืช ืœืขืฆื•ืจ ืืช ื”ืชื”ืœื™ืš ื”ื–ื” ื‘ืฉืœื‘ ื‘ื™ื ื™ื™ื. ืœ
ืœื“ื•ื’ืžื”, ื” -c ื”ืืคืฉืจื•ืช ืื•ืžืจืช ืœื ืœื”ืคืขื™ืœ ืืช ื”ืžืงืฉืจ. ื•ืื– ื”ืคืœื˜ ืžื•ืจื›ื‘ ืžืื•ื‘ื™ื™ืงื˜
ืคืœื˜ ืงื‘ืฆื™ื ืขืœ ื™ื“ื™ ื”ืืกืžื‘ืœืจ.

ืืคืฉืจื•ื™ื•ืช ืื—ืจื•ืช ืžื•ืขื‘ืจื•ืช ืœืฉืœื‘ ืื—ื“ ืฉืœ ืขื™ื‘ื•ื“. ืืคืฉืจื•ื™ื•ืช ืžืกื•ื™ืžื•ืช ืฉื•ืœื˜ื•ืช ื‘
ืžืขื‘ื“ ืงื“ื ื•ืื—ืจื™ื ื”ืžื”ื“ืจ ืขืฆืžื•. ืืคืฉืจื•ื™ื•ืช ืื—ืจื•ืช ืฉื•ืœื˜ื•ืช ื‘ื”ืจื›ื‘ ื•
ืžืงืฉืจ; ืจื•ื‘ ืืœื” ืื™ื ื ืžืชื•ืขื“ื™ื ื›ืืŸ, ืžื›ื™ื•ื•ืŸ ืฉืืชื” ืจืง ืœืขืชื™ื ืจื—ื•ืงื•ืช ืฆืจื™ืš ืœื”ืฉืชืžืฉ ื‘ืืฃ ืื—ื“ ืžื”ื.

ืจื•ื‘ ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ืฉื‘ื”ืŸ ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ืขื GCC ืฉื™ืžื•ืฉื™ื•ืช ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช C; ืžืชื™
ืืคืฉืจื•ืช ืฉื™ืžื•ืฉื™ืช ืจืง ืขื ืฉืคื” ืื—ืจืช (ื‘ื“ืจืš ื›ืœืœ C++), ื”ื”ืกื‘ืจ ืื•ืžืจ ื–ืืช
ื‘ึผึดืžึฐืคื•ึผืจึธืฉื. ืื ื”ืชื™ืื•ืจ ืฉืœ ืืคืฉืจื•ืช ืžืกื•ื™ืžืช ืื™ื ื• ืžื–ื›ื™ืจ ืžืงื•ืจ
ืฉืคื”, ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืขื ื›ืœ ื”ืฉืคื•ืช ื”ื ืชืžื›ื•ืช.

ื”ืฉืžื™ื™ื gcc ื”ืชื•ื›ื ื™ืช ืžืงื‘ืœืช ืืคืฉืจื•ื™ื•ืช ื•ืฉืžื•ืช ืงื‘ืฆื™ื ื›ืื•ืคืจื ื“ื™ื. ืœืืคืฉืจื•ื™ื•ืช ืจื‘ื•ืช ื™ืฉ ืจื™ื‘ื•ื™
ืฉืžื•ืช ืื•ืชื™ื•ืช; ืœื›ืŸ ืืคืฉืจื•ื™ื•ืช ืžืจื•ื‘ื•ืช ืฉืœ ืื•ืชื™ื•ืช ื‘ื•ื“ื“ื•ืช ืขืฉื•ื™ื•ืช ืœึนื ืœื”ื™ื•ืช ืžืงื•ื‘ืฆื™ื: -DV. ืžืื•ื“
ืฉื•ื ื” ืž -d -v.

ืืชื” ื™ื›ื•ืœ ืœืขืจื‘ื‘ ืืคืฉืจื•ื™ื•ืช ื•ื˜ื™ืขื•ื ื™ื ืื—ืจื™ื. ืœืจื•ื‘, ื”ื”ื–ืžื ื” ืฉื‘ื” ืืชื” ืžืฉืชืžืฉ ืœื ืขื•ืฉื” ื–ืืช
ื—ื•ึนืžึถืจ. ื”ืกื“ืจ ืžืฉื ื” ื›ืืฉืจ ืืชื” ืžืฉืชืžืฉ ื‘ืžืกืคืจ ืืคืฉืจื•ื™ื•ืช ืžืื•ืชื• ืกื•ื’; ืœืžืฉืœ, ืื
ืืชื” ืžืฆื™ื™ืŸ -L ื™ื•ืชืจ ืžืคืขื ืื—ืช, ืžื‘ื•ืฆืข ื—ื™ืคื•ืฉ ื‘ืกืคืจื™ื•ืช ืœืคื™ ื”ืกื“ืจ ืฉืฆื•ื™ืŸ. ื’ึทื,
ื”ืžื™ืงื•ื ืฉืœ ื” -l ื”ืื•ืคืฆื™ื” ื”ื™ื ืžืฉืžืขื•ืชื™ืช.

ืœืืคืฉืจื•ื™ื•ืช ืจื‘ื•ืช ื™ืฉ ืฉืžื•ืช ืืจื•ื›ื™ื ืฉืžืชื—ื™ืœื™ื ื‘ -f ืื• ืขื -W---ืœื“ื•ื’ืžื”,
-fmove-loop-invariants, - ื•ื›ืŸ ื”ืœืื”. ืœืจื•ื‘ื ื™ืฉ ื’ื ื—ื™ื•ื‘ื™ ื•ืฉืœื™ืœื™
ื˜ืคืกื™ื; ื”ืฆื•ืจื” ื”ืฉืœื™ืœื™ืช ืฉืœ -ffoo. is -fno-foo. ืžื“ืจื™ืš ื–ื” ืžืชืขื“ ืจืง ืื—ื“ ืžืืœื”
ืฉืชื™ ืฆื•ืจื•ืช, ื›ืœ ืื—ืช ืžื”ืŸ ืื™ื ื” ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

ืืคืฉืจื•ื™ื•ืช


ืืคืฉืจื•ืช <br> ืกื™ื›ื•ื
ืœืคื ื™ื›ื ืกื™ื›ื•ื ืฉืœ ื›ืœ ื”ืืคืฉืจื•ื™ื•ืช, ืžืงื•ื‘ืฆื•ืช ืœืคื™ ืกื•ื’. ื”ื”ืกื‘ืจื™ื ื ืžืฆืื™ื ื‘ื”ืžืฉืš
ืกืขื™ืคื™ื.

ื‘ืื•ืคืŸ ื›ืœืœื™ ืืคืฉืจื•ื™ื•ืช
-c -S -E -o ืคื™ืœื” -ืœืœื-ืงื ื•ื ื™ื•ืช-ืงื™ื“ื•ืžื•ืช -ืฆื™ื ื•ืจ -ืžืขื‘ืจ-ื™ืฆื™ืื”-ืงื•ื“ื™ื -x ืฉืคื” -v
-### - ืขื–ืจื”[=ื‘ื›ื™ืชื”[, ...]] --ืžื˜ืจื”-ืขื–ืจื” --ื’ึดืจึฐืกึธื” -ืขึฒื˜ึดื™ืคึธื” @ืคื™ืœื” -fplugin=ืคื™ืœื”
-fplugin-arg-ืฉื=ื’ื“ื•ืœ ืž -fdump-ada-spec[-ืจึธื–ึถื”] -fada-spec-parent=ื™ื—ื™ื“ื”
-fdump-go-spec=ืคื™ืœื”

C ืฉืคื” ืืคืฉืจื•ื™ื•ืช
-ืื ืกื™ -std=ืชึถืงึถืŸ -fgnu89-inline -ืžื™ื“ืข ื ื•ืกืฃ ืฉื ื”ืงื•ื‘ืฅ
-ืคื•ื ืงืฆื™ื•ืช-ืคืจืžื˜ืจ-ื—ืกืจ-ืคืจืžื˜ืจ-variadic -fno-asm -fno-builtin -fno-builtin-ืคื•ื ืงืฆื™ื”
-ืื™ืจื•ื— -ืขื•ืžื“ ื‘ืคื ื™ ืขืฆืžื• -fopenmp -fms-ื”ืจื—ื‘ื•ืช -fplan9-ื”ืจื—ื‘ื•ืช -ื˜ืจื™ื’ืจืคื™ื
-ืžึธืกื•ึนืจืชึดื™ -ืžืกื•ืจืชื™-cpp -ืคื•ืœ-ื™ื—ื™ื“-ื“ื™ื•ืง -fcond-ื—ื•ืกืจ ื”ืชืืžื”
-ื”ืžืจื•ืช-ื•ืงื˜ื•ืจ ืคืฉืชืŸ -fsigned-bitfields -fsigned-char -ืฉื“ื•ืช ืกื™ื‘ื™ื•ืช ืขื ืกื™ืžื ื™ ื›ื™ืฃ
-ืžื—ื•ืžืŸ-char

C + + ืฉืคื” ืืคืฉืจื•ื™ื•ืช
-fabi-version=n -fno-ื‘ืงืจืช ื’ื™ืฉื” -fcheck-ื—ื“ืฉ -fconstexpr-depth=n
-ื”ื–ืจืงืช ื—ื‘ืจ -fno-elide-constructors -fno-enforce-eh-specs -ffor-scope
-fno-for-scope -fno-gnu-ืžื™ืœื•ืช ืžืคืชื— -fno-implicit-templates
-fno-implicit-inline-templates -fno-implement-inlines -fms-ื”ืจื—ื‘ื•ืช
-fno-nonansi-builtins -fnothrow-opt -fno-ืฉืžื•ืช ืžืคืขื™ืœื™ื -fno-ืื•ืคืฆื™ื•ื ืœื™-ื“ื™ืื’ืก
-ืžืชื™ืจื ื™ืช -fno-pretty-templates -ืคืจืคื• -fno-rtti -fstats
-ftemplate-backtrace-limit=n -ftemplate-depth=n -fno-threadsafe-statics
-ืคื™ื•ื–-cxa-atexit -fno-ื—ืœืฉ -nostdinc++ -fno-default-inline
-fvisibility-inlines-hidden -fvisibility-ms-compat -ืคืงืก-ืžืกืคืจื™-ืžื™ืœื•ืœื™ื™ื -ื•ื•ืื‘ื™
-Wconversion-null -ื•ืงื˜ื•ืจ-ื“ื˜ื•ืจ-ืคืจื˜ื™ื•ืช -Wdelete-non-virtual-dtor -ืกื™ื•ืžืช ื•ืœื™ื˜ืจืœื™
-ืžืฆืžืฆื -ืœื ื—ื•ืฅ ืžื–ื” -Wnon-Virtual-dtor -ื”ืกื“ืจ -Weffc++ -Wstrict-null-sentinel
-ืœื-ืœื-ื—ื‘ืจ-ืชื‘ื ื™ืช -ืงืืกื˜ ื‘ืกื’ื ื•ืŸ ื•ื•ืœื“ -ืขืžื•ืก-ื•ื™ืจื˜ื•ืืœื™ -Wno-pmf-ื”ืžืจื•ืช
-Wsign-promo

Objective-C ื• Objective-C ++ ืฉืคื” ืืคืฉืจื•ื™ื•ืช
-fconstant-string-class=ืฉื ื›ื™ืชื” -fgnu-ื–ืžืŸ ืจื™ืฆื” -fnext-ื–ืžืŸ ืจื™ืฆื” -fno-nil-receivers
-fobjc-abi-version=n -fobjc-call-cxx-cdtors -fobjc-ืฉื™ื’ื•ืจ ื™ืฉื™ืจ -fobjc-ื—ืจื™ื’ื™ื
-fobjc-gc -fobjc-nilcheck -fobjc-std=objc1 -freplace-objc-classes -fzero-link
-gen-decls -Wassign-ื™ื™ืจื˜ -ืื™ืŸ ืคืจื•ื˜ื•ืงื•ืœ -ื•ื‘ื•ืจืจ -Wstrict-selector-match
-ื‘ื•ืจืจ-ืžื•ืฆื”ืจ

ืฉืคื” ืขืฆืžืื™ ืืคืฉืจื•ื™ื•ืช
-fmessage-length=n -fdiagnostics-show-location=[ืคืขื|ื›ืœ ืฉื•ืจื”]
-fno-diagnostics-show-option -fno-diagnostics-show-caret

ืื–ื”ืจื” ืืคืฉืจื•ื™ื•ืช
-fsyntax-ื‘ืœื‘ื“ -fmax-errors=n -Wpedantic -ืคื“ื ื˜ื™ื•ืช-ื˜ืขื•ื™ื•ืช -w ืืงืกื˜ืจื” - ืงื™ืจ
-ื›ืชื•ื‘ืช -Waggregate-return -ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืœื•ืœืืช ืฉื•ืง -ื’ื‘ื•ืœื•ืช ื”ืžืœื—ืžื”
-ืื™ืŸ ืชื›ื•ื ื•ืช -ืžื•ื‘ื ื”-ืžืงืจื•-ืžื•ื’ื“ืจ ืžื—ื“ืฉ -Wc++-compat -Wc++11-compat -ื™ื™ืฉื•ืจ Wcast
-Wcast-qual -Wchar-ืžื ื•ื™ื™ื -ืงืฉืงืฉ -ื”ืขืจื” -ื”ืžืจื” -ืื™-ื”ืชืืžื” ืฉืœ ื›ื™ืกื•ื™
-Wno-cpp -ืœื ื”ื•ืฆื ืžืฉื™ืžื•ืฉ -ื”ืฆื”ืจื•ืช-ืœื-ืžื•ื•ืช -Wdisabled-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
-Wno-div-by-XNUMX - ืงื™ื“ื•ื ื›ืคื•ืœ -ื’ื•ืฃ ืจื˜ื•ื‘ -ื•ื•ื ื•ื-ื”ืฉื•ื• -ืชื•ื•ื™ื•ืช Wno-endif
-ืฉื’ื™ืื” -ืฉื’ื™ืื”=* -ืฉื’ื™ืื•ืช ื—ืžื•ืจื•ืช -Wfloat-ืฉื•ื•ื” - -Wformat=2
-Wno-format-contains-nul -Wno-format-extra-args -Wformat-ืœื ืžื™ืœื•ืœื™ -Wformat-ืื‘ื˜ื—ื”
-Wformat-y2k -Wframe-larger than=ืœืŸ -ืœืœื-ื—ืคืฅ-ืœื-ืขืจืžื” -Wjump-misses-init
- ืžื•ืงื“ืžื•ืช ืžื ื•ืฆืœื•ืช - ืžืจื•ืžื– -ื”ืฆื”ืจื”-ืคื•ื ืงืฆื™ื•ื ืœื™ืช -ืžื•ื›ืจ
-ื•ื•ื™ื ื™ื˜-ืขืฆืžื™ -Winline -ืื•ืœื™-ืœื ืืชื—ื•ืœ -Wno-int-to-pointer-cast
-Wno-invalid-offsetof -Winvalid-pch -Wlarer- than=ืœืŸ -ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ Wunsafe-loop
-Wlogical-op -ื•ืœื•ื ื’-ืืจื•ืš -ืžื™ื™ืŸ -ืื•ืœื™-ืœื ืืชื—ื•ืœ -ื—ืกืจ-ืคืœื˜ื”
-ื—ืกืจื™-ืฉื“ื”-initializers -ื—ืกืจื™ื-include-dirs -ืœื-ื“ืฉ ื‘ื•ืฅ -Wno-multichar
-Wnonnull -ืœืœื ื”ืฆืคื” -ืžื™ืชืจื™ื ื‘ืื•ืจืš ืจื•ื— -ืืจื•ื– -Wpacked-bitfield-compat
-Wpadded -ืกื•ื’ืจื™ื™ื -Wpedantic-ms-format -Wno-pedantic-ms-format -Wpointer-arith
-ืื™ืŸ-ืžืฆื‘ื™ืข ืœ-int-cast -ื—ืกืจ-ืžื‘ื˜ืœ -Wno-return-local-addr -ืกื•ื’ ื—ื–ืจื”
-ื ืงื•ื“ืช ืจืฆืฃ -ื•ืฆืœ -Wsign-ื”ืฉื•ื•ืื” -ื”ืžืจืช ืกื™ืžืŸ
-Wsizeof-pointer-memaccess -ืžื’ืŸ Wstack -Wstack-usage=ืœืŸ -Wstrict-aliasing
-Wstrict-aliasing=n -Wstrict-ื”ืฆืคื” -Wstrict-overflow=n
-Wsuggest-attribute=[ื˜ื”ื•ืจ|const|ืื™ืŸ ื“ืจืš ื—ื–ืจื”|ืคื•ึผืจืžึธื˜] -ืชื›ื•ื ื” ื—ืกืจืช-ืคื•ืจืžื˜ -ืžืชื’
-Wswitch-default -ืกื•ื•ื™ืฆ'-ืื ื•ื -Wsync-nand -ื›ื•ืชืจื•ืช Wsystem -ื˜ืจืžืคื•ืœื™ื ื•ืช
-ืชืจืฉื™ืžื™ื -ืžื’ื‘ืœื•ืช ืกื•ื’ -ื•ื•ื ื“ืฃ -ืœื ืžืื•ืชื—ืœ -ืœื ื™ื“ื•ืข-ืคืจื’ืžื•ืช -ืœื-ืคืจื’ืžื•ืช
-ืžืฉื™ืžื•ืช-ืฆืคื•ืช-ืงื‘ื•ืขื•ืช -ืœื ื‘ืฉื™ืžื•ืฉ -ืคื•ื ืงืฆื™ื” Wunused -ืชื•ื•ื™ืช Wunused
-Wunused-local-typedefs -ืคืจืžื˜ืจ Wunused -ืื™ืŸ ืชื•ืฆืื” ืฉืื™ื ื” ื‘ืฉื™ืžื•ืฉ -ืขืจืš Wunused
-ืžืฉืชื ื™ื-Wunused -ืคืจืžื˜ืจ Wunused-but-set- -ื‘ืฉื™ืžื•ืฉ-ืื‘ืœ-ืกื˜-ืžืฉืชื ื” -ืงืืกื˜ ื—ืกืจื™
-Wvariadic-macros -ื•ืงื˜ื•ืจ-ืคืขื•ืœื”-ื‘ื™ืฆื•ืขื™ื -Wvla -Wvolatile-register-var
-ื›ืชื•ื‘-ืžื—ืจื•ื–ื•ืช -Wzero-as-null-pointer-constant

C ื• Objective-C ื‘ืœื‘ื“ ืื–ื”ืจื” ืืคืฉืจื•ื™ื•ืช
-Wbad-function-cast -ื”ืฆื”ืจื•ืช ื—ืกืจื•ืช -ืกื•ื’ ื—ืกืจ-ืคืจืžื˜ืจ
-ื—ืกืจื™-ืื‘ื˜ื™ืคื•ืก -Wnested-externs -ื”ืฆื”ืจื” ื‘ืกื’ื ื•ืŸ ื•ื•ืœื“ -ื”ื’ื“ืจื” ื‘ืกื’ื ื•ืŸ ื•ื•ืœื“
-Wstrict-ืื‘ ื˜ื™ืคื•ืก -ืžืกื•ืจืชื™ -ื”ืžืจื” ืžืกื•ืจืชื™ืช
-ื”ืฆื”ืจื”-ืื—ืจื™-ื”ืฆื”ืจื” -ืกื™ืžืŸ Wpointer

Debugging ืืคืฉืจื•ื™ื•ืช
-dืื•ืชื™ื•ืช -ืžืคืจื˜ dump -ืžื›ื•ื ืช dump -ื’ืจืกืช dump -fsanitize=ืกื’ื ื•ืŸ -fdbg-cnt-list
-fdbg-cnt=ืจืฉื™ืžืช ืขืจื›ื™ื ื ื’ื“ื™ืช -fdisable-ipa-pass_name -fdisable-rtl-pass_name
-fdisable-rtl-ืฉื ืžืขื‘ืจ=ืจืฉื™ืžืช ื˜ื•ื•ื—ื™ื -fdisable-tree-pass_name -fdisable-tree-ืœึทืขึฒื‘ื•ึนืจ-
ืฉื=ืจืฉื™ืžืช ื˜ื•ื•ื—ื™ื -fdump-noaddr -fdump-ืœื ืžืžื•ืกืคืจ -fdump-ืœื ืžืžื•ืกืคืจื™ื-ืงื™ืฉื•ืจื™ื
-fdump-translation-unit[-n] -fdump-class-hierarchy[-n] -fdump-ipa-all
-fdump-ipa-cgraph -fdump-ipa-inline -fdump-passes -fdump-ืกื˜ื˜ื™ืกื˜ื™ืงื” -fdump-tree-all
-fdump-ืขืฅ-ืžืงื•ืจื™[-n] -fdump-tree ืžื•ืชืื[-n] -fdump-tree-cfg -fdump-tree-ื›ื™ื ื•ื™
-fdump-tree-ch -fdump-tree-ssa[-n] -fdump-tree-pre[-n] -fdump-tree-ccp[-n]
-fdump-tree-dce[-n] -fdump-tree-gimple[-ื’ืœื] -fdump-ืขืฅ-ื“ืฉ ื‘ื•ืฅ[-n]
-fdump-tree-dom[-n] -fdump-tree-dse[-n] -fdump-tree-phiprop[-n] -fdump-tree-phiopt[-n]
-fdump-tree-forwprop[-n] -fdump-tree-copyrename[-n] -fdump-tree-nrv -fdump-tree-vect
-fdump-ืขืฅ-ื›ื™ื•ืจ -fdump-tree-sra[-n] -fdump-tree-forwprop[-n] -fdump-tree-fre[-n]
-fdump-tree-vrp[-n] -ftree-vectorizer-verbose=n -fdump-tree-storeccp[-n]
-fdump-final-insns=ืคื™ืœื” -fcompare-debug[=ื‘ื•ื—ืจ] -fcompare-debug-second
-ืคืœื™ืžื™ื ืื˜-ื’ืžื“2-ื“ื•ืคื™ื -fno-eliminate-unused-debug-types
ืกืžืœื™ื-feliminate-unused-debug-symbols -femit-class-debug-always -ื ื™ืชืŸ ืœื”ืคื’ื™ืŸ-ืกื•ื’-ืœืขื‘ื•ืจ
-ื ื™ืชืŸ ืœื”ืคื’ื™ืŸ-ืกื•ื’-ืœืขื‘ื•ืจ=ืจืฉื™ืžืช ื˜ื•ื•ื—ื™ื -fdebug-types-section -fmem-report-wpa -fmem-ื“ื•ื—
-fpre-ipa-mem-report -fpost-ipa-mem-report -fprofile-arcs -fopt-info
-fopt-info-ืืคืฉืจื•ื™ื•ืช[=ืคื™ืœื”] -ืคืจื ื“ื•ื-seed=ืžื—ืจื•ื–ืช -fsched-verbose=n -fsel-sched-verbose
-fsel-sched-dump-cfg -fsel-sched-pipelining-verbose -ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื” -ื”ื›ื™ืกื•ื™ ื”ื’ื‘ื•ื” ื‘ื™ื•ืชืจ
-ftime-ื“ื•ื— -fvar-ืžืขืงื‘ -fvar-tracking-assignments
-ืžืื‘ืจ-ืžืขืงื‘-ืžื ืชืงื™ื-ื˜ื‘ื’ื•ืœ -g -gืจึธืžึธื” -gtoggle -ื’ืงื•ืฃ -ื’ืžื“-ื’ืจืกื” -ggdb
-grecord-gcc-ืžืชื’ื™ื -gno-record-gcc-switches -gstabs -gstabs+ -gstrict-ื’ืžื“
-ื ื•-ืงืคื“ื ื™ืช-ื’ืžื“ -gvms -gxcoff -gxcoff+ -fno-merge-debug-strings
-fno-dwarf2-cfi-asm -fdebug-prefix-map=ื–ืงืŸ=ื—ื“ืฉ -femit-struct-debug-baseonly
-ืžื™ื˜-ืกื˜ืจื•ืง-ื“ื‘ื•ืง ืžื•ืคื—ืช -femit-struct-debug-detailed[=ืžืคืจื˜-ืจืฉื™ืžืช] -p -ืขืžื•ื“
-print-file-name=ืกืคืจื™ื” -print-libgcc-file-name -ื”ื“ืคืก-ืžืกืคืจ ืกืคืจื™ื•ืช
-print-multi-lib -print-multi-os-directory -print-prog-name=ื”ืชื•ื›ื ื™ืช
-print-search-dirs -Q -print-sysroot -print-sysroot-headers-suffix -ื—ื™ืกื›ื•ืŸ-ื˜ืžืค'
-save-temps=cwd -save-temps=obj -time[=ืคื™ืœื”]

ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืืคืฉืจื•ื™ื•ืช
-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืœื•ืœืื” ืคื’ืจืกื™ื‘ื™ืช -falign-functions[=n] -falign-jumps[=n]
-falign-labels[=n] -falign-ืœื•ืœืื•ืช[=n] -ืืกื•ืฆื™ืื˜ื™ื‘ื™ืช-ืžืชืžื˜ื™ืงื” -fauto-inc-dec
-fืขื ืฃ-ื”ืกืชื‘ืจื•ื™ื•ืช -fbranch-target-load-optimize -fbranch-target-load-optimize2
-fbtr-bb-ื‘ืœืขื“ื™ -fcaller-ืฉื•ืžืจ -fcheck-data-deps -fcombine-stack-adjustments
-fconserve-ืžื—ืกื ื™ืช -fcompare-elim -fcprop-registers -ืงืคื™ืฆื” ืฆื•ืœื‘ืช -fcse-follow-jumps
-fcse-ื“ืœื’-ื‘ืœื•ืงื™ื -fcx-fortran-rules -fcx-ื˜ื•ื•ื— ืžื•ื’ื‘ืœ -fdata-sections -fdce
-ืขื ืฃ ืžื•ืฉื”ื” -fdelete-null-pointer-checks -fdevirtualize -fdse -ืคื—ื“-ื”ื˜ื‘ืขื”
-ืคื™ืคื-ืกืจื” -ื–ื•ืœ-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช -ffat-lto-objects -ืžื”ื™ืจ-ืžืชืžื˜ื™ืงื” -ืกื•ืคื™ืช-ืžืชืžื˜ื™ืงื”-ื‘ืœื‘ื“
-ffloat-store -fexcess-precision=ืกื’ื ื•ืŸ -ืœืคื ื™ื-ืœื”ืคื™ืฅ -ffp-contract=ืกื’ื ื•ืŸ
-ืคืคื•ื ืงืฆื™ื”-ืกืขื™ืคื™ื -fgcse -fgcse-after-reload -fgcse-las -fgcse-lm
-ื–ื”ื•ืช-fgraphite -fgcse-sm -fhoist-ืกืžื•ืš-ืขื•ืžืกื™ื -fif-ื”ืžืจื” -fif-conversion2
-findirect-inlining -finline-ืคื•ื ืงืฆื™ื•ืช -finline-functions-ืฉื ืงืจื ืคืขื ืื—ืช -finline-limit=n
-finline-ืงื˜ื ื•ืช-ืคื•ื ืงืฆื™ื•ืช -fipa-cp -fipa-cp-clone -ืคื™ืคื-pta -fipa-profile
-ืคื™ืคื-ื˜ื”ื•ืจ-ืงื•ื ืกื˜ -ืคื™ืคื-ื”ืชื™ื™ื—ืกื•ืช -fira-algorithm=ืึทืœื’ื•ึนืจึดื™ืชึฐื -fira-region=ื‘ืื–ื•ืจ
-ืคื™ืจื”-ื”ืจืžื”-ืœื—ืฅ -ืคื™ืจื”-ืœื•ืœืื”-ืœื—ืฅ -fno-ira-share-save-slots
-fno-ira-share-spill-slots -fira-verbose=n -fivopts -fkeep-inline-functions
-fkeep-static-consts -ืคืœื•ืค-ื‘ืœื•ืง -ืคืœื•ืค-ืžื—ืœืฃ -ืคืœื•ืค-ืจืฆื•ืขื”-ืฉืœื™
-floop-nest-optimize -ืคืœื•ืค-ืžืงื‘ื™ืœ-ื”ื›ืœ -flto -flto-compression-level
-flto-partition=ALG -flto-ื“ื•ื— -fmerge-all-constants -fmerge-constants
-fmodulo-sched -fmodulo-sched-allow-regmoves -fmove-loop-invariants fmudflap
-fmudflapir -fmudflapth -fno-branch-count-reg -fno-default-inline -fno-defer-pop
-fno-function-cse -fno-ื ื™ื—ื•ืฉ-ืขื ืฃ-ื”ืกืชื‘ืจื•ืช -fno-inline -fno-math-errno
-fno-ื—ื•ืจ ื”ืฆืฆื” -fno-ื—ื•ืจ ื”ืฆืฆื”2 -fno-sched-interblock -fno-sched-ื”ืžืคืจื˜ -fno-ืกื™ืžืŸ-ืืคืกื™ื
-fno-toplevel-ืกื“ืจ ืžื—ื“ืฉ -fno-ืžืœื›ื•ื“ืช-ืžืชืžื˜ื™ืงื” -fno-zero-initialized-in-bss
-fomit-frame-pointer -foptimize-register-move -foptimize-ืื—ื™ื•ืช-ืฉื™ื—ื•ืช
-fpartial-inlining -fpeel-ืœื•ืœืื•ืช -fpredictive-commoning -fprefetch-loop-arrays
-fprofile-report -fprofile-ืชื™ืงื•ืŸ -fprofile-dir=ื ืชื™ื‘ -fprofile-generate
-fprofile-generate=ื ืชื™ื‘ -fprofile-ืฉื™ืžื•ืฉ -fprofile-use=ื ืชื™ื‘ -fprofile-values
-ืชื“ืžื™ืชื™-ืžืชืžื˜ื™ืงื” -ื—ื•ืคืฉื™ -ืคืจื’move -frename-registers -Freord-ื‘ืœื•ืงื™ื
-ืœืื—ืจ ืกื“ืจ-ื‘ืœื•ืงื™ื-ื•-ืžื—ื™ืฆื” -ืคืงื•ื“ืช-ืคื•ื ืงืฆื™ื•ืช -frerun-cse-after-loop
-freschedule-modulo-scheduled-loops -ื—ื™ืฉื•ื‘-ืžืชืžื˜ื™ืงื” -fsched2-use-superblocks
-fsched-ืœื—ืฅ -fsched-spec-load -fsched-spec-ืขื•ืžืก-ืžืกื•ื›ืŸ
-fsched-stalled-insns-dep[=n] -fsched-stalled-insns[=n] -fsched-group-heuristic
-fsched-critical-path-hyuristic -fsched-spec-insn-heuristic -fsched-rank-heuristic
-fsched-last-insn-heuristic -fsched-dep-count-heuristic -fschedule-insns
-fschedule-insns2 -fsection-ืขื•ื’ื ื™ื -ืกืœืงื˜ื™ื‘ื™-ืชื–ืžื•ืŸ -fsellective-scheduling2
-fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -ืœื”ื›ื•ื•ืฅ-ืœืขื˜ื•ืฃ
-fsignaling-nans -ื“ื™ื•ืง-ืงื‘ื•ืข-ื™ื—ื™ื“ -fsplit-ivs-in-unroller
-fsplit-wide-types -ืžื’ืŸ ืžื—ืกื ื™ืช -fstack-protector-all -fstrict-aliasing
-ืคืจืงื˜-ื”ืฆืคื” -ื—ื•ื˜-ืงืคื™ืฆื•ืช -ftracer -ftree-bit-ccp -ftree-builtin-call-dce
-ftree-ccp -ftree-ch -ftree-coalesce-inline-vars -ftree-coalesce-vars -ftree-copy-prop
-ftree-copyrename -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-forwprop
-ftree-fre -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im
-ftree-phiprop -ftree-loop-distribution -ftree-loop-distribute-passtrens
-ftree-loop-ivcanon -ftree-ืœื•ืœืื”-ืœื™ื ืืจื™ืช -ftree-loop-optimize -ftree-parallize-ืœื•ืœืื•ืช=n
-ftree-pre -ftree-partial-pre -ftree-pta -ftree-reassoc -ื›ื™ื•ืจ-ftree -ftree-slsr
-ftree-sra -ftree-switch-conversion -ftree-ื–ื ื‘-ืžื™ื–ื•ื’ -ftree-ter -ftree-vectorize
-ftree-vrp -ื›ื™ืฃ-ื‘ื›ืœ ืคืขื -funroll-all-loops -funroll-ืœื•ืœืื•ืช
-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืœื•ืœืืช funsafe -ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math -ืœื•ืœืื•ืช funswitch
-fvariable-expansion-in-unroller -fvect-cost-model -fvpt -FWeb. -ื”ืชื•ื›ื ื™ืช ืฉืœืžื” -fwpa
-fuse-ld=ืงื™ืฉื•ืจื™ื -ืชื•ืกืฃ-ืžืงืฉืจ-fuse --param ืฉื=ืขืจืš -O -O0 -O1 -O2 -O3 -ืื•ืก
-ืื•ืคืกื˜ -ืื•ื’

Preprocessor ืืคืฉืจื•ื™ื•ืช
-Aืฉืืœื”=ืœืขื ื•ืช -ื-ืฉืืœื”[=ืœืขื ื•ืช] -C -dD -ื“ื™ -dM -dN -Dืžืืงืจื•[=defn] -E -H
-ื™ื“irafter dir -ืœึดื›ืœื•ึนืœ ืคื™ืœื” -ืื™ืžืืงืจื• ืคื™ืœื” -iprefix ืคื™ืœื” -iwithprefix dir
-iwithprefixbefore dir -ืžืขืจื›ืช dir -ืื™ืžื•ืœื˜ื™ื‘ื™ dir -isysroot dir -M -ืžืž -MF -MG
-MP -MQ -MT -ื ื•ืกื˜ื“ื™ื ืง -P -fdebug-cpp -ftrack-macro-expansion -fworking-ืžื“ืจื™ืš
-ืžืคื” ืžื—ื“ืฉ -ื˜ืจื™ื’ืจืคื™ื -undef -Uืžืืงืจื• -Wp,ืื•ึนืคึผึฐืฆึดื™ึธื” -Xpreprocessor ืื•ึนืคึผึฐืฆึดื™ึธื” -no-integrated-cpp

ืืกืžื‘ืœืจ ืืคืฉืจื•ืช
-ื•ื•ื,ืื•ึนืคึผึฐืฆึดื™ึธื” -Xassembler ืื•ึนืคึผึฐืฆึดื™ึธื”

ืœื™ื ืงืจ ืืคืฉืจื•ื™ื•ืช
ืฉื ืื•ื‘ื™ื™ืงื˜-ืงื•ื‘ืฅ -lืกืคืจื™ื” -nostartfiles -nodefaultlibs -ื ื•ืกื˜ื“ืœื™ื‘ -ืคึผึทืึดื™ -ืจื“ื™ื ืžื™ -s
-ืกื˜ึธื˜ึดื™ -static-libgcc -static-libstdc++ -ืกื˜ื˜ื™-ืœื™ื‘ืืกืŸ -ืกื˜ื˜ื™-ืœื™ื‘ื˜ืกืŸ -ืžึฐืฉืื•ึผืชึธืฃ
-shared-libgcc -ืกึดืžืœึดื™ -T ืชืกืจื™ื˜ -ื•ื•ืœ,ืื•ึนืคึผึฐืฆึดื™ึธื” -Xlinker ืื•ึนืคึผึฐืฆึดื™ึธื” -u ืกืžืœ

ืžึทื“ืจึดื™ืš ืืคืฉืจื•ื™ื•ืช
-Bืงื™ื“ื•ืžืช -Idir -plugindir=dir -ืื ื™ ืžืฆื˜ื˜dir -Ldir -ืžืคืจื˜ =ืคื™ืœื” -ืื ื™- --sysroot=dir
--no-sysroot-suffix

ืžื›ื•ื ื” ืชืœื•ื™ ืืคืฉืจื•ื™ื•ืช
AAArch64 ืืคืฉืจื•ื™ื•ืช -mbig-endian -ืžืขื˜-ืื ื“ื™ืืŸ -mgeneral-regs-only -mcmodel=ืงื˜ื ื˜ืŸ
-mcmodel=small -mcmodel=ื’ื“ื•ืœ -mstrict-align -momit-leaf-frame-pointer
-mno-omit-leaf-frame-pointer -mtls-dialect=desc -mtls-dialect=ืžืกื•ืจืชื™
-mfix-cortex-a53-835769 -mno-fix-cortex-a53-835769 -ืžืจืฅ=ืฉื -mcpu=ืฉื
-mtune=ืฉื

ืื“ืคื˜ื™ื‘ื” ื”ึดืชื’ึทืœื•ึผืช ืืคืฉืจื•ื™ื•ืช -mhalf-reg-file -mrefer-short-insn-regs -brranch-cost=NUM
-mcmove -mnops=NUM -msoft-cmpsf -msplit-lohi -mpost-inc -mpost-modify
-mstack-offset=NUM -mround-ื”ืงืจื•ื‘ ื‘ื™ื•ืชืจ -ืžืœื•ื ื’-ืฉื™ื—ื•ืช -ืฉื™ื—ื•ืช ืงืฆืจื•ืช -msmall16 -mfp-mode=ืžืฆื‘
-mvect-double -max-vect-align=NUM -msplit-vecmove-early -m1reg-ืจื’

ื–ืจื•ืข ืืคืฉืจื•ื™ื•ืช -mapcs-frame -mno-apcs-frame -ืžืื‘ื™=ืฉื -mapcs-stack-check
-mno-apcs-stack-check -mapcs-float -mno-apcs-float -mapcs-reenrant
-mno-apcs-reenrant -msched-prolog -mno-sched-ืคืจื•ืœื•ื’ -ืžืขื˜-ืื ื“ื™ืืŸ -mbig-endian
-mwords-little-endian -mfloat-abi=ืฉื -mfp16-format=ืฉื -ืž-ืื’ื•ื“ืœ-ืขื‘ื•ื“ื”
-mno-thumb-interwork -mcpu=ืฉื -ืžืจืฅ=ืฉื -mfpu=ืฉื -mstructure-size-boundary=n
-ืื-ืขืœ-ื—ื–ืจื” -ืžืœื•ื ื’-ืฉื™ื—ื•ืช -ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช -ื‘ืกื™ืก ืชืžื•ื ื” ืื—ืช
-mno-single-pic-base -mpic-register=ืจื’ -mnop-fun-dllimport -ืฉื ืคื•ื ืงืฆื™ื”-mpoke
-ืื’ื•ื“ืœ -ืžืจื -mtpcs-frame -mtpcs-leaf-frame -mcaller-ืกื•ืคืจ-ืื™ื ื˜ืจื•ื•ืจืงื™ื ื’
-mcallee-ืกื•ืคืจ-ืื™ื ื˜ืจื•ื•ืจืงื™ื ื’ -mtp=ืฉื -mtls-dialect=ื ึดื™ื‘ -mword-relocations
-mfix-cortex-m3-ldrd -ื’ื™ืฉื” ืžื ื•ื”ืœืช -ืžื ืื•ืŸ-ืขื‘ื•ืจ-64 ืกื™ื‘ื™ื•ืช -ืžื’ื‘ื™ืœ-ื–ื”

AVR ืืคืฉืจื•ื™ื•ืช -mmcu=ืžืงื• -ืฆื‘ื•ืจ-ืืจื’ืก -brranch-cost=ืขืœื•ืช -mcall-ืคืจื•ืœื•ื’ื™ื -ืžื ื˜ื”8
-ืžื ื•-ืžืคืจื™ืข -ืœื”ื™ืจื’ืข -mstrict-X -mtiny-stack -Waddr-space-convert

ืฉื—ื•ืจ ืืคืฉืจื•ื™ื•ืช -mcpu=ืžืขื‘ื“[-ืกื™ืจื˜ื•ื•ื™ื–ื™ื•ืŸ] -ืžืกื™ื -momit-leaf-frame-pointer
-mno-omit-leaf-frame-pointer -mspekld-anomaly -mno-specld-anomaly -mcsync-anomaly
-mno-csync-anomaly -ื—ืœื‘-64k -mno-low64k -mstack-check-l1 -ืืžืฆืข ื”ืกืคืจื™ื™ื” ื”ืžืฉื•ืชืคืช
-mno-id-shared-library -mshared-library-id=n -mleaf-id-shared-library
-mno-leaf-id-shared-library -msep-ื ืชื•ื ื™ื -mno-sep-data -ืžืœื•ื ื’-ืฉื™ื—ื•ืช -ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช
-mfast-fp -minline-plt -ืจื‘ ืœื™ื‘ื•ืช -mcorea -ืžืงื•ืจื‘ -msdram -micplb

C6X ืืคืฉืจื•ื™ื•ืช -mbig-endian -ืžืขื˜-ืื ื“ื™ืืŸ -ืžืจืฅ=ืžืขื‘ื“ -ืžืกื™ื -msdata=ืกื•ื’ sdata

Cris ืืคืฉืจื•ื™ื•ืช -mcpu=ืžืขื‘ื“ -ืžืจืฅ=ืžืขื‘ื“ -mtune=ืžืขื‘ื“ -mmax-stack-frame=n
-melinux-stacksize=n -ืžื˜ืจืงืก4 -ืžื˜ืจืงืก100 -mpdebug -mcc-init -mno-ืชื•ืคืขื•ืช ืœื•ื•ืื™
-mstack-align -mdata-align -mconst-align -m32-bit -m16-bit -m8-bit
-ืžื ื•-ืคืจื•ืœื•ื’-ืืคื™ืœื•ื’ -mno-gotplt -ืžืœืฃ -ืžืื•ื˜ -ืžืœื™ื ื•ืงืก -mlinux -ืกื™ื -sim2
-mmul-bug-around -mno-mul-bug-around

CR16 ืืคืฉืจื•ื™ื•ืช -ืžืžืง -mcr16cplus -mcr16c -ืžืกื™ื -ืžื ื˜ื”32 -mbit-ops -mdata-model=ืžื•ื“ืœ

ื“ืจื•ื•ื™ืŸ ืืคืฉืจื•ื™ื•ืช -ื›ืœ_ืขื•ืžืก -ืžื•ืชืจ_ืœืงื•ื— -ืงึถืฉืึถืช -arch_errors_fatal -ืจืง_ื‘ืœื‘ื“
-bind_at_load -ื—ื‘ื™ืœื” -bundle_loader -ืฉื ื”ืœืงื•ื— -ื’ืจืกื”_ืชืื™ืžื•ืช
-ื’ืจืกื” ื ื•ื›ื—ื™ืช -ืจืฆื•ืขื”_ืžืชื” -ืชืœื•ืช-ืงื•ื‘ืฅ -dylib_file -ืฉื_ื”ืชืงื ื”_dylinker
-ื“ึดื™ื ึธืžึดื™ -ื“ื™ื ืืžื™ืœื™ื‘ -ืจืฉื™ืžืช_ืกืžืœื™ื_ืžื™ื•ืฆืื™ื -ืจืฉื™ืžืช ืงื‘ืฆื™ื -ืฉื˜ื— ืฉื_flat
-force_cpusubtype_ALL -force_flat_namespace -headerpad_max_install_names -iframework
-ืชืžื•ื ื”_ื‘ืกื™ืก -ื ื™ื˜ -ืฉื_ื”ืชืงื ื” -ืฉืžื•ืจ_ืคืจื˜ื™_externs -ืžื•ืœื˜ื™_ืžื•ื“ื•ืœ
-ืžื•ื’ื“ืจ_ื”ื›ืคื™ืœ -ื›ืคื™ืœ_ ืžื•ื’ื“ืจ_ืœื ื‘ืฉื™ืžื•ืฉ -noall_load
-ืื™ืŸ_ืžืชื™ื_ื—ืคืฆื™ื_ื•ืชื ืื™ื -nofixprebinding -ื ื•ืžื•ืœื˜ื™ื“ืฃ -noprebind
-noseglinkedit -pagezero_size -ืงืฉื™ืจื” ืžืจืืฉ -prebind_all_twolevel_modules -ื—ื‘ื™ืœื”_ืคืจื˜ื™ืช
-ืงืจื™ืื” ื‘ืœื‘ื“_relocs -ืกืงื˜ืœื™ื™ืŸ -ืกืžืœื™ ืื•ื‘ื™ื™ืงื˜ื™ื ืฉืœ ื›ืช -ืœืžื” ืœื˜ืขื•ืŸ -seg1addr -ืœื™ืฆื•ืจ
-ืกืžืœื™ ืื•ื‘ื™ื™ืงื˜ื™ื ืฉืœ ื›ืช -ืžื’ื–ืจ -ืกื’ื“ื“ืจ -segs_read_only_addr -segs_read_write_addr
-seg_addr_table -seg_addr_table_filename -seglinkedit -ืกื’ืคืจื•ื˜ -segs_read_only_addr
-segs_read_write_addr -ื™ื—ื™ื“_ืžื•ื“ื•ืœ -ืกื˜ึธื˜ึดื™ -ืกืคืจื™ื™ืช_ืชืช -ืžืฉื ื”_ืžื˜ืจื™ื”
-ืจื•ื•ื—_ืฉื_ืฉื ื™ื™ื -ืžึดื˜ึฐืจึดื™ึธื” -ืœื ืžื•ื’ื“ืจ -ืจืฉื™ืžืช_ืกืžืœื™ื_ืœื ืžื™ื•ืฆืื™ื
-ืื™-ื”ืชืืžื•ืช_ื”ืชื™ื™ื—ืกื•ืช_ื—ืœืฉื” -ืžื” ืฉื ื˜ืขืŸ -F ื ื—ืฉ -ืžืœื -mmacosx-version-min=ื’ืจืกื”
-ืžืงืจื ืœ -mone-byte-bool

ื“ืฆืžื‘ืจ ืืœืคื ืืคืฉืจื•ื™ื•ืช -mno-fp-regs -msoft-float -ืžื™ื™ -ืžื™ื™-ืขื-ืœื ืžื“ื•ื™ืง
-ืžื™ื™-ืชื•ืื -mfp-trap-mode=ืžืฆื‘ -mfp-rounding-mode=ืžืฆื‘ -mtrap-precision=ืžืฆื‘
-mbuild-ืงื‘ื•ืขื™ื -mcpu=ืกื•ื’ ืžืขื‘ื“ -mtune=ืกื•ื’ ืžืขื‘ื“ -mbwx -ืžืžืงืก -mfix -mcix
-mfloat-vax -mfloat-ieee -ืžืคื•ืจืฉ-ืจื™ืœื•ืงื™ื -msmall-data -ื”ื’ื“ืœื”-ื ืชื•ื ื™ื -msmall-text
-ื˜ืงืกื˜ ื’ื“ื•ืœ -ื–ื™ื›ืจื•ืŸ-ื”ืฉื”ื™ื™ื”=ื–ืžืŸ

FR30 ืืคืฉืจื•ื™ื•ืช -msmall-model -ืžื ื•-ืœืกื™ื

FRV ืืคืฉืจื•ื™ื•ืช -mgpr-32 -mgpr-64 -mfpr-32 -mfpr-64 -mhard-float -msoft-float
-malloc-cc -mfixed-cc -mdword -mno-dword -mdouble -mno-ื›ืคื•ืœ -ืžืžื“ื™ื” -mno-media
-ืžื•ืœืื“ -mno-muladd -mfdpic -minline-plt -mgprel-ro -ืจื‘-ืกืคืจื™ื™ื”-ืชืžื•ื ื”
-mlinked-fp -ืžืœื•ื ื’-ืฉื™ื—ื•ืช -ืžืžืื™ืจ-ืชื•ื•ื™ื•ืช -mlibrary-ืชืžื•ื ื” -mac-4 -mac-8 -mpack
-ืžื ื•-ื—ื‘ื™ืœื” -mno-flags -mcond-move -mno-cond-move -moptimize-membar
-mno-optimize-membar -mscc -mno-scc -mcond-exec -mno-cond-exec -mvliw-ืขื ืฃ
-ืžื ื•-ืคืœื™ื•ื•-ืขื ืฃ -multi-cond-exec -mno-multi-cond-exec -mnested-cond-exec
-mno-nested-cond-exec -mtomcat-stats -mTLS -mtls -mcpu=ืžืขื‘ื“

ื’ื ื• / ืœื™ื ื•ืงืก ืืคืฉืจื•ื™ื•ืช -mglibc -muclibc -ืžื‘ื™ื•ื ื™ -ืžืื ื“ืจื•ืื™ื“ -tno-android-cc -tno-android-ld

H8 / 300 ืืคืฉืจื•ื™ื•ืช -ืœื”ื™ืจื’ืข -ืž"ื” -ื’ื‘ืจืช -ืžื  -mexr -mno-exr -ืžื ื˜ื”32 -ืžืžืื™ืจ-300

HPPA ืืคืฉืจื•ื™ื•ืช -ืžืจืฅ=ืกื•ื’ ืื“ืจื™ื›ืœื•ืช -ืžื‘ื™ื’-ืžืชื’ -mdisable-fpregs
-mdisable-indexing -ืฉื™ื—ื•ืช ื‘ืœืชื™ ื™ืฉื™ืจื•ืช -ืžื’ื– -ืžื’ื ื•-ืœื“ -mhp-ld
-mfixed-range=ืจื™ืฉื•ื-ื˜ื•ื•ื— -mjump-in-delay -mlinker-opt -ืžืœื•ื ื’-ืฉื™ื—ื•ืช
-ืžืœื•ื ื’-load-store -Mno-Big-Switch -mno-disable-fpregs -mno-disable-indexing
-ืžื ื•-ืžื”ื™ืจ-ืฉื™ื—ื•ืช ืขืงื™ืคื•ืช -ืžื ื•-ื’ื– -mno-jump-in-delay -mno-long-load-store
-mno-portable-time -ืžื ื•-ืจืš-ืฆืฃ -mno-space-regs -msoft-float -mpa-risc-1-0
-mpa-risc-1-1 -mpa-risc-2-0 -ื–ืžืŸ ืจื™ืฆื” ื ื™ื™ื“ -mschedule=ืกื•ื’ ืžืขื‘ื“ -mspace-regs
-msio -mwsio -munix=unix-std -nolibdld -ืกื˜ึธื˜ึดื™ -ื—ื•ื˜ื™ื

i386 ื• x86-64 ืืคืฉืจื•ื™ื•ืช -mtune=ืกื•ื’ ืžืขื‘ื“ -ืžืจืฅ=ืกื•ื’ ืžืขื‘ื“ -mfpmath=ื™ื—ื™ื“ื” -masm=ื ึดื™ื‘
-mno-fancy-math-387 -mno-fp-ret-in-387 -msoft-float -mno-wide-ื›ืคื™ืœ -mrtd
-ืžืžืื™ืจ-ื›ืคื•ืœ -mreferred-stack-boundary=NUM -mincoming-stack-boundary=NUM -mcld
-mcx16 -ืžืฉืฃ -ืžืžื•ื‘ -mcrc32 -mrecip -mrecip=ืœึดื‘ื—ื•ึนืจ -mvzeroupper -mrefer-avx128 -ืžืžืžืงืก
-msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4 -mavx -mavx2 -ืžื™ื™ืก -mpclmul
-mfsgsbase -mrdrnd -mf16c -mfma -msse4a -m3dnow -mpopcnt -ืžืื‘ื -ืžื‘ืžื™ -mtbm -mfma4
-mxop -mlzcnt -mbmi2 -mrtm -mlwp -ื—ื•ื˜ื™ื -mno-align-stringops
-ืžื™ื ืœื™ื™ืŸ-ื›ืœ-stringops -ืžื™ื ืœื™ื™ืŸ-stringops-ื“ื™ื ืžื™ืช -mstringop-strategy=ALG
-ืžืคื•ืฉ-ืืจื’ืก -ืฆื‘ื•ืจ-ื™ื•ืฆื-ืืจื’ื™ื -m128bit-long-double -m96bit-long-double
-ืžืœื•ื ื’-ื›ืคื•ืœ-64 -ืžืœื•ื ื’-ื›ืคื•ืœ-80 -mregparm=NUM -msseregparm -mveclibabi=ืกื•ื’
-mvect8-ret-in-mem -mpc32 -mpc64 -mpc80 -mstackrealign -momit-leaf-frame-pointer
-mno-red-zone -mno-tls-direct-seg-refs -mcmodel=ืžื•ื“ืœ ืงื•ื“ -ืžืื‘ื™=ืฉื
-maddress-mode=ืžืฆื‘ -ืž 32 -ืž 64 -mx32 -mlarge-data-threshold=NUM -msse2avx -ืžืคื ื˜ืจื™
-m8bit-idiv -mavx256-split-unaligned-load -mavx256-split-unaligned-store

i386 ื• x86-64 Windows ืืคืฉืจื•ื™ื•ืช -mconsole -ืžืงื™ื’ื•ื•ื™ืŸ -mno-cygwin -mdll
-mnop-fun-dllimport -ื—ื•ื˜ -ืžื•ื ื™ืงื•ื“ -mwin32 -mwindows -fno-set-stack-ื ื™ืชืŸ ืœื”ืคืขืœื”

IA-64 ืืคืฉืจื•ื™ื•ืช -mbig-endian -ืžืขื˜-ืื ื“ื™ืืŸ -mgnu-as -ืžื’ื ื•-ืœื“ -ืžื ื•-ืชืžื•ื ื”
-mvolatile-asm-stop -mregister-names -msdata -mno-sdata -mconstant-gp -ืชืžื•ื ื” ืื•ื˜ื•ืžื˜ื™ืช
-ืžfused-madd -ืžืจื™ืŸ-ืคืœื™ื˜ื”-ื—ืœืงื”-ืžื’ื•ื•ืŸ-ื—ื•ื–ื” -ืžื™ื ื™ืœื™ื™ืŸ-float-divide-max-throughput
-mno-inline-float-divide -minline-int-divide-min-latency
-minline-int-divide-max-throughput -mno-inline-int-divide -minline-sqrt-min-latency
-minline-sqrt-max-throughput -mno-inline-sqrt -mdwarf2-asm -ืžืขื˜-ืขืฆื•ืจ-ื‘ื™ื˜ื™ื
-mfixed-range=ืจื™ืฉื•ื-ื˜ื•ื•ื— -mtls-size=tls-ื’ื•ื“ืœ -mtune=ืกื•ื’ ืžืขื‘ื“ -ืžื™ืœืค32 -mlp64
-msched-br-data-spec -msched-ar-data-spec -msched-control-spec -msched-br-in-data-spec
-msched-ar-in-data-spec -Mched-in-control-spec -msched-spec-ldc
-msched-spec-control-ldc -msched-prefer-non-data-spec-insns
-msched-prefer-non-control-spec-insns -msched-stop-bits-after-every-cycle
-msched-count-spec-in-critical-path -msel-sched-dont-check-control-spec
-msched-fp-mem-deps-XNUMX-ืขืœื•ืช -msched-max-memory-insns-hard-limit
-msched-max-memory-insns=max-insns

LM32 ืืคืฉืจื•ื™ื•ืช -mbarrel-shift-enabled -mdivide ืžืื•ืคืฉืจ -ืžื•ืคืขืœ ืžืจื•ื‘ื”
-msign-extend-enabled -ืžื•ืคืขืœ ืขืœ ื™ื“ื™ muser

M32R/D ืืคืฉืจื•ื™ื•ืช -M32R2. -m32rx -m32r -mdebug -ืžืžืื™ืจ-ืœื•ืœืื•ืช -mno-align-ืœื•ืœืื•ืช
-ืฉื™ืขื•ืจ ื—ืกืจ=ืžืกืคืจ -brranch-cost=ืžืกืคืจ -mmodel=ื’ื•ื“ืœ-ืงื•ื“-ื“ื’ื-ืกื•ื’ -msdata=sdata-
ืกื•ื’ -mno-flush-func -mflush-func=ืฉื -ืžื ื•-ืคืœื•ืฉ-ืžืœื›ื•ื“ืช -mflush-trap=ืžืกืคืจ -G NUM

M32C ืืคืฉืจื•ื™ื•ืช -mcpu=ืžืขื‘ื“ -ืžืกื™ื -memregs=ืžืกืคืจ

M680x0 ืืคืฉืจื•ื™ื•ืช -ืžืจืฅ=ืงืฉืช -mcpu=ืžืขื‘ื“ -mtune=ืžื ื’ื™ื ื” -ืž 68000 -ืž 68020 -m68020-40
-m68020-60 -ืž 68030 -ืž 68040 -ืž 68060 -mcpu32 -ืž 5200 -m5206e -ืž528x -ืž 5307 -ืž 5407
-mcfv4e -ืžื‘ื™ื˜ืคื™ืœื“ -mno-bitfield -mc68000 -mc68020 -ืžื ื•ื‘ื™ื˜ืคื™ืœื“ -mrtd -mno-rtd
-ืžื“ื™ื‘ -mno-div -ืžืงืฆืจ -ืžื ื•-ืงืฆืจ -mhard-float -ืž 68881 -msoft-float -mpcrel
-ืžalign-int -mstrict-align -msep-ื ืชื•ื ื™ื -mno-sep-data -mshared-library-id=n
-ืืžืฆืข ื”ืกืคืจื™ื™ื” ื”ืžืฉื•ืชืคืช -mno-id-shared-library -mxgot -mno-xgot

MCore ืืคืฉืจื•ื™ื•ืช -ืžื”ืจื“ืœื™ื˜ -ืžื ื•-ืžื•ืืจ -ืžื“ื™ื‘ -mno-div -mrelax-ืžื™ื™ื“ื™
-ืžื ื•-ืœื”ื™ืจื’ืข-ืžื™ื™ื“ื™ -mwide-bitfields -mno-wide-bitfields -m4byte-ืคื•ื ืงืฆื™ื•ืช
-mno-4byte-functions -mcallgraph-data -mno-callgraph-data -mslow-bytes
-mno-slow-bytes -ืžื ื•-ืœืกื™ื -ืžืขื˜-ืื ื“ื™ืืŸ -mbig-endian -ืž 210 -ืž 340
-mstack-increment

MeP ืืคืฉืจื•ื™ื•ืช -mabsdiff -ืงื ื™ื•ื ื™ื-ืื•ืคื˜ื™ื -ืžืžื•ืฆืข -mbased=n -ืžื‘ื™ื˜ื•ืคื™ื -mc=n -mclip
-mconfig=ืฉื -ืžืงื•ืค -MCOP32. -MCOP64. -mivc2 -mdc -ืžื“ื™ื‘ -ืžื‘ -ืžืœ -ืžื™ื• ื ื“ื™ืฃ -ืžืœ
-ืžืœืื“ื– -ืž -ืžืžื™ื ืžืงืก -ืžื•ืœื˜ -mno-opts -ื—ื•ื–ืจ ืขืœ ืขืฆืžื• -ื’ื‘ืจืช -ืžืกื˜ื•ืจ -msdram -ืžืกื™ื -msimnovec
-mtf -mtiny=n

MicroBlaze ืืคืฉืจื•ื™ื•ืช -msoft-float -mhard-float -ืžืกืžื•ืœ-ืžื—ืœืง -mcpu=ืžืขื‘ื“ -ืžืžืžืคื™
-mxl-soft-mul -mxl-soft-div -mxl-barrel-shift -mxl-pattern-compare -mxl-stack-check
-mxl-gp-opt -mno-clearbss -mxl-ื›ืคื™ืœ-ื’ื‘ื•ื” -mxl-float-convert -mxl-float-sqrt
-mbig-endian -ืžืขื˜-ืื ื“ื™ืืŸ -mxl-ืกื“ืจ ืžื—ื“ืฉ -mxl-mode-ื“ื’ื ืืคืœื™ืงืฆื™ื”

MIPS ืืคืฉืจื•ื™ื•ืช -ื” -EB -ืžืจืฅ=ืงืฉืช -mtune=ืงืฉืช -ืžื™ืคืก1 -ืžื™ืคืก2 -ืžื™ืคืก3 -ืžื™ืคืก4
-ืžื™ืคืก32 -mips32r2 -ืžื™ืคืก64 -mips64r2 -ืžื™ืคืก16 -mno-mips16 -mflip-mips16
-minterlink-mips16 -mno-interlink-mips16 -ืžืื‘ื™=ืื‘ื™ -ืžืื‘ื™ืงืœื™ื -ืžื ื•-ืื‘ื™ืงืœ
-mshared -mno-ืžืฉื•ืชืฃ -mplt -mno-plt -mxgot -mno-xgot -mgp32 -mgp64 -mfp32
-mfp64 -mhard-float -msoft-float -mno-float ืฆื™ืคื” ืื—ืช -mdouble-float -mdsp
-mno-dsp -mdspr2 -mno-dspr2 -ืžืžืงื• -mmno-mcu -mfpu=ืžืกื•ื’ fpu -msmartmips
-mno-smartmips -ืœืงื•ื™-ืจื•ื•ืง -mno-ื–ื•ื’ื™-ืกื™ื ื’ืœ -mdmx -mno-mdmx -mips3d
-mno-mips3d -ืžืžืฅ -ืžื ื•-ืžื˜ -mllsc -mno-llsc -ืžืœื•ื ื’64 -ืžืœื•ื ื’32 -msym32 -mno-sym32
-GNUM -mlocal-sdata -mno-local-sdata -mextern-sdata -mno-extern-sdata -mgpopt
-ืžื ื•-ื’ื•ืคื˜ -ื ืชื•ื ื™ื ืžืฉื•ื‘ืฆื™ื -mno-embedded-data -muninit-const-in-rodata
-mno-uninit-const-in-rodata -mcode-readable=ื”ืฆื‘ื” -mssplit-ื›ืชื•ื‘ื•ืช
-mno-split-ื›ืชื•ื‘ื•ืช -ืžืคื•ืจืฉ-ืจื™ืœื•ืงื™ื -mno-explicit-relocs -ืžืฆ'ืง-ืืคืก-ื—ืœื•ืงื”
-ืžื ื•-ืฆ'ืง-ืืคืก-ื—ืœื•ืงื” -ืžื—ืœืง-ืžืœื›ื•ื“ื•ืช -ืžื—ืœืง-ื”ืคืกืงื•ืช -ืžืžืžืคื™ -mno-memcpy
-ืžืœื•ื ื’-ืฉื™ื—ื•ืช -ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช -ืžืื“ -ืžื ื•ืŸ-ืžืฉื•ื’ืข -ืžfused-madd -mno-fused-madd -nocpp
-mfix-24k -mno-fix-24k -mfix-r4000 -mno-fix-r4000 -mfix-r4400 -mno-fix-r4400
-mfix-r10000 -mno-fix-r10000 -mfix-vr4120 -mno-fix-vr4120 -mfix-vr4130
-mno-fix-vr4130 -mfix-sb1 -mno-fix-sb1 -mflush-func=func -mno-flush-func
-brranch-cost=NUM -ืกื‘ื™ืจ ืขื ืฃ -ืžื•ื ื•-ืขื ืฃ-ืกื‘ื™ืจ -mfp-ื—ืจื™ื’ื™ื
-mno-fp-ื—ืจื™ื’ื™ื -mvr4130-align -mno-vr4130-align -msynci -mno-synci
-mrelax-pic-calls -mno-relax-pic-calls -mmcount-ra-address

MMIX ืืคืฉืจื•ื™ื•ืช -mlibfuncs -mno-libfuncs -ืžืคืกื™ืœื•ืŸ -ืžื ื•-ืืคืกื™ืœื•ืŸ -ืžืื‘ื™=ื’ื ื•
-mabi=mmixware -mzero-extend -mknuthdiv -mtoplevel-ืกืžืœื™ื -ืžืœืฃ -ืขื ืฃ-ื ื™ื‘ื•ื™
-ืžื ื•-ืขื ืฃ-ื ื™ื‘ื•ื™ -ื›ืชื•ื‘ื•ืช-base -ื›ืชื•ื‘ื•ืช-mno-base -ื™ืฆื™ืื”-ื™ื—ื™ื“ื”
-mno-ื™ืฆื™ืื”-ื™ื—ื™ื“ื”

MN10300 ืืคืฉืจื•ื™ื•ืช -ืžื•ืœื˜-ื‘ืื’ -mno-mult-bug -mno-am33 -ืืžื33 -ืžืืž33-2 -ืืžื34 -mtune=ืžืขื‘ื“-
ืกื•ื’ -mreturn-pointer-on-d0 -mno-crt0 -ืœื”ื™ืจื’ืข -mliw -ืžืกืชืœื‘

ืžื•ืงืกื™ ืืคืฉืจื•ื™ื•ืช -ืžื‘ -ืžืœ -mno-crt0

PDP-11 ืืคืฉืจื•ื™ื•ืช -mfpu -msoft-float -mac0 -mno-ac0 -ืž 40 -ืž 45 -ืž 10 -mbcopy
-mbcopy-builtin -ืžื ื˜ื”32 -mno-int16 -ืžื ื˜ื”16 -mno-int32 -mfloat32 -mno-float64
-mfloat64 -mno-float32 -ืžื‘ืฉื™ -ืžื ื•-ืื‘ืฉื™ -ืขื ืฃ-ื™ืงืจ -ืขื ืฃ-ื–ื•ืœ
-munix-asm -mdec-asm

picoChip ืืคืฉืจื•ื™ื•ืช -ืžื™ื™=ae_type -mvliw-lookahead=N -msymbol-as-address
-ืื–ื”ืจื•ืช-ืœื-ื™ืขื™ืœื•ืช

PowerPC ืืคืฉืจื•ื™ื•ืช ืจืื” ืืคืฉืจื•ื™ื•ืช RS/6000 ื•-PowerPC.

RL78 ืืคืฉืจื•ื™ื•ืช -ืžืกื™ื -ืžืžื•ืœ=ืื™ืŸ -mmul=g13 -mmul=rl78

RS/6000 ื• PowerPC ืืคืฉืจื•ื™ื•ืช -mcpu=ืกื•ื’ ืžืขื‘ื“ -mtune=ืกื•ื’ ืžืขื‘ื“ -mcmodel=ืžื•ื“ืœ ืงื•ื“
-mpowerpc64 -maltivec -mno-altivec -mpowerpc-gpopt -mno-powerpc-gpopt
-mpowerpc-gfxopt -mno-powerpc-gfxopt -mmfcrf -mno-mfcrf -mpopcntb -mno-popcntb
-mpopcntd -mno-popcntd -mfprnd -mno-fprnd -mcmpb -mno-cmpb -mmfpgpr -mno-mfpgpr
-mhard-dfp -mno-hard-dfp -mfull-toc -ืžื™ื ื™ืžืœื™-ื˜ื•ืง -mno-fp-in-toc -mno-sum-in-toc
-ืž 64 -ืž 32 -mxl-compat -mno-xl-compat -ืžืคื” -ืžืžืื™ืจ-ื›ื•ื— -ืžืžืื™ืจ-ื˜ื‘ืขื™
-msoft-float -mhard-float -ืžืจื•ื‘ื” -mno-ื›ืคื•ืœ ืฆื™ืคื” ืื—ืช -mdouble-float
-msimple-fpu -mstring -mno-ืžื—ืจื•ื–ืช -ืขื“ื›ื•ืŸ -mno-ืขื“ื›ื•ืŸ -mavoid-ืื™ื ื“ืงืก-ื›ืชื•ื‘ื•ืช
-mno-avoid-ืื™ื ื“ืงืก-ื›ืชื•ื‘ื•ืช -ืžfused-madd -mno-fused-madd -mbit-align
-mno-bit-align -mstrict-align -mno-strict-align -ื ื™ืชืŸ ืœื”ื–ื–ื” -mno-relocationable
-mrelocatable-lib -mno-relocatable-lib -ืžื˜ื•ืง -mno-toc -ืžืขื˜ -ืžืขื˜-ืื ื“ื™ืืŸ
-ืžื‘ื™ื’ -mbig-endian -ืžื“ื™ื ืžื™ืช-ืœืœื-ืชืžื•ื ื” -maltivec -mswdiv -ื‘ืกื™ืก ืชืžื•ื ื” ืื—ืช
-mprioritize-restricted-insns=ืขื“ื™ืคื•ืช -msched-costly-dep=ืกื•ื’_ืชืœื•ืช
-minsert-sched-nops=ืชื›ื ื™ืช -mcall-sysv -mcall-netbsd -maix-struct-return
-msvr4-struct-return -ืžืื‘ื™=ื˜ื™ืคื•ืก ืื‘ื™ -msecure-plt -mbss-plt
-mblock-move-inline-limit=NUM -ืžื™ื–ืœ -mno-isel -ืžื™ื–ืœ=ื›ืŸ -ืžื™ื–ืœ=ืœื -mspe -ืžื ื•-ืกืค
-mspe=ื›ืŸ -mspe=ืœื -ืคื’ื•ืข -mgen-cell-microcode -mwarn-cell-microcode -mvrsave
-mno-vrsave -ืžืžื•ืœื”ื•ื• -ืžื ื•-ืžื•ืœื”ื•ื• -mdlmzb -mno-dlmzb -mfloat-gprs=ื›ืŸ -mfloat-gprs=ืœื
-mfloat-gprs=ืกื™ื ื’ืœ -mfloat-gprs=ื›ืคื•ืœ -ืืคืจื•ื˜ื•ื˜ื™ื™ืค -mno-ืื‘ ื˜ื™ืคื•ืก -ืžืกื™ื -ืžืžืžืžื”
-ืžืฉื•ื’ืขื™ื -myellowknife -ื—ื‘ืจ -msdata -msdata=ืœึดื‘ื—ื•ึนืจ -mvxworks -G NUM -phthread -mrecip
-mrecip=ืœึดื‘ื—ื•ึนืจ -mno-recip -mrecip-ื“ื™ื•ืง -ืžื ื•-ืžืชื›ื•ื ื™ื-ื“ื™ื•ืง -mveclibabi=ืกื•ื’ -ืžืคืจื™ื–
-ืžื ื•-ืคืจื™ื– -mpointers-to-nested-functions -mno-pointers-to-nested-functions
-msave-toc-ืขืงื™ืฃ -mno-save-toc-ืขืงื™ืฃ -mpower8-fusion -mno-mpower8-fusion
-mpower8-ื•ืงื˜ื•ืจ -mno-power8-ื•ืงื˜ื•ืจ -mcrypto -mno-crypto -mdirect-move -mno-direct-move
-mquad-memory -mno-quad-memory -mquad-memory-atomic -mno-quad-memory-atomic
-mcompat-align-parm -mno-compat-align-parm

RX ืืคืฉืจื•ื™ื•ืช -m64bit-ื›ืคื™ืœื™ื -m32bit-ื›ืคื™ืœื™ื -fpu -nofpu -mcpu= -mbig-endian-data
-mlittle-endian-data -msmall-data -ืžืกื™ื -ืžื ื•-ืกื™ื -mas100-ืชื—ื‘ื™ืจ -mno-as100-ืชื—ื‘ื™ืจ
-ืœื”ื™ืจื’ืข -mmax-constant-size= -mint-register= -mpid -mno-warn-multiple-fast-interrupts
-msave-acc-in-interrupts

S / 390 ื• zSeries ืืคืฉืจื•ื™ื•ืช -mtune=ืกื•ื’ ืžืขื‘ื“ -ืžืจืฅ=ืกื•ื’ ืžืขื‘ื“ -mhard-float -msoft-float
-mhard-dfp -mno-hard-dfp -ืžืœื•ื ื’-ื›ืคื•ืœ-64 -ืžืœื•ื ื’-ื›ืคื•ืœ-128 -mbackchain
-mno-backchain -ืžื—ืกื ื™ืช-ืžื—ืกื ื™ืช -ืžื ื•-ืืจื•ื–-ืžื—ืกื ื™ืช -msmall-exec -mno-small-exec
-mmvcle -mno-mvcle -ืž 64 -ืž 31 -mdebug -mno-debug -ืžืกื” -ืžื–ืจืš -mtpf-trace
-mno-tpf-trace -ืžfused-madd -mno-fused-madd -mwarn-framesize -mwarn-dynamicstack
-mstack-size -mstack-guard -mhotpatch=ื—ืฆืื™ ืžื™ืœื™ื,ื—ืฆืื™ ืžื™ืœื™ื

ืฆื™ื•ืŸ ืืคืฉืจื•ื™ื•ืช -ืžื‘ -ืžืœ -ืžืŸื”ื•ืœื•ืค -ืžื•ืœืก -ืžืžืง -mscore5 -mscore5u -mscore7 -mscore7d

SH ืืคืฉืจื•ื™ื•ืช -ืž 1 -ืž 2 -m2e -m2a-nofpu -m2a-ื™ื—ื™ื“ ื‘ืœื‘ื“ -m2a-ืกื™ื ื’ืœ -m2a -ืž 3 -m3e
-m4-nofpu -m4-ื™ื—ื™ื“ ื‘ืœื‘ื“ -m4-ืกื™ื ื’ืœ -ืž 4 -m4a-nofpu -m4a-ื™ื—ื™ื“ ื‘ืœื‘ื“ -m4a-ืกื™ื ื’ืœ
-m4a -m4al -m5-64media -m5-64media-nofpu -m5-32media -m5-32media-nofpu -m5-ืงื•ืžืคืงื˜ื™
-m5-compact-nofpu -ืžื‘ -ืžืœ -ืžื“ืœื™ื™ืŸ -ืœื”ื™ืจื’ืข - mbigtable -mfmovd -ืžื”ื™ื˜ืืฆ'ื™ -mrenesas
-mno-renesas -mnomacsave -ืžื™ื™ -ืžื ื•-ืื™ื™ -ืžื‘ื™ื˜ื•ืคื™ื -ื”ื’ื“ืœื” -minline-ic_invalidate
-mpadstruct -mspace -ื ื›ื•ืŸ -ืžืฆื‘ ืžื•ืกืจ -multcost=ืžืกืคืจ -mdiv=ืืกื˜ืจื˜ื’ื™ื”
-mdivsi3_libfunc=ืฉื -mfixed-range=ืจื™ืฉื•ื-ื˜ื•ื•ื— -ื›ืชื•ื‘ืช-mindexed
-mgettrcost=ืžืกืคืจ -mpt-ืชื•ืงืŸ -ืฆื‘ื•ืจ-ื™ื•ืฆื-ืืจื’ื™ื -ืžื™ื valid-ืกืžืœื™ื
-ืžื˜ื•ืžื™-ืžื•ื“ืœ=ื“ื’ื ืื˜ื•ืžื™ -brranch-cost=NUM -mzdcbranch -mno-zdcbranch -mcbranchdi
-ืžืงืžืคืงื“ื™ -ืžfused-madd -mno-fused-madd -mfsca -mno-fsca -mfsrra -ืžื ื•-ืคืกืจื”
-mpretend-cmove -mtas

Solaris 2 ืืคืฉืจื•ื™ื•ืช -ื˜ืงืกื˜-ืžื™ืžืคื•ืจ -mno-ื˜ืžื-ื˜ืงืกื˜ -phthreads -phthread

SPARC ืืคืฉืจื•ื™ื•ืช -mcpu=ืกื•ื’ ืžืขื‘ื“ -mtune=ืกื•ื’ ืžืขื‘ื“ -mcmodel=ืžื•ื“ืœ ืงื•ื“ -ื–ื™ื›ืจื•ืŸ-ืžื•ื“ืœ=ืž-
ืžื•ื“ืœ -ืž 32 -ืž 64 -mapp-regs -mno-app-regs -mfaster-structs -mno-faster-structs
-mflat -ืžื ื•-ืฉื˜ื•ื— -mfpu -mno-fpu -mhard-float -msoft-float -mhard-quad-float
-msoft-quad-float -mstack-bias -mno-stack-bias -ืžื•ื aligned-ื›ืคื™ืœื™ื
-mno-unaligned-doubles -ืžืฆื‘-muser -mno-user-mode -mv8plus -mno-v8plus -mvis
-mno-vis -mvis2 -mno-vis2 -mvis3 -mno-vis3 -mcbcond -mno-cbcond -mfmaf -mno-fmaf
-mpopc -mno-popc -mfix-at697f -mfix-ut699

SPU ืืคืฉืจื•ื™ื•ืช -mwarn-reloc -ืžืจื•ืจ-reloc -msafe-dma -munsafe-dma -ืขื ืฃ-ืจืžื–ื™ื
-msmall-mem -mlarge-mem -mstdmain -mfixed-range=ืจื™ืฉื•ื-ื˜ื•ื•ื— -mea32 -mea64
-ื˜ื™ืจื•ืฃ-ื—ืœืœ-ื”ืžืจื” -mno-address-space-conversion -mcache-size=ื’ื•ื“ืœ ื”ืžื˜ืžื•ืŸ
-ืžื˜ื•ืžื™-ืขื“ื›ื•ื ื™ื -ืขื“ื›ื•ื ื™ื-ืžื ื•-ืื˜ื•ืžื™ื™ื

ืžืขืจื›ืช V ืืคืฉืจื•ื™ื•ืช -Qy -Qn -YP,ืฉื‘ื™ืœื™ื -ื™ืž,dir

TILE-Gx ืืคืฉืจื•ื™ื•ืช -mcpu=ืžืขื‘ื“ -ืž 32 -ืž 64 -mcmodel=ืžื•ื“ืœ ืงื•ื“

TILEPro ืืคืฉืจื•ื™ื•ืช -mcpu=ืžืขื‘ื“ -ืž 32

V850 ืืคืฉืจื•ื™ื•ืช -ืžืœื•ื ื’-ืฉื™ื—ื•ืช -ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช -ืžืžืคื™ -mno-ep -ืžืคืจื•ืคืœื•ื’-ืคื•ื ืงืฆื™ื”
-mno-prolog-function -mspace -mtda=n -msda=n -mzda=n -mapp-regs -mno-app-regs
-mdisable-call -mno-disable-call -mv850e2v3 -mv850e2 -mv850e1 -mv850es -mv850e
-mv850 -mv850e3v5 -ืžืœื•ืค -ืœื”ื™ืจื’ืข -ืžืœื•ื ื’-ืงืคื™ืฆื•ืช -msoft-float -mhard-float -mgcc-abi
-mrh850-abi -ืžื‘ื™ื’-ืžืชื’

VAX ืืคืฉืจื•ื™ื•ืช -ืžื’ -ืžื’ื ื• -ืžื•ื ื™ืงืก

VMS ืืคืฉืจื•ื™ื•ืช -mvms-return-codes -mdebug-main=ืงื™ื“ื•ืžืช -mmalloc64 -mpointer-size=ื’ื•ื“ืœ

VxWorks ืืคืฉืจื•ื™ื•ืช -mrtp -ืœื ืกื˜ื˜ื™ -ื‘ืกื˜ื˜ื™ืง -ื‘ื“ื™ื ืžื™ -Xbind-ืขืฆืœืŸ -Xbind-ืขื›ืฉื™ื•

x86-64 ืืคืฉืจื•ื™ื•ืช ืจืื” ืืคืฉืจื•ื™ื•ืช i386 ื•-x86-64.

Xstormy16 ืืคืฉืจื•ื™ื•ืช -ืžืกื™ื

Xtensa ืืคืฉืจื•ื™ื•ืช -mconst16 -mno-const16 -ืžfused-madd -mno-fused-madd -mforce-no-pic
-ืžืกืจื™ืืœื™ื–ื”-ื ื“ื™ืฃ -mno-serialize-ื ื“ื™ืฃ -mtext-section-literals
-mno-text-section-literals -mtarget-align -mno-target-align -ืžืœื•ื ื’ ืฉื™ื—ื•ืช
-ืžื ื•-ืœื•ื ื’ ืฉื™ื—ื•ืช

zSeries ืืคืฉืจื•ื™ื•ืช ืจืื” ืืคืฉืจื•ื™ื•ืช S/390 ื•-zSeries.

ืงื•ืคื•ื ื™ื ื“ื•ืจ ืืคืฉืจื•ื™ื•ืช
-fcall-sved-ืจื’ -fcall-used-ืจื’ -ืชื•ืงืŸ-ืจื’ ื—ืจื™ื’ื•ืช - ื—ืจื™ื’ื™ื ืœืœื ืฉื™ื—ื•ืช
-fdelete-dead-exceptions -ืฉื•ืœื—ื ื•ืช ืจื•ื— ื›ื™ืฃ -ืคื-ืกื™ื ื›ืจื•ื ื™-ืคืจื™ืง-ืฉื•ืœื—ื ื•ืช -fno-gnu-unique
-finhibit-size-directive -finstrument-ืคื•ื ืงืฆื™ื•ืช
-finstrument-functions-exclude-function-list=SYM,SYM, ...
-finstrument-functions-exclude-file-list=ืคื™ืœื”,ืคื™ืœื”, ... -fno-ื ืคื•ืฅ -fno-ident
-fpcc-struct-return -fpic -fPIC -fpie -fPIE -fno-jump-tables -frecord-gcc-ืžืชื’ื™ื
-freg-struct-return -fshort-enums -ืงืฆืจ-ื›ืคื•ืœ -fshort-wchar -fverbose-asm
-fpack-struct[=n] -fstack-check -fstack-limit-register=ืจื’ -fstack-limit-symbol=SYM
-fno-stack-limit -fsplit-ืžื—ืกื ื™ืช -ื‘ื•ืจื—-ืงื• ืชื—ืชื•ืŸ -ftls-model=ืžื•ื“ืœ
-fstack-reuse=reuse_level -ftrapv -fwrapv -fbounds-check -ื ืจืื•ืช
-ืคื ื™ืงื˜-ื ื“ื™ืคื•ืช-ืฉื“ื•ืช -fsync-libcalls

ืืคืฉืจื•ื™ื•ืช ืฉืœื™ื˜ื” ืžื” ื”ื™ื ืกื•ื’ of ืชึฐืคื•ึผืงึธื”
ืงื•ืžืคื™ืœืฆื™ื” ื™ื›ื•ืœื” ืœื›ืœื•ืœ ืขื“ ืืจื‘ืขื” ืฉืœื‘ื™ื: ืขื™ื‘ื•ื“ ืžืงื“ื™ื, ืงื•ืžืคื™ืœืฆื™ื” ื ื›ื•ื ื”, ื”ืจื›ื‘ื” ื•
ืงื™ืฉื•ืจ, ืชืžื™ื“ ื‘ืกื“ืจ ื”ื–ื”. GCC ืžืกื•ื’ืœ ืœืขื‘ื“ ื•ืœื”ืจื›ื™ื‘ ื›ืžื”
ืงื‘ืฆื™ื ืœืžืกืคืจ ืงื‘ืฆื™ ืงืœื˜ ืฉืœ ืืกืžื‘ืœืจ, ืื• ืœืงื•ื‘ืฅ ืงืœื˜ ืืกืžื‘ืœืจ ืื—ื“; ืœืื—ืจ ืžื›ืŸ
ื›ืœ ืงื•ื‘ืฅ ืงืœื˜ assembler ืžื™ื™ืฆืจ ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜, ื•ื”ืงื™ืฉื•ืจ ืžืฉืœื‘ ืืช ื›ืœ ื”ืื•ื‘ื™ื™ืงื˜
ืงื‘ืฆื™ื (ืืœื” ืฉื”ื™ื“ื•ืจ ื”ื—ื“ืฉ, ื•ืืœื• ืฉืฆื•ื™ื ื• ื›ืงืœื˜) ืœืงื•ื‘ืฅ ื”ืคืขืœื”.

ืขื‘ื•ืจ ื›ืœ ืงื•ื‘ืฅ ืงืœื˜ ื ืชื•ืŸ, ืกื™ื•ืžืช ืฉื ื”ืงื•ื‘ืฅ ืงื•ื‘ืขืช ืžื”ื• ืกื•ื’ ื”ื™ื“ื•ืจ
ื ืขืฉื”:

ืคื™ืœื”.c
ืงื•ื“ ืžืงื•ืจ C ืฉื™ืฉ ืœืขื‘ื“ ืžืจืืฉ.

ืคื™ืœื”.i
ืงื•ื“ ืžืงื•ืจ C ืฉืืกื•ืจ ืœืขื‘ื“ ืื•ืชื• ืžืจืืฉ.

ืคื™ืœื”.ii
ืงื•ื“ ืžืงื•ืจ C++ ืฉืืกื•ืจ ืœืขื‘ื“ ืื•ืชื• ืžืจืืฉ.

ืคื™ืœื”.m
ืงื•ื“ ืžืงื•ืจ Objective-C. ืฉื™ื ืœื‘ ืฉืืชื” ื—ื™ื™ื‘ ืœืงืฉืจ ืขื libobjc ืกืคืจื™ื” ืœืขืฉื•ืช
ืขื‘ื•ื“ืช ืชื•ื›ื ื™ืช Objective-C.

ืคื™ืœื”.ืžึดื™
ืงื•ื“ ืžืงื•ืจ Objective-C ืฉืืกื•ืจ ืœืขื‘ื“ ืื•ืชื• ืžืจืืฉ.

ืคื™ืœื”.mm
ืคื™ืœื”.M
ืงื•ื“ ืžืงื•ืจ Objective-C++. ืฉื™ื ืœื‘ ืฉืืชื” ื—ื™ื™ื‘ ืœืงืฉืจ ืขื libobjc ืกืคืจื™ื™ื” ืœืขืฉื•ืช
ืขื‘ื•ื“ื” ื‘ืชื•ื›ื ื™ืช Objective-C++. ืฆื™ื™ืŸ ื–ืืช .M ืžืชื™ื™ื—ืก ืœ-M ื‘ื‘ื™ืจื” ืžื™ืœื•ืœื™ืช.

ืคื™ืœื”.mii
ืงื•ื“ ืžืงื•ืจ Objective-C++ ืฉืืกื•ืจ ืœืขื‘ื“ ืื•ืชื• ืžืจืืฉ.

ืคื™ืœื”.h
ืงื•ื‘ืฅ ื›ื•ืชืจืช C, C++, Objective-C ืื• Objective-C++ ืฉื™ื”ืคื•ืš ืœืงื•ืžืคื™ืœืฆื™ื” ืžืจืืฉ
header (ื‘ืจื™ืจืช ืžื—ื“ืœ), ืื• ืงื•ื‘ืฅ ื›ื•ืชืจืช C, C++ ืฉื™ื”ืคื•ืš ืœืžืคืจื˜ ืฉืœ Ada (ื“ืจืš
-fdump-ada-spec ื”ื—ืœืฃ).

ืคื™ืœื”. DC
ืคื™ืœื”.cp
ืคื™ืœื”.cxx
ืคื™ืœื”.cpp
ืคื™ืœื”.CPP
ืคื™ืœื”โ€Ž.c++
ืคื™ืœื”.C
ืงื•ื“ ืžืงื•ืจ C++ ืฉื™ืฉ ืœืขื‘ื“ ืื•ืชื• ืžืจืืฉ. ืฉื™ืžื• ืœื‘ ืฉื‘ .cxx, ืฉืชื™ ื”ืื•ืชื™ื•ืช ื”ืื—ืจื•ื ื•ืช
ืฉื ื™ื”ื ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช ืชืจืชื™ ืžืฉืžืข x. ื›ืš ื’ื .C ื”ื›ื•ื•ื ื” ืœ-C ื‘ื™ืจื” ืžื™ืœื•ืœื™ืช.

ืคื™ืœื”.mm
ืคื™ืœื”.M
ืงื•ื“ ืžืงื•ืจ Objective-C++ ืฉื™ืฉ ืœืขื‘ื“ ืื•ืชื• ืžืจืืฉ.

ืคื™ืœื”.mii
ืงื•ื“ ืžืงื•ืจ Objective-C++ ืฉืืกื•ืจ ืœืขื‘ื“ ืื•ืชื• ืžืจืืฉ.

ืคื™ืœื”.ื”ื”
ืคื™ืœื”.H
ืคื™ืœื”.hp
ืคื™ืœื”.hxx
ืคื™ืœื”.hpp
ืคื™ืœื”.HPP
ืคื™ืœื”.h++
ืคื™ืœื”.tcc
ืงื•ื‘ืฅ ื›ื•ืชืจืช C++ ืฉื™ื”ืคื•ืš ืœื›ื•ืชืจืช ื”ื™ื“ื•ืจ ืžืจืืฉ ืื• ืžืคืจื˜ Ada.

ืคื™ืœื”.f
ืคื™ืœื”.ืœ
ืคื™ืœื”.ftn
ืงื•ื“ ืžืงื•ืจ Fortran ื‘ืฆื•ืจื” ืงื‘ื•ืขื” ืฉืื™ืŸ ืœืขื‘ื“ ืื•ืชื• ืžืจืืฉ.

ืคื™ืœื”.F
ืคื™ืœื”.ืœ
ืคื™ืœื”.fpp
ืคื™ืœื”.FPP
ืคื™ืœื”.FTN
ืงื•ื“ ืžืงื•ืจ Fortran ื‘ืฆื•ืจื” ืงื‘ื•ืขื” ืฉื™ืฉ ืœืขื‘ื“ ืžืจืืฉ (ืขื ื”ืžืกื•ืจืชื™
ืžืขื‘ื“ ืงื“ื).

ืคื™ืœื”.f90
ืคื™ืœื”.f95
ืคื™ืœื”.f03
ืคื™ืœื”.f08
ืงื•ื“ ืžืงื•ืจ Fortran ื‘ืฆื•ืจื” ื—ื•ืคืฉื™ืช ืฉืื™ืŸ ืœืขื‘ื“ ืื•ืชื• ืžืจืืฉ.

ืคื™ืœื”.XXXXX
ืคื™ืœื”.XXXXX
ืคื™ืœื”.XXXXX
ืคื™ืœื”.XXXXX
ืงื•ื“ ืžืงื•ืจ Fortran ื‘ืฆื•ืจื” ื—ื•ืคืฉื™ืช ืฉื™ืฉ ืœืขื‘ื“ ืžืจืืฉ (ืขื ื”ืžืกื•ืจืชื™
ืžืขื‘ื“ ืงื“ื).

ืคื™ืœื”.ืœืœื›ืช
ืœืš ืœืงื•ื“ ืžืงื•ืจ.

ืคื™ืœื”ืื“ื™ื
ืงื•ื‘ืฅ ืงื•ื“ ื”ืžืงื•ืจ ืฉืœ Ada ื”ืžื›ื™ืœ ื”ืฆื”ืจืช ื™ื—ื™ื“ืช ืกืคืจื™ื™ื” (ื”ืฆื”ืจื” ืฉืœ ื
ื—ื‘ื™ืœื”, ืชืช-ืชื•ื›ื ื™ืช ืื• ื’ื ืจื™ืช, ืื• ืžื•ืคืข ื’ื ืจื™), ืื• ื™ื—ื™ื“ืช ืกืคืจื™ื™ื”
ื”ืฆื”ืจืช ืฉื™ื ื•ื™ ืฉื (ื”ืฆื”ืจืช ืฉื™ื ื•ื™ ืฉื ืฉืœ ื—ื‘ื™ืœื”, ื’ื ืจื™ืช ืื• ืชืช-ืชื•ื›ื ื™ืช). ื›ื’ื•ืŸ
ืงื‘ืฆื™ื ื ืงืจืื™ื ื’ื ืžืคืจื˜ ื˜ื›ื ื™.

ืคื™ืœื”.adb
ืงื•ื‘ืฅ ืงื•ื“ ืžืงื•ืจ Ada ื”ืžื›ื™ืœ ื’ื•ืฃ ื™ื—ื™ื“ืช ืกืคืจื™ื™ื” (ืชืช-ืชื•ื›ื ื™ืช ืื• ื’ื•ืฃ ื—ื‘ื™ืœื”).
ืงื‘ืฆื™ื ื›ืืœื” ื ืงืจืื™ื ื’ื ื’ื•ืคื™ื.

ืคื™ืœื”.d
ืงื•ื‘ืฅ ืงื•ื“ ืžืงื•ืจ D.

ืคื™ืœื”.di
ืงื•ื‘ืฅ ืงื•ื“ ืžืžืฉืง D.

ืคื™ืœื”.dd
ืงื•ื‘ืฅ ืงื•ื“ ืชื™ืขื•ื“ D.

ืคื™ืœื”.s
ืงื•ื“ ืืกืžื‘ืœืจ.

ืคื™ืœื”.S
ืคื™ืœื”.sx
ืงื•ื“ ืืกืžื‘ืœืจ ืฉื™ืฉ ืœืขื‘ื“ ืžืจืืฉ.

ืึทื—ึตืจ
ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ื™ื ืœื”ื–ื ื” ื™ืฉืจ ืœืงื™ืฉื•ืจ. ื›ืœ ืฉื ืงื•ื‘ืฅ ืœืœื ื–ื™ื”ื•ื™
ืกื™ื•ืžืช ืžื˜ื•ืคืœืช ื›ืš.

ืืชื” ื™ื›ื•ืœ ืœืฆื™ื™ืŸ ืืช ืฉืคืช ื”ืงืœื˜ ื‘ืžืคื•ืจืฉ ื‘ืืžืฆืขื•ืช ื” -x ืืคืฉืจื•ืช:

-x ืฉืคื”
ืฆื™ื™ืŸ ื‘ืžืคื•ืจืฉ ืืช ืฉืคื” ืขื‘ื•ืจ ืงื‘ืฆื™ ื”ืงืœื˜ ื”ื‘ืื™ื (ื‘ืžืงื•ื ืœืืคืฉืจ ืืช
ืžื”ื“ืจ ื‘ื—ืจ ื‘ืจื™ืจืช ืžื—ื“ืœ ื”ืžื‘ื•ืกืกืช ืขืœ ืกื™ื•ืžืช ืฉื ื”ืงื•ื‘ืฅ). ืืคืฉืจื•ืช ื–ื• ื—ืœื” ืขืœ ื›ื•ืœื
ืงื‘ืฆื™ ื”ืงืœื˜ ื”ื‘ืื™ื ืขื“ ื”ื‘ื -x ืื•ึนืคึผึฐืฆึดื™ึธื”. ืขืจื›ื™ื ืืคืฉืจื™ื™ื ืขื‘ื•ืจ ืฉืคื” ื”ื:

c c-header cpp-output
c++ c++-header c++-cpp-output
Objective-c Objective-C-header Objective-c-cpp-output
objective-c++ objective-c++-header objective-c++-cpp-output
assembler assembler-with-cpp
ืขื“ื”
d
f77 f77-cpp-input f95 f95-cpp-input
go
ืชืื•ื•ื”

-x ืืฃ ืœื ืื—ื“
ื›ื‘ื” ื›ืœ ืžืคืจื˜ ืฉืœ ืฉืคื”, ื›ืš ืฉื”ืงื‘ืฆื™ื ื”ื‘ืื™ื ื™ื˜ื•ืคืœื•
ืœืคื™ ืกื™ื•ืžื•ืช ืฉื ื”ืงื•ื‘ืฅ ืฉืœื”ื (ื›ืžื• ืฉื”ื ืื -x ืœื ื”ื™ื” ื‘ืฉื™ืžื•ืฉ ื›ืœืœ).

-ืžืขื‘ืจ-ื™ืฆื™ืื”-ืงื•ื“ื™ื
ื‘ื“ืจืš ื›ืœืœ gcc ื”ืชื•ื›ื ื™ืช ื™ื•ืฆืืช ืขื ื”ืงื•ื“ ืฉืœ 1 ืื ืฉืœื‘ ื›ืœืฉื”ื• ืฉืœ ื”ืžื”ื“ืจ ื—ื•ื–ืจ
ืงื•ื“ ื”ื—ื–ืจื” ืœืœื ื”ืฆืœื—ื”. ืื ืชืคืจื˜ -ืžืขื‘ืจ-ื™ืฆื™ืื”-ืงื•ื“ื™ื, ื” gcc ืชื•ื›ื ื™ืช ื‘ืžืงื•ื
ืžื—ื–ื™ืจ ืขื ื”ืฉื’ื™ืื” ื”ื’ื‘ื•ื”ื” ื‘ื™ื•ืชืจ ืžื‘ื—ื™ื ื” ืžืกืคืจื™ืช ืฉื ื•ืฆืจื” ืขืœ ื™ื“ื™ ื›ืœ ืฉืœื‘ ืฉืžื—ื–ื™ืจ ืฉื’ื™ืื”
ืกึดื™ืžึธืŸ. ื”ื—ื–ื™ืชื•ืช C, C++ ื•-Fortran ืžื—ื–ื™ืจื•ืช 4 ืื ืฉื’ื™ืืช ืžื”ื“ืจ ืคื ื™ืžื™ืช
ื”ื•ื ื ืชืงืœ.

ืื ืืชื” ืจื•ืฆื” ืจืง ื—ืœืง ืžืฉืœื‘ื™ ื”ื”ื™ื“ื•ืจ, ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ -x (ืื• ืกื™ื•ืžื•ืช ืฉืœ ืฉื ืงื•ื‘ืฅ)
ืœืกืคืจ gcc ืื™ืคื” ืœื”ืชื—ื™ืœ, ื•ืื—ืช ื”ืืคืฉืจื•ื™ื•ืช -c, -S, ืื• -E ืœื”ื’ื™ื“ ืื™ืคื” gcc ื”ื•ื
ืชืคืกื™ืง. ืฉื™ื ืœื‘ ืฉื›ืžื” ืฉื™ืœื•ื‘ื™ื (ืœื“ื•ื’ืžื”, -x ืคืœื˜ cpp -E) ืœื”ื•ืจื•ืช gcc ืœืขืฉื•ืช
ืฉื•ื ื“ื‘ืจ.

-c ื”ื™ื“ื•ืจ ืื• ื”ืจื›ื‘ื” ืฉืœ ืงื‘ืฆื™ ื”ืžืงื•ืจ, ืืš ืืœ ืชืงืฉืจ. ืฉืœื‘ ื”ืงื™ืฉื•ืจ ื”ื•ื ืคืฉื•ื˜
ืœื ืžื•ื›ืŸ. ื”ืคืœื˜ ื”ืื•ืœื˜ื™ืžื˜ื™ื‘ื™ ื”ื•ื ื‘ืฆื•ืจื” ืฉืœ ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ืขื‘ื•ืจ ื›ืœ ืงื•ื‘ืฅ ืžืงื•ืจ.

ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืฉื ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜ ืขื‘ื•ืจ ืงื•ื‘ืฅ ืžืงื•ืจ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื—ืœืคืช ื”ืกื™ื•ืžืช .c,
.i, .sื•ื›ื•', ืขื .o.

ืžืชืขืœืžื™ื ืžืงื•ื‘ืฆื™ ืงืœื˜ ืœื ืžื–ื•ื”ื™ื, ืฉืื™ื ื ื“ื•ืจืฉื™ื ืงื•ืžืคื™ืœืฆื™ื” ืื• ื”ืจื›ื‘ื”.

-S ืขืฆื•ืจ ืœืื—ืจ ืฉืœื‘ ื”ื”ื™ื“ื•ืจ ืขืฆืžื•; ืœื ืœื”ืจื›ื™ื‘. ื”ืคืœื˜ ื ืžืฆื ื‘-
ืฆื•ืจื” ืฉืœ ืงื•ื‘ืฅ ืงื•ื“ ืืกืžื‘ืœืจ ืขื‘ื•ืจ ื›ืœ ืงื•ื‘ืฅ ืงืœื˜ ืฉืื™ื ื• ืืกืžื‘ืœืจ ืฉืฆื•ื™ืŸ.

ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืฉื ืงื•ื‘ืฅ ื”ืืกืžื‘ืœืจ ืขื‘ื•ืจ ืงื•ื‘ืฅ ืžืงื•ืจ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื—ืœืคืช ื”ืกื™ื•ืžืช
.c, .iื•ื›ื•', ืขื .s.

ืžืชืขืœืžื™ื ืžืงื‘ืฆื™ ืงืœื˜ ืฉืื™ื ื ื“ื•ืจืฉื™ื ืงื•ืžืคื™ืœืฆื™ื”.

-E ืขืฆื•ืจ ืœืื—ืจ ืฉืœื‘ ื”ืขื™ื‘ื•ื“ ื”ืžืงื“ื™ื; ืืœ ืชืคืขื™ืœ ืืช ื”ืžื”ื“ืจ ื›ืžื• ืฉืฆืจื™ืš. ื”ืคืœื˜ ื‘ืคื ื™ื
ื”ืฆื•ืจื” ืฉืœ ืงื•ื“ ืžืงื•ืจ ืžืขื•ื‘ื“ ืžืจืืฉ, ืฉื ืฉืœื— ืœืคืœื˜ ื”ืกื˜ื ื“ืจื˜ื™.

ืžืชืขืœืžื™ื ืžืงื‘ืฆื™ ืงืœื˜ ืฉืื™ื ื ื“ื•ืจืฉื™ื ืขื™ื‘ื•ื“ ืžืงื“ื™ื.

-o ืคื™ืœื”
ืฉื™ื ืคืœื˜ ื‘ืงื•ื‘ืฅ ืคื™ืœื”. ื–ื” ื—ืœ ืขืœ ื›ืœ ืกื•ื’ ืฉืœ ืคืœื˜ ืฉืžื™ื•ืฆืจ,
ื‘ื™ืŸ ืื ื–ื” ืงื•ื‘ืฅ ื”ืคืขืœื”, ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜, ืงื•ื‘ืฅ ืืกืžื‘ืœืจ ืื• C ืžืขื•ื‘ื“ ืžืจืืฉ
ืงื•ื“.

If -o ืœื ืฆื•ื™ืŸ, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ื”ื›ื ืกืช ืงื•ื‘ืฅ ื”ืคืขืœื” ื.ืืื•ื˜, ื”ืื•ื‘ื™ื™ืงื˜
ืขื‘ื•ืจ source.suffix in source.o, ืงื•ื‘ืฅ ื”ืืกืžื‘ืœืจ ืฉืœื• ื‘ ืžืงื•ืจ.ืฉ, ืงื•ืžืคื™ืœืฆื™ื” ืžืจืืฉ
ืงื•ื‘ืฅ ื›ื•ืชืจืช ื‘ source.suffix.gch, ื•ื›ืœ ืžืงื•ืจ C ื”ืžืขื•ื‘ื“ ืžืจืืฉ ื‘ืคืœื˜ ืกื˜ื ื“ืจื˜ื™.

-v ื”ื“ืคืก (ืขืœ ืคืœื˜ ืฉื’ื™ืื” ืกื˜ื ื“ืจื˜ื™) ืืช ื”ืคืงื•ื“ื•ืช ืฉื‘ื•ืฆืขื• ื›ื“ื™ ืœื”ืคืขื™ืœ ืืช ื”ืฉืœื‘ื™ื ืฉืœ
ื”ึทื”ื“ึธืจึธื”. ื”ื“ืคืก ื’ื ืืช ืžืกืคืจ ื”ื’ืจืกื” ืฉืœ ืชื•ื›ื ื™ืช ืžื ื”ืœ ื”ื”ืชืงืŸ ืฉืœ ื”ืžื”ื“ืจ ื•ืฉืœ ื”
ืžืขื‘ื“ ืงื“ื ื•ื”ืงื•ืžืคื™ื™ืœืจ ื ื›ื•ืŸ.

-###
ื›ืžื• -v ืืœื ืฉื”ืคืงื•ื“ื•ืช ืื™ื ืŸ ืžื‘ื•ืฆืขื•ืช ื•ื”ืืจื’ื•ืžื ื˜ื™ื ืžืฆื•ื˜ื˜ ืืœื ืื ื›ืŸ
ืžื›ื™ืœ ืจืง ืชื•ื•ื™ื ืืœืคืื ื•ืžืจื™ื™ื ืื• "./-_". ื–ื” ืฉื™ืžื•ืฉื™ ืขื‘ื•ืจ ืกืงืจื™ืคื˜ื™ื ืฉืœ ืžืขื˜ืคืช
ืœืœื›ื•ื“ ืืช ืฉื•ืจื•ืช ื”ืคืงื•ื“ื” ืฉื ื•ืฆืจื• ืขืœ ื™ื“ื™ ืžื ื”ืœ ื”ื”ืชืงืŸ.

-ืฆื™ื ื•ืจ
ื”ืฉืชืžืฉ ื‘ืฆื™ื ื•ืจื•ืช ื•ืœื ื‘ืงื‘ืฆื™ื ื–ืžื ื™ื™ื ืœืชืงืฉื•ืจืช ื‘ื™ืŸ ื”ืฉืœื‘ื™ื ื”ืฉื•ื ื™ื ืฉืœ
ื”ึทื”ื“ึธืจึธื”. ื–ื” ืœื ืžืฆืœื™ื— ืœืขื‘ื•ื“ ื‘ืžืขืจื›ื•ืช ืžืกื•ื™ืžื•ืช ืฉื‘ื”ืŸ ื”-assembler ืื™ื ื• ืžืกื•ื’ืœ ืœืงืจื•ื
ืžืฆื™ื ื•ืจ; ืื‘ืœ ืœ-GNU assembler ืื™ืŸ ื‘ืขื™ื”.

- ืขื–ืจื”
ื”ื“ืคืก (ืขืœ ื”ืคืœื˜ ื”ืกื˜ื ื“ืจื˜ื™) ืชื™ืื•ืจ ืฉืœ ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื”ืžื•ื‘ื ื•ืช ืขืœ ื™ื“ื™
gcc. ืื -v ื”ืืคืฉืจื•ืช ืžืฆื•ื™ื ืช ื’ื ืื– - ืขื–ืจื” ืžื•ืขื‘ืจ ื’ื ืœืฉื•ื ื•ืช
ืชื”ืœื™ื›ื™ื ืฉื”ื•ืคืขืœื• ืขืœ ื™ื“ื™ gcc, ื›ื“ื™ ืฉื”ื ื™ื•ื›ืœื• ืœื”ืฆื™ื’ ืืช ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ืฉื”ื
ืœึฐืงึทื‘ึผึตืœ. ืื ื” ืืงืกื˜ืจื” ืฆื•ื™ื ื” ื’ื ื”ืืคืฉืจื•ืช (ืœืคื ื™ ื” - ืขื–ืจื” ืื•ึนืคึผึฐืฆึดื™ึธื”),
ืื– ื’ื ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ืฉืื™ืŸ ืœื”ืŸ ืชื™ืขื•ื“ ืžืฉื•ื™ืš
ืžื•ืฆื’.

--ืžื˜ืจื”-ืขื–ืจื”
ื”ื“ืคืก (ืขืœ ื”ืคืœื˜ ื”ืกื˜ื ื“ืจื˜ื™) ืชื™ืื•ืจ ืฉืœ ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ืคืงื•ื“ื” ืกืคืฆื™ืคื™ื•ืช ืœื™ืขื“
ืขื‘ื•ืจ ื›ืœ ื›ืœื™. ืขื‘ื•ืจ ื™ืขื“ื™ื ืžืกื•ื™ืžื™ื ืขืฉื•ื™ ืœื”ื™ื•ืช ื’ื ืžื™ื“ืข ืกืคืฆื™ืคื™ ืœื™ืขื“
ืžื•ื“ืคืก.

--ืขื–ืจื”={ื‘ื›ื™ืชื”|[^]ืœื”ืขืคื™ืœ}[, ...]
ื”ื“ืคืก (ืขืœ ื”ืคืœื˜ ื”ืกื˜ื ื“ืจื˜ื™) ืชื™ืื•ืจ ืฉืœ ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื”ืžื•ื‘ื ื•ืช ืขืœ ื™ื“ื™
ื”ืžื”ื“ืจ ืฉืžืชืื™ื ืœื›ืœ ื”ืžื—ืœืงื•ืช ื•ื”ืžื•ืงื“ืžื•ืช ืฉืฆื•ื™ื ื•. ืืœื• ื”ื ื”
ืฉื™ืขื•ืจื™ื ื ืชืžื›ื™ื:

ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ื”ืฆื’ ืืช ื›ืœ ืืคืฉืจื•ื™ื•ืช ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื”ื ืชืžื›ื•ืช ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ.

ืื–ื”ืจื•ืช
ื”ืฆื’ ืืช ื›ืœ ื”ืืคืฉืจื•ื™ื•ืช ื”ืฉื•ืœื˜ื•ืช ื‘ื”ื•ื“ืขื•ืช ื”ืื–ื”ืจื” ืฉื”ื•ืคืงื• ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ.

ื™ืขื“
ื”ืฆื’ ืืคืฉืจื•ื™ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœื™ืขื“. ืœื ื›ืžื• ื” --ืžื˜ืจื”-ืขื–ืจื” ืืคืฉืจื•ืช ืขื ื–ืืช, ื™ืขื“-
ืืคืฉืจื•ื™ื•ืช ืกืคืฆื™ืคื™ื•ืช ืฉืœ ื”ืžืงืฉืจ ื•ื”ืืกืžื‘ืœืจ ืื™ื ืŸ ืžื•ืฆื’ื•ืช. ื–ื” ื‘ื’ืœืœ ืฉ
ื›ืœื™ื ืืœื” ืื™ื ื ืชื•ืžื›ื™ื ื›ืขืช ื‘ืžื•ืจื—ื‘ --ืขื–ืจื”= ืชื—ื‘ื™ืจ.

params
ื”ืฆื’ ืืช ื”ืขืจื›ื™ื ื”ืžื•ื›ืจื™ื ืขืœ ื™ื“ื™ --param ืื•ึนืคึผึฐืฆึดื™ึธื”.

ืฉืคื”
ื”ืฆื’ ืืช ื”ืืคืฉืจื•ื™ื•ืช ื”ื ืชืžื›ื•ืช ืขื‘ื•ืจ ืฉืคื”, ืฉื ืฉืคื” ื”ื•ื ืฉืžื• ืฉืœ ืื—ื“ ืžื”ื
ื”ืฉืคื•ืช ื”ื ืชืžื›ื•ืช ื‘ื’ืจืกื” ื–ื• ืฉืœ GCC.

ืžืฉื•ืชืฃ
ื”ืฆื’ ืืช ื”ืืคืฉืจื•ื™ื•ืช ื”ืžืฉื•ืชืคื•ืช ืœื›ืœ ื”ืฉืคื•ืช.

ืืœื• ื”ื ื”ืžื•ืงื“ืžื•ืช ื”ื ืชืžื›ื•ืช:

ืœื ืžืชื•ืขื“
ื”ืฆื’ ืจืง ืืช ื”ืืคืฉืจื•ื™ื•ืช ืฉืื™ื ืŸ ืžืชื•ืขื“ื•ืช.

ื”ืฆื˜ืจืฃ
ื”ืฆื’ืช ืืคืฉืจื•ื™ื•ืช ืœืงื™ื—ืช ืืจื’ื•ืžื ื˜ ื”ืžื•ืคื™ืข ืื—ืจื™ ืกื™ืžืŸ ืฉื•ื•ื™ื•ืŸ ื‘ืื•ืชื•
ืงื˜ืข ื˜ืงืกื˜ ืžืชืžืฉืš, ื›ื’ื•ืŸ: --ืขื–ืจื”=ื™ืขื“.

ื ืคืจื“
ืืคืฉืจื•ื™ื•ืช ืชืฆื•ื’ื” ืœืงื—ืช ืืจื’ื•ืžื ื˜ ื”ืžื•ืคื™ืข ื›ืžื™ืœื” ื ืคืจื“ืช ืœืื—ืจ ื”-
ืืคืฉืจื•ืช ืžืงื•ืจื™ืช, ื›ื’ื•ืŸ: -o ืงื•ื‘ืฅ ืคืœื˜.

ื›ืš ืœืžืฉืœ ืœื”ืฆื™ื’ ืืช ื›ืœ ื”ืžืชื’ื™ื ื”ืกืคืฆื™ืคื™ื™ื ืœืžื˜ืจื” ื”ืœื ืžืชื•ืขื“ื™ื ื”ื ืชืžื›ื™ื ืขืœ ื™ื“ื™
ื”ืžื”ื“ืจ, ื”ืฉืชืžืฉ ื‘:

--help=ืžื˜ืจื”,ืœื ืžืชื•ืขื“

ื ื™ืชืŸ ืœื”ืคื•ืš ืืช ื”ืชื—ื•ืฉื” ืฉืœ ืžื•ืงื“ืžื•ืช ืขืœ ื™ื“ื™ ื”ืงื“ืžืชื• ืœ- ^ ืื•ืคื™, ืื– ื‘ืฉื‘ื™ืœ
ื“ื•ื’ืžื” ื›ื“ื™ ืœื”ืฆื™ื’ ืืช ื›ืœ ืืคืฉืจื•ื™ื•ืช ื”ืื–ื”ืจื” ื”ื‘ื™ื ืืจื™ืช (ื›ืœื•ืžืจ, ืืœื• ื”ืžื•ืคืขืœื•ืช ืื• ื›ื‘ื•ื™ื•ืช
ื•ืฉืœื ืœื•ืงื—ื™ื ื˜ื™ืขื•ืŸ) ืฉื™ืฉ ืœื”ื ืชื™ืื•ืจ, ื”ืฉืชืžืฉื• ื‘:

--help=ืื–ื”ืจื•ืช,^ื”ืฆื˜ืจืฃ,^ืœื ืžืชื•ืขื“

ื”ื•ื•ื™ื›ื•ื— ืœ --ืขื–ืจื”= ืœื ืฆืจื™ืš ืœื”ื™ื•ืช ืžื•ืจื›ื‘ ืืš ื•ืจืง ืžืžื•ืงื“ืžื•ืช ื”ืคื•ื›ื•ืช.

ืฉื™ืœื•ื‘ ืฉืœ ืžืกืคืจ ืžื—ืœืงื•ืช ืืคืฉืจื™, ืื ื›ื™ ื–ื” ื‘ื“ืจืš ื›ืœืœ ืžื’ื‘ื™ืœ ืืช ื”ืคืœื˜ ื›ืš
ื”ืจื‘ื” ืฉืื™ืŸ ืžื” ืœื”ืฆื™ื’. ืžืงืจื” ืื—ื“ ืฉื‘ื• ื–ื” ื›ืŸ ืขื•ื‘ื“, ืขื ื–ืืช, ื”ื•ื ืžืชื™
ืื—ื“ ื”ืฉื™ืขื•ืจื™ื ื”ื•ื ื™ืขื“. ืœื“ื•ื’ืžื”, ื›ื“ื™ ืœื”ืฆื™ื’ ืืช ื›ืœ ื”ื™ืขื“ ื”ืกืคืฆื™ืคื™
ืืคืฉืจื•ื™ื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”, ื”ืฉืชืžืฉ ื‘:

--help=ืžื˜ืจื”,ืžื™ื˜ื•ื‘ื™ื–ืจื™ื

ื”ืฉืžื™ื™ื --ืขื–ืจื”= ื ื™ืชืŸ ืœื—ื–ื•ืจ ืขืœ ื”ืืคืฉืจื•ืช ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”. ื›ืœ ืฉื™ืžื•ืฉ ืขื•ืงื‘ ืžื•ืฆื’
ืกื•ื’ ื”ืืคืฉืจื•ื™ื•ืช ื”ืžื‘ื•ืงืฉ ืฉืœื•, ื“ื™ืœื•ื’ ืขืœ ืืœื• ืฉื›ื‘ืจ ื”ื•ืฆื’ื•.

ืื -Q ื”ืืคืฉืจื•ืช ืžื•ืคื™ืขื” ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื” ืœืคื ื™ ื”- --ืขื–ืจื”= ืืคืฉืจื•ืช ื•ืœืื—ืจ ืžื›ืŸ ืืช
ื˜ืงืกื˜ ืชื™ืื•ืจื™ ื”ืžื•ืฆื’ ืขืœ ื™ื“ื™ --ืขื–ืจื”= ืžืฉืชื ื”. ื‘ืžืงื•ื ืœืชืืจ ืืช ื”ืžื•ืฆื’
ืืคืฉืจื•ื™ื•ืช, ื ื™ืชืŸ ืื™ื ื“ื™ืงืฆื™ื” ื”ืื ื”ืืคืฉืจื•ืช ืžื•ืคืขืœืช, ืžื•ืฉื‘ืชืช ืื• ืžื•ื’ื“ืจืช
ืœืขืจืš ืžืกื•ื™ื (ื‘ื”ื ื—ื” ืฉื”ืžื”ื“ืจ ื™ื•ื“ืข ื–ืืช ื‘ื ืงื•ื“ื” ืฉื‘ื” ื”-
--ืขื–ืจื”= ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืื•ืคืฆื™ื”).

ื”ื ื” ื“ื•ื’ืžื” ืงื˜ื•ืžื” ืžื™ืฆื™ืืช ARM ืฉืœ gcc:

% gcc -Q -mabi=2 --help=target -c
ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช ื”ืŸ ืกืคืฆื™ืคื™ื•ืช ืœื™ืขื“:
-ืžืื‘ื™= 2
-mabort-on-noreturn [ืžื•ืฉื‘ืช]
-mapcs [ืžื•ืฉื‘ืช]

ื”ืคืœื˜ ืจื’ื™ืฉ ืœื”ืฉืคืขื•ืช ืฉืœ ืืคืฉืจื•ื™ื•ืช ืงื• ืคืงื•ื“ื” ืงื•ื“ืžื•ืช, ื›ืš ืขื‘ื•ืจ
ืœื“ื•ื’ืžื” ืืคืฉืจ ืœื‘ืจืจ ื‘ืื™ืœื• ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืžื•ืคืขืœื•ืช -O2 ืขืœ ื™ื“ื™ ืฉื™ืžื•ืฉ ื‘:

-Q -O2 --help=ืื•ืคื˜ื™ืžื™ื–ืจื™ื

ืœื—ืœื•ืคื™ืŸ, ืชื•ื›ืœ ืœื’ืœื•ืช ืขืœ ื™ื“ื™ ืื™ืœื• ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื‘ื™ื ืืจื™ื•ืช ืžื•ืคืขืœื•ืช -O3 ืขืœ ื™ื“ื™ ืฉื™ืžื•ืฉ ื‘:

gcc -c -Q -O3 --help=ืžื™ื˜ื‘ื™ื–ืจื™ื > /tmp/O3-opts
gcc -c -Q -O2 --help=ืžื™ื˜ื‘ื™ื–ืจื™ื > /tmp/O2-opts
diff /tmp/O2-opts /tmp/O3-opts | grep ืžื•ืคืขืœ

-ืœืœื-ืงื ื•ื ื™ื•ืช-ืงื™ื“ื•ืžื•ืช
ืืœ ืชืจื—ื™ื‘ ืงื™ืฉื•ืจื™ื ืกืžืœื™ื™ื ื›ืœืฉื”ื, ืชืคืชื•ืจ ื”ืคื ื™ื•ืช /../ or /./, ืื• ืœืขืฉื•ืช ืืช ื”ื ืชื™ื‘
ืžื•ื—ืœื˜ ื‘ืขืช ื™ืฆื™ืจืช ืงื™ื“ื•ืžืช ื™ื—ืกื™ืช.

--ื’ึดืจึฐืกึธื”
ื”ืฆื’ ืืช ืžืกืคืจ ื”ื’ืจืกื” ื•ื–ื›ื•ื™ื•ืช ื”ื™ื•ืฆืจื™ื ืฉืœ ื”-GCC ืฉื”ื•ืคืขืœ.

-ืขึฒื˜ึดื™ืคึธื”
ื”ืคืขืœ ืืช ื›ืœ ืคืงื•ื“ื•ืช ื”ืžืฉื ื” ืชื—ืช ืชื•ื›ื ื™ืช ืขื˜ื™ืคื”. ืฉื ืชื•ื›ื ื™ืช ื”ืขื˜ื™ืคื” ื•
ื”ืคืจืžื˜ืจื™ื ืฉืœื• ืžื•ืขื‘ืจื™ื ื›ืจืฉื™ืžื” ืžื•ืคืจื“ืช ื‘ืคืกื™ืงื™ื.

gcc -c tc -ืขื˜ื™ืคื” gdb,--args

ื–ื” ืžืคืขื™ืœ ืืช ื›ืœ ืชื•ื›ื ื™ื•ืช ื”ืžืฉื ื” ืฉืœ gcc ืชื—ืช gdb --ืืจื’ืก, ื•ื‘ื›ืš ื”ืงืจื™ืื” ืฉืœ cc1 is
gdb --ืืจื’ืก cc1 ....

-fplugin=ืฉื.ืœื›ืŸ
ื˜ืขืŸ ืืช ืงื•ื“ ื”ืคืœืื’ื™ืŸ ื‘ืงื•ื‘ืฅ ืฉื.ืœื›ืŸ, ื”ื”ื ื—ื” ื”ื™ื ืฉื–ื”ื• ืื•ื‘ื™ื™ืงื˜ ืžืฉื•ืชืฃ ืฉื™ืฉ ืœื‘ืฆืข ืขืœื™ื•
ื”ืžื”ื“ืจ. ืฉื ื”ื‘ืกื™ืก ืฉืœ ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜ ื”ืžืฉื•ืชืฃ ืžืฉืžืฉ ืœื–ื™ื”ื•ื™ ื”ืชื•ืกืฃ
ืœืžื˜ืจื•ืช ื ื™ืชื•ื— ืืจื’ื•ืžื ื˜ื™ื (ืจืื” -fplugin-arg-ืฉื-ืžืคืชื—=ืขืจืš ืœึฐื”ึทืœึธืŸ). ื›ืœ ืื—ื“
ื”ืคืœืื’ื™ืŸ ืืžื•ืจ ืœื”ื’ื“ื™ืจ ืืช ืคื•ื ืงืฆื™ื•ืช ื”-callback ื”ืžืฆื•ื™ื ื•ืช ื‘-Plugins API.

-fplugin-arg-ืฉื-ืžืคืชื—=ืขืจืš
ื”ื’ื“ืจ ืืจื’ื•ืžื ื˜ ืฉื ืงืจื ืžืคืชื— ืขื ืขืจืš ืฉืœ ืขืจืš ืขื‘ื•ืจ ื”ืคืœืื’ื™ืŸ ืฉื ืงืจื ืฉื.

-fdump-ada-spec[-ืจึธื–ึถื”]
ืขื‘ื•ืจ ืžืงื•ืจ C ื•-C++ ื•ืงื‘ืฆื™ื ื›ื•ืœืœื™ื, ืฆื•ืจ ืžืคืจื˜ Ada ืชื•ืื.

-fada-spec-parent=ื™ื—ื™ื“ื”
ื‘ืฉื™ืชื•ืฃ ืขื -fdump-ada-spec[-ืจึธื–ึถื”] ืœืžืขืœื”, ืฆื•ืจ ืžืคืจื˜ Ada ื›ื™ื—ื™ื“ื•ืช ื™ืœื“ ืฉืœ
ื”ื•ืจื” ื™ื—ื™ื“ื”.

-fdump-go-spec=ืคื™ืœื”
ืขื‘ื•ืจ ืงื‘ืฆื™ ืงืœื˜ ื‘ื›ืœ ืฉืคื”, ืฆื•ืจ ื”ืฆื”ืจื•ืช Go ืžืชืื™ืžื•ืช ื‘ ืคื™ืœื”. ื–ึถื”
ืžื™ื™ืฆืจ ื”ืฆื”ืจื•ืช Go "const", "type", "var" ื•-"func", ืฉืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ื“ืจืš ืฉื™ืžื•ืฉื™ืช
ืœื”ืชื—ื™ืœ ืœื›ืชื•ื‘ ืžืžืฉืง Go ืœืงื•ื“ ืฉื ื›ืชื‘ ื‘ืฉืคื” ืื—ืจืช.

@ืคื™ืœื”
ืงืจื ืืช ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ืž ืคื™ืœื”. ื”ืืคืฉืจื•ื™ื•ืช ืฉื ืงืจืื• ืžื•ื›ื ืกื•ืช ื‘ืžืงื•ื
ืžืงื•ืจื™ @ืคื™ืœื” ืื•ึนืคึผึฐืฆึดื™ึธื”. ืื ืคื™ืœื” ืœื ืงื™ื™ื, ืื• ืœื ื ื™ืชืŸ ืœืงืจื•ื, ืื– ื”ืืคืฉืจื•ืช
ื™ื˜ื•ืคืœ ืคืฉื•ื˜ื• ื›ืžืฉืžืขื•, ื•ืœื ื™ื•ืกืจ.

ืืคืฉืจื•ื™ื•ืช ื‘ ืคื™ืœื” ืžื•ืคืจื“ื™ื ืขืœ ื™ื“ื™ ืจื•ื•ื— ืœื‘ืŸ. ืชื• ืจื•ื•ื— ืขืฉื•ื™ ืœื”ื™ื›ืœืœ
ื‘ืื•ืคืฆื™ื” ืขืœ ื™ื“ื™ ื”ืงื™ืคืช ื›ืœ ื”ืื•ืคืฆื™ื” ื‘ืžืจื›ืื•ืช ื‘ื•ื“ื“ื•ืช ืื• ื›ืคื•ืœื•ืช. ื›ืœ
ืชื• (ื›ื•ืœืœ ืงื• ื ื˜ื•ื™ ืื—ื•ืจื™) ืขืฉื•ื™ ืœื”ื™ื›ืœืœ ืขืœ ื™ื“ื™ ื”ืงื“ืžืช ื”ืชื• ืœื”ื™ื•ืช
ื›ืœื•ืœ ืขื ืงื• ื ื˜ื•ื™ ืื—ื•ืจื™. ื” ืคื™ืœื” ืขืฉื•ื™ ื‘ืขืฆืžื• ืœื”ื›ื™ืœ @ ื ื•ืกืฃืคื™ืœื” ืืคืฉืจื•ื™ื•ืช; ื›ืœ
ืืคืฉืจื•ื™ื•ืช ื›ืืœื” ื™ืขื•ื‘ื“ื• ื‘ืื•ืคืŸ ืจืงื•ืจืกื™ื‘ื™.

ืงื•ืžืคื™ืœืฆื™ื” C + + ืชื•ื›ื ื™ื•ืช
ืงื•ื‘ืฆื™ ืžืงื•ืจ C++ ืžืฉืชืžืฉื™ื ื‘ื“ืจืš ื›ืœืœ ื‘ืื—ืช ืžื”ืกื™ื•ืžื•ืช .C, . DC, .cpp, .CPP, โ€Ž.c++, .cp, ืื•
.cxx; ืงื‘ืฆื™ ื›ื•ืชืจื•ืช C++ ืžืฉืชืžืฉื™ื ืœืขืชื™ื ืงืจื•ื‘ื•ืช .ื”ื”, .hpp, .H, ืื• (ืขื‘ื•ืจ ืงื•ื“ ืชื‘ื ื™ืช ืžืฉื•ืชืฃ) .tcc, ื•
ืงื‘ืฆื™ C++ ืžืขื•ื‘ื“ื™ื ืžืจืืฉ ืžืฉืชืžืฉื™ื ื‘ืกื™ื•ืžืช .ii. GCC ืžื–ื”ื” ืงื‘ืฆื™ื ืขื ืฉืžื•ืช ืืœื” ื•
ืžืจื›ื™ื‘ ืื•ืชื ื›ืชื•ื›ื ื™ื•ืช C++ ื’ื ืื ืืชื” ืงื•ืจื ืœืžื”ื“ืจ ื‘ืื•ืชื• ืื•ืคืŸ ื›ืžื• ืœืงื•ืžืคื™ืœืฆื™ื”
ืชื•ื›ื ื™ื•ืช C (ื‘ื“ืจืš ื›ืœืœ ืขื ื”ืฉื gcc).

ืขื ื–ืืช, ื”ืฉื™ืžื•ืฉ ื‘ gcc ืื™ื ื• ืžื•ืกื™ืฃ ืืช ืกืคืจื™ื™ืช C++. g ++ ื”ื™ื ืชื•ื›ื ื™ืช ืฉืงื•ืจืืช ืœ-GCC ื•
ืžืฆื™ื™ืŸ ืื•ื˜ื•ืžื˜ื™ืช ืงื™ืฉื•ืจ ืžื•ืœ ืกืคืจื™ื™ืช C++. ื–ื” ืžื˜ืคืœ .c, .h ื• .i ืงื‘ืฆื™ื ื›
ืงื‘ืฆื™ ืžืงื•ืจ C++ ื‘ืžืงื•ื ืงื‘ืฆื™ ืžืงื•ืจ C ืืœื ืื ื›ืŸ -x ืžืฉืžืฉ. ื’ื ืชื•ื›ื ื™ืช ื–ื• ืฉื™ืžื•ืฉื™ืช
ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืžืจืืฉ ืฉืœ ืงื•ื‘ืฅ ื›ื•ืชืจืช C ืขื a .h ื”ืจื—ื‘ื” ืœืฉื™ืžื•ืฉ ื‘ืงื•ืคื™ืœืฆื™ื•ืช C++. ืขึทืœ
ืžืขืจื›ื•ืช ืจื‘ื•ืช, g ++ ืžื•ืชืงืŸ ื’ื ืขื ื”ืฉื c ++.

ื›ืืฉืจ ืืชื” ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืชื•ื›ื ื™ื•ืช C++, ืืชื” ื™ื›ื•ืœ ืœืฆื™ื™ืŸ ื”ืจื‘ื” ืžืื•ืชืŸ ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ืคืงื•ื“ื”
ืืชื” ืžืฉืชืžืฉ ืœื”ื™ื“ื•ืจ ืชื•ื›ื ื™ื•ืช ื‘ื›ืœ ืฉืคื”; ืื• ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ืคืงื•ื“ื” ื‘ืขืœื•ืช ืžืฉืžืขื•ืช ืขื‘ื•ืจ C
ื•ืฉืคื•ืช ืงืฉื•ืจื•ืช; ืื• ืืคืฉืจื•ื™ื•ืช ื‘ืขืœื•ืช ืžืฉืžืขื•ืช ืจืง ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช C++.

ืืคืฉืจื•ื™ื•ืช ืฉืœื™ื˜ื” C ื ื™ื‘
ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช ืฉื•ืœื˜ื•ืช ื‘ื ื™ื‘ ืฉืœ C (ืื• ืฉืคื•ืช ื”ื ื’ื–ืจื•ืช ืž-C, ื›ื’ื•ืŸ C++,
Objective-C ื•-Objective-C++) ืฉื”ืžื”ื“ืจ ืžืงื‘ืœ:

-ืื ืกื™
ื‘ืžืฆื‘ C, ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -std=c90. ื‘ืžืฆื‘ C++, ื–ื” ืฉื•ื•ื” ืขืจืš ืœ
98. std = c ++.

ื–ื” ืžื›ื‘ื” ืชื›ื•ื ื•ืช ืžืกื•ื™ืžื•ืช ืฉืœ GCC ืฉืื™ื ืŸ ืชื•ืืžื•ืช ืœ-ISO C90 (ืžืชื™
ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืงื•ื“ C), ืื• ืฉืœ C++ ืกื˜ื ื“ืจื˜ื™ (ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืงื•ื“ C++), ื›ื’ื•ืŸ "asm" ื•
"typeof" ืžื™ืœื•ืช ืžืคืชื—, ื•ืคืงื•ื“ื•ืช ืžืืงืจื• ืžื•ื’ื“ืจื•ืช ืžืจืืฉ ื›ื’ื•ืŸ "unix" ื•-"vax" ื”ืžื–ื”ื•ืช ืืช
ืกื•ื’ ื”ืžืขืจื›ืช ืฉื‘ื” ืืชื” ืžืฉืชืžืฉ. ื–ื” ื’ื ืžืืคืฉืจ ืืช ื”-ISO ื”ืœื ืจืฆื•ื™ ื•ืœืขืชื™ื ืจื—ื•ืงื•ืช ื‘ืฉื™ืžื•ืฉ
ืชื›ื•ื ืช ื˜ืจื™ื’ืจืฃ. ืขื‘ื•ืจ ืžื”ื“ืจ C, ื”ื•ื ืžืฉื‘ื™ืช ืืช ื”ื–ื™ื”ื•ื™ ืฉืœ ืกื’ื ื•ืŸ C++ //
ื”ืขืจื•ืช ื•ื›ืŸ ืžื™ืœืช ื”ืžืคืชื— "ืžื•ื˜ื‘ืขืช".

ืžื™ืœื•ืช ื”ืžืคืชื— ื”ื—ืœื•ืคื™ื•ืช "__asm__", "__extension__", "__inline__" ื•-"__typeof__"
ืœื”ืžืฉื™ืš ืœืขื‘ื•ื“ ืœืžืจื•ืช -ืื ืกื™. ืœื ืชืจืฆื” ืœื”ืฉืชืžืฉ ื‘ื”ื ื‘ืชื•ื›ื ื™ืช ISO C,
ื›ืžื•ื‘ืŸ, ืื‘ืœ ื›ื“ืื™ ืœืฉื™ื ืื•ืชื ื‘ืงื•ื‘ืฆื™ ื›ื•ืชืจืช ืฉืขืฉื•ื™ื™ื ืœื”ื™ื›ืœืœ ื‘ื”ื
ืงื•ืžืคื™ืœืฆื™ื•ืช ืฉื ืขืฉื• ืขื -ืื ืกื™. ืคืงื•ื“ื•ืช ืžืืงืจื• ืžื•ื’ื“ืจื•ืช ืžืจืืฉ ืœื—ืœื•ืคื™ื•ืช ื›ื’ื•ืŸ "__unix__" ื•
"__vax__" ื–ืžื™ื ื™ื ื’ื, ืขื ืื• ื‘ืœื™ -ืื ืกื™.

ื”ืฉืžื™ื™ื -ืื ืกื™ ื”ืืคืฉืจื•ืช ืื™ื ื” ื’ื•ืจืžืช ืœื“ื—ื™ื™ื” ืฉืœ ืชื•ื›ื ื™ื•ืช ืฉืื™ื ืŸ ISO ืœืœื ืชืฉืœื•ื. ืœ
ื›ื™, -Wpedantic ื ื“ืจืฉ ื‘ื ื•ืกืฃ ืœ -ืื ืกื™.

ื”ืžืืงืจื• "__STRICT_ANSI__" ืžื•ื’ื“ืจ ืžืจืืฉ ื›ืืฉืจ -ืื ืกื™ ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืื•ืคืฆื™ื”. ืื™ื–ื” ื›ื•ืชืจืช
ืงื‘ืฆื™ื ืขืฉื•ื™ื™ื ืœื”ื‘ื—ื™ืŸ ื‘ืžืืงืจื• ื–ื” ื•ืœื”ื™ืžื ืข ืžืœื”ืฆื”ื™ืจ ืขืœ ืคื•ื ืงืฆื™ื•ืช ืžืกื•ื™ืžื•ืช ืื• ืœื”ื’ื“ื™ืจ
ืคืงื•ื“ื•ืช ืžืืงืจื• ืžืกื•ื™ืžื•ืช ืฉืชืงืŸ ISO ืื™ื ื• ื“ื•ืจืฉ; ื–ืืช ื›ื“ื™ ืœืžื ื•ืข ื”ืชืขืจื‘ื•ืช
ืขื ื›ืœ ืชื•ื›ื ื” ืฉืขืฉื•ื™ื” ืœื”ืฉืชืžืฉ ื‘ืฉืžื•ืช ื”ืืœื” ืœื“ื‘ืจื™ื ืื—ืจื™ื.

ืคื•ื ืงืฆื™ื•ืช ืฉื‘ื“ืจืš ื›ืœืœ ืžื•ื‘ื ื•ืช ืืš ืื™ืŸ ืœื”ืŸ ืกืžื ื˜ื™ืงื” ื”ืžื•ื’ื“ืจืช ืขืœ ื™ื“ื™ ISO C (ื›ื’ื•ืŸ
ื›ืžื• "alloca" ื•-"ffs") ืื™ื ืŸ ืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช ื›ืืฉืจ -ืื ืกื™ ืžืฉืžืฉ.

-std=
ืงื‘ืข ืืช ืชืงืŸ ื”ืฉืคื”. ืืคืฉืจื•ืช ื–ื• ื ืชืžื›ืช ื›ืจื’ืข ืจืง ื›ืืฉืจ
ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ C ืื• C++.

ื”ืžื”ื“ืจ ื™ื›ื•ืœ ืœืงื‘ืœ ืžืกืคืจ ืชืงื ื™ ื‘ืกื™ืก, ื›ื’ื•ืŸ c90 or 98 +, ื•ื“ื™ืืœืงื˜ื™ื ืฉืœ ื’ื ื•
ืฉืœ ืื•ืชื ืกื˜ื ื“ืจื˜ื™ื, ื›ื’ื•ืŸ gnu90 or gnu++98. ื›ืืฉืจ ืžืฆื•ื™ืŸ ืชืงืŸ ื‘ืกื™ืก, ื”
ื”ืžื”ื“ืจ ืžืงื‘ืœ ืืช ื›ืœ ื”ืชื•ื›ื ื•ืช ื”ืขื•ืงื‘ื•ืช ืื—ืจ ื”ืชืงืŸ ื”ื–ื” ื‘ื ื•ืกืฃ ืœืืœื• ื”ืžืฉืชืžืฉื•ืช ื‘ื”ืจื—ื‘ื•ืช ืฉืœ GNU
ืฉืื™ื ื ืกื•ืชืจื™ื ืืช ื–ื”. ืœื“ื•ื’ืžื”, -std=c90 ืžื›ื‘ื” ืชื›ื•ื ื•ืช ืžืกื•ื™ืžื•ืช ืฉืœ GCC
ืฉืื™ื ื ืชื•ืืžื™ื ืœ-ISO C90, ื›ื’ื•ืŸ ืžื™ืœื•ืช ื”ืžืคืชื— "asm" ื•-"typeof", ืืš ืœื
ื”ืจื—ื‘ื•ืช ืื—ืจื•ืช ืฉืœ GNU ืฉืื™ืŸ ืœื”ืŸ ืžืฉืžืขื•ืช ื‘-ISO C90, ื›ืžื• ื”ืฉืžื˜ืช ื”-
ืžื•ื ื— ืืžืฆืขื™ ืฉืœ ื‘ื™ื˜ื•ื™ "?:". ืžืฆื“ ืฉื ื™, ื›ืืฉืจ ื ื™ื‘ ื’ื ื• ืฉืœ ืชืงืŸ
ืžื•ื’ื“ืจ, ื›ืœ ื”ืชื›ื•ื ื•ืช ื”ื ืชืžื›ื•ืช ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ ืžื•ืคืขืœื•ืช, ื’ื ื›ืืฉืจ ืืœื•
ืชื›ื•ื ื•ืช ืžืฉื ื•ืช ืืช ื”ืžืฉืžืขื•ืช ืฉืœ ืชืงืŸ ื”ื‘ืกื™ืก. ื›ืชื•ืฆืื” ืžื›ืš, ื›ืžื” ืงืคื“ื ื™ืช ื”ืชืืžื”
ืชื•ื›ื ื™ื•ืช ืขืœื•ืœื•ืช ืœื”ื™ื“ื—ื•ืช. ื”ืชืงืŸ ื”ืžืกื•ื™ื ืžืฉืžืฉ ืขืœ ื™ื“ื™ -Wpedantic ืœื–ื”ื•ืช
ืื™ืœื• ืชื›ื•ื ื•ืช ื”ืŸ ื”ืจื—ื‘ื•ืช ืฉืœ GNU ื‘ื”ื™ื ืชืŸ ื’ืจืกื” ื–ื• ืฉืœ ื”ืชืงืŸ. ืœื“ื•ื’ืžื”
-std=gnu90 -Wpedantic ืžื–ื”ื™ืจ ืœื’ื‘ื™ ืกื’ื ื•ืŸ C++ // ื”ืขืจื•ืช, ืชื•ืš ื›ื“ื™ -std=gnu99 -Wpedantic
ืœื.

ื™ืฉ ืœืกืคืง ืขืจืš ืขื‘ื•ืจ ืืคืฉืจื•ืช ื–ื•; ืขืจื›ื™ื ืืคืฉืจื™ื™ื ื”ื

c90
c89
iso9899:1990
ืชืžื›ื• ื‘ื›ืœ ืชื•ื›ื ื™ื•ืช ISO C90 (ื”ืจื—ื‘ื•ืช ืžืกื•ื™ืžื•ืช ืฉืœ GNU ืฉืžืชื ื’ืฉื•ืช ืขื ISO C90
ืžื•ืฉื‘ืชื™ื). ื›ืžื• -ืื ืกื™ ืขื‘ื•ืจ ืงื•ื“ C.

iso9899:199409
ISO C90 ื›ืคื™ ืฉืฉื•ื ื” ื‘ืชื™ืงื•ืŸ 1.

c99
c9x
iso9899:1999
iso9899:199x
ISO C99. ืฉื™ืžื• ืœื‘ ืฉืชืงืŸ ื–ื” ืขื“ื™ื™ืŸ ืื™ื ื• ื ืชืžืš ื‘ืžืœื•ืื•; ืœึดืจึฐืื•ึนืช
<http://gcc.gnu.org/c99status.html> ืœืžื™ื“ืข ื ื•ืกืฃ. ื”ืฉืžื•ืช c9x ื•
iso9899:199x ืžื™ื•ืฉื ื™ื.

c11
c1x
iso9899:2011
ISO C11, ืขื“ื›ื•ืŸ 2011 ืฉืœ ืชืงืŸ ISO C. ื”ืชืžื™ื›ื” ืื™ื ื” ืฉืœืžื” ื•
ื ึดืกื™ื•ึนื ึดื™. ื”ืฉื c1x ื”ื•ืฆื ืžืฉื™ืžื•ืฉ.

gnu90
gnu89
ื ื™ื‘ GNU ืฉืœ ISO C90 (ื›ื•ืœืœ ื›ืžื” ืชื›ื•ื ื•ืช ืฉืœ C99). ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ C
ืงื•ื“.

gnu99
gnu9x
ื ื™ื‘ GNU ืฉืœ ISO C99. ื›ืืฉืจ ISO C99 ืžื™ื•ืฉื ื‘ืžืœื•ืื• ื‘-GCC, ื–ื” ื™ืงืจื”
ืœื”ืคื•ืš ืœื‘ืจื™ืจืช ื”ืžื—ื“ืœ. ื”ืฉื gnu9x ื”ื•ืฆื ืžืฉื™ืžื•ืฉ.

gnu11
gnu1x
ื ื™ื‘ GNU ืฉืœ ISO C11. ื”ืชืžื™ื›ื” ืื™ื ื” ืฉืœืžื” ื•ื ื™ืกื™ื•ื ื™ืช. ื”ืฉื gnu1x
ื”ื•ืฆื ืžืฉื™ืžื•ืฉ.

98 +
03 +
ืชืงืŸ ISO C++ ืžืฉื ืช 1998 ื‘ืชื•ืกืคืช ื”ืชื™ืงื•ืŸ ื”ื˜ื›ื ื™ ืžืฉื ืช 2003 ื•ืขื•ื“ ื›ืžื”
ื“ื•ื—ื•ืช ืœื™ืงื•ื™ื™ื. ื›ืžื• -ืื ืกื™ ืขื‘ื•ืจ ืงื•ื“ C++.

gnu++98
gnu++03
ื ื™ื‘ ื’ื ื• ืฉืœ 98. std = c ++. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืงื•ื“ C++.

11 +
c ++ 0x
ืชืงืŸ ISO C++ ืœืฉื ืช 2011 ื‘ืชื•ืกืคืช ืชื™ืงื•ื ื™ื. ื”ืชืžื™ื›ื” ื‘-C++11 ืขื“ื™ื™ืŸ
ื ื™ืกื™ื•ื ื™, ื•ืขืฉื•ื™ื™ื ืœื”ืฉืชื ื•ืช ื‘ื“ืจื›ื™ื ืœื ืชื•ืืžื•ืช ื‘ืžื”ื“ื•ืจื•ืช ืขืชื™ื“ื™ื•ืช. ื”ืฉื
c ++ 0x ื”ื•ืฆื ืžืฉื™ืžื•ืฉ.

gnu++11
gnu++0x
ื ื™ื‘ ื’ื ื• ืฉืœ 11. std = c ++. ื”ืชืžื™ื›ื” ื‘-C++11 ืขื“ื™ื™ืŸ ื ื™ืกื™ื•ื ื™ืช ื•ืขืฉื•ื™ื” ืœื”ืฉืชื ื•ืช
ื‘ื“ืจื›ื™ื ืœื ืชื•ืืžื•ืช ื‘ืžื”ื“ื•ืจื•ืช ืขืชื™ื“ื™ื•ืช. ื”ืฉื gnu++0x ื”ื•ืฆื ืžืฉื™ืžื•ืฉ.

c++1y
ื”ื’ืจืกื” ื”ื‘ืื” ืฉืœ ืชืงืŸ ISO C++, ืžืชื•ื›ื ื ืช ื‘ืื•ืคืŸ ื˜ื ื˜ื˜ื™ื‘ื™ ืœืฉื ืช 2017. ืชืžื™ื›ื”
ื”ื•ื ืžืื•ื“ ื ื™ืกื™ื•ื ื™, ื•ื›ืžืขื˜ ื‘ื•ื•ื“ืื•ืช ื™ืฉืชื ื” ื‘ื“ืจื›ื™ื ืœื ืชื•ืืžื•ืช ื‘
ืžื”ื“ื•ืจื•ืช ืขืชื™ื“ื™ื•ืช.

gnu++1y
ื ื™ื‘ ื’ื ื• ืฉืœ -std=c++1y. ื”ืชืžื™ื›ื” ื”ื™ื ืžืื•ื“ ื ื™ืกื™ื•ื ื™ืช, ื•ื”ื™ื ืชื”ื™ื” ื›ืžืขื˜
ื‘ื”ื—ืœื˜ ืœื”ืฉืชื ื•ืช ื‘ื“ืจื›ื™ื ืœื ืชื•ืืžื•ืช ื‘ืžื”ื“ื•ืจื•ืช ืขืชื™ื“ื™ื•ืช.

-fgnu89-inline
ื”ืืคืฉืจื•ืช -fgnu89-inline ืื•ืžืจ ืœ-GCC ืœื”ืฉืชืžืฉ ื‘ืกืžื ื˜ื™ืงื” ื”ืžืกื•ืจืชื™ืช ืฉืœ GNU ืขื‘ื•ืจ "inline"
ืžืชืคืงื“ ื‘ืžืฆื‘ C99.
ืืคืฉืจื•ืช ื–ื• ืžืงื•ื‘ืœืช ื•ืžืชืขืœืžืช ืžื’ื™ืจืกืื•ืช GCC 4.1.3 ืขื“ ืืš ืœื ื›ื•ืœืœ
4.3. ื‘ื’ืจืกืื•ืช GCC 4.3 ื•ืื™ืœืš ื–ื” ืžืฉื ื” ืืช ื”ื”ืชื ื”ื’ื•ืช ืฉืœ GCC ื‘ืžืฆื‘ C99. ื‘ืืžืฆืขื•ืช
ืืคืฉืจื•ืช ื–ื• ืฉื•ื•ื” ื‘ืขืจืš ืœื”ื•ืกืคืช ืชื›ื•ื ืช ื”ืคื•ื ืงืฆื™ื” "gnu_inline" ืœื›ืœ
ืคื•ื ืงืฆื™ื•ืช ืžื•ื˜ื‘ืขื•ืช.

ื”ืืคืฉืจื•ืช -fno-gnu89-inline ืื•ืžืจ ื‘ืžืคื•ืจืฉ ืœ-GCC ืœื”ืฉืชืžืฉ ื‘ืกืžื ื˜ื™ืงื” ืฉืœ C99 ืขื‘ื•ืจ
"inline" ื‘ืžืฆื‘ C99 ืื• gnu99 (ื›ืœื•ืžืจ, ื”ื•ื ืžืฆื™ื™ืŸ ืืช ื”ืชื ื”ื’ื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ). ื–ึถื”
ื”ืืคืฉืจื•ืช ื ืชืžื›ื” ืœืจืืฉื•ื ื” ื‘-GCC 4.3. ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ื ืชืžื›ืช ื‘ -std=c90 or
-std=gnu90 ืžืฆื‘.

ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืคืงื•ื“ื•ืช ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“ "__GNUC_GNU_INLINE__" ื•-"__GNUC_STDC_INLINE__"
ื›ื“ื™ ืœื‘ื“ื•ืง ืื™ื–ื• ืกืžื ื˜ื™ืงื” ืคื•ืขืœืช ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช "ืžื•ื˜ื‘ืขื•ืช".

-ืžื™ื“ืข ื ื•ืกืฃ ืฉื ื”ืงื•ื‘ืฅ
ืคืœื˜ ืœืฉื ื”ืงื•ื‘ืฅ ื”ื ืชื•ืŸ ื”ืฆื”ืจื•ืช ืื‘ ื˜ื™ืคื•ืก ืขื‘ื•ืจ ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ืฉื”ื•ืฆื”ืจื• ื•/ืื•
ืžื•ื’ื“ืจ ื‘ื™ื—ื™ื“ืช ืชืจื’ื•ื, ื›ื•ืœืœ ืืœื” ื‘ืงื•ื‘ืฆื™ ื›ื•ืชืจื•ืช. ืืคืฉืจื•ืช ื–ื• ื”ื™ื
ื”ืชืขืœืžื• ื‘ืฉืงื˜ ื‘ื›ืœ ืฉืคื” ืžืœื‘ื“ C.

ืžืœื‘ื“ ื”ืฆื”ืจื•ืช, ื”ืงื•ื‘ืฅ ืžืฆื™ื™ืŸ ื‘ื”ืขืจื•ืช ืืช ืžืงื•ืจื” ืฉืœ ื›ืœ ื”ืฆื”ืจื”
(ืงื•ื‘ืฅ ืžืงื•ืจ ื•ืฉื•ืจื”), ืื ื”ื”ืฆื”ืจื” ื”ื™ื™ืชื” ืžืจื•ืžื–ืช, ืื‘ ื˜ื™ืคื•ืก ืื•
ืœืœื ืื‘ ื˜ื™ืคื•ืก (I, N ืœื—ื“ืฉ ืื• O ืœื™ืฉืŸ, ื‘ื”ืชืืžื”, ื‘ื“ืžื•ืช ื”ืจืืฉื•ื ื” ืฉืื—ืจื™
ืžืกืคืจ ื”ืฉื•ืจื” ื•ื”ื ืงื•ื“ืชื™ื™ื), ื•ื”ืื ื–ื” ื‘ื ืžื”ืฆื”ืจื” ืื• ื”ื’ื“ืจื”
(C or F, ื‘ื”ืชืืžื”, ื‘ื“ืžื•ืช ื”ื‘ืื”). ื‘ืžืงืจื” ืฉืœ ืคื•ื ืงืฆื™ื”
ื”ื’ื“ืจื•ืช, ืจืฉื™ืžื” ื‘ืกื’ื ื•ืŸ K&R ืฉืœ ื˜ื™ืขื•ื ื™ื ื•ืื—ืจื™ื” ื”ื”ืฆื”ืจื•ืช ืฉืœื”ื
ืžืกื•ืคืงื™ื, ื”ืขืจื•ืช ืคื ื™ืžื™ื•ืช, ืœืื—ืจ ื”ื”ืฆื”ืจื”.

-ืคื•ื ืงืฆื™ื•ืช-ืคืจืžื˜ืจ-ื—ืกืจ-ืคืจืžื˜ืจ-variadic
ืงื‘ืœ ืคื•ื ืงืฆื™ื•ืช ื•ืจื™ืื“ื™ื•ืช ืœืœื ืคืจืžื˜ืจื™ื ื‘ืขืœื™ ืฉื.

ืœืžืจื•ืช ืฉื ื™ืชืŸ ืœื”ื’ื“ื™ืจ ืคื•ื ืงืฆื™ื” ื›ื–ื•, ื–ื” ืœื ืžืื•ื“ ืฉื™ืžื•ืฉื™ ื›ืžื• ืฉื”ื•ื
ืœื ื ื™ืชืŸ ืœืงืจื•ื ืืช ื”ื˜ื™ืขื•ื ื™ื. ื–ื” ื ืชืžืš ืจืง ืขื‘ื•ืจ C ื›ืžื• ืžื‘ื ื” ื–ื”
ืžื•ืชืจ ืขืœ ื™ื“ื™ C++.

-fno-asm
ืืœ ืชื–ื”ื” ืืช "asm", "inline" ืื• "typeof" ื›ืžื™ืœืช ืžืคืชื—, ื›ืš ืฉื”ืงื•ื“ ื™ื•ื›ืœ ืœื”ืฉืชืžืฉ ื‘ืืœื”
ืžื™ืœื™ื ื›ืžื–ื”ื™ื. ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ืžื™ืœื•ืช ื”ืžืคืชื— "__asm__", "__inline__" ื•
"__typeof__" ื‘ืžืงื•ื ื–ืืช. -ืื ืกื™ ืžืจืžื– -fno-asm.

ื‘-C++, ืžืชื’ ื–ื” ืžืฉืคื™ืข ืจืง ืขืœ ืžื™ืœืช ื”ืžืคืชื— "ืกื•ื’ ืฉืœ", ืฉื›ืŸ "asm" ื•-"inline" ื”ื
ืžื™ืœื•ืช ืžืคืชื— ืกื˜ื ื“ืจื˜ื™ื•ืช. ืื•ืœื™ ืชืจืฆื” ืœื”ืฉืชืžืฉ ื‘- -fno-gnu-ืžื™ืœื•ืช ืžืคืชื— ื“ื’ืœ ื‘ืžืงื•ื, ืืฉืจ ื™ืฉ
ืื•ืชื• ืืคืงื˜. ื‘ืžืฆื‘ C99 (-std=c99 or -std=gnu99), ืžืชื’ ื–ื” ืžืฉืคื™ืข ืจืง ืขืœ
ืžื™ืœื•ืช ืžืคืชื— "asm" ื•-"typeof", ืฉื›ืŸ "inline" ื”ื™ื ืžื™ืœืช ืžืคืชื— ืกื˜ื ื“ืจื˜ื™ืช ื‘-ISO C99.

-fno-builtin
-fno-builtin-ืคื•ื ืงืฆื™ื”
ืืœ ืชื–ื”ื” ืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช ืฉืื™ื ืŸ ืžืชื—ื™ืœื•ืช ื‘ื”ืŸ __ื‘ื ื•ื™_ ื‘ืชื•ืจ ืชื—ื™ืœื™ืช.

GCC ื‘ื“ืจืš ื›ืœืœ ื™ื•ืฆืจ ืงื•ื“ ืžื™ื•ื—ื“ ื›ื“ื™ ืœื˜ืคืœ ื‘ืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช ืžืกื•ื™ืžื•ืช ื™ื•ืชืจ
ื‘ื™ืขื™ืœื•ืช; ืœืžืฉืœ, ืงืจื™ืื•ืช ืœ"alloca" ืขืฉื•ื™ื•ืช ืœื”ืคื•ืš ืœื”ื•ืจืื•ืช ื‘ื•ื“ื“ื•ืช ืืฉืจ
ื”ืชืื ืืช ื”ืžื—ืกื ื™ืช ื™ืฉื™ืจื•ืช, ื•ืงืจื™ืื•ืช ืœ"memcpy" ืขืœื•ืœื•ืช ืœื”ืคื•ืš ืœืœื•ืœืื•ืช ื”ืขืชืงื” ืžื•ื˜ื‘ืขื•ืช. ื”
ื”ืงื•ื“ ื”ืžืชืงื‘ืœ ื”ื•ื ืœืจื•ื‘ ื’ื ืงื˜ืŸ ื™ื•ืชืจ ื•ืžื”ื™ืจ ื™ื•ืชืจ, ืืš ืžื›ื™ื•ื•ืŸ ืฉื”ืคื•ื ืงืฆื™ื” ืงื•ืจืืช ืœื
ื–ืžืŸ ืจื‘ ื™ื•ืชืจ ืœื”ื•ืคื™ืข ื›ื›ื–ื”, ืื™ื ืš ื™ื›ื•ืœ ืœื”ื’ื“ื™ืจ ื ืงื•ื“ืช ืขืฆื™ืจื” ื‘ืฉื™ื—ื•ืช ืืœื”, ื•ื’ื ืœื ืชื•ื›ืœ ืœืฉื ื•ืช
ื”ืชื ื”ื’ื•ืช ื”ืคื•ื ืงืฆื™ื•ืช ืขืœ ื™ื“ื™ ืงื™ืฉื•ืจ ืœืกืคืจื™ื™ื” ืื—ืจืช. ื‘ื ื•ืกืฃ, ืžืชื™
ืคื•ื ืงืฆื™ื” ืžื–ื•ื”ื” ื›ืคื•ื ืงืฆื™ื” ืžื•ื‘ื ื™ืช, GCC ืขืฉื•ื™ื” ืœื”ืฉืชืžืฉ ื‘ืžื™ื“ืข ืขืœ ื›ืš
ืคื•ื ืงืฆื™ื” ื›ื“ื™ ืœื”ืชืจื™ืข ืขืœ ื‘ืขื™ื•ืช ื‘ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื” ื–ื•, ืื• ืœื™ืฆื•ืจ ืขื•ื“
ืงื•ื“ ื™ืขื™ืœ, ื’ื ืื ื”ืงื•ื“ ื”ืžืชืงื‘ืœ ืขื“ื™ื™ืŸ ืžื›ื™ืœ ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื” ื”ื–ื•. ืœ
ืœื“ื•ื’ืžื”, ืื–ื”ืจื•ืช ื ื™ืชื ื•ืช ืขื - ืขื‘ื•ืจ ืงืจื™ืื•ืช ื’ืจื•ืขื•ืช ืœ-"printf" ื›ืืฉืจ "printf" ื”ื•ื
ื™ื“ื•ืข ื›ื™ ืžื•ื‘ื ื” ื•-"strlen" ืื™ื ื ืžืฉื ื™ื ืืช ื”ื–ื™ื›ืจื•ืŸ ื”ื’ืœื•ื‘ืœื™.

ืขื -fno-builtin-ืคื•ื ืงืฆื™ื” ืืคืฉืจื•ืช ืจืง ืืช ื”ืคื•ื ืงืฆื™ื” ื”ืžื•ื‘ื ื™ืช ืคื•ื ืงืฆื™ื” ืžื•ืฉื‘ืช.
ืคื•ื ืงืฆื™ื” ืืกื•ืจ ืœื”ืชื—ื™ืœ ืขื __ื‘ื ื•ื™_. ืื ื™ืฉ ืฉื ืคื•ื ืงืฆื™ื” ืฉืื™ื ื” ืžื•ื‘ื ื™ืช
ื‘ื’ืจืกื” ื–ื• ืฉืœ GCC, ืืคืฉืจื•ืช ื–ื• ืžืชืขืœืžืช. ืื™ืŸ ืžืงื‘ื™ืœ
-ื‘ื ื•ื™-ืคื•ื ืงืฆื™ื” ืื•ึนืคึผึฐืฆึดื™ึธื”; ืื ื‘ืจืฆื•ื ืš ืœื”ืคืขื™ืœ ืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช ื‘ืื•ืคืŸ ืกืœืงื˜ื™ื‘ื™ ืžืชื™
ื‘ืืžืฆืขื•ืช -fno-builtin or -ืขื•ืžื“ ื‘ืคื ื™ ืขืฆืžื•, ืชื•ื›ืœ ืœื”ื’ื“ื™ืจ ืคืงื•ื“ื•ืช ืžืืงืจื• ื›ื’ื•ืŸ:

#define abs(n) __builtin_abs ((n))
#ื”ื’ื“ืจ strcpy (d, s) __ builtin_strcpy ((d), (s))

-ืื™ืจื•ื—
ื˜ืขืŸ ืฉื”ืงื•ืžืคื™ืœืฆื™ื” ืžื›ื•ื•ื ืช ืœืกื‘ื™ื‘ื” ืžืชืืจื—ืช. ื–ื” ืžืจืžื– -ื‘ื ื•ื™.
ืกื‘ื™ื‘ื” ืžืชืืจื—ืช ื”ื™ื ื›ื–ื• ืฉื‘ื” ื›ืœ ื”ืกืคืจื™ื™ื” ื”ืกื˜ื ื“ืจื˜ื™ืช ื–ืžื™ื ื”, ื•ื‘ืชื•ื›ื”
ืืฉืจ ืœ"ืจืืฉื™" ื™ืฉ ืกื•ื’ ื”ื—ื–ืจื” ืฉืœ "int". ื“ื•ื’ืžืื•ืช ื”ืŸ ื›ืžืขื˜ ื”ื›ืœ ืžืœื‘ื“ ื
ื’ึทืจืขึดื™ืŸ. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -fno ืขืฆืžืื™.

-ืขื•ืžื“ ื‘ืคื ื™ ืขืฆืžื•
ื˜ืขืŸ ืฉื”ืงื•ืžืคื™ืœืฆื™ื” ืžื›ื•ื•ื ืช ืœืกื‘ื™ื‘ื” ืขืฆืžืื™ืช. ื–ื” ืžืจืžื–
-fno-builtin. ืกื‘ื™ื‘ื” ืขืฆืžืื™ืช ื”ื™ื ืกื‘ื™ื‘ื” ืฉื‘ื” ื”ืกืคืจื™ื™ื” ื”ืกื˜ื ื“ืจื˜ื™ืช ืขืฉื•ื™ื” ืฉืœื
ืงื™ื™ื, ื•ื™ืชื›ืŸ ืฉื”ืคืขืœืช ื”ืชื•ื›ื ื™ืช ืœื ื‘ื”ื›ืจื— ืชื”ื™ื” ื‘-"ืจืืฉื™". ื”ื“ื•ื’ืžื” ื”ื›ื™ ื‘ืจื•ืจื”
ื”ื•ื ืœื™ื‘ืช ืžืขืจื›ืช ื”ื”ืคืขืœื”. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -fno-ืžืชืืจื—.

-fopenmp
ืืคืฉืจ ื˜ื™ืคื•ืœ ื‘ื”ื ื—ื™ื•ืช OpenMP "#pragma omp" ื‘-C/C++ ื•-"!$omp" ื‘-Fortran.
ืžืชื™ -fopenmp ืžืฆื•ื™ื™ืŸ, ื”ืžื”ื“ืจ ืžื™ื™ืฆืจ ืงื•ื“ ืžืงื‘ื™ืœ ื‘ื”ืชืื ืœ-
ืžืžืฉืง ืชื•ื›ื ื™ื•ืช ื™ื™ืฉื•ื OpenMP v3.0http://www.openmp.org/>. ืืคืฉืจื•ืช ื–ื•
ืžืจืžื– -phthread, ื•ืœื›ืŸ ื”ื•ื ื ืชืžืš ืจืง ืขืœ ื™ืขื“ื™ื ืฉื™ืฉ ืœื”ื ืชืžื™ื›ื” ืขื‘ื•ืจ
-phthread.

-fgnu-tm
ื›ืืฉืจ ื”ืืคืฉืจื•ืช -fgnu-tm ืžืฆื•ื™ืŸ, ื”ืžื”ื“ืจ ืžื™ื™ืฆืจ ืงื•ื“ ืขื‘ื•ืจ ืœื™ื ื•ืงืก
ื’ืจืกื” ืฉืœ ืžืกืžืš ืžืคืจื˜ ื”-ABI ื”ื ื•ื›ื—ื™ ืฉืœ ื–ื™ื›ืจื•ืŸ ืขืกืงื” ืฉืœ ืื™ื ื˜ืœ (ืขื“ื›ื•ืŸ
1.1, 6 ื‘ืžืื™ 2009). ื–ื•ื”ื™ ืชื›ื•ื ื” ื ื™ืกื™ื•ื ื™ืช ืฉื”ืžืžืฉืง ืฉืœื” ืขืฉื•ื™ ืœื”ืฉืชื ื•ืช
ื’ืจืกืื•ืช ืขืชื™ื“ื™ื•ืช ืฉืœ GCC, ื›ืืฉืจ ื”ืžืคืจื˜ ื”ืจืฉืžื™ ืžืฉืชื ื”. ืฉื™ืžื• ืœื‘ ืฉืœื
ื›ืœ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ื ืชืžื›ื•ืช ืขื‘ื•ืจ ืชื›ื•ื ื” ื–ื•.

ืœืžื™ื“ืข ื ื•ืกืฃ ืขืœ ื”ืชืžื™ื›ื” ืฉืœ GCC ื‘ื–ื™ื›ืจื•ืŸ ืขืกืงื”,

ืฉื™ื ืœื‘ ืฉืชื›ื•ื ืช ื–ื™ื›ืจื•ืŸ ื”ืขืกืงืื•ืช ืื™ื ื” ื ืชืžื›ืช ืขื ื—ืจื™ื’ื™ื ืœืœื ืฉื™ื—ื•ืช
(- ื—ืจื™ื’ื™ื ืœืœื ืฉื™ื—ื•ืช).

-fms-ื”ืจื—ื‘ื•ืช
ืงื‘ืœ ื›ืžื” ืžื‘ื ื™ื ืœื ืกื˜ื ื“ืจื˜ื™ื™ื ื”ืžืฉืžืฉื™ื ื‘ืงื‘ืฆื™ ื›ื•ืชืจื•ืช ืฉืœ Microsoft.

ื‘ืงื•ื“ C++, ื–ื” ืžืืคืฉืจ ืœืฉืžื•ืช ื—ื‘ืจื™ื ื‘ืžื‘ื ื™ื ืœื”ื™ื•ืช ื“ื•ืžื™ื ืœืกื•ื’ื™ื ืงื•ื“ืžื™ื
ื”ืฆื”ืจื•ืช.

typedef int UOW;
struct ABC {
UOW UOW;
};

ื—ืœืง ืžื”ืžืงืจื™ื ืฉืœ ืฉื“ื•ืช ืœืœื ืฉื ื‘ืžื‘ื ื™ื ื•ืื™ื’ื•ื“ื™ื ืžืชืงื‘ืœื™ื ืจืง ืขื ื–ื”
ืื•ึนืคึผึฐืฆึดื™ึธื”.

-fplan9-ื”ืจื—ื‘ื•ืช
ืงื‘ืœ ื›ืžื” ืžื‘ื ื™ื ืœื ืกื˜ื ื“ืจื˜ื™ื™ื ื”ืžืฉืžืฉื™ื ื‘ืงื•ื“ ืชื•ื›ื ื™ืช 9.

ื–ื” ืžืืคืฉืจ -fms-ื”ืจื—ื‘ื•ืช, ืžืืคืฉืจ ื”ืขื‘ืจืช ืžืฆื‘ื™ืขื™ื ืœืžื‘ื ื™ื ืขื ืื ื•ื ื™ืžื™
ืฉื“ื•ืช ืœืคื•ื ืงืฆื™ื•ืช ืฉืžืฆืคื•ืช ืžืฆื‘ื™ืขื™ื ืœืืœืžื ื˜ื™ื ืžืกื•ื’ ื”ืฉื“ื”, ื•
ืžืชื™ืจ ื”ืชื™ื™ื—ืกื•ืช ืœืฉื“ื•ืช ืื ื•ื ื™ืžื™ื™ื ืฉื”ื•ื›ืจื–ื• ื‘ืืžืฆืขื•ืช typedef. ื–ื” ืจืง
ื ืชืžืš ืขื‘ื•ืจ C, ืœื C++.

-ื˜ืจื™ื’ืจืคื™ื
ืชืžื™ื›ื” ื‘ื˜ืจื™ื’ืจืคื™ื ISO C. ื” -ืื ืกื™ ืืคืฉืจื•ืช (ื•ื’ื -ืกื˜ื“ ืืคืฉืจื•ื™ื•ืช ืขื‘ื•ืจ ISO C ืงืคื“ื ื™
ื”ืชืืžื”) ืžืจืžื–ืช -ื˜ืจื™ื’ืจืคื™ื.

-ืžึธืกื•ึนืจืชึดื™
-ืžืกื•ืจืชื™-cpp
ื‘ืขื‘ืจ, ืืคืฉืจื•ื™ื•ืช ืืœื• ื’ืจืžื• ืœ-GCC ืœื ืกื•ืช ืœื—ืงื•ืช ืžื”ื“ืจ C ืžืจืืฉ ืกื˜ื ื“ืจื˜ื™.
ื›ืขืช ื”ื ื ืชืžื›ื™ื ืจืง ืขื -E ื”ื—ืœืฃ. ื”ืžืขื‘ื“ ื”ืžืงื“ื™ื ืžืžืฉื™ืš ืœืชืžื•ืš
ืžืฆื‘ ื˜ืจื•ื ืกื˜ื ื“ืจื˜ื™. ืขื™ื™ืŸ ื‘ืžื“ืจื™ืš ืฉืœ GNU CPP ืœืคืจื˜ื™ื.

-fcond-ื—ื•ืกืจ ื”ืชืืžื”
ืืคืฉืจ ื‘ื™ื˜ื•ื™ื™ื ืžื•ืชื ื™ื ืขื ื˜ื™ืคื•ืกื™ื ืœื ืชื•ืืžื™ื ื‘ืืจื’ื•ืžื ื˜ ื”ืฉื ื™ ื•ื”ืฉืœื™ืฉื™.
ืขืจื›ื• ืฉืœ ื‘ื™ื˜ื•ื™ ื›ื–ื” ื‘ื˜ืœ. ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ื ืชืžื›ืช ืขื‘ื•ืจ C++.

-ื”ืžืจื•ืช-ื•ืงื˜ื•ืจ ืคืฉืชืŸ
ืืคืฉืจ ื”ืžืจื•ืช ืžืจื•ืžื–ื•ืช ื‘ื™ืŸ ื•ืงื˜ื•ืจื™ื ืขื ืžืกืคืจ ืฉื•ื ื” ืฉืœ ืืœืžื ื˜ื™ื ื•/ืื•
ืกื•ื’ื™ ืืœืžื ื˜ื™ื ืœื ืชื•ืืžื™ื. ืื™ืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืขื‘ื•ืจ ืงื•ื“ ื—ื“ืฉ.

-ืžื—ื•ืžืŸ-char
ืชืŸ ืœืกื•ื’ "char" ืœื”ื™ื•ืช ืœื ื—ืชื•ื, ื›ืžื• "char unsigned".

ืœื›ืœ ืกื•ื’ ืฉืœ ืžื›ื•ื ื” ื™ืฉ ื‘ืจื™ืจืช ืžื—ื“ืœ ืœืžื” "char" ืฆืจื™ืš ืœื”ื™ื•ืช. ื–ื” ืื• ื›ืžื•
"char unsigned" ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืื• ื›ืžื• "char unsigned" ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

ื‘ืื•ืคืŸ ืื™ื“ื™ืืœื™, ืชื•ื›ื ื™ืช ื ื™ื™ื“ืช ืฆืจื™ื›ื” ืชืžื™ื“ ืœื”ืฉืชืžืฉ ื‘-"char signed" ืื• "char unsigned" ื›ืืฉืจ ื”ื™ื
ืชืœื•ื™ ื‘ื—ืชื™ืžื•ืช ืฉืœ ืื•ื‘ื™ื™ืงื˜. ืื‘ืœ ืชื•ื›ื ื™ื•ืช ืจื‘ื•ืช ื ื›ืชื‘ื• ืœืฉื™ืžื•ืฉ
ืจื’ื™ืœ "char" ื•ืœืฆืคื•ืช ืฉื–ื” ื™ื”ื™ื” ื—ืชื•ื, ืื• ืœืฆืคื•ืช ืฉื–ื” ืœื ื™ื”ื™ื” ื—ืชื•ื, ืชืœื•ื™ ื‘
ืžื›ื•ื ื•ืช ืฉืขื‘ื•ืจืŸ ื ื›ืชื‘ื•. ืืคืฉืจื•ืช ื–ื•, ื•ื”ื”ืคื•ื›ื” ืฉืœื”, ืžืืคืฉืจื•ืช ืœืš ืœืขืฉื•ืช ื›ื–ื”
ืขื‘ื•ื“ื” ื‘ืชื•ื›ื ื™ืช ืขื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื”ืคื•ื›ื”.

ื”ืกื•ื’ "char" ื”ื•ื ืชืžื™ื“ ืกื•ื’ ื ื‘ื“ืœ ืžื›ืœ "char ื—ืชื•ื" ืื• "ืœื ื—ืชื•ื".
char", ืœืžืจื•ืช ืฉื”ืชื ื”ื’ื•ืชื• ืชืžื™ื“ ื“ื•ืžื” ืœืื—ื“ ืžื”ืฉื ื™ื™ื ื”ืœืœื•.

-fsigned-char
ืชืŸ ืœืกื•ื’ "char" ืœื”ื™ื•ืช ื—ืชื•ื, ื›ืžื• "ื—ืชื•ื char".

ืฉื™ื ืœื‘ ืฉื–ื” ืฉื•ื•ื” ืœ -fno-unsigned-char, ืฉื”ื™ื ื”ืฆื•ืจื” ื”ืฉืœื™ืœื™ืช ืฉืœ
-ืžื—ื•ืžืŸ-char. ื›ืžื• ื›ืŸ, ื”ืื•ืคืฆื™ื” -fno-ื—ืชื•ื-char ืฉื•ื•ื”
-ืžื—ื•ืžืŸ-char.

-fsigned-bitfields
-ืฉื“ื•ืช ืกื™ื‘ื™ื•ืช ืขื ืกื™ืžื ื™ ื›ื™ืฃ
-fno-signed-bitfields
-fno-unsigned-bitfields
ืืคืฉืจื•ื™ื•ืช ืืœื” ืงื•ื‘ืขื•ืช ืื ืฉื“ื” ืกื™ื‘ื™ื•ืช ื—ืชื•ื ืื• ืœื ื—ืชื•ื, ื›ืืฉืจ ื”ื”ืฆื”ืจื”
ืื™ื ื• ืžืฉืชืžืฉ ื‘"ื—ืชื•ื" ืื• ื‘"ืœื ื—ืชื•ื". ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืฉื“ื” ืกื™ื‘ื™ื•ืช ื›ื–ื” ื—ืชื•ื,
ื›ื™ ื–ื” ืขืงื‘ื™: ืกื•ื’ื™ ื”ืžืกืคืจื™ื ื”ืฉืœืžื™ื ื”ื‘ืกื™ืกื™ื™ื ื›ื’ื•ืŸ "int" ื”ื ื˜ื™ืคื•ืกื™ื ืขื ืกื™ืžื ื™ื.

ืืคืฉืจื•ื™ื•ืช ืฉืœื™ื˜ื” C + + ื ื™ื‘
ืกืขื™ืฃ ื–ื” ืžืชืืจ ืืช ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื‘ืขืœื•ืช ืžืฉืžืขื•ืช ืจืง ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช C++.
ืืชื” ื™ื›ื•ืœ ื’ื ืœื”ืฉืชืžืฉ ื‘ืจื•ื‘ ืืคืฉืจื•ื™ื•ืช ื”ืžื”ื“ืจ ืฉืœ GNU ืœืœื ืงืฉืจ ืœืฉืคื” ืฉืœ ื”ืชื•ื›ื ื™ืช ืฉืœืš
ื ืžืฆื ื‘. ืœื“ื•ื’ืžื”, ืืชื” ื™ื›ื•ืœ ืœื”ืจื›ื™ื‘ ืงื•ื‘ืฅ "firstClass.C" ื›ืš:

g++ -g -frepo -O -c firstClass.C

ื‘ื“ื•ื’ืžื” ื–ื•, ื‘ืœื‘ื“ -ืคืจืคื• ื”ื™ื ืืคืฉืจื•ืช ื”ืžื™ื•ืขื“ืช ืจืง ืœืชื•ื›ื ื™ื•ืช C++; ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘
ืืคืฉืจื•ื™ื•ืช ืื—ืจื•ืช ื‘ื›ืœ ืฉืคื” ื”ื ืชืžื›ืช ืขืœ ื™ื“ื™ GCC.

ื”ื ื” ืจืฉื™ืžื” ืฉืœ ืืคืฉืจื•ื™ื•ืช ืฉื›ืŸ ืจืง ืœื”ื™ื“ื•ืจ ืชื•ื›ื ื™ื•ืช C++:

-fabi-version=n
ื”ืฉืชืžืฉ ื‘ื’ืจืกื” n ืฉืœ C++ ABI. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ื’ืจืกื” 2.

ื’ืจืกื” 0 ืžืชื™ื™ื—ืกืช ืœื’ืจืกื” ื”ืžืชืื™ืžื” ื‘ื™ื•ืชืจ ืœืžืคืจื˜ C++ ABI.
ืœื›ืŸ, ื”-ABI ื”ืžืชืงื‘ืœ ื‘ืืžืฆืขื•ืช ื’ืจืกื” 0 ื™ืฉืชื ื” ื‘ื’ืจืกืื•ืช ืฉื•ื ื•ืช ืฉืœ G++
ื›ืžื• ื‘ืื’ื™ื ืฉืœ ABI ืžืชื•ืงื ื™ื.

ื’ืจืกื” 1 ื”ื™ื ื”ื’ืจืกื” ืฉืœ C++ ABI ืฉื”ื•ืคื™ืขื” ืœืจืืฉื•ื ื” ื‘-G++ 3.2.

ื’ืจืกื” 2 ื”ื™ื ื”ื’ืจืกื” ืฉืœ C++ ABI ืฉื”ื•ืคื™ืขื” ืœืจืืฉื•ื ื” ื‘-G++ 3.4.

ื’ืจืกื” 3 ืžืชืงื ืช ืฉื’ื™ืื” ื‘ืฉื™ื ื•ื™ ื›ืชื•ื‘ืช ืงื‘ื•ืขื” ื›ืืจื’ื•ืžื ื˜ ืชื‘ื ื™ืช.

ื’ืจืกื” 4, ืฉื”ื•ืคื™ืขื” ืœืจืืฉื•ื ื” ื‘-G++ 4.5, ืžื™ื™ืฉืžืช ืžื ื ื’ืœ ืกื˜ื ื“ืจื˜ื™ ืขื‘ื•ืจ ื•ืงื˜ื•ืจ
ืกื•ื’ื™ื.

ื’ืจืกื” 5, ืฉื”ื•ืคื™ืขื” ืœืจืืฉื•ื ื” ื‘-G++ 4.6, ืžืชืงื ืช ืืช ื”ืคื’ื™ืขื” ื‘ืชื›ื•ื ื”
const/volatile ืขืœ ืกื•ื’ื™ ืžืฆื‘ื™ืข ืคื•ื ืงืฆื™ื”, decltype ืฉืœ decl ืจื’ื™ืœ ื•ืฉื™ืžื•ืฉ ื‘-a
ืคืจืžื˜ืจ ืคื•ื ืงืฆื™ื” ื‘ื”ืฆื”ืจื” ืขืœ ืคืจืžื˜ืจ ืื—ืจ.

ื’ืจืกื” 6, ืฉื”ื•ืคื™ืขื” ืœืจืืฉื•ื ื” ื‘-G++ 4.7, ืžืชืงื ืช ืืช ื”ืชื ื”ื’ื•ืช ื”ืงื™ื“ื•ื ืฉืœ C++11
ืชืงืฆื™ืจื™ื ื‘ื˜ื•ื•ื—ื™ื ื•ื”ืฉื—ืชื” ืฉืœ ืขืจื›ื•ืช ืืจื’ื•ืžื ื˜ื™ื ืฉืœ ืชื‘ื ื™ืช, const/static_cast, prefix ++
ื•--, ื•ืคื•ื ืงืฆื™ื™ืช ื”ื™ืงืฃ ืžื—ืœืงื” ื”ืžืฉืžืฉืช ื›ืืจื’ื•ืžื ื˜ ืชื‘ื ื™ืช.

ืจืื” ื’ื -ื•ื•ืื‘ื™.

-fno-ื‘ืงืจืช ื’ื™ืฉื”
ื›ื‘ื” ืืช ื›ืœ ื‘ื“ื™ืงืช ื”ื’ื™ืฉื”. ืžืชื’ ื–ื” ืฉื™ืžื•ืฉื™ ื‘ืขื™ืงืจ ืœืขืงื•ืฃ ื‘ืื’ื™ื ื‘
ืงื•ื“ ื‘ืงืจืช ื”ื’ื™ืฉื”.

-fcheck-ื—ื“ืฉ
ื‘ื“ื•ืง ืฉื”ืžืฆื‘ื™ืข ืฉื”ื•ื—ื–ืจ ืขืœ ื™ื“ื™ "ืžืคืขื™ืœ ื—ื“ืฉ" ืื™ื ื• ืจื™ืง ืœืคื ื™ ืฉืชื ืกื” ืœืขืฉื•ืช ื–ืืช
ืœืฉื ื•ืช ืืช ื”ืื—ืกื•ืŸ ืฉื”ื•ืงืฆื”. ื‘ื“ื™ืงื” ื–ื• ืžื™ื•ืชืจืช ื‘ื“ืจืš ื›ืœืœ ืžื›ื™ื•ื•ืŸ ืฉื”-C++
ื”ืชืงืŸ ืžืฆื™ื™ืŸ ืฉ"ืžืคืขื™ืœ ื—ื“ืฉ" ืžื—ื–ื™ืจ ืจืง 0 ืื ื”ื•ื ืžื•ื›ืจื– ืœื–ืจื•ืง()ื‘
ื‘ืžืงืจื” ื–ื” ื”ืžื”ื“ืจ ืชืžื™ื“ ื‘ื•ื“ืง ืืช ืขืจืš ื”ื”ื—ื–ืจื” ื’ื ืœืœื ืืคืฉืจื•ืช ื–ื•. ื‘
ื›ืœ ืฉืืจ ื”ืžืงืจื™ื, ื›ืืฉืจ ืœ"ืžืคืขื™ืœ ื—ื“ืฉ" ื™ืฉ ืžืคืจื˜ ื—ืจื™ื’ ืœื ืจื™ืง, ื–ื™ื›ืจื•ืŸ
ืชืฉื™ืฉื•ืช ืžืกื•ืžื ืช ืขืœ ื™ื“ื™ ื–ืจื™ืงืช "std::bad_alloc". ืจืื” ื’ื ื—ื“ืฉ (ื ื•ื˜ืจื•ืจ).

-fconstexpr-depth=n
ื”ื’ื“ืจ ืืช ืขื•ืžืง ื”ื”ืขืจื›ื” ื”ืžืงื•ื ืŸ ื”ืžืจื‘ื™ ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช C++11 constexpr ืœ n. ื’ื‘ื•ืœ
ื ื—ื•ืฅ ื›ื“ื™ ืœื–ื”ื•ืช ืจืงื•ืจืกื™ื” ืื™ื ืกื•ืคื™ืช ื‘ืžื”ืœืš ื”ืขืจื›ืช ื‘ื™ื˜ื•ื™ ืžืชืžื“ืช. ื”
ื”ืžื™ื ื™ืžื•ื ืฉืฆื•ื™ืŸ ื‘ืชืงืŸ ื”ื•ื 512.

-fdeduce-init-list
ืืคืฉืจ ื ื™ื›ื•ื™ ืฉืœ ืคืจืžื˜ืจ ืžืกื•ื’ ืชื‘ื ื™ืช ื›-"std::initializer_list" ืžืกื•ื’ืจ-
ืจืฉื™ืžืช ื”ืืชื—ื•ืœ ื”ืžืฆื•ืจืคืช, ื›ืœื•ืžืจ

ืชื‘ื ื™ืช ืื•ื˜ื•ืžื˜ื™ ืงื“ื™ืžื” (T t) -> decltype (realfn (t))
{
return realfn (t);
}

void f()
{
ืงื“ื™ืžื”({1,2}); // ื”ืขื‘ืจ ืฉื™ื—ื” >
}

ื ื™ื›ื•ื™ ื–ื” ื™ื•ืฉื ื›ื”ืจื—ื‘ื” ืืคืฉืจื™ืช ืœื”ืฆืขื” ื”ืžืงื•ืจื™ืช
ืกืžื ื˜ื™ืงื” ืขื‘ื•ืจ ืชืงืŸ C++11, ืืš ืœื ื”ื™ื™ืชื” ื—ืœืง ืžื”ืชืงืŸ ื”ืกื•ืคื™, ืื– ื–ื”ื•
ืžื•ืฉื‘ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ืืคืฉืจื•ืช ื–ื• ื”ื•ืฆืื” ืžืฉื™ืžื•ืฉ, ื•ื™ื™ืชื›ืŸ ืฉืชื•ืกืจ ื‘ืขืชื™ื“
ื’ืจืกื” ืฉืœ G++.

-ื”ื–ืจืงืช ื—ื‘ืจ
ื”ื›ื ืก ืคื•ื ืงืฆื™ื•ืช ื—ื‘ืจ ืœืžืจื—ื‘ ื”ืฉืžื•ืช ื”ืžืงื™ืฃ, ื›ืš ืฉื”ืŸ ื™ื”ื™ื• ื’ืœื•ื™ื•ืช ื‘ื—ื•ืฅ
ื”ื™ืงืฃ ื”ืžื—ืœืงื” ืฉื‘ื” ื”ื ืžื•ื›ืจื–ื™ื. ืชื•ืขื“ื• ืคื•ื ืงืฆื™ื•ืช ืฉืœ ื—ื‘ืจ
ืœืขื‘ื•ื“ ื‘ืฆื•ืจื” ื–ื• ื‘ืžื“ืจื™ืš ื”ืขื–ืจ ื”ื™ืฉืŸ ืฉืœ C++ ื”ืžื•ืขืจ, ื•ื‘ื’ื™ืจืกืื•ืช ืฉืœ G++ ืœืคื ื™ ื›ืŸ
4.1 ืชืžื™ื“ ืขื‘ื“ ื›ืš. ืขื ื–ืืช, ื‘-ISO C++ ืคื•ื ืงืฆื™ื™ืช ื—ื‘ืจ ืฉืœื
ื”ืžื•ื›ืจื– ื‘ื”ื™ืงืฃ ืžืงื™ืฃ ื ื™ืชืŸ ืœืžืฆื•ื ืจืง ื‘ืืžืฆืขื•ืช ื—ื™ืคื•ืฉ ืชืœื•ื™ ืืจื’ื•ืžื ื˜ื™ื.
ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช ืœื”ื–ืจืงืช ื—ื‘ืจื™ื ื›ืคื™ ืฉื”ื™ื• ื‘ืžื”ื“ื•ืจื•ืช ืงื•ื“ืžื•ืช.

ืืคืฉืจื•ืช ื–ื• ืžื™ื•ืขื“ืช ืœืชืื™ืžื•ืช, ื•ื™ื™ืชื›ืŸ ืฉื”ื™ื ืชื•ืกืจ ื‘ืžื”ื“ื•ืจื” ืขืชื™ื“ื™ืช ืฉืœ G++.

-fno-elide-constructors
ืชืงืŸ C++ ืžืืคืฉืจ ืœืžื™ืžื•ืฉ ืœื”ืฉืžื™ื˜ ื™ืฆื™ืจืช ื–ืžื ื™ ืฉื”ื•ื ื‘ืœื‘ื“
ืžืฉืžืฉ ืœืืชื—ื•ืœ ืื•ื‘ื™ื™ืงื˜ ืื—ืจ ืžืื•ืชื• ืกื•ื’. ืฆื™ื•ืŸ ืืคืฉืจื•ืช ื–ื• ืžืฉื‘ื™ืช
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื–ื•, ื•ืžืืœืฅ ืืช G++ ืœืงืจื•ื ืœื‘ื ืื™ ื”ื”ืขืชืงื” ื‘ื›ืœ ื”ืžืงืจื™ื.

-fno-enforce-eh-specs
ืืœ ืชื™ืฆื•ืจ ืงื•ื“ ื›ื“ื™ ืœื‘ื“ื•ืง ืื ื™ืฉ ื”ืคืจื” ืฉืœ ืžืคืจื˜ื™ ื—ืจื™ื’ื™ื ื‘ื–ืžืŸ ื”ืจื™ืฆื”.
ืืคืฉืจื•ืช ื–ื• ืžืคืจื” ืืช ืชืงืŸ C++, ืืš ืขืฉื•ื™ื” ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ืช ืœื”ืงื˜ื ืช ื’ื•ื“ืœ ื”ืงื•ื“ ื‘
ื™ื™ืฆื•ืจ ื‘ื•ื ื”, ืžืžืฉ ื›ืžื• ื”ื’ื“ืจื” NDEBUG. ื–ื” ืœื ื ื•ืชืŸ ื”ืจืฉืืช ืงื•ื“ ืžืฉืชืžืฉ
ืœื–ืจื•ืง ื—ืจื™ื’ื™ื ื‘ื ื™ื’ื•ื“ ืœืžืคืจื˜ ื”ื—ืจื™ื’; ื”ืžื”ื“ืจ ืขื“ื™ื™ืŸ
ืžื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื‘ื”ืชื‘ืกืก ืขืœ ื”ืžืคืจื˜ื™ื, ื›ืš ืฉื”ืฉืœื›ืช ื—ืจื™ื’ื” ื‘ืœืชื™ ืฆืคื•ื™ื” ื’ื•ืจืžืช ืœืชื•ืฆืื”
ื”ืชื ื”ื’ื•ืช ืœื ืžื•ื’ื“ืจืช ื‘ื–ืžืŸ ืจื™ืฆื”.

-fextern-tls-init
-fno-extern-tls-init
ืชืงื ื™ C++11 ื•-OpenMP ืžืืคืฉืจื™ื thread_local ื• ื—ื•ื˜ ืคืจื˜ื™ ืžืฉืชื ื™ื ืฉื™ืฉ
ืืชื—ื•ืœ ื“ื™ื ืžื™ (ื–ืžืŸ ืจื™ืฆื”). ื›ื“ื™ ืœืชืžื•ืš ื‘ื›ืš, ื›ืœ ืฉื™ืžื•ืฉ ื‘ืžืฉืชื ื” ื›ื–ื” ื”ื•ืœืš
ื‘ืืžืฆืขื•ืช ืคื•ื ืงืฆื™ื™ืช ืขื˜ื™ืคื” ื”ืžื‘ืฆืขืช ื›ืœ ืืชื—ื•ืœ ื”ื›ืจื—ื™. ื›ืืฉืจ ื”ืฉื™ืžื•ืฉ
ื•ื”ื’ื“ืจืช ื”ืžืฉืชื ื” ื ืžืฆืื™ื ื‘ืื•ืชื” ื™ื—ื™ื“ืช ืชืจื’ื•ื, ืชืงื•ืจื” ื–ื• ื™ื›ื•ืœื” ืœื”ื™ื•ืช
ืžื•ืชืื ืžืฉื, ืื‘ืœ ื›ืืฉืจ ื”ืฉื™ืžื•ืฉ ื”ื•ื ื‘ื™ื—ื™ื“ืช ืชืจื’ื•ื ืื—ืจืช ื™ืฉ
ืชืงื•ืจื” ืžืฉืžืขื•ืชื™ืช ื’ื ืื ื”ืžืฉืชื ื” ืœื ื‘ืืžืช ืฆืจื™ืš ื“ื™ื ืžื™ืงื”
ืึดืชื—ื•ึผืœ. ืื ื”ืžืชื›ื ืช ื™ื›ื•ืœ ืœื”ื™ื•ืช ื‘ื˜ื•ื— ืฉืื™ืŸ ืฉื™ืžื•ืฉ ื‘ืžืฉืชื ื” ื‘-non-
ื”ื’ื“ืจืช TU ืฆืจื™ื›ื” ืœื”ืคืขื™ืœ ืืชื—ื•ืœ ื“ื™ื ืžื™ (ืื• ื‘ื’ืœืœ ืฉื”ืžืฉืชื ื” ื”ื•ื
ืืชื—ื•ืœ ืกื˜ื˜ื™, ืื• ืฉื™ื‘ื•ืฆืข ืฉื™ืžื•ืฉ ื‘ืžืฉืชื ื” ื‘-TU ื”ืžื’ื“ื™ืจ
ืœืคื ื™ ื›ืœ ืฉื™ืžื•ืฉ ื‘-TU ืื—ืจ), ื”ื ื™ื›ื•ืœื™ื ืœืžื ื•ืข ืืช ื”ืชืงื•ืจื” ื”ื–ื• ืขื
-fno-extern-tls-init ืื•ึนืคึผึฐืฆึดื™ึธื”.

ื‘ืžื˜ืจื•ืช ื”ืชื•ืžื›ื•ืช ื‘ื›ื™ื ื•ื™ื™ ืกืžืœื™ื, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fextern-tls-init. ืขืœ ืžื˜ืจื•ืช
ืฉืื™ื ื ืชื•ืžื›ื™ื ื‘ื›ื™ื ื•ื™ื™ ืกืžืœื™ื, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fno-extern-tls-init.

-ffor-scope
-fno-for-scope
If -ffor-scope ืžืฆื•ื™ืŸ, ื”ื™ืงืฃ ื”ืžืฉืชื ื™ื ื”ืžื•ืฆื”ืจื™ื ื‘-a ืขื‘ื•ืจ-init-statement
ืžื•ื’ื‘ืœ ืœ ืœ ืœื•ืœืื” ืขืฆืžื”, ื›ืคื™ ืฉืฆื•ื™ืŸ ื‘ืชืงืŸ C++. ืื
-fno-for-scope ืžืฆื•ื™ืŸ, ื”ื™ืงืฃ ื”ืžืฉืชื ื™ื ื”ืžื•ืฆื”ืจื™ื ื‘-a ืขื‘ื•ืจ-init-statement
ืžืฉืชืจืข ืขื“ ืœืงืฆื” ื”ื˜ื•ื•ื— ื”ืžืงื™ืฃ, ื›ืคื™ ืฉื”ื™ื” ื‘ืžืงืจื” ื‘ื’ืจืกืื•ืช ื™ืฉื ื•ืช ืฉืœ G++, ื•
ื™ื™ืฉื•ืžื™ื ืื—ืจื™ื (ืžืกื•ืจืชื™ื™ื) ืฉืœ C++.

ืื ืืฃ ื”ื“ื’ืœ ืœื ื ื™ืชืŸ, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœืขืงื•ื‘ ืื—ืจ ื”ืชืงืŸ, ืื‘ืœ ืœืืคืฉืจ ื•ืœืชืช
ืื–ื”ืจื” ืขื‘ื•ืจ ืงื•ื“ ื‘ืกื’ื ื•ืŸ ื™ืฉืŸ ืฉืื—ืจืช ื™ื”ื™ื” ืœื ื—ื•ืงื™, ืื• ืฉื™ื”ื™ื” ืฉื•ื ื”
ื”ืชื ื”ื’ื•ืช.

-fno-gnu-ืžื™ืœื•ืช ืžืคืชื—
ืืœ ืชื–ื”ื” ืืช "typeof" ื›ืžื™ืœืช ืžืคืชื—, ื›ืš ืฉื”ืงื•ื“ ื™ื•ื›ืœ ืœื”ืฉืชืžืฉ ื‘ืžื™ืœื” ื–ื• ื›ืžื™ืœืช ืžืคืชื—
ืžื–ื”ื”. ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ืžื™ืœืช ื”ืžืคืชื— "__typeof__" ื‘ืžืงื•ื ื–ืืช. -ืื ืกื™ ืžืจืžื–
-fno-gnu-ืžื™ืœื•ืช ืžืคืชื—.

-fno-implicit-templates
ืœืขื•ืœื ืืœ ืชืคืœื•ื˜ ืงื•ื“ ืขื‘ื•ืจ ืชื‘ื ื™ื•ืช ืฉืื™ื ืŸ ืžื•ื˜ื‘ืขื•ืช ื”ืžื•ืคืขืœื•ืช ื‘ืื•ืคืŸ ืžืจื•ืžื– (ื›ืœื•ืžืจ ืขืœ ื™ื“ื™
ืœื”ืฉืชืžืฉ); ืคื•ืœื˜ ืงื•ื“ ืจืง ืขื‘ื•ืจ ืžื•ืคืขื™ื ืžืคื•ืจืฉื™ื.

-fno-implicit-inline-templates
ืืœ ืชืคืœื•ื˜ ืงื•ื“ ื’ื ืขื‘ื•ืจ ืžื•ืคืขื™ื ืžืจื•ืžื–ื™ื ืฉืœ ืชื‘ื ื™ื•ืช ืžื•ื˜ื‘ืขื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื”ื•ื ืœื˜ืคืœ ื‘-inlines ื‘ืฆื•ืจื” ืฉื•ื ื” ื›ืš ืฉืงื•ืžืคื™ืœืฆื™ื” ืขื ื•ื‘ืœื™ ืฆื•ืจืš ื‘ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ืื•ืชื” ืงื‘ื•ืฆื” ืฉืœ ืžื•ืคืขื™ื ืžืคื•ืจืฉื™ื.

-fno-implement-inlines
ื›ื“ื™ ืœื—ืกื•ืš ืžืงื•ื, ืืœ ืชืคืœื•ื˜ ืขื•ืชืงื™ื ืžื—ื•ืฅ ืœืงื• ืฉืœ ืคื•ื ืงืฆื™ื•ืช ืžื•ื˜ื‘ืขื•ืช ื”ื ืฉืœื˜ื•ืช ืขืœ ื™ื“ื™
#ืคืจื’ืžื” ื”ืคืขืœื”. ื–ื” ื’ื•ืจื ืœืฉื’ื™ืื•ืช ืžืงืฉืจ ืื ืคื•ื ืงืฆื™ื•ืช ืืœื” ืื™ื ืŸ ืžื•ื˜ื‘ืขื•ืช
ื‘ื›ืœ ืžืงื•ื ืฉื”ื ื ืงืจืื™ื.

-fms-ื”ืจื—ื‘ื•ืช
ื”ืฉื‘ืช ืื–ื”ืจื•ืช Wpedantic ืœื’ื‘ื™ ืžื‘ื ื™ื ื”ืžืฉืžืฉื™ื ื‘-MFC, ื›ื’ื•ืŸ int and
ืงื‘ืœืช ืžืฆื‘ื™ืข ืœืคื•ื ืงืฆื™ื™ืช ื—ื‘ืจ ื‘ืืžืฆืขื•ืช ืชื—ื‘ื™ืจ ืœื ืกื˜ื ื“ืจื˜ื™.

-fno-nonansi-builtins
ื”ืฉื‘ืช ื”ืฆื”ืจื•ืช ืžื•ื‘ื ื•ืช ืฉืœ ืคื•ื ืงืฆื™ื•ืช ืฉืื™ื ืŸ ืžื—ื™ื™ื‘ื•ืช ANSI/ISO C. ืืœื”
ื›ืœื•ืœ "ffs", "alloca", "_exit", "index", "bzero", "conjf" ื•ืขื•ื“ ืงืฉื•ืจื™ื ืื—ืจื™ื
ืคื•ื ืงืฆื™ื•ืช.

-fnothrow-opt
ื”ืชื™ื™ื—ืก ืœืžืคืจื˜ ื—ืจื™ื’ "throw()" ื›ืื™ืœื• ื”ื•ื ืžืคืจื˜ "noexcept".
ืœื”ืงื˜ื™ืŸ ืื• ืœื‘ื˜ืœ ืืช ื”ืชืงื•ืจื” ืฉืœ ื’ื•ื“ืœ ื”ื˜ืงืกื˜ ื‘ื™ื—ืก ืœืคื•ื ืงืฆื™ื” ืœืœื ื™ื•ืฆื ืžืŸ ื”ื›ืœืœ
ืžึดืคืจึธื˜. ืื ืœืคื•ื ืงืฆื™ื” ื™ืฉ ืžืฉืชื ื™ื ืžืงื•ืžื™ื™ื ืžืกื•ื’ื™ื ืขื ืœื ื˜ืจื™ื•ื•ื™ืืœื™
ืžืฉืžื™ื“ื™ื, ืžืคืจื˜ ื”ื—ืจื™ื’ ืœืžืขืฉื” ื”ื•ืคืš ืืช ื”ืคื•ื ืงืฆื™ื” ืœืงื˜ืŸ ื™ื•ืชืจ ืžื›ื™ื•ื•ืŸ
ื ื™ืชืŸ ืœื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื ื™ืงื•ื™ ื”-EH ืขื‘ื•ืจ ืžืฉืชื ื™ื ืืœื”. ื”ืืคืงื˜ ื”ืกืžื ื˜ื™ ื”ื•ื
ื—ืจื™ื’ ืฉื ื–ืจืง ืžืคื•ื ืงืฆื™ื” ืขื ืžืคืจื˜ ื—ืจื™ื’ ื›ื–ื”
ื’ื•ืจื ืœืงืจื™ืื” "ืœื”ืคืกื™ืง" ื•ืœื ืœ"ื‘ืœืชื™ ืฆืคื•ื™".

-fno-ืฉืžื•ืช ืžืคืขื™ืœื™ื
ืืœ ืชืชื™ื™ื—ืก ืœืžื™ืœื•ืช ื”ืžืคืชื— ืฉืœ ืฉื ื”ืžืคืขื™ืœ "and", "bitand", "bitor", "compl", "ืœื", "ืื•"
ื•-"xor" ื›ืžื™ืœื™ื ื ืจื“ืคื•ืช ื›ืžื™ืœื•ืช ืžืคืชื—.

-fno-ืื•ืคืฆื™ื•ื ืœื™-ื“ื™ืื’ืก
ื‘ื˜ืœ ืื‘ื—ื•ืŸ ืฉื”ืชืงืŸ ืื•ืžืจ ืฉืงื•ืžืคื™ื™ืœืจ ืœื ืฆืจื™ืš ืœื”ื ืคื™ืง.
ื ื›ื•ืŸ ืœืขื›ืฉื™ื•, ื”ืื‘ื—ื•ืŸ ื”ื™ื—ื™ื“ ืฉื›ื–ื” ืฉื”ื•ืคืง ืขืœ ื™ื“ื™ G++ ื”ื•ื ื–ื” ืฉืœ ืฉื ืฉื™ืฉ ืœื•
ืžืฉืžืขื•ื™ื•ืช ืžืจื•ื‘ื•ืช ื‘ืชื•ืš ืžื—ืœืงื”.

-ืžืชื™ืจื ื™ืช
ืฉื“ืจื’ ืœืื—ื•ืจ ื—ืœืง ืื‘ื—ื•ืŸ ืœื’ื‘ื™ ืงื•ื“ ืœื ืชื•ืื ืžืฉื’ื™ืื•ืช ืœืื–ื”ืจื•ืช. ืœื›ืŸ,
ื‘ืืžืฆืขื•ืช -ืžืชื™ืจื ื™ืช ืžืืคืฉืจ ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืงื•ื“ ืฉืื™ื ื• ืชื•ืื.

-fno-pretty-templates
ื›ืืฉืจ ื”ื•ื“ืขืช ืฉื’ื™ืื” ืžืชื™ื™ื—ืกืช ืœื”ืชืžื—ื•ืช ืฉืœ ืชื‘ื ื™ืช ืคื•ื ืงืฆื™ื”, ื”ืžื”ื“ืจ
ื‘ื“ืจืš ื›ืœืœ ืžื“ืคื™ืก ืืช ื”ื—ืชื™ืžื” ืฉืœ ื”ืชื‘ื ื™ืช ื•ืื—ืจื™ื” ืืช ื”ืืจื’ื•ืžื ื˜ื™ื ืฉืœ ื”ืชื‘ื ื™ืช ื•
ื›ืœ ืกื•ื’ defs ืื• ืฉืžื•ืช ื˜ื™ืคื•ืก ื‘ื—ืชื™ืžื” (ืœืžืฉืœ "void f(T) [ืขื T = int]" ื‘ืžืงื•ื ื–ืืช
ืžืืฉืจ "void f(int)") ื›ื“ื™ ืฉื™ื”ื™ื” ื‘ืจื•ืจ ื‘ืื™ื–ื• ืชื‘ื ื™ืช ืžื“ื•ื‘ืจ. ื›ืืฉืจ ื˜ืขื•ืช
ื”ื”ื•ื“ืขื” ืžืชื™ื™ื—ืกืช ืœื”ืชืžื—ื•ืช ืฉืœ ืชื‘ื ื™ืช ืžื—ืœืงื”, ื”ืžื”ื“ืจ ืžืฉืžื™ื˜ ื›ืœ
ืืจื’ื•ืžื ื˜ื™ื ืฉืœ ืชื‘ื ื™ืช ื”ืชื•ืืžื™ื ืœืืจื’ื•ืžื ื˜ื™ื ืฉืœ ืชื‘ื ื™ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืื•ืชื” ืชื‘ื ื™ืช. ืื
ื›ืœ ืื—ืช ืžื”ื”ืชื ื”ื’ื•ื™ื•ืช ื”ืœืœื• ืžืงืฉื” ืขืœ ื”ื‘ื ืช ื”ื•ื“ืขืช ื”ืฉื’ื™ืื” ื‘ืžืงื•ื
ืงืœ ื™ื•ืชืจ, ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ -fno-pretty-templates ื›ื“ื™ ืœื”ืฉื‘ื™ืช ืื•ืชื.

-ืคืจืคื•
ืืคืฉืจ ืžื•ืคืข ืื•ื˜ื•ืžื˜ื™ ืฉืœ ืชื‘ื ื™ืช ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ. ื’ื ืืคืฉืจื•ืช ื–ื• ืžืจืžื–ืช
-fno-implicit-templates.

-fno-rtti
ื”ืฉื‘ืช ื™ืฆื™ืจืช ืžื™ื“ืข ืขืœ ื›ืœ ืžื—ืœืงื” ืขื ืคื•ื ืงืฆื™ื•ืช ื•ื™ืจื˜ื•ืืœื™ื•ืช ืœืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™
ืชื›ื•ื ื•ืช ื–ื™ื”ื•ื™ ืกื•ื’ ื–ืžืŸ ื”ืจื™ืฆื” C++ (- ื• ื˜ื™ืคื•ืกื™). ืื ืœื
ื”ืฉืชืžืฉ ื‘ื—ืœืงื™ื ืืœื” ืฉืœ ื”ืฉืคื”, ืืชื” ื™ื›ื•ืœ ืœื—ืกื•ืš ืงืฆืช ืžืงื•ื ืขืœ ื™ื“ื™ ืฉื™ืžื•ืฉ ื‘ื“ื’ืœ ื–ื”. ื”ืขืจื”
ื”ื˜ื™ืคื•ืœ ื‘ื—ืจื™ื’ื™ื ืžืฉืชืžืฉ ื‘ืื•ืชื• ืžื™ื“ืข, ืื‘ืœ G++ ืžื™ื™ืฆืจ ืื•ืชื• ืœืคื™ ื”ืฆื•ืจืš. ื”
- ืขื“ื™ื™ืŸ ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืื•ืคืจื˜ื•ืจ ืœืงืืกื˜ื™ื ืฉืื™ื ื ื“ื•ืจืฉื™ื ืกื•ื’ ื–ืžืŸ ืจื™ืฆื”
ืžื™ื“ืข, ื›ืœื•ืžืจ ื”ืฉืœื›ื” ืœ-"void *" ืื• ืœืžื—ืœืงื•ืช ื‘ืกื™ืก ื—ื“-ืžืฉืžืขื™ื•ืช.

-fstats
ืคืœื˜ ืกื˜ื˜ื™ืกื˜ื™ืงื•ืช ืœื’ื‘ื™ ืขื™ื‘ื•ื“ ื—ื–ื™ืชื™ ื‘ืกื•ืฃ ื”ืงื•ืžืคื™ืœืฆื™ื”. ื–ึถื”
ืžื™ื“ืข ืฉื™ืžื•ืฉื™ ื‘ื“ืจืš ื›ืœืœ ืจืง ืœืฆื•ื•ืช ื”ืคื™ืชื•ื— ืฉืœ G++.

-fstrict-enums
ืืคืฉืจ ืœืžื”ื“ืจ ืœื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืชื•ืš ืฉื™ืžื•ืฉ ื‘ื”ื ื—ื” ืฉืขืจืš ืžืกื•ื’ ืžื•ื ื”
ื™ื›ื•ืœ ืœื”ื™ื•ืช ืจืง ืื—ื“ ืžื”ืขืจื›ื™ื ืฉืœ ื”ืกืคื™ืจื” (ื›ืžื•ื’ื“ืจ ื‘ืชืงืŸ C++;
ื‘ืขืฆื, ืขืจืš ืฉื™ื›ื•ืœ ืœื”ื™ื•ืช ืžื™ื•ืฆื’ ื‘ืžืกืคืจ ื”ืžื™ื ื™ืžื•ื ืฉืœ ื‘ื™ื˜ื™ื ืฉืฆืจื™ืš
ืžื™ื™ืฆื’ื™ื ืืช ื›ืœ ื”ืžื•ื ื™ื). ื™ื™ืชื›ืŸ ืฉื”ื ื—ื” ื–ื• ืื™ื ื” ืชืงืคื” ืื ื”ืชื•ื›ื ื™ืช ืžืฉืชืžืฉืช
cast ืœื”ืžืจืช ืขืจืš ืฉืจื™ืจื•ืชื™ ืฉืœ ืžืกืคืจ ืฉืœื ืœืกื•ื’ ื”ืžืฆื•ื™ืŸ.

-ftemplate-backtrace-limit=n
ื”ื’ื“ืจ ืืช ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ืขืจื•ืช ืœื™ืฆื™ืจืช ืชื‘ื ื™ืช ืขื‘ื•ืจ ืื–ื”ืจื” ืื• ืฉื’ื™ืื” ื‘ื•ื“ื“ืช
ืœ n. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 10.

-ftemplate-depth=n
ื”ื’ื“ืจ ืืช ืขื•ืžืง ื”ืžื•ืคืข ื”ืžืจื‘ื™ ืขื‘ื•ืจ ืฉื™ืขื•ืจื™ ืชื‘ื ื™ืช ืœ n. ืžื’ื‘ืœื” ืขืœ
ื™ืฉ ืฆื•ืจืš ื‘ืขื•ืžืง ืžื•ืคืข ื”ืชื‘ื ื™ืช ื›ื“ื™ ืœื–ื”ื•ืช ืจืงื•ืจืกื™ื•ืช ืื™ื ืกื•ืคื™ื•ืช ื‘ืžื”ืœืš ื”ืชื‘ื ื™ืช
ืžื•ืคืข ื‘ื›ื™ืชื”. ืœืชื•ื›ื ื™ื•ืช ื”ืชื•ืืžื•ืช ANSI/ISO C++ ืืกื•ืจ ืœื”ืกืชืžืš ืขืœ ืžืงืกื™ืžื•ื
ืขื•ืžืง ื’ื“ื•ืœ ืž-17 (ืฉื•ื ื” ืœ-1024 ื‘-C++11). ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 900, ื›ืžื•
ืžื”ื“ืจ ื™ื›ื•ืœ ืœื”ื™ื’ืžืจ ืฉื˜ื— ื”ืžื—ืกื ื™ืช ืœืคื ื™ ืฉื”ื•ื ืคื•ื’ืข ื‘-1024 ื‘ืžืฆื‘ื™ื ืžืกื•ื™ืžื™ื.

-fno-threadsafe-statics
ืืœ ืชืคืœื•ื˜ ืืช ื”ืงื•ื“ ื”ื ื•ืกืฃ ื›ื“ื™ ืœื”ืฉืชืžืฉ ื‘ืฉื’ืจื” ื”ืžืฆื•ื™ื ืช ื‘-C++ ABI ืขื‘ื•ืจ thread-
ืืชื—ื•ืœ ื‘ื˜ื•ื— ืฉืœ ืกื˜ื˜ื™ืงื” ืžืงื•ืžื™ืช. ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื›ื“ื™ ืœื”ืงื˜ื™ืŸ ืืช ื’ื•ื“ืœ ื”ืงื•ื“
ืžืขื˜ ื‘ืงื•ื“ ืฉืœื ืฆืจื™ืš ืœื”ื™ื•ืช ื‘ื˜ื•ื— ื‘ืฉืจืฉื•ืจ.

-ืคื™ื•ื–-cxa-atexit
ืจืฉื•ื ืžืฉืžื™ื“ื™ื ืขื‘ื•ืจ ืื•ื‘ื™ื™ืงื˜ื™ื ืขื ืžืฉืš ืื—ืกื•ืŸ ืกื˜ื˜ื™ ื‘ืืžืฆืขื•ืช ื”-"__cxa_atexit"
ืคื•ื ืงืฆื™ื” ื•ืœื ืคื•ื ืงืฆื™ื™ืช "atexit". ืืคืฉืจื•ืช ื–ื• ื ื“ืจืฉืช ืขื‘ื•ืจ ืžืœื
ื˜ื™ืคื•ืœ ืชื•ืื ืกื˜ื ื“ืจื˜ื™ื ืฉืœ ื”ื•ืจืกื™ื ืกื˜ื˜ื™ื™ื, ืื‘ืœ ืขื•ื‘ื“ ืจืง ืื ืกืคืจื™ื™ืช ื”-C ืฉืœืš
ืชื•ืžืš ื‘-"__cxa_atexit".

-fno-use-cxa-get-exception-ptr
ืืœ ืชืฉืชืžืฉ ื‘ืฉื’ืจืช ื–ืžืŸ ื”ืจื™ืฆื” "__cxa_get_exception_ptr". ื–ื” ื’ื•ืจื
"std::uncaught_exception" ืื™ื ื• ื ื›ื•ืŸ, ืืš ื”ื•ื ื”ื›ืจื—ื™ ืื ืฉื’ืจืช ื–ืžืŸ ื”ืจื™ืฆื” ื”ื™ื
ืœื ื–ืžื™ืŸ.

-fvisibility-inlines-hidden
ืžืชื’ ื–ื” ืžืฆื”ื™ืจ ืฉื”ืžืฉืชืžืฉ ืื™ื ื• ืžื ืกื” ืœื”ืฉื•ื•ืช ืžืฆื‘ื™ืขื™ื ืœ-inline
ืคื•ื ืงืฆื™ื•ืช ืื• ืฉื™ื˜ื•ืช ืฉื‘ื”ืŸ ื”ื›ืชื•ื‘ื•ืช ืฉืœ ืฉืชื™ ื”ืคื•ื ืงืฆื™ื•ืช ื ืœืงื—ื•ืช ื‘ืฆื•ืจื” ืฉื•ื ื”
ื—ืคืฆื™ื ืžืฉื•ืชืคื™ื.

ื”ื”ืฉืคืขื” ืฉืœ ื–ื” ื”ื™ื ืฉ-GCC ืขืฉื•ื™, ืœืžืขืฉื”, ืœืกืžืŸ ืฉื™ื˜ื•ืช ืžื•ื˜ื‘ืขื•ืช ืขื
"__attribute__ ((visibility ("hidden")))" ื›ืš ืฉื”ื ืœื ื™ื•ืคื™ืขื• ื‘ื™ื™ืฆื•ื
ื˜ื‘ืœื” ืฉืœ DSO ื•ืื™ื ื ื“ื•ืจืฉื™ื ืขืงื™ืฃ PLT ื›ืืฉืจ ืžืฉืชืžืฉื™ื ื‘ื• ื‘ืชื•ืš DSO.
ืœื”ืคืขืœืช ืืคืฉืจื•ืช ื–ื• ื™ื›ื•ืœื” ืœื”ื™ื•ืช ื”ืฉืคืขื” ื“ืจืžื˜ื™ืช ืขืœ ื–ืžื ื™ ื”ื˜ืขื™ื ื” ื•ื”ืงื™ืฉื•ืจ ืฉืœ DSO ื›ืคื™ ืฉื”ื•ื
ืžืงื˜ื™ืŸ ื‘ืื•ืคืŸ ืžืกื™ื‘ื™ ืืช ื’ื•ื“ืœ ื˜ื‘ืœืช ื”ื™ื™ืฆื•ื ื”ื“ื™ื ืžื™ ื›ืืฉืจ ื”ืกืคืจื™ื™ื” ืขื•ืฉื” ื›ื‘ื“
ืฉื™ืžื•ืฉ ื‘ืชื‘ื ื™ื•ืช.

ื”ื”ืชื ื”ื’ื•ืช ืฉืœ ืžืชื’ ื–ื” ืœื ืžืžืฉ ื–ื”ื” ืœืกื™ืžื•ืŸ ื”ืฉื™ื˜ื•ืช ื›ืžื•ืกืจื•ืช
ื™ืฉื™ืจื•ืช, ืžื›ื™ื•ื•ืŸ ืฉื”ื•ื ืื™ื ื• ืžืฉืคื™ืข ืขืœ ืžืฉืชื ื™ื ืกื˜ื˜ื™ื™ื ืžืงื•ืžื™ื™ื ืœืคื•ื ืงืฆื™ื” ืื• ืœืกื™ื‘ื”
ื”ืžื”ื“ืจ ื›ื“ื™ ืœื”ืกื™ืง ืฉื”ืคื•ื ืงืฆื™ื” ืžื•ื’ื“ืจืช ืจืง ื‘ืื•ื‘ื™ื™ืงื˜ ืžืฉื•ืชืฃ ืื—ื“.

ืืชื” ื™ื›ื•ืœ ืœืกืžืŸ ืฉื™ื˜ื” ื›ื‘ืขืœืช ื ืจืื•ืช ื‘ืžืคื•ืจืฉ ื›ื“ื™ ืœืฉืœื•ืœ ืืช ื”ื”ืฉืคืขื” ืฉืœ
ืœืขื‘ื•ืจ ืœืฉื™ื˜ื” ื–ื•. ืœื“ื•ื’ืžื”, ืื ืืชื” ื›ืŸ ืจื•ืฆื” ืœื”ืฉื•ื•ืช ืžืฆื‘ื™ืขื™ื ืœ-a
ืฉื™ื˜ื” ืžื•ื˜ื‘ืขืช ืžืกื•ื™ืžืช, ืชื•ื›ืœ ืœืกืžืŸ ืื•ืชื” ื›ื‘ืขืœืช ื‘ืจื™ืจืช ืžื—ื“ืœ. ืกื™ืžื•ืŸ ื”
ืœืชื—ื•ื ื”ื›ื™ืชื” ืขื ื ืจืื•ืช ืžืคื•ืจืฉืช ืื™ืŸ ื”ืฉืคืขื”.

ืฉื™ื˜ื•ืช ืžื•ื˜ื‘ืขื•ืช ื”ืžื•ืฆื’ื•ืช ื‘ืžืคื•ืจืฉ ืื™ื ืŸ ืžื•ืฉืคืขื•ืช ืžื”ืืคืฉืจื•ืช ื”ื–ื• ื›ืงื™ืฉื•ืจ ืฉืœื”ืŸ
ืื—ืจืช ืขืœื•ืœ ืœื—ืฆื•ืช ื’ื‘ื•ืœ ืฉืœ ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช.

-fvisibility-ms-compat
ื“ื’ืœ ื–ื” ืžื ืกื” ืœื”ืฉืชืžืฉ ื‘ื”ื’ื“ืจื•ืช ื ืจืื•ืช ื›ื“ื™ ืœื™ืฆื•ืจ ืืช ืžื•ื“ืœ ื”ืงื™ืฉื•ืจ C++ ืฉืœ GCC
ืชื•ืื ืœื–ื” ืฉืœ Microsoft Visual Studio.

ื”ื“ื’ืœ ืžื‘ืฆืข ืืช ื”ืฉื™ื ื•ื™ื™ื ื”ื‘ืื™ื ื‘ืžื•ื“ืœ ื”ื”ืฆืžื“ื” ืฉืœ GCC:

1. ื–ื” ืžื’ื“ื™ืจ ืืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ื”ื ืจืื•ืช ืœ"ืžื•ืกืชืจ", ื›ืžื• -ื ืจืื•ืช = ืžื•ืกืชืจืช.

2. ืกื•ื’ื™ื, ืืš ืœื ื”ื—ื‘ืจื™ื ืฉืœื”ื, ืื™ื ื ืžื•ืกืชืจื™ื ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

3. ื›ืœืœ ื”ื”ื’ื“ืจื” ื”ืื—ืช ื”ื•ื ืจื’ื•ืข ืขื‘ื•ืจ ื˜ื™ืคื•ืกื™ื ืœืœื ื ืจืื•ืช ืžืคื•ืจืฉืช
ืžืคืจื˜ื™ื ื”ืžื•ื’ื“ืจื™ื ื‘ื™ื•ืชืจ ืžืื•ื‘ื™ื™ืงื˜ ืžืฉื•ืชืฃ ืื—ื“: ื”ื”ืฆื”ืจื•ืช ื”ืœืœื•
ืžื•ืชืจื™ื ืื ื”ื ืžื•ืชืจื™ื ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ื‘ืฉื™ืžื•ืฉ.

ื‘ืงื•ื“ ื—ื“ืฉ ืขื“ื™ืฃ ืœื”ืฉืชืžืฉ -ื ืจืื•ืช = ืžื•ืกืชืจืช ื•ืœื™ื™ืฆื ืืช ื”ืžื—ืœืงื•ืช ื”ืืœื•
ื ื•ืขื“ ืœื”ื™ื•ืช ื’ืœื•ื™ ื›ืœืคื™ ื—ื•ืฅ. ืœืžืจื‘ื” ื”ืฆืขืจ ื–ื” ืืคืฉืจื™ ืœืงื•ื“ ืœื”ืกืชืžืš,
ืื•ืœื™ ื‘ื˜ืขื•ืช, ืขืœ ื”ืชื ื”ื’ื•ืช Visual Studio.

ื‘ื™ืŸ ื”ื”ืฉืœื›ื•ืช ืฉืœ ื”ืฉื™ื ื•ื™ื™ื ื”ืœืœื• ื ื™ืชืŸ ืœืžืฆื•ื ืืช ื”ื—ื‘ืจื™ื ื‘ื ืชื•ื ื™ื ืกื˜ื˜ื™ื™ื ืžืื•ืชื• ืกื•ื’
ืขื ืื•ืชื• ืฉื ืืš ืžื•ื’ื“ืจื™ื ื‘ืื•ื‘ื™ื™ืงื˜ื™ื ืžืฉื•ืชืคื™ื ืฉื•ื ื™ื ืฉื•ื ื™ื, ื•ืœื›ืŸ ืžืฉืชื ื™ื
ืื—ื“ ืœื ืžืฉื ื” ืืช ื”ืฉื ื™; ื•ื›ื™ ืžืฆื‘ื™ืข ืขืœ ืื™ื‘ืจื™ ืคื•ื ืงืฆื™ื” ื”ืžื•ื’ื“ืจื™ื ื‘
ืื•ื‘ื™ื™ืงื˜ื™ื ืžืฉื•ืชืคื™ื ืฉื•ื ื™ื ืขืฉื•ื™ื™ื ืฉืœื ืœื”ืฉื•ื•ืช ืฉื•ื•ื™ื. ื›ืืฉืจ ื ื™ืชืŸ ื“ื’ืœ ื–ื”, ื”ื•ื ื
ื”ืคืจื” ืฉืœ ื”-ODR ืœื”ื’ื“ื™ืจ ื˜ื™ืคื•ืกื™ื ืขื ืื•ืชื• ืฉื ื‘ืฆื•ืจื” ืฉื•ื ื”.

-fno-ื—ืœืฉ
ืืœ ืชืฉืชืžืฉ ื‘ืชืžื™ื›ื” ื‘ืกืžืœ ื—ืœืฉ, ื’ื ืื ื”ื•ื ืžืกื•ืคืง ืขืœ ื™ื“ื™ ื”ืžืงืฉืจ. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, G++
ืžืฉืชืžืฉ ื‘ืกืžืœื™ื ื—ืœืฉื™ื ืื ื”ื ื–ืžื™ื ื™ื. ืืคืฉืจื•ืช ื–ื• ืงื™ื™ืžืช ืจืง ืœื‘ื“ื™ืงื”, ื•
ืืกื•ืจ ืœื”ืฉืชืžืฉ ืขืœ ื™ื“ื™ ืžืฉืชืžืฉื™ ืงืฆื”; ื–ื” ืžื‘ื™ื ืœืงื•ื“ ื ื—ื•ืช ื•ืื™ืŸ ืœื• ื™ืชืจื•ื ื•ืช.
ืืคืฉืจื•ืช ื–ื• ืขืฉื•ื™ื” ืœื”ื™ื•ืช ืžื•ืกืจืช ื‘ืžื”ื“ื•ืจื” ืขืชื™ื“ื™ืช ืฉืœ G++.

-nostdinc++
ืืœ ืชื—ืคืฉ ืงื‘ืฆื™ ื›ื•ืชืจื•ืช ื‘ืกืคืจื™ื•ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ื”ืกืคืฆื™ืคื™ื•ืช ืœ-C++, ืื‘ืœ ืชืขืฉื” ื–ืืช
ืขื“ื™ื™ืŸ ื—ืคืฉ ื‘ืกืคืจื™ื•ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ื”ืื—ืจื•ืช. (ืืคืฉืจื•ืช ื–ื• ืžืฉืžืฉืช ื‘ืขืช ื‘ื ื™ื™ืช ื”
ืกืคืจื™ื™ืช C++.)

ื‘ื ื•ืกืฃ, ืœืืคืฉืจื•ื™ื•ืช ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”, ื”ืื–ื”ืจื” ื•ื™ืฆื™ืจืช ื”ืงื•ื“ ื”ืœืœื• ื™ืฉ ืžืฉืžืขื•ื™ื•ืช ื‘ืœื‘ื“
ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช C++:

-fno-default-inline
ืืœ ืชื ื™ื— ืžื•ื˜ื‘ืข ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ื”ืžื•ื’ื“ืจื•ืช ื‘ืชื•ืš ื”ื™ืงืฃ ืžื—ืœืงื”.
ืฉื™ืžื• ืœื‘ ืฉืœืคื•ื ืงืฆื™ื•ืช ื”ืœืœื• ื™ืฉ ืงื™ืฉื•ืจ ื›ืžื• ืคื•ื ืงืฆื™ื•ืช ืžื•ื˜ื‘ืขื•ืช; ื”ื ืคืฉื•ื˜ ืœื
ืžื•ื˜ื‘ืข ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ื•ื•ืื‘ื™ (C, Objective-C, C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ G++ ื™ื•ืฆืจ ืงื•ื“ ืฉื›ื ืจืื” ืื™ื ื• ืชื•ืื ืœืกืคืง ื ื™ื˜ืจืœื™
C++ ABI. ืœืžืจื•ืช ืฉื ืขืฉื” ืžืืžืฅ ืœื”ืชืจื™ืข ืขืœ ื›ืœ ืžืงืจื™ื ื›ืืœื”, ื™ืฉ
ื›ื ืจืื” ื›ืžื” ืžืงืจื™ื ืฉืœื ืžื•ื–ื”ืจื™ื ืขืœื™ื”ื, ืœืžืจื•ืช ืฉ-G++ ืžื™ื™ืฆืจ
ืงื•ื“ ืœื ืชื•ืื. ื™ื™ืชื›ื ื• ื’ื ืžืงืจื™ื ืฉื‘ื”ื ื ืคืœื˜ื•ืช ืื–ื”ืจื•ืช ืœืžืจื•ืช ืฉื”
ื”ืงื•ื“ ืฉื ื•ืฆืจ ืชื•ืื.

ืขืœื™ืš ืœืฉื›ืชื‘ ืืช ื”ืงื•ื“ ืฉืœืš ื›ื“ื™ ืœื”ื™ืžื ืข ืžื”ืื–ื”ืจื•ืช ืืœื” ืื ืืชื” ืžื•ื“ืื’ ืœื’ื‘ื™
ื”ืขื•ื‘ื“ื” ืฉืงื•ื“ ืฉื ื•ืฆืจ ืขืœ ื™ื“ื™ G++ ืขืฉื•ื™ ืฉืœื ืœื”ื™ื•ืช ืชื•ืื ื‘ื™ื ืืจื™ ืœืงื•ื“ ืฉื ื•ืฆืจ ืขืœ ื™ื“ื™
ืžื”ื“ืจื™ื ืื—ืจื™ื.

ื—ื•ืกืจ ื”ื”ืชืืžื” ื”ื™ื“ื•ืข ื‘ -fabi-version=2 (ื‘ืจื™ืจืช ื”ืžื—ื“ืœ) ื›ื•ืœืœื™ื:

ยท ืชื‘ื ื™ืช ืขื ืคืจืžื˜ืจ ืฉืื™ื ื• ืžืกื•ื’ ืชื‘ื ื™ืช ืžืกื•ื’ ื”ืคื ื™ื” ืžืขื•ื•ืชืช
ื‘ืื•ืคืŸ ืฉื’ื•ื™:

ื—ื™ืฆื•ื ื™ int n;
ืชื‘ื ื™ืช struct S {};
void n (S ) {2}

ื–ื” ืงื‘ื•ืข ื‘ -fabi-version=3.

ยท ืกื•ื’ื™ ื•ืงื˜ื•ืจ SIMD ื”ืžื•ืฆื”ืจื™ื ื‘ืืžืฆืขื•ืช "__attribute ((vector_size))" ืžืขื•ื•ืชื™ื ื‘-
ื“ืจืš ืœื ืกื˜ื ื“ืจื˜ื™ืช ืฉืื™ื ื” ืžืืคืฉืจืช ืขื•ืžืก ื™ืชืจ ืฉืœ ืคื•ื ืงืฆื™ื•ืช ืฉืœื•ืงื—ื•ืช ื•ืงื˜ื•ืจื™ื
ื‘ื’ื“ืœื™ื ืฉื•ื ื™ื.

ื”ืžื ื’ืœ ืžืฉืชื ื” -fabi-version=4.

ื—ื•ืกืจ ื”ื”ืชืืžื” ื”ื™ื“ื•ืข ื‘ -fabi-version=1 ื›ื•ืœืœื•ืช:

ยท ื˜ื™ืคื•ืœ ืœื ื ื›ื•ืŸ ื‘ืจื™ืคื•ื“ ื–ื ื‘ ืขื‘ื•ืจ ืฉื“ื•ืช ืกื™ื‘ื™ื•ืช. G++ ืขืฉื•ื™ ืœื ืกื•ืช ืœืืจื•ื– ื ืชื•ื ื™ื
ืœืชื•ืš ืื•ืชื• ื‘ื™ื™ื˜ ื›ืžื• ืžื—ืœืงืช ื‘ืกื™ืก. ืœื“ื•ื’ืžื”:

struct A { ืจื™ืง ื•ื™ืจื˜ื•ืืœื™ f(); int f1 : 1; };
struct B : public A { int f2 : 1; };

ื‘ืžืงืจื” ื–ื”, G++ ืžืฆื™ื‘ ืืช "B::f2" ื‘ืื•ืชื• ื‘ื™ืช ื›ืžื• "A::f1"; ืžื”ื“ืจื™ื ืื—ืจื™ื ืขื•ืฉื™ื ื–ืืช
ืœึนื. ืืชื” ื™ื›ื•ืœ ืœื”ื™ืžื ืข ืžื‘ืขื™ื” ื–ื• ืขืœ ื™ื“ื™ ืจื™ืคื•ื“ ืžืคื•ืจืฉ ืฉืœ "A" ื›ืš ืฉื’ื•ื“ืœื• ื™ื”ื™ื” a
ื›ืคื•ืœื” ืฉืœ ื’ื•ื“ืœ ื”ื‘ืชื™ื ื‘ืคืœื˜ืคื•ืจืžื” ืฉืœืš; ืฉื’ื•ืจื ืœ-G++ ื•ืœืžื”ื“ืจื™ื ืื—ืจื™ื ืœืขืฉื•ืช ื–ืืช
ืœืคืจื•ืก ืืช "B" ื‘ืื•ืคืŸ ื–ื”ื”.

ยท ื˜ื™ืคื•ืœ ืœื ื ื›ื•ืŸ ื‘ืจื™ืคื•ื“ ื–ื ื‘ ืœื‘ืกื™ืกื™ื ื•ื™ืจื˜ื•ืืœื™ื™ื. G++ ืื™ื ื• ืžืฉืชืžืฉ ื‘ื–ื ื‘
ืจื™ืคื•ื“ ื‘ืขืช ืคืจื™ืกืช ื‘ืกื™ืกื™ื ื•ื™ืจื˜ื•ืืœื™ื™ื. ืœื“ื•ื’ืžื”:

struct A { ืจื™ืง ื•ื™ืจื˜ื•ืืœื™ f(); char c1; };
struct B { B(); char c2; };
struct C: public A, public virtual B {};

ื‘ืžืงืจื” ื–ื”, G++ ืื™ื ื• ืžืฆื™ื‘ ืืช "B" ืœืชื•ืš ืจื™ืคื•ื“ ื”ื–ื ื‘ ืขื‘ื•ืจ "A"; ืึทื—ึตืจ
ืžื”ื“ืจื™ื ืขื•ืฉื™ื ื–ืืช. ืืชื” ื™ื›ื•ืœ ืœื”ื™ืžื ืข ืžื‘ืขื™ื” ื–ื• ืขืœ ื™ื“ื™ ืจื™ืคื•ื“ ืžืคื•ืจืฉ ืฉืœ "A" ื›ืš ืฉื–ื”
ื”ื’ื•ื“ืœ ื”ื•ื ื›ืคื•ืœ ืฉืœ ื”ื™ื™ืฉื•ืจ ืฉืœื• (ื”ืชืขืœืžื•ืช ืžืžืขืžื“ื•ืช ื‘ืกื™ืก ื•ื™ืจื˜ื•ืืœื™ื™ื); ืฉื’ื•ืจื
G++ ื•ืžื”ื“ืจื™ื ืื—ืจื™ื ืœืคืจื•ืก "C" ื‘ืื•ืคืŸ ื–ื”ื”.

ยท ื˜ื™ืคื•ืœ ืœื ื ื›ื•ืŸ ื‘ืฉื“ื•ืช ืกื™ื‘ื™ื•ืช ืขื ืจื•ื—ื‘ ืžื•ืฆื”ืจ ื’ื“ื•ืœ ืžื–ื” ืฉืœื”ื
ื˜ื™ืคื•ืกื™ื ื‘ืกื™ืกื™ื™ื, ื›ืืฉืจ ืฉื“ื•ืช ื”ืกื™ื‘ื™ื•ืช ืžื•ืคื™ืขื™ื ื‘ืื™ื—ื•ื“. ืœื“ื•ื’ืžื”:

union U { int i: 4096; };

ื‘ื”ื ื—ื” ืฉืœ"int" ืื™ืŸ 4096 ืกื™ื‘ื™ื•ืช, G++ ื”ื•ืคืš ืืช ื”ืื™ื—ื•ื“ ืงื˜ืŸ ืžื“ื™ ืขืœ ื™ื“ื™
ืžืกืคืจ ื”ื‘ื™ื˜ื™ื ื‘-"int".

ยท ื ื™ืชืŸ ืœื”ืฆื™ื‘ ืฉื™ืขื•ืจื™ื ืจื™ืงื™ื ื‘ืงื™ื–ื•ื–ื™ื ืฉื’ื•ื™ื™ื. ืœื“ื•ื’ืžื”:

ืžื‘ื ื” A {};

struct B {
ื ื;
ืจื™ืง ื•ื™ืจื˜ื•ืืœื™ f ();
};

struct C: public B, public A {};

G++ ืžืžืงื ืืช ืžื—ืœืงืช ื”ื‘ืกื™ืก "A" ืฉืœ "C" ื‘ื”ื™ืกื˜ ืฉืื™ื ื• ืืคืก; ื–ื” ืฆืจื™ืš ืœื”ื™ื•ืช ืžืžื•ืงื ื‘
ืงื™ื–ื•ื– ืืคืก. G++ ืžืืžื™ืŸ ื‘ื˜ืขื•ืช ืฉืื™ื‘ืจ ื”ื ืชื•ื ื™ื "A" ืฉืœ "B" ื›ื‘ืจ ื ืžืฆื
ื‘ื”ื™ืกื˜ ืืคืก.

ยท ืฉืžื•ืช ืฉืœ ืคื•ื ืงืฆื™ื•ืช ืชื‘ื ื™ืช ืฉื”ืกื•ื’ื™ื ืฉืœื”ืŸ ื›ื•ืœืœื™ื "ืฉื ืกื•ื’" ืื• ืชื‘ื ื™ืช ืชื‘ื ื™ืช
ืคืจืžื˜ืจื™ื ื™ื›ื•ืœื™ื ืœื”ื™ื•ืช ืžืขื•ื•ืชื™ื ื‘ืฆื•ืจื” ืฉื’ื•ื™ื”.

ืชื‘ื ื™ืช
void f(typename Q::X) {}

ืชื‘ื ื™ืช ืžื—ืœืงื” Q>
void f(typename Q ::ืื™ืงืก) {}

ืžื•ืคืขื™ื ืฉืœ ืชื‘ื ื™ื•ืช ืืœื” ืขืœื•ืœื™ื ืœื”ื™ื•ืช ืžืขื•ื•ืชื™ื ื‘ืฆื•ืจื” ืฉื’ื•ื™ื”.

ื–ื” ื’ื ืžื–ื”ื™ืจ ืžืคื ื™ ืฉื™ื ื•ื™ื™ื ื”ืงืฉื•ืจื™ื ืœ-psABI. ื”-psABI ื”ื™ื“ื•ืข ืžืฉืชื ื” ื‘ืฉืœื‘ ื–ื”
ื›ื•ืœืœื•ืช:

ยท ืขื‘ื•ืจ SysV/x86-64, ืื™ื’ื•ื“ื™ื ืขื ื—ื‘ืจื™ื "ื›ืคื•ืœื™ื ืืจื•ื›ื™ื" ืžื•ืขื‘ืจื™ื ื‘ื–ื™ื›ืจื•ืŸ ื›
ื”ืžืฆื•ื™ืŸ ื‘-psABI. ืœื“ื•ื’ืžื”:

ืื™ื—ื•ื“ U {
ld ื›ืคื•ืœ ืืจื•ืš;
int i;
};

"ืื™ื—ื•ื“ U" ืžื•ืขื‘ืจ ืชืžื™ื“ ื‘ื–ื™ื›ืจื•ืŸ.

-ื•ืงื˜ื•ืจ-ื“ื˜ื•ืจ-ืคืจื˜ื™ื•ืช (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ื”ื–ื”ืจ ื›ืืฉืจ ืžื—ืœืงื” ื ืจืื™ืช ื‘ืœืชื™ ืฉืžื™ืฉื” ืžื›ื™ื•ื•ืŸ ืฉื›ืœ ื”ื‘ื ืื™ื ืื• ื”ื”ื•ืจืกื™ื ื‘ื”
ื”ื›ื™ืชื” ื”ื™ื ืคืจื˜ื™ืช, ื•ืื™ืŸ ืœื” ื—ื‘ืจื™ื ืื• ืคื•ื ืงืฆื™ื•ืช ืกื˜ื˜ื™ื•ืช ืฆื™ื‘ื•ืจื™ื•ืช.
ื”ื–ื”ื™ืจ ื’ื ืื ืื™ืŸ ืฉื™ื˜ื•ืช ืœื ืคืจื˜ื™ื•ืช, ื•ื™ืฉ ืœืคื—ื•ืช ื—ื‘ืจ ืคืจื˜ื™ ืื—ื“
ืคื•ื ืงืฆื™ื” ืฉืื™ื ื” ื‘ื ืื™ ืื• ื”ืจืก.

-Wdelete-non-virtual-dtor (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืชื–ื”ื™ืจ ืžืชื™ ืœื”ืกื™ืจ ืžืฉืžืฉ ืœื”ืจื•ืก ืžื•ืคืข ืฉืœ ืžื—ืœืงื” ืฉื™ืฉ ืœื” ืคื•ื ืงืฆื™ื•ืช ื•ื™ืจื˜ื•ืืœื™ื•ืช
ื•ื”ื•ืจืก ืœื ื•ื™ืจื˜ื•ืืœื™. ื–ื” ืœื ื‘ื˜ื•ื— ืœืžื—ื•ืง ืžื•ืคืข ืฉืœ ืžื—ืœืงื” ื ื’ื–ืจืช
ื“ืจืš ืžืฆื‘ื™ืข ืœืžื—ืœืงื” ื‘ืกื™ืก ืื ืœืžื—ืœืงืช ื”ื‘ืกื™ืก ืื™ืŸ ื•ื™ืจื˜ื•ืืœื™
ืžืฉืžื™ื“. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ืกื™ื•ืžืช ื•ืœื™ื˜ืจืœื™ (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ ืžื—ืจื•ื–ืช ืื• ืชื• ืžื™ืœื•ืœื™ ืžืœื•ื•ื” ื‘ืกื™ื•ืžืช ud ืฉืœื
ืœื”ืชื—ื™ืœ ืขื ืงื• ืชื—ืชื•ืŸ. ื›ื”ืจื—ื‘ื” ืชื•ืืžืช, GCC ืžืชื™ื™ื—ืก ืœืกื™ื•ืžื•ืช ื›ืžื•
ืืกื™ืžื•ื ื™ ืขื™ื‘ื•ื“ ืžืงื“ื™ื ื ืคืจื“ื™ื ืขืœ ืžื ืช ืœืฉืžื•ืจ ืขืœ ืชืื™ืžื•ืช ืœืื—ื•ืจ ืขื ืงื•ื“
ืฉืžืฉืชืžืฉ ื‘ืขื™ืฆื•ื‘ ืžืืงืจื• ืž" ". ืœื“ื•ื’ืžื”:

#define __STDC_FORMAT_MACROS
#ืœึดื›ืœื•ึนืœ
#ืœึดื›ืœื•ึนืœ

int main () {
int64_t i64 = 123;
printf("My int64: %"PRId64"\n", i64);
}

ื‘ืžืงืจื” ื–ื”, "PRId64" ืžื˜ื•ืคืœ ื›ืืกื™ืžื•ืŸ ืขื™ื‘ื•ื“ ืžืงื“ื™ื ื ืคืจื“.

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืžืฆืžืฆื (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ ืžืชืจื—ืฉืช ื‘ืคื ื™ื ื”ืžืจื” ืžืฆืžืฆืžืช ื”ืืกื•ืจื” ืขืœ ื™ื“ื™ C++11 { }ืœืžืฉืœ

int i = { 2.2 }; // ืฉื’ื™ืื”: ืฆืžืฆื•ื ืžื›ืคื•ืœ ืœ-int

ื“ื’ืœ ื–ื” ื›ืœื•ืœ ื‘ - ืงื™ืจ ื• -Wc++11-compat.

ืขื 11. std = c ++, -ืœื ืฆืžืฆื•ื ืžื“ื›ื ืืช ื”ืื‘ื—ื•ืŸ ื”ื ื“ืจืฉ ืขืœ ืคื™ ื”ืชืงืŸ.
ืฉื™ืžื• ืœื‘ ืฉื–ื” ืœื ืžืฉืคื™ืข ืขืœ ื”ืžืฉืžืขื•ืช ืฉืœ ืงื•ื“ ืžืขื•ืฆื‘ ื”ื™ื˜ื‘; ืฆืžืฆื•ื ื”ื”ืžืจื•ืช
ืขื“ื™ื™ืŸ ื ื—ืฉื‘ื™ื ืœื‘ืœืชื™ ืžืขื•ืฆื‘ื™ื ื‘ื”ืงืฉืจ ืฉืœ SFINAE.

-ืœื ื—ื•ืฅ ืžื–ื” (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ ื‘ื™ื˜ื•ื™ noexcept ืžื•ืขืจืš ืœ-false ื‘ื’ืœืœ ืงืจื™ืื” ืœืคื•ื ืงืฆื™ื”
ืฉืื™ืŸ ืœื• ืžืคืจื˜ ื—ืจื™ื’ ืœืœื ื–ืจื™ืงื” (ื›ืœื•ืžืจ ืœื–ืจื•ืง() or ืžืฉื”ื• ืžืœื‘ื“)
ืื‘ืœ ื™ื“ื•ืข ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ ืฉื”ื•ื ืœืขื•ืœื ืœื ื–ื•ืจืง ื—ืจื™ื’.

-Wnon-Virtual-dtor (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ ืœืžื—ืœืงื” ื™ืฉ ืคื•ื ืงืฆื™ื•ืช ื•ื™ืจื˜ื•ืืœื™ื•ืช ื•ื”ืจืก ืœื ื•ื™ืจื˜ื•ืืœื™ ื ื’ื™ืฉ, ื‘
ื‘ืžืงืจื” ื–ื” ืืคืฉืจื™ ืืš ืœื ื‘ื˜ื•ื— ืœืžื—ื•ืง ืžื•ืคืข ืฉืœ ืžื—ืœืงื” ื ื’ื–ืจืช ื“ืจืš
ืžืฆื‘ื™ืข ืœืžื—ืœืงื” ื”ื‘ืกื™ืกื™ืช. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื’ื ืื -Weffc++ ืžื•ื’ื“ืจ.

-ื”ืกื“ืจ (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ ืกื“ืจ ื”ืืชื—ื•ืœื™ื ืฉืœ ื”ื—ื‘ืจื™ื ื”ืžื•ืคื™ืข ื‘ืงื•ื“ ืื™ื ื• ืชื•ืื ืืช ื”ืกื“ืจ
ื‘ื”ื ื™ืฉ ืœื”ื•ืฆื™ืื ืœื”ื•ืจื’. ืœื“ื•ื’ืžื”:

ืžื‘ื ื” A {
int i;
int j;
A(): j (0), i (1) { }
};

ื”ืžื”ื“ืจ ืžืืจื’ืŸ ืžื—ื“ืฉ ืืช ืžืืชื—ื•ืœื™ ื”ื—ื‘ืจื™ื ืขื‘ื•ืจ i ื• j ื›ื“ื™ ืœื”ืชืื™ื ืืช ื”ื”ืฆื”ืจื”
ืคืงื•ื“ืช ื”ื—ื‘ืจื™ื, ื”ืคื•ืœื˜ืช ืื–ื”ืจื” ืขืœ ื›ืš. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™
- ืงื™ืจ.

-ืคืงืก-ืžืกืคืจื™-ืžื™ืœื•ืœื™ื™ื (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืงื‘ืœ ืกื™ื•ืžื•ืช ืžืกืคืจื™ื ืžื™ืœื•ืœื™ื™ื ื“ืžื™ื•ื ื™ื™ื, ื ืงื•ื“ื•ืช ืงื‘ื•ืขื•ืช ืื• ืžื•ื’ื“ืจื•ืช ื‘ืžื›ื•ื ื” ื›-GNU
ื”ืจื—ื‘ื•ืช. ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ื›ื‘ื•ื™ื”, ื”ืกื™ื•ืžื•ืช ื”ืœืœื• ืžื˜ื•ืคืœื•ืช ื›-C++11 ืžืฉืชืžืฉ-
ื”ื’ื“ื™ืจื• ืกื™ื•ืžื•ืช ืžืกืคืจื™ื•ืช ืžื™ืœื•ืœื™ื•ืช. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ ื›ืœ ื”ื“ื™ืืœืงื˜ื™ื ืฉืœืคื ื™ C++11
ื•ื›ืœ ื”ื“ื™ืืœืงื˜ื™ื ืฉืœ ื’ื ื•: 98. std = c ++, -std=gnu++98, -std=gnu++11, -std=gnu++1y. ื–ึถื”
ื”ืืคืฉืจื•ืช ื›ื‘ื•ื™ื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ ISO C++11 ื•ืื™ืœืš (11. std = c ++,...).

ื”ื‘ื -W... ืืคืฉืจื•ื™ื•ืช ืื™ื ืŸ ืžื•ืฉืคืขื•ืช ืž - ืงื™ืจ.

-Weffc++ (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ื”ื–ื”ืจ ืœื’ื‘ื™ ื”ืคืจื•ืช ืฉืœ ื”ื ื—ื™ื•ืช ื”ืกื’ื ื•ืŸ ื”ื‘ืื•ืช ืฉืœ ืกืงื•ื˜ ืžืื™ื™ืจืก ืืคืงื˜ื™ื‘ื™
C ++, ืฉืึฐื ึดื™ึธื” ืžึทื”ึฒื“ื•ึผืจึธื” ืกืคืจ:

ยท ืคืจื™ื˜ 11: ื”ื’ื“ืจ ื‘ื ืื™ ื”ืขืชืงื” ื•ืื•ืคืจื˜ื•ืจ ืžื˜ืœื•ืช ืขื‘ื•ืจ ืžื—ืœืงื•ืช ืขื
ื–ื™ื›ืจื•ืŸ ื”ืžื•ืงืฆื” ื‘ืื•ืคืŸ ื“ื™ื ืžื™.

ยท ืคืจื™ื˜ 12: ื”ืขื“ื™ืคื• ืืชื—ื•ืœ ืœื”ืงืฆืื” ื‘ืงื•ื ืกื˜ืจื•ืงื˜ื•ืจื™ื.

ยท ืคืจื™ื˜ 14: ื”ืคื•ืš ืืช ื”ื”ื•ืจืกื™ื ืœื•ื•ื™ืจื˜ื•ืืœื™ื™ื ื‘ื›ื™ืชื•ืช ื‘ืกื™ืก.

ยท ืคืจื™ื˜ 15: ืชื ื• ืœ-"operator=" ืœื”ื—ื–ื™ืจ ื”ืคื ื™ื” ืœ*ื–ื”.

ยท ืคืจื™ื˜ 23: ืืœ ืชื ืกื” ืœื”ื—ื–ื™ืจ ื”ืคื ื™ื” ื›ืืฉืจ ืืชื” ื—ื™ื™ื‘ ืœื”ื—ื–ื™ืจ ืื•ื‘ื™ื™ืงื˜.

ื”ื–ื”ื™ืจ ื’ื ืœื’ื‘ื™ ื”ืคืจื•ืช ืฉืœ ื”ื ื—ื™ื•ืช ื”ืกื’ื ื•ืŸ ื”ื‘ืื•ืช ืฉืœ ืกืงื•ื˜ ืžืื™ื™ืจืก ืขื•ื“
ืืคืงื˜ื™ื‘ื™ C + + ืกืคืจ:

ยท ืคืจื™ื˜ 6: ื”ื‘ื—ื ื” ื‘ื™ืŸ ืฆื•ืจื•ืช ืชื—ื™ืœื™ืช ื•ืคื•ืกื˜-ืชื™ืงื•ื ื™ื ืฉืœ ืชื•ืกืคืช ื•ื”ืคื—ืชื”
ืื•ืคืจื˜ื•ืจื™ื.

ยท ืคืจื™ื˜ 7: ืœืขื•ืœื ืืœ ืชืขืžื™ืก ื™ืชืจ ืขืœ ื”ืžื™ื“ื” "&&", "||", ืื• ",".

ื‘ืขืช ื‘ื—ื™ืจืช ืืคืฉืจื•ืช ื–ื•, ืฉื™ื ืœื‘ ืฉื›ื•ืชืจื•ืช ื”ืกืคืจื™ื™ื” ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ืื™ื ืŸ ืžืฆื™ื™ืชื•ืช ืœื›ื•ืœื
ืฉืœ ื”ื ื—ื™ื•ืช ืืœื”; ืœื”ืฉืชืžืฉ grep -v ื›ื“ื™ ืœืกื ืŸ ืืช ื”ืื–ื”ืจื•ืช ื”ืœืœื•.

-Wstrict-null-sentinel (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ื”ื–ื”ืจ ืœื’ื‘ื™ ื”ืฉื™ืžื•ืฉ ื‘-"NULL" ืœื ื™ืฆื•ืง ื›ื–ืงื™ืฃ. ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืจืง โ€‹โ€‹ืขื GCC
ื–ื”ื• ื–ืงื™ืฃ ื—ื•ืงื™, ืฉื›ืŸ "NULL" ืžื•ื’ื“ืจ ืœ"__null". ืœืžืจื•ืช ืฉื–ื” ืจื™ืง
ืงื‘ื•ืข ืžืฆื‘ื™ืข ื‘ืžืงื•ื ืžืฆื‘ื™ืข ืจื™ืง, ืžื•ื‘ื˜ื— ืฉื”ื•ื ื™ื”ื™ื” ื‘ืื•ืชื• ื’ื•ื“ืœ
ื‘ืชื•ืจ ืžืฆื‘ื™ืข. ืื‘ืœ ื”ืฉื™ืžื•ืฉ ื”ื–ื” ืื™ื ื• ื ื™ื™ื“ ืขืœ ืคื ื™ ืžื”ื“ืจื™ื ืฉื•ื ื™ื.

-ืœื-ืœื-ื—ื‘ืจ-ืชื‘ื ื™ืช (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ื”ืฉื‘ืช ืื–ื”ืจื•ืช ื›ืืฉืจ ืคื•ื ืงืฆื™ื•ืช ื—ื‘ืจ ืœืœื ืชื‘ื ื™ืช ืžื•ืฆื”ืจื•ืช ื‘ืชื•ืš ืชื‘ื ื™ืช.
ืžืื– ื”ื•ืคืขืชื” ืฉืœ ืชืžื™ื›ื” ื‘ืžืคืจื˜ ืชื‘ื ื™ื•ืช ืžืคื•ืจืฉ ื‘-G++, ืื ื”ืฉื ืฉืœ
ื—ื‘ืจ ื”ื•ื ืžื–ื”ื” ืœื ืžื•ืกืžืš (ื›ืœื•ืžืจ, ื—ื‘ืจ foo(int)), ืžืคืจื˜ ืฉืคืช C++
ื“ื•ืจืฉ ืžื”ื—ื‘ืจ ืœื”ื›ืจื™ื– ืื• ืœื”ื’ื“ื™ืจ ืคื•ื ืงืฆื™ื” ืจื’ื™ืœื”, ืœื ืชื‘ื ื™ืชื™ืช. (ืกึธืขึดื™ืฃ
14.5.3). ืœืคื ื™ ืฉ-G++ ื™ื™ืฉื ืžืคืจื˜ ืžืคื•ืจืฉ, ื™ืชื›ืŸ ืฉ-Inqualified-IDs ื”ื™ื•
ืžืชืคืจืฉ ื›ื”ืชืžื—ื•ืช ืžืกื•ื™ืžืช ืฉืœ ืคื•ื ืงืฆื™ื” ื‘ืขืœืช ืชื‘ื ื™ืช. ื‘ื’ืœืœ ื–ื”
ื”ืชื ื”ื’ื•ืช ืฉืื™ื ื” ืชื•ืืžืช ื”ื™ื ื›ื‘ืจ ืœื ื”ืชื ื”ื’ื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ G++,
-ืœื-ื—ื‘ืจ-ืชื‘ื ื™ืช ืžืืคืฉืจ ืœืžื”ื“ืจ ืœื‘ื“ื•ืง ืืช ื”ืงื•ื“ ื”ืงื™ื™ื ืœื‘ืขื™ื•ืช ืืคืฉืจื™ื•ืช
ื ืงื•ื“ื•ืช ื•ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ื ื™ืชืŸ ืœื›ื‘ื•ืช ืืช ื”ืชื ื”ื’ื•ืช ื”ืžื”ื“ืจ ื”ื—ื“ืฉื” ื”ื–ื• ื‘ืืžืฆืขื•ืช
-ืœื-ืœื-ื—ื‘ืจ-ืชื‘ื ื™ืช, ืืฉืจ ืฉื•ืžืจ ืืช ืงื•ื“ ื”ืžื”ื“ืจ ื”ืชื•ืื ืืš ืžืฉื‘ื™ืช ืืช ื”
ืื–ื”ืจื” ืžื•ืขื™ืœื”.

-ืงืืกื˜ ื‘ืกื’ื ื•ืŸ ื•ื•ืœื“ (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืงืืกื˜ ื‘ืกื’ื ื•ืŸ ื™ืฉืŸ (ื‘ืกื’ื ื•ืŸ C) ืœืกื•ื’ ืฉืื™ื ื• ืจื™ืง ื‘ืชื•ืš ืชื•ื›ื ื™ืช C++.
ื”ืงืืกื˜ ื‘ืกื’ื ื•ืŸ ื”ื—ื“ืฉ (-, ืฉื™ื“ื•ืจ ืกื˜ื˜ื™, ืœืคืจืฉ ืžื—ื“ืฉ_cast, ื• const_cast) ื”ื
ืคื—ื•ืช ืคื’ื™ืข ืœื”ืฉืคืขื•ืช ืœื ืžื›ื•ื•ื ื•ืช ื•ื”ืจื‘ื” ื™ื•ืชืจ ืงืœ ืœื—ืคืฉ.

-ืขืžื•ืก-ื•ื™ืจื˜ื•ืืœื™ (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ ื”ืฆื”ืจืช ืคื•ื ืงืฆื™ื” ืžืกืชื™ืจื” ืคื•ื ืงืฆื™ื•ืช ื•ื™ืจื˜ื•ืืœื™ื•ืช ืžืžื—ืœืงืช ื‘ืกื™ืก. ืœ
ืœื“ื•ื’ืžื”, ื‘:

ืžื‘ื ื” A {
ืจื™ืง ื•ื™ืจื˜ื•ืืœื™ f();
};

struct B: public A {
void f(int);
};

ื’ืจืกืช ื”ืžื—ืœืงื” "A" ืฉืœ "f" ืžื•ืกืชืจืช ื‘-"B", ื•ืงื•ื“ ื›ืžื•:

ื‘* ื‘;
b->f();

ืœื ืžืฆืœื™ื— ืœื”ื“ืจ.

-Wno-pmf-ื”ืžืจื•ืช (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ื”ืฉื‘ืช ืืช ื”ืื‘ื—ื•ืŸ ืœื”ืžืจืช ืžืฆื‘ื™ืข ืžืื•ื’ื“ ืœืคื•ื ืงืฆื™ื™ืช ืื™ื‘ืจ ืœืคื•ื ืงืฆื™ื” ืจื’ื™ืœื”
ืžึทืฆื‘ึผึดื™ืขึท.

-Wsign-promo (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ ืจื–ื•ืœื•ืฆื™ื™ืช ืขื•ืžืก ื™ืชืจ ื‘ื•ื—ืจืช ื‘ืงื™ื“ื•ื ืžืกื•ื’ ืœื ื—ืชื•ื ืื• ืžืžื•ืกืคืจ ืœ
ืกื•ื’ ื—ืชื•ื, ืขืœ ืคื ื™ ื”ืžืจื” ืœืกื•ื’ ืœื ื—ืชื•ื ื‘ืื•ืชื• ื’ื•ื“ืœ. ืงื•ื“ื
ื’ืจืกืื•ืช ืฉืœ G++ ื ื™ืกื• ืœืฉืžืจ ืืช ื—ื•ืกืจ ื”ื—ืชื™ืžื”, ืื‘ืœ ื”ืชืงืŸ ืžื—ื™ื™ื‘ ืืช ื”ื–ืจื
ื”ืชื ื”ื’ื•ืช.

ืืคืฉืจื•ื™ื•ืช ืฉืœื™ื˜ื” Objective-C ื• Objective-C ++ ื“ื™ืืœืงื˜ื™ื
(ื”ืขืจื”: ืžื“ืจื™ืš ื–ื” ืื™ื ื• ืžืชืืจ ืืช ืฉืคื•ืช Objective-C ื•-Objective-C++
ืขืฆืžื.

ืกืขื™ืฃ ื–ื” ืžืชืืจ ืืช ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื‘ืขืœื•ืช ืžืฉืžืขื•ืช ืจืง ืขื‘ื•ืจ Objective-C
ื•ืชื•ื›ื ื™ื•ืช Objective-C++. ืืชื” ื™ื›ื•ืœ ื’ื ืœื”ืฉืชืžืฉ ื‘ืจื•ื‘ ื”-GNU ื‘ืœืชื™ ืชืœื•ื™ ื‘ืฉืคื”
ืืคืฉืจื•ื™ื•ืช ืžื”ื“ืจ. ืœื“ื•ื’ืžื”, ืชื•ื›ืœ ืœื”ืจื›ื™ื‘ ืงื•ื‘ืฅ "some_class.m" ื›ืš:

gcc -g -fgnu-ืจื™ืฆื” -O -c some_class.m

ื‘ื“ื•ื’ืžื” ื–ื•, -fgnu-ื–ืžืŸ ืจื™ืฆื” ื”ื™ื ืืคืฉืจื•ืช ื”ืžื™ื•ืขื“ืช ืจืง ืœ-Objective-C ื•-Objective-C++
ืชื•ื›ื ื™ื•ืช; ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ื™ื•ืช ื”ืื—ืจื•ืช ืขื ื›ืœ ืฉืคื” ื”ื ืชืžื›ืช ืขืœ ื™ื“ื™ GCC.

ืฉื™ืžื• ืœื‘ ืฉืžื›ื™ื•ื•ืŸ ืฉ-Objective-C ื”ื™ื ื”ืจื—ื‘ื” ืฉืœ ืฉืคืช C, ื”ื™ื“ื•ืจื™ื ืฉืœ Objective-C
ืขืฉื•ื™ ื’ื ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ื™ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœื—ื–ื™ืช ื”-C (ืœืžืฉืœ, -ืžืกื•ืจืชื™). ื‘ืื•ืคืŸ ื“ื•ืžื”,
ื”ื™ื“ื•ืจื™ื ืฉืœ Objective-C++ ืขืฉื•ื™ื™ื ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ื™ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœ-C++ (ืœืžืฉืœ, -ื•ื•ืื‘ื™).

ื”ื ื” ืจืฉื™ืžื” ืฉืœ ืืคืฉืจื•ื™ื•ืช ืฉื›ืŸ ืจืง ืขื‘ื•ืจ ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ Objective-C ื•-Objective-C++
ืชื•ื›ื ื™ื•ืช:

-fconstant-string-class=ืฉื ื›ื™ืชื”
ื”ืฉืชืžืฉ ืฉื ื›ื™ืชื” ื›ืฉื ื”ืžื—ืœืงื” ืœืžื•ืคืข ืขื‘ื•ืจ ื›ืœ ืžื—ืจื•ื–ืช ืžื™ืœื•ืœื™ืช
ืฉืฆื•ื™ืŸ ืขื ื”ืชื—ื‘ื™ืจ "@"...". ืฉื ื”ืžื—ืœืงื” ื”ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื”ื•ื "NXConstantString" if
ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ GNU ื ืžืฆื ื‘ืฉื™ืžื•ืฉ, ื•-"NSConstantString" ืื ื–ืžืŸ ื”ืจื™ืฆื” NeXT ื ืžืฆื
ื‘ืฉื™ืžื•ืฉ (ืจืื” ืœื”ืœืŸ). ื” -fconstant-cfstrings ื”ืืคืฉืจื•ืช, ืื ื’ื ืงื™ื™ืžืช, ืขื•ืงืคืช ืืช
-ืคื•ื ืกื˜ื ื˜-ืžื™ืชืจื™ื ื”ื’ื“ืจื” ื•ื’ื•ืจืžื™ื ืœ-"@..."" ืžื™ืœื•ืœื™ื•ืช ืœื”ื™ื•ืช ืžื•ื ื—ื•ืช ื›ืงื‘ื•ืขื•ืช
ืžื—ืจื•ื–ื•ืช CoreFoundation.

-fgnu-ื–ืžืŸ ืจื™ืฆื”
ืฆื•ืจ ืงื•ื“ ืื•ื‘ื™ื™ืงื˜ ืชื•ืื ืœื–ืžืŸ ื”ืจื™ืฆื” ื”ืกื˜ื ื“ืจื˜ื™ ืฉืœ GNU Objective-C. ื–ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืจื•ื‘ ืกื•ื’ื™ ื”ืžืขืจื›ื•ืช.

-fnext-ื–ืžืŸ ืจื™ืฆื”
ืฆื•ืจ ืคืœื˜ ืชื•ืื ืœื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ NeXT. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืžื‘ื•ืกืกื™ NeXT
ืžืขืจื›ื•ืช, ื›ื•ืœืœ Darwin ื•-Mac OS X. ื”ืžืืงืจื• "__NEXT_RUNTIME__" ืžื•ื’ื“ืจ ืžืจืืฉ ืื
(ื•ืจืง ืื) ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื•.

-fno-nil-receivers
ื ื ื™ื— ืฉื›ืœ ื”ื•ื“ืขืช Objective-C ื ืฉืœื—ืช ("[ื”ื•ื“ืขื” ืžืงื‘ืœืช:arg]") ื‘ื–ื”
ื™ื—ื™ื“ืช ื”ืชืจื’ื•ื ืœื•ื•ื“ื ืฉื”ืžืงืœื˜ ืื™ื ื• "ืืคืก". ื–ื” ืžืืคืฉืจ ื™ื•ืชืจ
ื ืงื•ื“ื•ืช ื›ื ื™ืกื” ื™ืขื™ืœื•ืช ื‘ื–ืžืŸ ื”ืจื™ืฆื” ืœืฉื™ืžื•ืฉ. ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืจืง ื‘
ื‘ืฉื™ืœื•ื‘ ืขื ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ NeXT ื•ื’ืจืกืช ABI 0 ืื• 1.

-fobjc-abi-version=n
ื”ืฉืชืžืฉ ื‘ื’ืจืกื” n ืฉืœ ื”-ABI ืฉืœ Objective-C ืขื‘ื•ืจ ื–ืžืŸ ื”ืจื™ืฆื” ืฉื ื‘ื—ืจ. ืืคืฉืจื•ืช ื–ื• ื”ื™ื
ื›ืจื’ืข ื ืชืžืš ืจืง ืขื‘ื•ืจ ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ NeXT. ื‘ืžืงืจื” ื–ื”, ื’ืจืกื” 0 ื”ื™ื
ABI ืžืกื•ืจืชื™ (32 ืกื™ื‘ื™ื•ืช) ืœืœื ืชืžื™ื›ื” ื‘ืžืืคื™ื™ื ื™ื ื•ืฉืืจ Objective-C 2.0
ืชื•ืกืคื•ืช. ื’ืจืกื” 1 ื”ื™ื ื”-ABI ื”ืžืกื•ืจืชื™ (32 ืกื™ื‘ื™ื•ืช) ืขื ืชืžื™ื›ื” ื‘ืžืืคื™ื™ื ื™ื ื•
ืชื•ืกืคื•ืช ืื—ืจื•ืช ืฉืœ Objective-C 2.0. ื’ืจืกื” 2 ื”ื™ื ื”-ABI ื”ืžื•ื“ืจื ื™ืช (64 ืกื™ื‘ื™ื•ืช). ืื ืฉื•ื ื“ื‘ืจ ืœื
ืฉืฆื•ื™ืŸ, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ื’ืจืกื” 0 ื‘ืžื›ื•ื ื•ืช ื™ืขื“ ืฉืœ 32 ืกื™ื‘ื™ื•ืช, ื•ื’ืจืกื” 2 ื‘-64 ืกื™ื‘ื™ื•ืช
ืžื›ื•ื ื•ืช ืžื˜ืจื”.

-fobjc-call-cxx-cdtors
ืขื‘ื•ืจ ื›ืœ ืžื—ืœืงื” Objective-C, ื‘ื“ื•ืง ืื ืื—ื“ ืžืžืฉืชื ื™ ื”ืžื•ืคืข ืฉืœื” ื”ื•ื ืื•ื‘ื™ื™ืงื˜ C++
ืขื ื‘ื ืื™ ื‘ืจื™ืจืช ืžื—ื“ืœ ืœื ื˜ืจื™ื•ื•ื™ืืœื™. ืื ื›ืŸ, ืกื ืชื– "- (ืžื–ื”ื”) ืžื™ื•ื—ื“
ืฉื™ื˜ืช ืžื•ืคืข .cxx_construct ืฉืžืจื™ืฆื” ื‘ื•ื ื™ ื‘ืจื™ืจืช ืžื—ื“ืœ ืœื ื˜ืจื™ื•ื•ื™ืืœื™ื™ื ืขืœ ื›ืœ ืื—ื“
ืžืฉืชื ื™ ืžื•ืคืข ื›ืืœื”, ืœืคื™ ื”ืกื“ืจ, ื•ืื– ืžื—ื–ื™ืจื™ื "ืขืฆืžื™". ื‘ืื•ืคืŸ ื“ื•ืžื”, ื‘ื“ื•ืง ืื ื™ืฉ
ืžืฉืชื ื” ืžื•ืคืข ื”ื•ื ืื•ื‘ื™ื™ืงื˜ C++ ืขื ื”ืจืก ืœื ื˜ืจื™ื•ื•ื™ืืœื™, ื•ืื ื›ืŸ, ืกื ืชื–
ืฉื™ื˜ืช "- (void) .cxx_destruct" ืžื™ื•ื—ื“ืช ืฉืžืจื™ืฆื” ืืช ื›ืœ ืžืฉื—ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ืœืœื•, ื‘
ืกื“ืจ ื”ืคื•ืš.

ื”ืฉื™ื˜ื•ืช "- (id) .cxx_construct" ื•-"- (void) .cxx_destruct" ื ื•ืฆืจื• ื›ืš ืจืง
ืคื•ืขืœื™ื ืขืœ ืžืฉืชื ื™ ืžื•ืคืข ืฉื”ื•ื›ืจื–ื• ื‘ืžื—ืœืงื” ื”ื ื•ื›ื—ื™ืช ืฉืœ Objective-C, ื•ืœื ืขืœ ืืœื”
ื‘ื™ืจื•ืฉื” ืžืžืขืžื“ื•ืช-ืขืœ. ื‘ืื—ืจื™ื•ืช ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ Objective-C ืœ
ืœื”ืคืขื™ืœ ืืช ื›ืœ ื”ืฉื™ื˜ื•ืช ื”ืœืœื• ื‘ื”ื™ืจืจื›ื™ื™ืช ื”ื™ืจื•ืฉื” ืฉืœ ืื•ื‘ื™ื™ืงื˜. ืชืขื•ื“ืช ื”ื–ื”ื•ืช)
ืฉื™ื˜ื•ืช .cxx_construct" ืžื•ืคืขืœื•ืช ืขืœ ื™ื“ื™ ื–ืžืŸ ื”ืจื™ืฆื” ืžื™ื“ ืœืื—ืจ ืื•ื‘ื™ื™ืงื˜ ื—ื“ืฉ
ืžื•ืคืข ืžื•ืงืฆื”; ืฉื™ื˜ื•ืช "- (void) .cxx_destruct" ืžื•ืคืขืœื•ืช ื‘ืื•ืคืŸ ืžื™ื™ื“ื™
ืœืคื ื™ ืฉื–ืžืŸ ื”ืจื™ืฆื” ืžื‘ื˜ืœ ืžื•ืคืข ืื•ื‘ื™ื™ืงื˜.

ื ื›ื•ืŸ ืœื›ืชื™ื‘ืช ืฉื•ืจื•ืช ืืœื”, ืจืง ืœื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ NeXT ื‘-Mac OS X 10.4 ื•ืื™ืœืš ื™ืฉ ืชืžื™ื›ื” ืขื‘ื•ืจ
ืžืคืขื™ืœ ืืช ื”ืฉื™ื˜ื•ืช "- (id) .cxx_construct" ื•-"- (void) .cxx_destruct".

-fobjc-ืฉื™ื’ื•ืจ ื™ืฉื™ืจ
ืืคืฉืจ ืงืคื™ืฆื•ืช ืžื”ื™ืจื•ืช ืืœ ืฉื•ืœื— ื”ื”ื•ื“ืขื•ืช. ื‘ื“ืจื•ื•ื™ืŸ ื–ื” ืžื•ืฉื’ ื‘ืืžืฆืขื•ืช ื”
ืขืžื•ื“ comm.

-fobjc-ื—ืจื™ื’ื™ื
ืืคืฉืจ ืชืžื™ื›ื” ืชื—ื‘ื™ืจื™ืช ืœื˜ื™ืคื•ืœ ื‘ื—ืจื™ื’ื™ื ืžื•ื‘ื ื™ื ื‘-Objective-C, ื‘ื“ื•ืžื” ืœ
ืžื” ืฉืžืฆื™ืขื™ื C++ ื•-Java. ืืคืฉืจื•ืช ื–ื• ื ื“ืจืฉืช ื›ื“ื™ ืœื”ืฉืชืžืฉ ื‘-Objective-C
ืžื™ืœื•ืช ืžืคืชื— @try, @throw, @catch, @finally ื•-@synchronized. ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื”
ืขื ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ GNU ื•ื’ื ืขื ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ NeXT (ืืš ืœื ื–ืžื™ืŸ ื‘ืฉื™ืœื•ื‘ ืขื
ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ NeXT ื‘-Mac OS X 10.2 ื•ืื™ืœืš).

-fobjc-gc
ืืคืฉืจ ืื™ืกื•ืฃ ืืฉืคื” (GC) ื‘ืชื•ื›ื ื™ื•ืช Objective-C ื•-Objective-C++. ืืคืฉืจื•ืช ื–ื•
ื–ืžื™ืŸ ืจืง ืขื ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ NeXT; ืœื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ GNU ื™ืฉ ื–ื‘ืœ ืฉื•ื ื”
ื™ื™ืฉื•ื ืื•ืกืฃ ืฉืื™ื ื• ื“ื•ืจืฉ ื“ื’ืœื™ ืžื”ื“ืจ ืžื™ื•ื—ื“ื™ื.

-fobjc-nilcheck
ืขื‘ื•ืจ ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ NeXT ืขื ื’ืจืกื” 2 ืฉืœ ื”-ABI, ื‘ื“ื•ืง ืื ื™ืฉ ืฉื™ื˜ืช ืžืงืœื˜ ืืคืกื™ืช
ื”ืคืขืœื•ืช ืœืคื ื™ ื‘ื™ืฆื•ืข ืงืจื™ืืช ื”ืฉื™ื˜ื” ื‘ืคื•ืขืœ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื•ื™ื›ื•ืœื” ืœื”ื™ื•ืช
ืžื•ืฉื‘ืช ื‘ืืžืฆืขื•ืช -fno-objc-nilcheck. ืฉื™ื˜ื•ืช ื›ื™ืชื” ื•ืฉื™ื—ื•ืช ืกื•ืคืจ ืœืขื•ืœื ืœื ื ื‘ื“ืงื•ืช
ืขื‘ื•ืจ ืืคืก ื‘ืฆื•ืจื” ื–ื•, ืœื ืžืฉื ื” ืœืžื” ื”ื“ื’ืœ ื”ื–ื” ืžื•ื’ื“ืจ. ื ื›ื•ืŸ ืœืขื›ืฉื™ื• ื”ื“ื’ืœ ื”ื–ื” ืขื•ืฉื” ื–ืืช
ื›ืœื•ื ื›ืืฉืจ ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ GNU, ืื• ื’ืจืกื” ื™ืฉื ื” ื™ื•ืชืจ ืฉืœ NeXT ื–ืžืŸ ื”ืจื™ืฆื” ABI.

-fobjc-std=objc1
ืชื•ืื ืืช ืชื—ื‘ื™ืจ ื”ืฉืคื” ืฉืœ Objective-C 1.0, ื”ืฉืคื” ื”ืžื•ื›ืจืช ืขืœ ื™ื“ื™ GCC 4.0.
ื–ื” ืžืฉืคื™ืข ืจืง ืขืœ ืชื•ืกืคื•ืช Objective-C ืœืฉืคืช C/C++; ื–ื” ืœื ืžืฉืคื™ืข
ื”ืชืืžื” ืœืชืงื ื™ C/C++, ืืฉืจ ื ืฉืœื˜ืช ืขืœ ื™ื“ื™ ื”ื ื™ื‘ C/C++ ื”ื ืคืจื“
ื“ื’ืœื™ ืืคืฉืจื•ืช. ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžืฉืžืฉืช ืขื Objective-C ืื• Objective-C++
ืžื”ื“ืจ, ื›ืœ ืชื—ื‘ื™ืจ Objective-C ืฉืื™ื ื• ืžื•ื›ืจ ืขืœ ื™ื“ื™ GCC 4.0 ื ื“ื—ื”. ื–ึถื”
ืฉื™ืžื•ืฉื™ ืื ืืชื” ืฆืจื™ืš ืœื•ื•ื“ื ืฉื ื™ืชืŸ ืœื”ืจื›ื™ื‘ ืืช ืงื•ื“ Objective-C ืฉืœืš
ื’ืจืกืื•ืช ื™ืฉื ื•ืช ื™ื•ืชืจ ืฉืœ GCC.

-freplace-objc-classes
ืคืœื˜ ืกืžืŸ ืžื™ื•ื—ื“ ื”ืžื•ืจื” ld(1) ืœื ืœืงืฉืจ ืกื˜ื˜ื™ืช ื‘ืื•ื‘ื™ื™ืงื˜ ื”ืžืชืงื‘ืœ
ืงื•ื‘ืฅ, ื•ืืคืฉืจ dyld(1) ื›ื“ื™ ืœื˜ืขื•ืŸ ืื•ืชื• ื‘ื–ืžืŸ ืจื™ืฆื” ื‘ืžืงื•ื ื–ืืช. ื–ื” ืžืฉืžืฉ ื‘
ื‘ืฉื™ืœื•ื‘ ืขื ืžืฆื‘ ืื™ืชื•ืจ ื‘ืื’ื™ื Fix-and-Continue, ืฉื‘ื• ื ื›ื ืก ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜
ื ื™ืชืŸ ืœื”ืจื›ื™ื‘ ืžื—ื“ืฉ ืืช ื”ืฉืืœื” ื•ืœื”ื™ื˜ืขืŸ ืžื—ื“ืฉ ื‘ืื•ืคืŸ ื“ื™ื ืžื™ ื‘ืžื”ืœืš ื”ืชื•ื›ื ื™ืช
ื‘ื™ืฆื•ืข, ืœืœื ืฆื•ืจืš ืœื”ืคืขื™ืœ ืžื—ื“ืฉ ืืช ื”ืชื•ื›ื ื™ืช ืขืฆืžื”. ื ื›ื•ืŸ ืœืขื›ืฉื™ื•, ืชืงืŸ-ื•-
ืคื•ื ืงืฆื™ื•ื ืœื™ื•ืช ื”ืžืฉืš ื–ืžื™ื ื” ืจืง ื‘ืฉื™ืœื•ื‘ ืขื ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ NeXT ื‘-Mac
OS X 10.3 ื•ืื™ืœืš.

-fzero-link
ื‘ืขืช ื”ื™ื“ื•ืจ ืขื‘ื•ืจ ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ NeXT, ื”ืžื”ื“ืจ ืžื—ืœื™ืฃ ื‘ื“ืจืš ื›ืœืœ ืงืจื™ืื•ืช ืืœ
"objc_getClass("...")" (ื›ืืฉืจ ืฉื ื”ืžื—ืœืงื” ื™ื“ื•ืข ื‘ื–ืžืŸ ื”ื”ื™ื“ื•ืจ) ืขื
ื”ืคื ื™ื•ืช ืžื—ืœืงื•ืช ืกื˜ื˜ื™ื•ืช ืฉืžืื•ื—ืœื•ืช ื‘ื–ืžืŸ ื˜ืขื™ื ื”, ืžื” ืฉืžืฉืคืจ ืืช ื–ืžืŸ ื”ืจื™ืฆื”
ื‘ื™ืฆื•ืขื™ื. ืฆื™ื•ืŸ ื” -fzero-link ื“ื’ืœ ืžื“ื›ื ื”ืชื ื”ื’ื•ืช ื–ื• ื•ื’ื•ืจื
ืงืจื™ืื•ืช ืœ-"objc_getClass("...")" ืฉื™ืฉืžืจื•. ื–ื” ืฉื™ืžื•ืฉื™ ื‘- Zero-Link
ืžืฆื‘ ืื™ืชื•ืจ ื‘ืื’ื™ื, ืžื›ื™ื•ื•ืŸ ืฉื”ื•ื ืžืืคืฉืจ ืœืฉื ื•ืช ื™ื™ืฉื•ืžื™ ืžื—ืœืงื” ื‘ื•ื“ื“ื™ื
ื‘ืžื”ืœืš ื‘ื™ืฆื•ืข ื”ืชื•ื›ื ื™ืช. ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ GNU ื›ืจื’ืข ืฉื•ืžืจ ืชืžื™ื“ ืงืจื™ืื•ืช ืืœ
"objc_get_class("...")" ืœืœื ืงืฉืจ ืœืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื”.

-gen-decls
dump ื”ืฆื”ืจื•ืช ืžืžืฉืง ืขื‘ื•ืจ ื›ืœ ื”ืžื—ืœืงื•ืช ื”ื ืจืื•ืช ื‘ืงื•ื‘ืฅ ื”ืžืงื•ืจ ืœืงื•ื‘ืฅ ื‘ืฉื
sourcename.decl.

-Wassign-ื™ื™ืจื˜ (Objective-C ื•-Objective-C++ ื‘ืœื‘ื“)
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืžืฉื™ืžืช Objective-C ืžื™ื™ืจื˜ืช ืขืœ ื™ื“ื™ ืืกืคืŸ ื”ืืฉืคื”.

-ืื™ืŸ ืคืจื•ื˜ื•ืงื•ืœ (Objective-C ื•-Objective-C++ ื‘ืœื‘ื“)
ืื ืžื—ืœืงื” ืžื•ื›ืจื–ืช ืœื™ื™ืฉื ืคืจื•ื˜ื•ืงื•ืœ, ืžื•ื ืคืงืช ืื–ื”ืจื” ืขื‘ื•ืจ ื›ืœ ืฉื™ื˜ื”
ื‘ืคืจื•ื˜ื•ืงื•ืœ ืฉืื™ื ื• ืžื™ื•ืฉื ืขืœ ื™ื“ื™ ื”ื›ื™ืชื”. ื”ืชื ื”ื’ื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœ
ืคืจืกื ืื–ื”ืจื” ืขื‘ื•ืจ ื›ืœ ืฉื™ื˜ื” ืฉืœื ื™ื•ืฉืžื” ื‘ืžืคื•ืจืฉ ื‘ืžื—ืœืงื”, ื’ื ืื ื
ื™ื™ืฉื•ื ื”ืฉื™ื˜ื” ืขื•ื‘ืจ ื‘ื™ืจื•ืฉื” ืžืžื—ืœืงืช ื”ืขืœ. ืื ืืชื” ืžืฉืชืžืฉ ื‘ -ืื™ืŸ ืคืจื•ื˜ื•ืงื•ืœ
ืื•ืคืฆื™ื”, ืื– ืฉื™ื˜ื•ืช ืฉืขื‘ืจื• ื‘ื™ืจื•ืฉื” ืžืžื—ืœืงืช ื”ืขืœ ื ื—ืฉื‘ื•ืช ืœืžื™ื•ืฉืžื•ืช,
ื•ืœื ื™ื•ืฆืืช ืœื”ื ืื–ื”ืจื”.

-ื•ื‘ื•ืจืจ (Objective-C ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ื ืžืฆืื• ืžืกืคืจ ืฉื™ื˜ื•ืช ืžืกื•ื’ื™ื ืฉื•ื ื™ื ืขื‘ื•ืจ ืื•ืชื• ื‘ื•ืจืจ ื‘ืžื”ืœืš
ื”ึทื”ื“ึธืจึธื”. ื”ื‘ื“ื™ืงื” ืžืชื‘ืฆืขืช ืขืœ ืจืฉื™ืžืช ื”ืฉื™ื˜ื•ืช ื‘ืฉืœื‘ ื”ืกื•ืคื™ ืฉืœ
ื”ึทื”ื“ึธืจึธื”. ื‘ื ื•ืกืฃ, ืžืชื‘ืฆืขืช ื‘ื“ื™ืงื” ืขื‘ื•ืจ ื›ืœ ื‘ื•ืจืจ ื”ืžื•ืคื™ืข ื‘-a
ื‘ื™ื˜ื•ื™ "@selector(...)", ื•ืฉื™ื˜ื” ืžืชืื™ืžื” ืขื‘ื•ืจ ืื•ืชื• ื‘ื•ืจืจ ื”ื™ื™ืชื”
ื ืžืฆื ื‘ืžื”ืœืš ื”ื™ื“ื•ืจ. ืžื›ื™ื•ื•ืŸ ืฉื‘ื“ื™ืงื•ืช ืืœื• ืกื•ืจืงื•ืช ืืช ื˜ื‘ืœืช ื”ืžืชื•ื“ื•ืช ืจืง ื‘ืกื•ืฃ
ืฉืœ ื”ืงื•ืžืคื™ืœืฆื™ื”, ืื–ื”ืจื•ืช ืืœื• ืื™ื ืŸ ืžื•ืคืงื•ืช ืื ื”ืฉืœื‘ ื”ืื—ืจื•ืŸ ืฉืœ ื”ืงื•ืžืคื™ืœืฆื™ื” ื”ื•ื
ืœื ื”ื•ืฉื’, ืœืžืฉืœ ื‘ื’ืœืœ ืฉื ืžืฆืื” ืฉื’ื™ืื” ื‘ืžื”ืœืš ื”ื”ื™ื“ื•ืจ, ืื• ื‘ื’ืœืœ ืฉื”
-fsyntax-ื‘ืœื‘ื“ ื”ืื•ืคืฆื™ื” ื ืžืฆืืช ื‘ืฉื™ืžื•ืฉ.

-Wstrict-selector-match (Objective-C ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ื ืžืฆืื• ืžืกืคืจ ืฉื™ื˜ื•ืช ืขื ืกื•ื’ื™ ืืจื’ื•ืžื ื˜ ื•/ืื• ื”ื—ื–ืจื” ืฉื•ื ื™ื ืขื‘ื•ืจ a
ื‘ื•ืจืจ ืฉื ื™ืชืŸ ื‘ืขืช โ€‹โ€‹ื ื™ืกื™ื•ืŸ ืœืฉืœื•ื— ื”ื•ื“ืขื” ื‘ืืžืฆืขื•ืช ื‘ื•ืจืจ ื–ื” ืœืžืงื‘ืœ ืฉืœ
ื”ืงืœื“ "id" ืื• "Class". ื›ืืฉืจ ื”ื“ื’ืœ ื”ื–ื” ื›ื‘ื•ื™ (ืฉื”ื™ื ื”ืชื ื”ื’ื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ), ื”
ื”ืžื”ื“ืจ ืžืฉืžื™ื˜ ืื–ื”ืจื•ืช ื›ืืœื” ืื ื ืžืฆืื• ื”ื‘ื“ืœื™ื ืžื•ื’ื‘ืœื™ื ืœืกื•ื’ื™ื ื”ืžืฉืชืคื™ื
ืื•ืชื• ื’ื•ื“ืœ ื•ื™ื™ืฉื•ืจ.

-ื‘ื•ืจืจ-ืžื•ืฆื”ืจ (Objective-C ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ื ืžืฆื ื‘ื™ื˜ื•ื™ "@selector(...)" ื”ืžืชื™ื™ื—ืก ืœื‘ื•ืจืจ ืœื ืžื•ื›ืจื–. ื
ื”ื‘ื•ืจืจ ื ื—ืฉื‘ ืœื ืžื•ื›ืจื– ืื ืœื ื”ื•ื›ืจื–ื” ืฉื™ื˜ื” ื‘ืฉื ื–ื” ื‘ืขื‘ืจ
ื”ื‘ื™ื˜ื•ื™ "@selector(...)", ืื• ื‘ืžืคื•ืจืฉ ื‘ืžืžืฉืง @ ืื• ื‘-@protocol
ื”ืฆื”ืจื”, ืื• ื‘ืžืฉืชืžืข ื‘ืงื˜ืข @implementation. ืืคืฉืจื•ืช ื–ื• ืชืžื™ื“ ืคื•ืขืœืช
ื”ื•ื ื‘ื•ื“ืง ื‘ืจื’ืข ืฉื ืžืฆื ื‘ื™ื˜ื•ื™ "@selector(...)", while -ื•ื‘ื•ืจืจ ืจืง
ืžื‘ืฆืขืช ืืช ื‘ื“ื™ืงื•ืชื™ื” ื‘ืฉืœื‘ ื”ืกื•ืคื™ ืฉืœ ื”ื”ื™ื“ื•ืจ. ื–ื” ื’ื ืื•ื›ืฃ ืืช ื”ืงื™ื“ื•ื“
ืžื•ืกื›ืžื” ื‘ืกื’ื ื•ืŸ ืฉืœืคื™ื” ื™ืฉ ืœื”ืฆื”ื™ืจ ืขืœ ืฉื™ื˜ื•ืช ื•ื‘ื•ืจืจื™ื ืœืคื ื™ ื”ืฉื™ืžื•ืฉ.

-print-objc-runtime-info
ืฆื•ืจ ื›ื•ืชืจืช C ื”ืžืชืืจืช โ€‹โ€‹ืืช ื”ืžื‘ื ื” ื”ื’ื“ื•ืœ ื‘ื™ื•ืชืจ ืฉืžื•ืขื‘ืจ ืœืคื™ ืขืจืš, ืื ื‘ื›ืœืœ.

ืืคืฉืจื•ื™ื•ืช ืœ ืฉืœื™ื˜ื” ืื‘ื—ื•ืŸ ืžืกืจื™ื ืขื™ืฆื•ื‘
ื‘ืื•ืคืŸ ืžืกื•ืจืชื™, ื”ื•ื“ืขื•ืช ืื‘ื—ื•ืŸ ืขื•ืฆื‘ื• ืœืœื ืงืฉืจ ืœืืœื• ืฉืœ ื”ืชืงืŸ ื”ืคืœื˜
ื”ื™ื‘ื˜ (ืœืžืฉืœ ื”ืจื•ื—ื‘ ืฉืœื•, ...). ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ื™ื•ืช ื”ืžืชื•ืืจื•ืช ืœื”ืœืŸ ื›ื“ื™ ืœืฉืœื•ื˜ ื‘
ืืœื’ื•ืจื™ืชื ืขื™ืฆื•ื‘ ืœื”ื•ื“ืขื•ืช ืื‘ื—ื•ืŸ, ืœืžืฉืœ ื›ืžื” ืชื•ื•ื™ื ื‘ืฉื•ืจื”, ื‘ืื™ื–ื• ืชื“ื™ืจื•ืช
ื™ืฉ ืœื“ื•ื•ื— ืขืœ ืคืจื˜ื™ ืžื™ืงื•ื ื”ืžืงื•ืจ. ืฉื™ื ืœื‘ ืฉื™ื™ืชื›ืŸ ืฉื—ืœืง ืžืงืฆื” ื”ืฉืคื” ืขืฉื•ื™
ืœื ืœื›ื‘ื“ ืืช ื”ืืคืฉืจื•ื™ื•ืช ื”ืœืœื•.

-fmessage-length=n
ื ืกื” ืœืขืฆื‘ ื”ื•ื“ืขื•ืช ืฉื’ื™ืื” ื›ืš ืฉื™ืชืื™ืžื• ืœืฉื•ืจื•ืช ืฉืœ ื‘ืขืจืš n ื“ืžื•ื™ื•ืช. ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 72 ืชื•ื•ื™ื ืขื‘ื•ืจ g ++ ื•-0 ืขื‘ื•ืจ ืฉืืจ ื”ืงืฆื•ื•ืช ื”ืงื“ืžื™ื™ื ื”ื ืชืžื›ื™ื ืขืœ ื™ื“ื™
GCC. ืื n ื”ื•ื ืืคืก, ืื– ืœื ืžืชื‘ืฆืขืช ื’ืœื™ืฉืช ืฉื•ืจื”; ื›ืœ ื”ื•ื“ืขืช ืฉื’ื™ืื” ืžื•ืคื™ืขื” ื‘-a
ืฉื•ืจื” ื‘ื•ื“ื“ืช.

-fdiagnostics-show-location=ืคืขื ืื—ืช
ืžืฉืžืขื•ืชื™ ืจืง ื‘ืžืฆื‘ ื’ืœื™ืฉืช ืฉื•ืจื•ืช. ืžื•ืจื” ืœื›ืชื‘ ื”ื•ื“ืขื•ืช ื”ืื‘ื—ื•ืŸ
ืœืคืœื•ื˜ ืžื™ื“ืข ืขืœ ืžื™ืงื•ื ืžืงื•ืจ ืคืขื; ื›ืœื•ืžืจ, ืœืžืงืจื” ืฉื”ื”ื•ื“ืขื” ืืจื•ื›ื” ืžื›ื“ื™ ืœื”ืชืื™ื
ืขืœ ืงื• ืคื™ื–ื™ ื™ื—ื™ื“ ื•ื™ืฉ ืœืขื˜ื•ืฃ ืื•ืชื•, ืžื™ืงื•ื ื”ืžืงื•ืจ ืœื ื™ื™ืคืœื˜
(ื›ืชื—ื™ืœื™ืช) ืฉื•ื‘, ืฉื•ื‘ ื•ืฉื•ื‘, ื‘ืฉื•ืจื•ืช ื”ื”ืžืฉืš ื”ื‘ืื•ืช. ื–ื”
ื”ืชื ื”ื’ื•ืช ื‘ืจื™ืจืช ืžื—ื“ืœ.

-fdiagnostics-show-location=every-line
ืžืฉืžืขื•ืชื™ ืจืง ื‘ืžืฆื‘ ื’ืœื™ืฉืช ืฉื•ืจื•ืช. ืžื•ืจื” ืœื›ืชื‘ ื”ื•ื“ืขื•ืช ื”ืื‘ื—ื•ืŸ
ืคื•ืœื˜ ืืช ืื•ืชื• ืžื™ื“ืข ืžื™ืงื•ื ืžืงื•ืจ (ื›ืชื—ื™ืœื™ืช) ืขื‘ื•ืจ ืงื•ื•ื™ื ืคื™ื–ื™ื™ื ื”ื ื•ื‘ืขื™ื ืžื›ืš
ืžืชื”ืœื™ืš ืฉื‘ื™ืจืช ื”ื•ื“ืขื” ืืจื•ื›ื” ืžื›ื“ื™ ืœื”ืชืื™ื ืœืฉื•ืจื” ืื—ืช.

-fno-diagnostics-show-option
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื›ืœ ืื‘ื—ื•ืŸ ืฉื ืคืœื˜ ื›ื•ืœืœ ื˜ืงืกื˜ ื”ืžืฆื™ื™ืŸ ืืช ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื”
ื”ืฉื•ืœื˜ ื™ืฉื™ืจื•ืช ื‘ืื‘ื—ื•ืŸ (ืื ืืคืฉืจื•ืช ื›ื–ื• ื™ื“ื•ืขื” ืœืื‘ื—ื•ืŸ
ืžึฐื›ื•ึนื ื•ึนืช). ืฆื™ื•ืŸ ื” -fno-diagnostics-show-option ื”ื“ื’ืœ ืžื“ื›ื ืืช ื–ื”
ื”ืชื ื”ื’ื•ืช.

-fno-diagnostics-show-caret
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื›ืœ ืื‘ื—ื•ืŸ ืฉื ืคืœื˜ ื›ื•ืœืœ ืืช ืฉื•ืจืช ื”ืžืงื•ืจ ื”ืžืงื•ืจื™ืช ื•ืกื™ืžืŸ '^'
ืžืฆื™ื™ืŸ ืืช ื”ืขืžื•ื“ื”. ืืคืฉืจื•ืช ื–ื• ืžื“ื—ื™ืงื” ืžื™ื“ืข ื–ื”.

ืืคืฉืจื•ื™ื•ืช ืœ ื‘ืงืฉ or ืœื“ื›ื ืื–ื”ืจื•ืช
ืื–ื”ืจื•ืช ื”ืŸ ื”ื•ื“ืขื•ืช ืื‘ื—ื•ืŸ ื”ืžื“ื•ื•ื—ื•ืช ืขืœ ืงื•ื ืกื˜ืจื•ืงืฆื™ื•ืช ืฉืื™ื ืŸ ืžื˜ื‘ืขืŸ
ืฉื’ื•ื™ื™ื ืื‘ืœ ื”ื ืžืกื•ื›ื ื™ื ืื• ืžืจืžื–ื™ื ืขืœ ื›ืš ืฉืื•ืœื™ ื”ื™ื™ืชื” ืฉื’ื™ืื”.

ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช ืฉืื™ื ืŸ ืชืœื•ื™ื•ืช ื‘ืฉืคื” ืื™ื ืŸ ืžืืคืฉืจื•ืช ืื–ื”ืจื•ืช ืกืคืฆื™ืคื™ื•ืช ืืœื ืฉื•ืœื˜ื•ืช ื‘
ืกื•ื’ื™ ืื‘ื—ื•ืŸ ื”ืžื™ื•ืฆืจื™ื ืขืœ ื™ื“ื™ GCC.

-fsyntax-ื‘ืœื‘ื“
ื‘ื“ื•ืง ืืช ื”ืงื•ื“ ืขื‘ื•ืจ ืฉื’ื™ืื•ืช ืชื—ื‘ื™ืจ, ืื‘ืœ ืืœ ืชืขืฉื” ืฉื•ื ื“ื‘ืจ ืžืขื‘ืจ ืœื–ื”.

-fmax-errors=n
ืžื’ื‘ื™ืœ ืืช ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื•ื“ืขื•ืช ืฉื’ื™ืื” ืœ n, ื‘ืฉืœื‘ ื–ื” GCC ืžื—ืœืฅ
ืžืืฉืจ ืœื ืกื•ืช ืœื”ืžืฉื™ืš ื•ืœืขื‘ื“ ืืช ืงื•ื“ ื”ืžืงื•ืจ. ืื n ื”ื•ื 0 (ื‘ืจื™ืจืช ื”ืžื—ื“ืœ),
ืื™ืŸ ื”ื’ื‘ืœื” ืขืœ ืžืกืคืจ ื”ื•ื“ืขื•ืช ื”ืฉื’ื™ืื” ื”ืžื•ืคืงื•ืช. ืื -ืฉื’ื™ืื•ืช ื—ืžื•ืจื•ืช ื’ื
ืื ื›ืŸ -ืฉื’ื™ืื•ืช ื—ืžื•ืจื•ืช ืขื“ื™ืคื•ืช ืขืœ ืืคืฉืจื•ืช ื–ื•.

-w ื—ืกื•ื ืืช ื›ืœ ื”ื•ื“ืขื•ืช ื”ืื–ื”ืจื”.

-ืฉื’ื™ืื”
ื”ืคื•ืš ืืช ื›ืœ ื”ืื–ื”ืจื•ืช ืœืฉื’ื™ืื•ืช.

-ืฉื’ื™ืื”=
ื”ืคื•ืš ืืช ื”ืื–ื”ืจื” ืฉืฆื•ื™ื ื” ืœืฉื’ื™ืื”. ื”ืžืคืจื˜ ืœืื–ื”ืจื” ืžืฆื•ืจืฃ;
ืœื“ื•ื’ืžื” -ืฉื’ื™ืื”=ืžืชื’ ื”ื•ืคืš ืืช ื”ืื–ื”ืจื•ืช ื”ื ืฉืœื˜ื•ืช ืขืœ ื™ื“ื™ -ืžืชื’ ืœืชื•ืš ืฉื’ื™ืื•ืช.
ืžืชื’ ื–ื” ืžืงื‘ืœ ืฆื•ืจื” ืฉืœื™ืœื™ืช, ื›ื“ื™ ืœืฉืžืฉ ืœืฉืœื™ืœื” -ืฉื’ื™ืื” ืœืื–ื”ืจื•ืช ืกืคืฆื™ืคื™ื•ืช;
ืœื“ื•ื’ืžื” -Wno-error=ืžืชื’ ืขื•ืฉื” -ืžืชื’ ืื–ื”ืจื•ืช ืื™ื ืŸ ืฉื’ื™ืื•ืช, ื’ื ื›ืืฉืจ -ืฉื’ื™ืื”
ื”ื•ื ื‘ืชื•ืงืฃ.

ื”ื•ื“ืขืช ื”ืื–ื”ืจื” ืขื‘ื•ืจ ื›ืœ ืื–ื”ืจื” ื”ื ื™ืชื ืช ืœืฉืœื™ื˜ื” ื›ื•ืœืœืช ืืช ื”ืืคืฉืจื•ืช ื”ืฉื•ืœื˜ืช
ื”ืื–ื”ืจื”. ืœืื—ืจ ืžื›ืŸ ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืขื -ืฉื’ื™ืื”= ื• -Wno-error= ื›ืคื™ ืฉืชื•ืืจ
ืžึตืขึทืœ. (ื ื™ืชืŸ ืœื‘ื˜ืœ ืืช ื”ื“ืคืกืช ื”ืืคืฉืจื•ืช ื‘ื”ื•ื“ืขืช ื”ืื–ื”ืจื” ื‘ืืžืฆืขื•ืช ื”
-fno-diagnostics-show-option ื“ึถื’ึถืœ.)

ืฉื™ืžื• ืœื‘ ืฉืžืคืจื˜ื™ื -ืฉื’ื™ืื”=Foo ืžืจืžื– ื‘ืื•ืคืŸ ืื•ื˜ื•ืžื˜ื™ -WFoo. ืขื ื–ืืช, -Wno-error=Foo
ืœื ืžืจืžื– ืขืœ ืฉื•ื ื“ื‘ืจ.

-ืฉื’ื™ืื•ืช ื—ืžื•ืจื•ืช
ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช ืœืžื”ื“ืจ ืœื‘ื˜ืœ ืืช ื”ื”ื™ื“ื•ืจ ื›ืืฉืจ ื”ืชืจื—ืฉื” ื”ืฉื’ื™ืื” ื”ืจืืฉื•ื ื”
ื‘ืžืงื•ื ืœื ืกื•ืช ืœื”ืžืฉื™ืš ื•ืœื”ื“ืคื™ืก ื”ื•ื“ืขื•ืช ืฉื’ื™ืื” ื ื•ืกืคื•ืช.

ืืชื” ื™ื›ื•ืœ ืœื‘ืงืฉ ืื–ื”ืจื•ืช ืกืคืฆื™ืคื™ื•ืช ืจื‘ื•ืช ืขื ืืคืฉืจื•ื™ื•ืช ืฉืžืชื—ื™ืœื•ืช ื‘ -W, ืœืžืฉืœ
- ืžืจื•ืžื– ืœื‘ืงืฉ ืื–ื”ืจื•ืช ืขืœ ื”ืฆื”ืจื•ืช ืžืจื•ืžื–ื•ืช. ื›ืœ ืื—ืช ืžื”ืื–ื”ืจื•ืช ื”ืกืคืฆื™ืคื™ื•ืช ื”ืœืœื•
ืœืืคืฉืจื•ื™ื•ืช ื™ืฉ ื’ื ื”ืชื—ืœื” ืฉืœื™ืœื™ืช -ืœื- ืœื‘ื˜ืœ ืื–ื”ืจื•ืช; ืœื“ื•ื’ืžื”,
-ืœื ืžืจื•ืžื–. ืžื“ืจื™ืš ื–ื” ืžืคืจื˜ ืจืง ืื—ื“ ืžืฉื ื™ ื”ื˜ืคืกื™ื, ืžื” ืฉืื™ื ื• ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.
ืœืืคืฉืจื•ื™ื•ืช ื ื•ืกืคื•ืช ืกืคืฆื™ืคื™ื•ืช ืœืฉืคื” ืขื™ื™ืŸ ื’ื ื‘ C + + ื ื™ื‘ ืืคืฉืจื•ื™ื•ืช ื• Objective-C
ื• Objective-C ++ ื ื™ื‘ ืืคืฉืจื•ื™ื•ืช.

ื›ืืฉืจ ืžืชื‘ืงืฉืช ืืคืฉืจื•ืช ืื–ื”ืจื” ืœื ืžื–ื•ื”ื” (ืœืžืฉืœ, -ืœื ื™ื“ื•ืข-ืื–ื”ืจื”), GCC ืคื•ืœื˜ ื
ืื‘ื—ื•ืŸ ื”ืงื•ื‘ืข ืฉื”ืืคืฉืจื•ืช ืื™ื ื” ืžื–ื•ื”ื”. ืขื ื–ืืช, ืื ื” -ืœื- ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื˜ื•ืคืก,
ื”ื”ืชื ื”ื’ื•ืช ืžืขื˜ ืฉื•ื ื”: ืœื ืžื™ื™ืฆืจื™ื ืื‘ื—ื•ืŸ ืขื‘ื•ืจ -ืื–ื”ืจื” ืœื ื™ื“ื•ืขื”
ืืœื ืื ื›ืŸ ืžื™ื™ืฆืจื™ื ืื‘ื—ื•ืŸ ืื—ืจ. ื–ื” ืžืืคืฉืจ ืฉื™ืžื•ืฉ ื‘ื—ื“ืฉ -ืœื- ืืคืฉืจื•ื™ื•ืช
ืขื ืžื”ื“ืจื™ื ื™ืฉื ื™ื, ืื‘ืœ ืื ืžืฉื”ื• ืžืฉืชื‘ืฉ, ื”ืžื”ื“ืจ ืžื–ื”ื™ืจ ื›ื™ ืœื ืžื–ื•ื”ื”
ื”ืืคืฉืจื•ืช ืงื™ื™ืžืช.

-Wpedantic
-ืงึทืคึผึฐื“ึธื ึดื™
ืคืจืกื ืืช ื›ืœ ื”ืื–ื”ืจื•ืช ื”ื ื“ืจืฉื•ืช ืขืœ ื™ื“ื™ ISO C ื•-ISO C++ ื”ืžื—ืžื™ืจื™ื; ืœื“ื—ื•ืช ืืช ื›ืœ ื”ืชื•ื›ื ื™ื•ืช
ื”ืฉืชืžืฉ ื‘ื”ืจื—ื‘ื•ืช ืืกื•ืจื•ืช, ื•ื‘ื›ืžื” ืชื•ื›ื ื™ื•ืช ืื—ืจื•ืช ืฉืื™ื ืŸ ืขื•ืงื‘ื•ืช ืื—ืจ ISO C ื•-ISO
C++. ืขื‘ื•ืจ ISO C, ื‘ื”ืชืื ืœื’ืจืกื” ืฉืœ ืชืงืŸ ISO C ืฉืฆื•ื™ืŸ ืขืœ ื™ื“ื™ ื›ืœ ืื—ื“ -ืกื˜ื“
ืื•ืคืฆื™ื” ื‘ืฉื™ืžื•ืฉ.

ืชื•ื›ื ื™ื•ืช ISO C ื•-ISO C++ ื—ื•ืงื™ื•ืช ืฆืจื™ื›ื•ืช ืœื”ื“ืจ ื›ืจืื•ื™ ืขื ืื• ื‘ืœื™ ืืคืฉืจื•ืช ื–ื•
(ืื ื›ื™ ืžืขื˜ื™ื ื ื“ื™ืจื™ื ื“ื•ืจืฉื™ื -ืื ืกื™ ืื• -ืกื˜ื“ ืืคืฉืจื•ืช ื”ืžืฆื™ื™ื ืช ืืช ื”ื’ืจืกื” ื”ื ื“ืจืฉืช ืฉืœ
ISO C). ืขื ื–ืืช, ืœืœื ืืคืฉืจื•ืช ื–ื•, ื”ืจื—ื‘ื•ืช ืžืกื•ื™ืžื•ืช ืฉืœ GNU ื•-C ื•-ืžืกื•ืจืชื™ื•ืช
ืชื›ื•ื ื•ืช C++ ื ืชืžื›ื•ืช ื’ื ื›ืŸ. ืขื ืืคืฉืจื•ืช ื–ื•, ื”ื ื ื“ื—ื™ื.

-Wpedantic ืื™ื ื• ื’ื•ืจื ืœื”ื•ื“ืขื•ืช ืื–ื”ืจื” ืœืฉื™ืžื•ืฉ ื‘ืžื™ืœื•ืช ื”ืžืคืชื— ื”ื—ืœื•ืคื™ื•ืช ืฉืœื”ืŸ
ืฉืžื•ืช ืžืชื—ื™ืœื™ื ื•ืžืกืชื™ื™ืžื™ื ื‘ __. ื’ื ืื–ื”ืจื•ืช ืคื“ื ื˜ื™ื•ืช ืžื•ืฉื‘ืชื•ืช ื‘ื‘ื™ื˜ื•ื™
ืฉืื—ืจื™ "__extension__". ืขื ื–ืืช, ืจืง ืงื•ื‘ืฆื™ ื›ื•ืชืจื•ืช ืžืขืจื›ืช ืฆืจื™ื›ื™ื ืœื”ืฉืชืžืฉ ื‘ืืœื”
ื“ืจื›ื™ ืžื™ืœื•ื˜; ืชื•ื›ื ื™ื•ืช ื™ื™ืฉื•ืžื™ื ืฆืจื™ื›ื•ืช ืœื”ื™ืžื ืข ืžื”ืŸ.

ื—ืœืง ืžื”ืžืฉืชืžืฉื™ื ืžื ืกื™ื ืœื”ืฉืชืžืฉ -Wpedantic ื›ื“ื™ ืœื‘ื“ื•ืง ืชื•ื›ื ื™ื•ืช ืœื”ืชืืžื” ืงืคื“ื ื™ืช ืฉืœ ISO C. ื”ึตื
ืขื“ ืžื”ืจื” ืžื’ืœื™ื ืฉื”ื•ื ืœื ืขื•ืฉื” ื‘ื“ื™ื•ืง ืžื” ืฉื”ื ืจื•ืฆื™ื: ื”ื•ื ืžื•ืฆื ื›ืžื” ืฉื™ื˜ื•ืช ืขื‘ื•ื“ื” ืฉืื™ื ืŸ ISO,
ืื‘ืœ ืœื ื›ื•ืœื --- ืจืง ืืœื” ืฉืขื‘ื•ืจื ISO C ื“ื•ืจืฉ ืื‘ื—ื•ืŸ, ื•ื›ืžื” ืื—ืจื™ื ืขื‘ื•ืจ
ืื™ืœื• ืื‘ื—ื•ื ื™ื ื ื•ืกืคื•.

ืชื›ื•ื ื” ืœื“ื™ื•ื•ื— ืขืœ ื›ืœ ื›ืฉืœ ื‘ื”ืชืืžื” ืœ-ISO C ืขืฉื•ื™ื” ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ืช ื‘ืžืงืจื™ื ืžืกื•ื™ืžื™ื,
ืื‘ืœ ื™ื“ืจื•ืฉ ืขื‘ื•ื“ื” ื ื•ืกืคืช ืœื ืžื‘ื•ื˜ืœืช ื•ื™ื”ื™ื” ืฉื•ื ื” ืœื’ืžืจื™ ืžื–ื”
-Wpedantic. ืื™ืŸ ืœื ื• ืชื•ื›ื ื™ื•ืช ืœืชืžื•ืš ื‘ืชื›ื•ื ื” ื›ื–ื• ื‘ืขืชื™ื“ ื”ืงืจื•ื‘.

ื›ืืฉืจ ื”ืชืงืŸ ืฆื•ื™ืŸ ืขื -ืกื˜ื“ ืžื™ื™ืฆื’ ื“ื™ืืœืงื˜ ืžื•ืจื—ื‘ ืฉืœ GNU ืฉืœ C, ื›ื’ื•ืŸ
gnu90 or gnu99, ื™ืฉ ืžืงื‘ื™ืœ ื‘ืกื™ืก ืชึถืงึถืŸ, ื”ื’ืจืกื” ืฉืœ ISO C ืฉื‘ื”
ื”ื“ื™ืืœืงื˜ ื”ืžื•ืจื—ื‘ ืฉืœ GNU ืžื‘ื•ืกืก. ืื–ื”ืจื•ืช ืž -Wpedantic ื ื™ืชื ื™ื ื”ื™ื›ืŸ ืฉื”ื ื ืžืฆืื™ื
ื ื“ืจืฉ ืขืœ ืคื™ ืชืงืŸ ื”ื‘ืกื™ืก. (ืœื ื”ื’ื™ื•ื ื™ ืœืชืช ืื–ื”ืจื•ืช ื›ืืœื”
ืจืง ืขื‘ื•ืจ ืชื›ื•ื ื•ืช ืฉืื™ื ืŸ ื‘ื ื™ื‘ GNU C ืฉืฆื•ื™ืŸ, ืฉื›ืŸ ื‘ื”ื’ื“ืจื” ื”-GNU
ื“ื™ืืœืงื˜ื™ื ืฉืœ C ื›ื•ืœืœื™ื ืืช ื›ืœ ื”ืชื›ื•ื ื•ืช ื‘ื”ืŸ ื”ืžื”ื“ืจ ืชื•ืžืš ืขื ื”ืืคืฉืจื•ืช ื”ื ืชื•ื ื”, ื•
ืœื ื™ื”ื™ื” ืžื” ืœื”ื–ื”ื™ืจ.)

-ืคื“ื ื˜ื™ื•ืช-ื˜ืขื•ื™ื•ืช
ื›ืžื• -Wpedantic, ืืœื ืฉืžื•ืคืงื•ืช ืฉื’ื™ืื•ืช ื•ืœื ืื–ื”ืจื•ืช.

- ืงื™ืจ
ื–ื” ืžืืคืฉืจ ืืช ื›ืœ ื”ืื–ื”ืจื•ืช ืœื’ื‘ื™ ืžื‘ื ื™ื ืฉื—ืœืง ืžื”ืžืฉืชืžืฉื™ื ืžื—ืฉื™ื‘ื™ื
ืžืคื•ืงืคืงื™ื, ื•ืฉืงืœ ืœื”ื™ืžื ืข ืžื”ื (ืื• ืœืฉื ื•ืช ื›ื“ื™ ืœืžื ื•ืข ืืช ื”ืื–ื”ืจื”), ืืคื™ืœื• ื‘
ื‘ืฉื™ืœื•ื‘ ืขื ืคืงื•ื“ื•ืช ืžืืงืจื•. ื–ื” ื’ื ืžืืคืฉืจ ื›ืžื” ืื–ื”ืจื•ืช ืกืคืฆื™ืคื™ื•ืช ืœืฉืคื” ื”ืžืชื•ืืจื•ืช
in C + + ื ื™ื‘ ืืคืฉืจื•ื™ื•ืช ื• Objective-C ื• Objective-C ++ ื ื™ื‘ ืืคืฉืจื•ื™ื•ืช.

- ืงื™ืจ ืžืคืขื™ืœ ืืช ื“ื’ืœื™ ื”ืื–ื”ืจื” ื”ื‘ืื™ื:

-ื›ืชื•ื‘ืช -ื’ื‘ื•ืœื•ืช ื”ืžืœื—ืžื” (ืจืง ืขื -O2) -Wc++11-compat -Wchar-ืžื ื•ื™ื™ื
-ื•ื•ื ื•ื-ื”ืฉื•ื• (ื‘-C/ObjC; ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘-C++) -ืžื•ื›ืจ (C ื•
Objective-C ื‘ืœื‘ื“) -ื”ืฆื”ืจื”-ืคื•ื ืงืฆื™ื•ื ืœื™ืช (C ื•-Objective-C ื‘ืœื‘ื“) -ื”ืขืจื”
- -ืžื™ื™ืŸ (ืจืง ืขื‘ื•ืจ C/ObjC ืืœื ืื ื›ืŸ -ืขื•ืžื“ ื‘ืคื ื™ ืขืฆืžื•) -ืื•ืœื™-ืœื ืืชื—ื•ืœ
-ื—ืกืจ-ืคืœื˜ื” (ืจืง ืขื‘ื•ืจ C/ObjC) -Wnonnull -ืกื•ื’ืจื™ื™ื -ืกื™ืžืŸ Wpointer -ื”ืกื“ืจ
-ืกื•ื’ ื—ื–ืจื” -ื ืงื•ื“ืช ืจืฆืฃ -Wsign-ื”ืฉื•ื•ืื” (ืจืง ื‘-C++) -Wstrict-aliasing
-Wstrict-overflow=1 -ืžืชื’ -ืชืจืฉื™ืžื™ื -ืœื ืžืื•ืชื—ืœ -ืœื ื™ื“ื•ืข-ืคืจื’ืžื•ืช
-ืคื•ื ืงืฆื™ื” Wunused -ืชื•ื•ื™ืช Wunused -ืขืจืš Wunused -ืžืฉืชื ื™ื-Wunused
-Wvolatile-register-var

ืฉื™ื ืœื‘ ืฉื—ืœืง ืžื“ื’ืœื™ ื”ืื–ื”ืจื” ืื™ื ื ืžืฉืชืžืขื™ื ืž - ืงื™ืจ. ื›ืžื” ืžื”ื ืžื–ื”ื™ืจื™ื ืขืœ
ืงื•ื ืกื˜ืจื•ืงืฆื™ื•ืช ืฉืžืฉืชืžืฉื™ื ื‘ื“ืจืš ื›ืœืœ ืœื ืจื•ืื™ื ื‘ืกืคืง, ืื‘ืœ ืื™ืœื•
ืžื“ื™ ืคืขื ืื•ืœื™ ืชืจืฆื” ืœื‘ื“ื•ืง; ืื—ืจื™ื ืžื–ื”ื™ืจื™ื ืžืคื ื™ ืžื‘ื ื™ื ืฉื›ืŸ
ื”ื›ืจื—ื™ ืื• ืงืฉื” ืœื”ื™ืžื ืข ื‘ืžืงืจื™ื ืžืกื•ื™ืžื™ื, ื•ืื™ืŸ ื“ืจืš ืคืฉื•ื˜ื” ืœืฉื ื•ืช ืืช
ืงื•ื“ ื›ื“ื™ ืœื“ื›ื ืืช ื”ืื–ื”ืจื”. ื—ืœืงื ืžื•ืคืขืœื™ื ืขืœ ื™ื“ื™ ืืงืกื˜ืจื” ืื‘ืœ ืจื‘ื™ื ืžื”ื
ื™ืฉ ืœื”ืคืขื™ืœ ื‘ื ืคืจื“.

ืืงืกื˜ืจื”
ื–ื” ืžืืคืฉืจ ื›ืžื” ื“ื’ืœื™ ืื–ื”ืจื” ื ื•ืกืคื™ื ืฉืื™ื ื ืžื•ืคืขืœื™ื ืขืœ ื™ื“ื™ - ืงื™ืจ. (ื”ืฉืชืžืฉื• ื‘ืืคืฉืจื•ืช ื–ื•
ืœื”ื™ืงืจื -W. ื”ืฉื ื”ื™ืฉืŸ ื™ื•ืชืจ ืขื“ื™ื™ืŸ ื ืชืžืš, ืื‘ืœ ื”ืฉื ื”ื—ื“ืฉ ื™ื•ืชืจ
ืชื™ืื•ืจ.)

-ืงืฉืงืฉ -ื’ื•ืฃ ืจื˜ื•ื‘ - ืžื•ืงื“ืžื•ืช ืžื ื•ืฆืœื•ืช -ื—ืกืจื™-ืฉื“ื”-initializers
-ืกื•ื’ ื—ืกืจ-ืคืจืžื˜ืจ (C ื‘ืœื‘ื“) -ื”ืฆื”ืจื” ื‘ืกื’ื ื•ืŸ ื•ื•ืœื“ (C ื‘ืœื‘ื“) -Woverride-init
-Wsign-ื”ืฉื•ื•ืื” -ืžื’ื‘ืœื•ืช ืกื•ื’ -ืœื ืžืื•ืชื—ืœ -ืคืจืžื˜ืจ Wunused (ืจืง ืขื -ืœื ื‘ืฉื™ืžื•ืฉ or
- ืงื™ืจ) -ืคืจืžื˜ืจ Wunused-but-set- (ืจืง ืขื -ืœื ื‘ืฉื™ืžื•ืฉ or - ืงื™ืจ)

ื”ืืคืฉืจื•ืช ืืงืกื˜ืจื” ืžื“ืคื™ืก ื’ื ื”ื•ื“ืขื•ืช ืื–ื”ืจื” ืœืžืงืจื™ื ื”ื‘ืื™ื:

ยท ืžืฆื‘ื™ืข ืžื•ืฉื•ื•ื” ืžื•ืœ ืžืกืคืจ ืฉืœื ืืคืก ืขื <, <=, >, ืื• >=.

ยท (C++ ื‘ืœื‘ื“) ืžื•ื ื” ื•ืœื ืžื•ื ื” ืžื•ืคื™ืขื™ื ืฉื ื™ื”ื ื‘ืชื ืื™
ื‘ื™ื˜ื•ื™.

ยท (C++ ื‘ืœื‘ื“) ื‘ืกื™ืกื™ื ื•ื™ืจื˜ื•ืืœื™ื™ื ืžืขื•ืจืคืœื™ื.

ยท (C++ ื‘ืœื‘ื“) ืžื ื•ื™ ืœืžืขืจืš ืฉื”ื•ื›ืจื– ื”ื™ืจืฉื.

ยท (C++ ื‘ืœื‘ื“) ืœืงื™ื—ืช ื›ืชื•ื‘ืช ืฉืœ ืžืฉืชื ื” ืฉื”ื•ื›ืจื– ื”ื™ืจืฉื.

ยท (C++ ื‘ืœื‘ื“) ืžื—ืœืงืช ื‘ืกื™ืก ืื™ื ื” ืžืื•ืชื—ืœืช ื‘ื‘ื ืื™ ื”ืขืชืงื” ืฉืœ ืžื—ืœืงื” ื ื’ื–ืจืช.

-Wchar-ืžื ื•ื™ื™ื
ืื–ื”ืจื” ืื ืœืžืขืจืš ื™ืฉ ืืช ื”ืกื•ื’ "char". ื–ื•ื”ื™ ืกื™ื‘ื” ื ืคื•ืฆื” ืœืฉื’ื™ืื”, ื›ืžื•
ืžืชื›ื ืชื™ื ืฉื•ื›ื—ื™ื ืœืขืชื™ื ืงืจื•ื‘ื•ืช ืฉืกื•ื’ ื–ื” ื—ืชื•ื ื‘ืžื›ื•ื ื•ืช ืžืกื•ื™ืžื•ืช. ืื–ื”ืจื” ื–ื• ื”ื™ื
ืžื•ืคืขืœ ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ื”ืขืจื”
ืื–ื”ืจื” ื‘ื›ืœ ืคืขื ืฉืจืฆืฃ ื”ืชื—ืœื” ืฉืœ ื”ืขืจื•ืช /* ืžื•ืคื™ืข ื‘ /* ื”ืขืจื”, ืื• ื‘ื›ืœ ืคืขื ื
ืงื• ื ื˜ื•ื™ ืื—ื•ืจื™ ืžื•ืคื™ืข ื‘-a // ืชื’ื•ื‘ื”. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ืื™ืŸ-ื›ื™ืกื•ื™-ืื™-ื”ืชืืžื”
ืื–ื”ืจื” ืื ืคืจื•ืคื™ืœื™ ื”ืžืฉื•ื‘ ืื™ื ื ืชื•ืืžื™ื ื‘ืขืช ื”ืฉื™ืžื•ืฉ ื‘ -fprofile-ืฉื™ืžื•ืฉ ืื•ึนืคึผึฐืฆึดื™ึธื”. ืื
ืงื•ื‘ืฅ ื”ืžืงื•ืจ ืžืฉืชื ื” ื‘ื™ืŸ ืงื•ืžืคื™ืœืฆื™ื” ืขื -fprofile-gen ื•ืขื -fprofile-ืฉื™ืžื•ืฉ,
ื”ืงื‘ืฆื™ื ืขื ืžืฉื•ื‘ ื”ืคืจื•ืคื™ืœ ืœื ื™ื›ื•ืœื™ื ืœื”ืชืื™ื ืœืงื•ื‘ืฅ ื”ืžืงื•ืจ ื•-GCC ืœื ื™ื›ื•ืœ
ื”ืฉืชืžืฉ ื‘ืžื™ื“ืข ื”ืžืฉื•ื‘ ืขืœ ื”ืคืจื•ืคื™ืœ. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื•ื”ื™ื ืžื•ืคืขืœืช
ืžืชื™ื™ื—ืกื™ื ืืœื™ื• ื›ืืœ ื˜ืขื•ืช. -ืื™ืŸ-ื›ื™ืกื•ื™-ืื™-ื”ืชืืžื” ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื›ื“ื™ ืœื”ืฉื‘ื™ืช ืืช ื”ืื–ื”ืจื” ืื•
-Wno-error=ื›ื™ืกื•ื™-ื—ื•ืกืจ ื”ืชืืžื” ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื›ื“ื™ ืœื”ืฉื‘ื™ืช ืืช ื”ืฉื’ื™ืื”. ื”ืฉื‘ืชืช ื”ืฉื’ื™ืื”
ืฉื›ืŸ ืื–ื”ืจื” ื–ื• ื™ื›ื•ืœื” ืœื’ืจื•ื ืœืงื•ื“ ืฉืขื‘ืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื’ืจื•ืขื” ื•ื”ื™ื ืฉื™ืžื•ืฉื™ืช ืจืง ื‘ืžืงืจื” ืฉืœ
ืฉื™ื ื•ื™ื™ื ืงืœื™ื ืžืื•ื“ ื›ืžื• ืชื™ืงื•ื ื™ ื‘ืื’ื™ื ืœื‘ืกื™ืก ืงื•ื“ ืงื™ื™ื. ืžืฉื‘ื™ืช ืœื—ืœื•ื˜ื™ืŸ
ื”ืื–ื”ืจื” ืื™ื ื” ืžื•ืžืœืฆืช.

-Wno-cpp
(C, Objective-C, C++, Objective-C++ ื•-Fortran ื‘ืœื‘ื“)

ื“ื—ืง ื”ื•ื“ืขื•ืช ืื–ื”ืจื” ื”ื ืคืœื˜ื•ืช ืขืœ ื™ื“ื™ ื”ื ื—ื™ื•ืช "#ืื–ื”ืจื”".

- ืงื™ื“ื•ื ื›ืคื•ืœ (C, C++, Objective-C ื•-Objective-C++ ื‘ืœื‘ื“)
ืชืŸ ืื–ื”ืจื” ื›ืืฉืจ ืขืจืš ืžืกื•ื’ "ืฆืฃ" ืžืงื•ื“ื ื‘ืื•ืคืŸ ืžืจื•ืžื– ืœ"ื›ืคื•ืœ". ืžืขื‘ื“ื™ื
ืขื ื™ื—ื™ื“ืช ื ืงื•ื“ื” ืฆืคื” ืฉืœ 32 ืกื™ื‘ื™ื•ืช "ื“ื™ื•ืง ื™ื—ื™ื“" ืœื™ื™ืฉื "ืฆืฃ" ื‘ื—ื•ืžืจื”,
ืื‘ืœ ืžื—ืงื” "ื›ืคื•ืœ" ื‘ืชื•ื›ื ื”. ื‘ืžื›ื•ื ื” ื›ื–ื•, ืขื•ืฉื” ื—ื™ืฉื•ื‘ื™ื ื‘ืืžืฆืขื•ืช
ืขืจื›ื™ื "ื›ืคื•ืœื™ื" ื™ืงืจื™ื ื”ืจื‘ื” ื™ื•ืชืจ ื‘ื’ืœืœ ื”ืชืงื•ืจื” ื”ื ื“ืจืฉืช ืœืชื•ื›ื ื”
ื—ื™ืงื•ื™.

ืงืœ ืœืขืฉื•ืช ื‘ื˜ืขื•ืช ื—ื™ืฉื•ื‘ื™ื ืขื "ื›ืคื•ืœ" ื‘ื’ืœืœ ื ืงื•ื“ื” ืฆืคื”
ืžื™ืœื•ืœื™ื•ืช ื”ืŸ ื‘ืื•ืคืŸ ืžืจื•ืžื– ืžืกื•ื’ "ื›ืคื•ืœ". ืœื“ื•ื’ืžื”, ื‘:

ืฉื˜ื— ืฆื™ืคื” (ืจื“ื™ื•ืก ืฆื™ืคื”)
{
ื”ื—ื–ืจ 3.14159 * ืจื“ื™ื•ืก * ืจื“ื™ื•ืก;
}

ื”ืžื”ื“ืจ ืžื‘ืฆืข ืืช ื›ืœ ื”ื—ื™ืฉื•ื‘ ืขื "ื›ืคื•ืœ" ื‘ื’ืœืœ ื”ื ืงื•ื“ื” ื”ืฆืคื”
ืžื™ืœื•ืœื™ ื”ื•ื "ื›ืคื•ืœ".

-
-Wformat=n
ื‘ื“ื•ืง ืงืจื™ืื•ืช ืœ-"printf" ื•-"scanf" ื•ื›ื•', ื›ื“ื™ ืœื•ื•ื“ื ืฉื”ืืจื’ื•ืžื ื˜ื™ื ืžืกื•ืคืงื™ื
ื™ืฉ ืกื•ื’ื™ื ื”ืžืชืื™ืžื™ื ืœืžื—ืจื•ื–ืช ื”ืคื•ืจืžื˜ ืฉืฆื•ื™ื ื”, ื•ื›ื™ ื”ื”ืžืจื•ืช
ืฉืฆื•ื™ืŸ ื‘ืžื—ืจื•ื–ืช ื”ืคื•ืจืžื˜ ื”ื’ื™ื•ื ื™. ื–ื” ื›ื•ืœืœ ืคื•ื ืงืฆื™ื•ืช ืกื˜ื ื“ืจื˜ื™ื•ืช, ื•
ืื—ืจื™ื ื”ืžืฆื•ื™ื ื™ื ืœืคื™ ืชื›ื•ื ื•ืช ืคื•ืจืžื˜, ื‘-"printf", "scanf", "strftime" ื•
"strfmon" (ื”ืจื—ื‘ื” X/Open, ืœื ื‘ืชืงืŸ C) ืžืฉืคื—ื•ืช (ืื• ื™ืขื“ ืื—ืจ-
ืžืฉืคื—ื•ืช ืกืคืฆื™ืคื™ื•ืช). ืื™ืœื• ืคื•ื ืงืฆื™ื•ืช ื ื‘ื“ืงื•ืช ืžื‘ืœื™ ืฉื”ื™ื• ืชื›ื•ื ื•ืช ืคื•ืจืžื˜
ืฉืฆื•ื™ืŸ ืชืœื•ื™ ื‘ื’ืจืกื” ื”ืกื˜ื ื“ืจื˜ื™ืช ืฉื ื‘ื—ืจื”, ื•ื‘ื‘ื“ื™ืงื•ืช ื›ืืœื” ืฉืœ ืคื•ื ืงืฆื™ื•ืช
ืœืœื ื”ืชื›ื•ื ื” ืฉืฆื•ื™ื ื” ืžื•ืฉื‘ืชื™ื ืขืœ ื™ื“ื™ -ืขื•ืžื“ ื‘ืคื ื™ ืขืฆืžื• or -fno-builtin.

ื”ืคื•ืจืžื˜ื™ื ื ื‘ื“ืงื™ื ืžื•ืœ ืชื›ื•ื ื•ืช ื”ืคื•ืจืžื˜ ื”ื ืชืžื›ื•ืช ืขืœ ื™ื“ื™ GNU libc ื’ืจืกื” 2.2.
ืืœื” ื›ื•ืœืœื™ื ืืช ื›ืœ ืชื›ื•ื ื•ืช ISO C90 ื•-C99, ื›ืžื• ื’ื ืชื›ื•ื ื•ืช ืžื”-Single Unix
ืžืคืจื˜ ื•ื›ืžื” ื”ืจื—ื‘ื•ืช BSD ื•-GNU. ื™ื™ืชื›ืŸ ืฉืœื ื™ื™ืฉื•ืžื™ ืกืคืจื™ื™ื” ืื—ืจื™ื
ืชืžื™ื›ื” ื‘ื›ืœ ื”ืชื›ื•ื ื•ืช ื”ืœืœื•; GCC ืื™ื ื• ืชื•ืžืš ื‘ืื–ื”ืจื” ืœื’ื‘ื™ ืชื›ื•ื ื•ืช ื”ื—ื•ืจื’ื•ืช
ืžื’ื‘ืœื•ืช ืฉืœ ืกืคืจื™ื™ื” ืžืกื•ื™ืžืช. ืœืขื•ืžืช ื–ืืช, ืื -Wpedantic ืžืฉืžืฉ ืขื -,
ื ื™ืชื ื•ืช ืื–ื”ืจื•ืช ืœื’ื‘ื™ ืชื›ื•ื ื•ืช ืคื•ืจืžื˜ ืฉืื™ื ืŸ ื‘ื’ืจืกื” ื”ืกื˜ื ื“ืจื˜ื™ืช ืฉื ื‘ื—ืจื” (ืื‘ืœ ืœื
ืขื‘ื•ืจ ืคื•ืจืžื˜ื™ื "strfmon", ืžื›ื™ื•ื•ืŸ ืฉืืœื• ืื™ื ื ื‘ืฉื•ื ื’ืจืกื” ืฉืœ ืชืงืŸ C).

-Wformat=1
-
ืืคืฉืจื•ืช - ืฉื•ื•ื” -Wformat=1, ื• -ืœืœื ืคื•ืจืžื˜ ืฉื•ื•ื”
-Wformat=0. ืžืื– - ื’ื ื‘ื•ื“ืง ืืจื’ื•ืžื ื˜ื™ื ืฉืœ ืคื•ืจืžื˜ null ืขื‘ื•ืจ ื›ืžื”
ืคื•ื ืงืฆื™ื•ืช, - ื’ื ืžืจืžื– -Wnonnull. ื›ืžื” ื”ื™ื‘ื˜ื™ื ืฉืœ ืจืžืช ืคื•ืจืžื˜ ื–ื•
ื ื™ืชืŸ ืœื‘ื˜ืœ ืืช ื”ื‘ื“ื™ืงื” ืขืœ ื™ื“ื™ ื”ืืคืฉืจื•ื™ื•ืช: -Wno-format-contains-nul,
-Wno-format-extra-args, ื• -ืื™ืŸ-ืคื•ืจืžื˜-ืืคืก-ืื•ืจืš. - ืžื•ืคืขืœ ืขืœ ื™ื“ื™
- ืงื™ืจ.

-Wno-format-contains-nul
If - ืฆื•ื™ืŸ, ืืœ ืชื–ื”ื™ืจ ืœื’ื‘ื™ ืžื—ืจื•ื–ื•ืช ืคื•ืจืžื˜ ื”ืžื›ื™ืœื•ืช ื‘ืชื™ื NUL.

-Wno-format-extra-args
If - ืฆื•ื™ืŸ, ืื™ืŸ ืœื”ื–ื”ื™ืจ ืขืœ ืขื•ื“ืฃ ืืจื’ื•ืžื ื˜ื™ื ืœ-"printf" ืื•
ืคื•ื ืงืฆื™ื™ืช ืคื•ืจืžื˜ "scanf". ืชืงืŸ C ืžืฆื™ื™ืŸ ื›ื™ ื˜ื™ืขื•ื ื™ื ื›ืืœื” ื”ื
ื”ืชืขืœื.

ื›ืืฉืจ ื”ืืจื’ื•ืžื ื˜ื™ื ืฉืื™ื ื ื‘ืฉื™ืžื•ืฉ ื ืžืฆืื™ื ื‘ื™ืŸ ืืจื’ื•ืžื ื˜ื™ื ืžืฉื•ืžืฉื™ื ืฉืฆื•ื™ื ื• ืขื $
ืžืคืจื˜ื™ ืžืกืคืจื™ ืื•ืคืจื ื“, ื‘ื“ืจืš ื›ืœืœ ืขื“ื™ื™ืŸ ื ื™ืชื ื•ืช ืื–ื”ืจื•ืช, ืฉื›ืŸ
ื”ื™ื™ืฉื•ื ืœื ื™ื›ื•ืœ ื”ื™ื” ืœื“ืขืช ืื™ื–ื” ืกื•ื’ ืœื”ืขื‘ื™ืจ ืœ-"va_arg" ื›ื“ื™ ืœื“ืœื’ ืขืœ ื”ืœื ื‘ืฉื™ืžื•ืฉ
ื˜ื™ืขื•ื ื™ื. ืขื ื–ืืช, ื‘ืžืงืจื” ืฉืœ ืคื•ืจืžื˜ื™ื "scanf", ืืคืฉืจื•ืช ื–ื• ืžื“ื›ืืช ืืช
ืื–ื”ืจื” ืื ื”ืืจื’ื•ืžื ื˜ื™ื ืฉืื™ื ื ื‘ืฉื™ืžื•ืฉ ื”ื ื›ื•ืœื ืžืฆื‘ื™ืขื™ื, ืฉื›ืŸ ื”-Single Unix
ื”ืžืคืจื˜ ืื•ืžืจ ื›ื™ ื˜ื™ืขื•ื ื™ื ืฉืื™ื ื ื‘ืฉื™ืžื•ืฉ ื›ืืœื” ืžื•ืชืจื™ื.

-ืื™ืŸ-ืคื•ืจืžื˜-ืืคืก-ืื•ืจืš
If - ืฆื•ื™ืŸ, ืื™ืŸ ืœื”ื–ื”ื™ืจ ืžืคื ื™ ืคื•ืจืžื˜ื™ื ื‘ืื•ืจืš ืืคืก. ืชืงืŸ C
ืžืฆื™ื™ืŸ ืฉืžืชื™ืจื™ื ืคื•ืจืžื˜ื™ื ื‘ืื•ืจืš ืืคืก.

-Wformat=2
ืืคืฉืจ - ื‘ืชื•ืกืคืช ื‘ื“ื™ืงื•ืช ืคื•ืจืžื˜ ื ื•ืกืคื•ืช. ื›ืจื’ืข ืฉื•ื•ื” ืขืจืš ืœ -
-Wformat-ืœื ืžื™ืœื•ืœื™ -Wformat-ืื‘ื˜ื—ื” -Wformat-y2k.

-Wformat-ืœื ืžื™ืœื•ืœื™
If - ืžืฆื•ื™ืŸ, ื’ื ืื–ื”ืจื” ืื ืžื—ืจื•ื–ืช ื”ืคื•ืจืžื˜ ืื™ื ื” ืžื—ืจื•ื–ืช ืžื™ืœื•ืœื™ืช
ื•ืœื›ืŸ ืœื ื ื™ืชืŸ ืœืกืžืŸ, ืืœื ืื ืคื•ื ืงืฆื™ื™ืช ื”ืคื•ืจืžื˜ ืœื•ืงื—ืช ืืช ืืจื’ื•ืžื ื˜ื™ ื”ืคื•ืจืžื˜ ืฉืœื” ื›
a "va_list".

-Wformat-ืื‘ื˜ื—ื”
If - ืžืฆื•ื™ืŸ, ื’ื ืžื–ื”ื™ืจ ืœื’ื‘ื™ ืฉื™ืžื•ืฉื™ื ื‘ืคื•ื ืงืฆื™ื•ืช ืคื•ืจืžื˜ ื”ืžื™ื™ืฆื’ื•ืช
ื‘ืขื™ื•ืช ืื‘ื˜ื—ื” ืืคืฉืจื™ื•ืช. ื ื›ื•ืŸ ืœืขื›ืฉื™ื•, ื–ื” ืžื–ื”ื™ืจ ืžืคื ื™ ืงืจื™ืื•ืช ืœ"printf" ื•
ืคื•ื ืงืฆื™ื•ืช "scanf" ื›ืืฉืจ ืžื—ืจื•ื–ืช ื”ืคื•ืจืžื˜ ืื™ื ื” ืžื—ืจื•ื–ืช ืžื™ืœื•ืœื™ืช ื•ืื™ืŸ
ืคื•ืจืžื˜ ืืจื’ื•ืžื ื˜ื™ื, ื›ืžื• ื‘-"printf (foo);". ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ื—ื•ืจ ืื‘ื˜ื—ื” ืื
ืžื—ืจื•ื–ืช ืคื•ืจืžื˜ ื”ื’ื™ืขื” ืžืงืœื˜ ืœื ืžื”ื™ืžืŸ ื•ืžื›ื™ืœื” %n. (ื–ื” ื›ืจื’ืข ื
ืชืช ืงื‘ื•ืฆื” ืฉืœ ืžื” -Wformat-ืœื ืžื™ืœื•ืœื™ ืžื–ื”ื™ืจ ืขืœ, ืื‘ืœ ื‘ืขืชื™ื“ ืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ืื–ื”ืจื•ืช
ื”ื•ืกืคืชื™ ืœ -Wformat-ืื‘ื˜ื—ื” ืฉืื™ื ื ื›ืœื•ืœื™ื ื‘ -Wformat-ืœื ืžื™ืœื•ืœื™.)

ื”ืขืจื”: ื‘-Ubuntu 8.10 ื•ื‘ื’ื™ืจืกืื•ืช ืžืื•ื—ืจื•ืช ื™ื•ืชืจ ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ C,
C++, ObjC, ObjC++. ื›ื“ื™ ืœื”ืฉื‘ื™ืช, ื”ืฉืชืžืฉ -ืื™ืŸ-ืคื•ืจืžื˜-ืื‘ื˜ื—ื”, ืื• ื”ืฉื‘ืช ืืช ื›ืœ ื”ืคื•ืจืžื˜ื™ื
ืื–ื”ืจื•ืช ืขื -Wformat=0. ื›ื“ื™ ืœื”ืคื•ืš ืื–ื”ืจื•ืช ืื‘ื˜ื—ื” ืœืคื•ืจืžื˜ ืงื˜ืœื ื™ื•ืช, ืฆื™ื™ืŸ
-ืฉื’ื™ืื”=ืคื•ืจืžื˜-ืื‘ื˜ื—ื”.

-Wformat-y2k
If - ืžืฆื•ื™ืŸ, ื’ื ืžื–ื”ื™ืจ ืžืคื ื™ ืคื•ืจืžื˜ื™ื ืฉืœ "strftime" ืฉืขืฉื•ื™ื™ื ืœื”ื ื™ื‘ ืจืง ื
ืฉื ื” ื“ื• ืกืคืจืชื™ืช.

-Wnonnull
ืื–ื”ืจื” ืœื’ื‘ื™ ื”ืขื‘ืจืช ืžืฆื‘ื™ืข ืจื™ืง ืขื‘ื•ืจ ืืจื’ื•ืžื ื˜ื™ื ื”ืžืกื•ืžื ื™ื ื›ื“ื•ืจืฉื™ื ืขืจืš ืฉืื™ื ื• ืจื™ืง
ืขืœ ื™ื“ื™ ืชื›ื•ื ืช ื”ืคื•ื ืงืฆื™ื” "nonnull".

-Wnonnull ื›ืœื•ืœ ื‘- - ืงื™ืจ ื• -. ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ืžื•ืฉื‘ืช ืขื -Wno-nonnull
ืื•ึนืคึผึฐืฆึดื™ึธื”.

-ื•ื•ื™ื ื™ื˜-ืขืฆืžื™ (C, C++, Objective-C ื•-Objective-C++ ื‘ืœื‘ื“)
ื”ืชืจื™ืข ืขืœ ืžืฉืชื ื™ื ืœื ืžืื•ืชื—ืœื™ื ืฉืžืื•ื—ืœื™ื ืขื ืขืฆืžื. ืฉื™ืžื• ืœื‘ ืœื–ื”
ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ืจืง ืขื -ืœื ืžืื•ืชื—ืœ ืื•ึนืคึผึฐืฆึดื™ึธื”.

ืœื“ื•ื’ืžื”, GCC ืžื–ื”ื™ืจ ืžืคื ื™ ื‘ื™ื˜ื•ืœ ื”ืืชื—ื•ืœ ืฉืœ "i" ื‘ืงื˜ืข ื”ื‘ื ื‘ืœื‘ื“
ืžืชื™ -ื•ื•ื™ื ื™ื˜-ืขืฆืžื™ ืฆื•ื™ืŸ:

int f()
{
int i = i;
ื—ื–ื•ืจ i;
}

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ ื‘- C ++.

-ืžื•ื›ืจ (C ื•-Objective-C ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ ื”ืฆื”ืจื” ืื™ื ื” ืžืฆื™ื™ื ืช ืกื•ื’. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ื”ืฆื”ืจื”-ืคื•ื ืงืฆื™ื•ื ืœื™ืช (C ื•-Objective-C ื‘ืœื‘ื“)
ืชืŸ ืื–ื”ืจื” ื‘ื›ืœ ืคืขื ืฉื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืคื•ื ืงืฆื™ื” ืœืคื ื™ ื”ื”ื›ืจื–ื”. ื‘ืžืฆื‘ C99
(-std=c99 or -std=gnu99), ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื•ื”ื™ื ื”ื•ืคื›ืช ืœ-
ืฉื’ื™ืื” ืขืœ ื™ื“ื™ -ืคื“ื ื˜ื™ื•ืช-ื˜ืขื•ื™ื•ืช. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื’ื ืขืœ ื™ื“ื™ - ืงื™ืจ.

- ืžืจื•ืžื– (C ื•-Objective-C ื‘ืœื‘ื“)
ื›ืžื• -ืžื•ื›ืจ ื• -ื”ืฆื”ืจื”-ืคื•ื ืงืฆื™ื•ื ืœื™ืช. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช
by - ืงื™ืจ.

- ืžื•ืงื“ืžื•ืช ืžื ื•ืฆืœื•ืช (C ื•-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ืœืกื•ื’ ื”ื”ื—ื–ืจื” ืฉืœ ืคื•ื ืงืฆื™ื” ื™ืฉ ืžืกืžื™ืš ืกื•ื’ ื›ื’ื•ืŸ "const". ืขื‘ื•ืจ ISO C
ืœืžืชื’ ืกื•ื’ ื›ื–ื” ืื™ืŸ ื”ืฉืคืขื”, ืžื›ื™ื•ื•ืŸ ืฉื”ืขืจืš ื”ืžื•ื—ื–ืจ ืขืœ ื™ื“ื™ ืคื•ื ืงืฆื™ื” ืื™ื ื• an
lvalue. ืขื‘ื•ืจ C++, ื”ืื–ื”ืจื” ื ืคืœื˜ืช ืจืง ืขื‘ื•ืจ ืกื•ื’ื™ื ืกืงืœืจื™ื ืื• "ืจื™ืง". ISO C
ืื•ืกืจ ืขืœ ืกื•ื’ื™ ื”ื—ื–ืจื•ืช "ื‘ื˜ืœื™ื" ืžื•ืกืžื›ื™ื ื‘ื”ื’ื“ืจื•ืช ืคื•ื ืงืฆื™ื•ืช, ื•ืœื›ืŸ ืกื•ื’ื™ ื”ื—ื–ืจื•ืช ื›ืืœื”
ืชืžื™ื“ ืœืงื‘ืœ ืื–ื”ืจื” ื’ื ื‘ืœื™ ืืคืฉืจื•ืช ื–ื•.

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื’ื ืขืœ ื™ื“ื™ ืืงืกื˜ืจื”.

-ืžื™ื™ืŸ
ื”ื–ื”ื™ืจ ืื ืกื•ื’ ืฉืœ ืจืืฉื™ ื”ื•ื ื—ืฉื•ื“. ืจืืฉื™ ืฆืจื™ื›ื” ืœื”ื™ื•ืช ืคื•ื ืงืฆื™ื” ืขื ื—ื™ืฆื•ื ื™
ืงื™ืฉื•ืจ, ื”ื—ื–ืจืช int, ืœื•ืงื— ืืคืก ืืจื’ื•ืžื ื˜ื™ื, ืฉื ื™ื™ื ืื• ืฉืœื•ืฉื” ืืจื’ื•ืžื ื˜ื™ื ืฉืœ
ืกื•ื’ื™ื ืžืชืื™ืžื™ื. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘-C++ ื•ื”ื™ื ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ ืื—ื“ ืžื”ื
- ืงื™ืจ or -Wpedantic.

-ื—ืกืจ-ืคืœื˜ื”
ืื–ื”ืจื” ืื ืžืืชื—ืœ ืื’ืจื’ื˜ ืื• ืื™ื—ื•ื“ ืื™ื ื• ืžืœื ื‘ืกื•ื’ืจื™ื™ื. ื‘ื”ืžืฉืš
ืœื“ื•ื’ืžื”, ื”ืžืืชื—ืœ ืขื‘ื•ืจ a ืื™ื ื• ื‘ืกื•ื’ืจื™ื™ื ืžืœืื™ื, ืื‘ืœ ื–ื” ืขื‘ื•ืจ b ื”ื•ื ื‘ืžืœื•ืื•
ื‘ืกื•ื’ืจื™ื™ื. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ ื‘- C.

int a[2][2] = { 0, 1, 2, 3 };
int b[2][2] = { { 0, 1 }, { 2, 3 } };

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ื—ืกืจื™ื-include-dirs (C, C++, Objective-C ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ืœื ืงื™ื™ืžืช ืกืคืจื™ื™ืช include ืฉืกื•ืคืง ืขืœ ื™ื“ื™ ื”ืžืฉืชืžืฉ.

-ืกื•ื’ืจื™ื™ื
ืื–ื”ืจื” ืื ืžื•ืฉืžื˜ื™ื ืกื•ื’ืจื™ื™ื ื‘ื”ืงืฉืจื™ื ืžืกื•ื™ืžื™ื, ื›ื’ื•ืŸ ื›ืืฉืจ ื™ืฉ
ื”ืงืฆืื” ื‘ื”ืงืฉืจ ืฉื‘ื• ืฆืคื•ื™ ืขืจืš ืืžืช, ืื• ื›ืืฉืจ ืื•ืคืจื˜ื•ืจื™ื ืžืงื•ื ื ื™ื
ืฉืœืขืชื™ื ืงืจื•ื‘ื•ืช ืื ืฉื™ื ืžืชื‘ืœื‘ืœื™ื ืœื’ื‘ื™ ืงื“ื™ืžื•ืชื•.

ื’ื ืœื”ื–ื”ื™ืจ ืื ื”ืฉื•ื•ืื” ื›ืžื• x<=y<=z ืžื•ืคื™ืข; ื–ื” ืฉื•ื•ื” ืขืจืš ืœ (x<=y ? 1 : 0)
<= z, ืฉื”ื™ื ืคืจืฉื ื•ืช ืฉื•ื ื” ืžื–ื• ืฉืœ ืกื™ืžื•ืŸ ืžืชืžื˜ื™ ืจื’ื™ืœ.

ื”ืชืจื™ืข ื’ื ืขืœ ืงื•ื ืกื˜ืจื•ืงืฆื™ื•ืช ืฉื‘ื”ืŸ ืขืฉื•ื™ ืœื”ื™ื•ืช ื‘ืœื‘ื•ืœ ืœืื™ื–ื• ื”ืฆื”ืจืช "ืื" ื
ืกื ื™ืฃ "ืื—ืจ" ืฉื™ื™ืš. ื”ื ื” ื“ื•ื’ืžื” ืœืžืงืจื” ื›ื–ื”:

{
ืื)
ืื (ื‘)
foo ();
ืื—ืจ
ื‘ืจ ();
}

ื‘-C/C++, ื›ืœ ืขื ืฃ "ืื—ืจ" ืฉื™ื™ืš ืœื”ืฆื”ืจืช ื”"ืื" ื”ืคื ื™ืžื™ืช ื‘ื™ื•ืชืจ ื”ืืคืฉืจื™ืช, ืืฉืจ
ื‘ื“ื•ื’ืžื” ื–ื• ื”ื•ื "ืื (ื‘)". ืœืจื•ื‘ ื–ื” ืœื ืžื” ืฉื”ืžืชื›ื ืช ืฆื™ืคื”, ื›ืžื•
ืžื•ื“ื’ื ื‘ื“ื•ื’ืžื” ืœืขื™ืœ ืขืœ ื™ื“ื™ ื”ื–ื—ื” ืฉื”ืžืชื›ื ืช ื‘ื—ืจ. ื›ืฉื™ืฉ
ื”ืคื•ื˜ื ืฆื™ืืœ ืœื‘ืœื‘ื•ืœ ื–ื”, GCC ืžื•ืฆื™ื ืื–ื”ืจื” ื›ืืฉืจ ื“ื’ืœ ื–ื” ืžืฆื•ื™ืŸ.
ื›ื“ื™ ืœื‘ื˜ืœ ืืช ื”ืื–ื”ืจื”, ื”ื•ืกืฃ ืกื•ื’ืจื™ื ืžืคื•ืจืฉื™ื ืกื‘ื™ื‘ ื”ืฆื”ืจืช ื”"ืื" ื”ืคื ื™ืžื™ืช ื‘ื™ื•ืชืจ
ืื™ืŸ ืกื™ื›ื•ื™ ืฉื”"ืื—ืจ" ื™ื›ื•ืœ ืœื”ืฉืชื™ื™ืš ืœ"ืื" โ€‹โ€‹ื”ืžืงื™ืฃ. ื”ืงื•ื“ ืฉื”ืชืงื‘ืœ ื ืจืื”
ื›ื›ื”:

{
ืื)
{
ืื (ื‘)
foo ();
ืื—ืจ
ื‘ืจ ();
}
}

ื”ืชืจื™ืข ื’ื ืขืœ ืฉื™ืžื•ืฉื™ื ืžืกื•ื›ื ื™ื ื‘ืชื•ืกืฃ GNU ืœ-"?:" ืขื ืื•ืคืจื ื“ ืืžืฆืขื™ ืฉื”ื•ืฉืžื˜.
ื›ืืฉืจ ื”ืชื ืื™ ื‘ืื•ืคืจื˜ื•ืจ "?": ื”ื•ื ื‘ื™ื˜ื•ื™ ื‘ื•ืœื™ืื ื™, ื”ืขืจืš ื”ืžื•ืฉืžื˜ ื”ื•ื
ืชืžื™ื“ 1. ืœืขืชื™ื ืงืจื•ื‘ื•ืช ืžืชื›ื ืชื™ื ืžืฆืคื™ื ืฉื–ื” ื™ื”ื™ื” ืขืจืš ื”ืžื—ื•ืฉื‘ ื‘ืชื•ืš ื”ืชื ืื™
ื‘ื™ื˜ื•ื™ ื‘ืžืงื•ื.

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ื ืงื•ื“ืช ืจืฆืฃ
ื”ื–ื”ืจ ืœื’ื‘ื™ ืงื•ื“ ืฉืขืœื•ืœ ืœื”ื™ื•ืช ืœื• ืกืžื ื˜ื™ืงื” ืœื ืžื•ื’ื“ืจืช ื‘ื’ืœืœ ื”ืคืจื•ืช ืฉืœ ืจืฆืฃ
ื›ืœืœื™ ื ืงื•ื“ื” ื‘ืชืงื ื™ื C ื•-C++.

ื”ืกื˜ื ื“ืจื˜ื™ื C ื•-C++ ืžื’ื“ื™ืจื™ื ืืช ื”ืกื“ืจ ืฉื‘ื• ื ืžืฆืื™ื ื”ื‘ื™ื˜ื•ื™ื™ื ื‘ืชื•ื›ื ื™ืช C/C++
ืžื•ืขืจืš ื‘ืžื•ื ื—ื™ื ืฉืœ ืจืฆืฃ ื ืงื•ื“ื•ืช, ื”ืžื™ื™ืฆื’ื™ื ืกื“ืจ ื—ืœืงื™ ื‘ื™ืŸ ื”
ื‘ื™ืฆื•ืข ืฉืœ ื—ืœืงื™ื ืžื”ืชื•ื›ื ื™ืช: ืืœื” ืฉื‘ื•ืฆืขื• ืœืคื ื™ ื ืงื•ื“ืช ื”ืจืฆืฃ, ื•ืืœื•
ื”ื•ืฆื ืœื”ื•ืจื’ ืœืื—ืจื™ื•. ืืœื” ืžืชืจื—ืฉื™ื ืœืื—ืจ ื”ืขืจื›ื” ืฉืœ ื‘ื™ื˜ื•ื™ ืžืœื (ืื—ื“ ืืฉืจ
ืื™ื ื• ื—ืœืง ืžื‘ื™ื˜ื•ื™ ื’ื“ื•ืœ ื™ื•ืชืจ), ืœืื—ืจ ื”ืขืจื›ื” ืฉืœ ื”ืื•ืคืจื ื“ ื”ืจืืฉื•ืŸ ืฉืœ ื
"&&", "||", "? :" ืื• "," (ืคืกื™ืง), ืื•ืคืจื˜ื•ืจ, ืœืคื ื™ ืฉื ืงืจืืช ืคื•ื ืงืฆื™ื” (ืื‘ืœ ืื—ืจื™
ื”ืขืจื›ื” ืฉืœ ื”ื˜ื™ืขื•ื ื™ื ืฉืœื• ื•ืฉืœ ื”ื‘ื™ื˜ื•ื™ ื”ืžืฆื™ื™ืŸ ืืช ื”ืคื•ื ืงืฆื™ื” ืฉื ืงืจืื”), ื•ื›ืŸ ื‘
ืžืงื•ืžื•ืช ืžืกื•ื™ืžื™ื ืื—ืจื™ื. ืžืœื‘ื“ ื›ืคื™ ืฉืžืชื‘ื˜ื ื‘ื—ื•ืงื™ ื ืงื•ื“ืช ื”ืจืฆืฃ, ื”ืกื“ืจ
ืฉืœ ื”ืขืจื›ื” ืฉืœ ื‘ื™ื˜ื•ื™ื™ ืžืฉื ื” ืฉืœ ื‘ื™ื˜ื•ื™ ืœื ืžืฆื•ื™ืŸ. ื›ืœ ื”ื›ืœืœื™ื ื”ืืœื”
ืชืืจ ืจืง ืกื“ืจ ื—ืœืงื™ ื•ืœื ืกื“ืจ ื›ื•ืœืœ, ืฉื›ืŸ, ืœืžืฉืœ, ืื ืฉื ื™ื™ื
ืคื•ื ืงืฆื™ื•ืช ื ืงืจืื•ืช ื‘ืชื•ืš ื‘ื™ื˜ื•ื™ ืื—ื“ ืœืœื ื ืงื•ื“ืช ืจืฆืฃ ื‘ื™ื ื™ื”ืŸ, ื”
ืœื ืžืฆื•ื™ืŸ ืกื“ืจ ื”ืงืจื™ืื” ืœืคื•ื ืงืฆื™ื•ืช. ืขื ื–ืืช, ื”ืกื˜ื ื“ืจื˜ื™ื
ื”ื•ื•ืขื“ื” ืงื‘ืขื” ื›ื™ ืงืจื™ืื•ืช ื”ืชืคืงื•ื“ ืื™ื ืŸ ื—ื•ืคืคื•ืช.

ื–ื” ืœื ืžืฆื•ื™ืŸ ืžืชื™ ื‘ื™ืŸ ื ืงื•ื“ื•ืช ืจืฆืฃ ืฉื™ื ื•ื™ื™ื ื‘ืขืจื›ื™ื ืฉืœ
ื—ืคืฆื™ื ื ื›ื ืกื™ื ืœืชื•ืงืฃ. ืœืชื•ื›ื ื™ื•ืช ืฉื”ืชื ื”ื’ื•ืชืŸ ืชืœื•ื™ื” ื‘ื›ืš ื™ืฉ ื”ืชื ื”ื’ื•ืช ืœื ืžื•ื’ื“ืจืช;
ื”ืกื˜ื ื“ืจื˜ื™ื C ื•-C++ ืžืฆื™ื™ื ื™ื ื›ื™ "ื‘ื™ืŸ ื”ืจืฆืฃ ื”ืงื•ื“ื ื•ื”ื‘ื ื”ื‘ื ื ืงื•ื“ืช an
ื”ืขืจืš ื”ืžืื•ื—ืกืŸ ืฉืœ ืื•ื‘ื™ื™ืงื˜ ื™ืฉื•ื ื” ืœื›ืœ ื”ื™ื•ืชืจ ืคืขื ืื—ืช ืขืœ ื™ื“ื™ ื”ืขืจื›ื” ืฉืœ an
ื‘ื™ื˜ื•ื™. ื™ืชืจ ืขืœ ื›ืŸ, ื”ืขืจืš ื”ืงื•ื“ื ื™ื™ืงืจื ืจืง ื›ื“ื™ ืœืงื‘ื•ืข ืืช ื”ืขืจืš ืœ
ืœื”ื™ื•ืช ืžืื•ื—ืกืŸ.". ืื ืชื•ื›ื ื™ืช ืžืคืจื” ืืช ื”ื›ืœืœื™ื ื”ืืœื”, ื”ืชื•ืฆืื•ืช ืขืœ ื›ืœ ืื—ื“
ื”ื™ื™ืฉื•ื ื‘ืœืชื™ ืฆืคื•ื™ ืœื—ืœื•ื˜ื™ืŸ.

ื“ื•ื’ืžืื•ืช ืœืงื•ื“ ืขื ื”ืชื ื”ื’ื•ืช ืœื ืžื•ื’ื“ืจืช ื”ืŸ "a = a++;", "a[n] = b[n++]" ื•-"a[i++] =
i;". ื›ืžื” ืžืงืจื™ื ืžืกื•ื‘ื›ื™ื ื™ื•ืชืจ ืื™ื ื ืžืื•ื‘ื—ื ื™ื ืขืœ ื™ื“ื™ ืืคืฉืจื•ืช ื–ื•, ื•ื”ื™ื ืขืฉื•ื™ื” ืœืชืช
ืชื•ืฆืื” ื—ื™ื•ื‘ื™ืช ื›ื•ื–ื‘ืช ืžื“ื™ ืคืขื, ืืš ื‘ืื•ืคืŸ ื›ืœืœื™ ื”ื™ื ื ืžืฆืื” ื™ืขื™ืœื” ืœืžื“ื™ ื‘
ื–ื™ื”ื•ื™ ืกื•ื’ ื–ื” ืฉืœ ื‘ืขื™ื” ื‘ืชื•ื›ื ื™ื•ืช.

ื”ืชืงืŸ ืžื ื•ืกื— ื‘ืื•ืคืŸ ืžื‘ืœื‘ืœ, ื•ืœื›ืŸ ื™ืฉ ื•ื™ื›ื•ื— ืขืœ ื”ืžื“ื•ื™ืง
ื”ืžืฉืžืขื•ืช ืฉืœ ื ืงื•ื“ืช ื”ืจืฆืฃ ื”ื›ืœืœื™ืช ื‘ืžืงืจื™ื ืขื“ื™ื ื™ื. ืงื™ืฉื•ืจื™ื ืœื“ื™ื•ื ื™ื ืฉืœ
ื ื™ืชืŸ ืœืžืฆื•ื ื‘ืขื™ื”, ื›ื•ืœืœ ื”ื’ื“ืจื•ืช ืคื•ืจืžืœื™ื•ืช ืžื•ืฆืขื•ืช, ื‘ื“ืฃ ื”ืงืจื™ืื•ืช ืฉืœ GCC,
ื‘ึผึฐ-http://gcc.gnu.org/readings.html>.

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ ืขื‘ื•ืจ C ื•-C++.

-Wno-return-local-addr
ืืœ ืชื–ื”ื™ืจ ืขืœ ื”ื—ื–ืจืช ืžืฆื‘ื™ืข (ืื• ื‘-C++, ื”ืคื ื™ื”) ืœืžืฉืชื ื” ืฉื”ื•ืœืš
ืžื—ื•ืฅ ืœื˜ื•ื•ื— ืœืื—ืจ ืฉื”ืคื•ื ืงืฆื™ื” ื—ื•ื–ืจืช.

-ืกื•ื’ ื—ื–ืจื”
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืคื•ื ืงืฆื™ื” ืžื•ื’ื“ืจืช ืขื ืกื•ื’ ื”ื—ื–ืจื” ืฉื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื "int". ื’ึทื
ื”ืชืจื™ืข ืขืœ ื›ืœ ื”ืฆื”ืจืช "ื”ื—ื–ืจื”" ืœืœื ืขืจืš ื”ื—ื–ืจื” ื‘ืคื•ื ืงืฆื™ื” ืฉืกื•ื’ ื”ื”ื—ื–ืจ ืฉืœื”
ืื™ื ื• "ื‘ื˜ืœ" (ื ืคื™ืœื” ืžืงืฆื” ื’ื•ืฃ ื”ืคื•ื ืงืฆื™ื” ื ื—ืฉื‘ืช ืœื”ื—ื–ืจื”
ืœืœื ืขืจืš), ื•ืขืœ ืืžื™ืจืช "ื”ื—ื–ืจื”" ืขื ื‘ื™ื˜ื•ื™ ื‘ืคื•ื ืงืฆื™ื”
ืฉืกื•ื’ ื”ื”ื—ื–ืจ ืฉืœื• ื”ื•ื "ื‘ื˜ืœ".

ืขื‘ื•ืจ C++, ืคื•ื ืงืฆื™ื” ืœืœื ืกื•ื’ ื”ื—ื–ืจื” ืชืžื™ื“ ืžื™ื™ืฆืจืช ื”ื•ื“ืขืช ืื‘ื—ื•ืŸ, ืืคื™ืœื•
ืžืชื™ -ืกื•ื’ Wno-return ืžืฆื•ื™ืŸ. ื”ื—ืจื™ื’ื™ื ื”ื™ื—ื™ื“ื™ื ื”ื ืจืืฉื™ ื•ืคื•ื ืงืฆื™ื•ืช
ืžื•ื’ื“ืจ ื‘ื›ื•ืชืจื•ืช ื”ืžืขืจื›ืช.

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ืžืชื’
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉื”ืฆื”ืจืช "ื”ื—ืœืคื”" ื›ื•ืœืœืช ืื™ื ื“ืงืก ืžืกื•ื’ ืžืกื•ืคืจ ื•ื—ืกืจื” "ืžืงืจื”"
ืขื‘ื•ืจ ืื—ื“ ืื• ื™ื•ืชืจ ืžื”ืงื•ื“ื™ื ื‘ืขืœื™ ื”ืฉื ืฉืœ ืื•ืชื” ืกืคื™ืจื”. (ื”ื ื•ื›ื—ื•ืช ืฉืœ "ื‘ืจื™ืจืช ืžื—ื“ืœ"
ืชื•ื•ื™ืช ืžื•ื ืขืช ืื–ื”ืจื” ื–ื•.) ืชื•ื•ื™ื•ืช "ืžืงืจื”" ื’ื ืžื—ื•ืฅ ืœื˜ื•ื•ื— ื”ืกืคื™ืจื”
ืœืขื•ืจืจ ืื–ื”ืจื•ืช ื›ืืฉืจ ืžืฉืชืžืฉื™ื ื‘ืืคืฉืจื•ืช ื–ื• (ื’ื ืื ื™ืฉ ืชื•ื•ื™ืช "ื‘ืจื™ืจืช ืžื—ื“ืœ"). ื–ึถื”
ืื–ื”ืจื” ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-Wswitch-default
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉื‘ื”ืฆื”ืจืช "ื”ื—ืœืคื”" ืื™ืŸ ืžืงืจื” ืฉืœ "ื‘ืจื™ืจืช ืžื—ื“ืœ".

-ืกื•ื•ื™ืฆ'-ืื ื•ื
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉื”ืฆื”ืจืช "ื”ื—ืœืคื”" ื›ื•ืœืœืช ืื™ื ื“ืงืก ืžืกื•ื’ ืžืกื•ืคืจ ื•ื—ืกืจื” "ืžืงืจื”"
ืขื‘ื•ืจ ืื—ื“ ืื• ื™ื•ืชืจ ืžื”ืงื•ื“ื™ื ื‘ืขืœื™ ื”ืฉื ืฉืœ ืื•ืชื” ืกืคื™ืจื”. ืชื•ื•ื™ื•ืช "ืžืืจื–" ืžื—ื•ืฅ ืœ
ื˜ื•ื•ื— ืกืคื™ืจื” ื’ื ืžืขื•ืจืจ ืื–ื”ืจื•ืช ื›ืืฉืจ ืžืฉืชืžืฉื™ื ื‘ืืคืฉืจื•ืช ื–ื•. ื”ื”ื‘ื“ืœ ื”ื™ื—ื™ื“
ื‘ึผึตื™ืŸ -ืžืชื’ ื•ืืคืฉืจื•ืช ื–ื• ื”ื™ื ืฉืื•ืคืฆื™ื” ื–ื• ื ื•ืชื ืช ืื–ื”ืจื” ืขืœ ื”ื•ืฉืžื˜
ืงื•ื“ ืกืคื™ืจื” ื’ื ืื ื™ืฉ ืชื•ื•ื™ืช "ื‘ืจื™ืจืช ืžื—ื“ืœ".

-Wsync-nand (C ื•-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ ื”ืคื•ื ืงืฆื™ื•ืช ื”ืžื•ื‘ื ื•ืช "__sync_fetch_and_nand" ื•-"__sync_nand_and_fetch" ื”ืŸ
ื‘ืฉื™ืžื•ืฉ. ืคื•ื ืงืฆื™ื•ืช ืืœื• ืฉื™ื ื• ืืช ื”ืกืžื ื˜ื™ืงื” ื‘-GCC 4.4.

-ืชืจืฉื™ืžื™ื
ื”ื–ื”ืจ ืื ื ืชืงืœื™ื ื‘ื˜ืจื™ื’ืจืคื™ื ืฉืขืœื•ืœื™ื ืœืฉื ื•ืช ืืช ืžืฉืžืขื•ืช ื”ืชื•ื›ื ื™ืช
(ื˜ืจื™ื’ืจืคื™ื ื‘ืชื•ืš ืชื’ื•ื‘ื•ืช ืœื ืžื•ื–ื”ืจื™ื). ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ืคืจืžื˜ืจ Wunused-but-set-
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืžื•ืงืฆื” ืคืจืžื˜ืจ ืฉืœ ืคื•ื ืงืฆื™ื”, ืืš ืื™ื ื• ื‘ืฉื™ืžื•ืฉ ืื—ืจ (ืžืœื‘ื“
ื”ื”ืฆื”ืจื” ืฉืœื”).

ื›ื“ื™ ืœื“ื›ื ืื–ื”ืจื” ื–ื• ื”ืฉืชืžืฉ ื‘- ืœื ื‘ืฉื™ืžื•ืฉ ืชื›ื•ื ื”.

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื’ื ืขืœ ื™ื“ื™ -ืœื ื‘ืฉื™ืžื•ืฉ ื™ื—ื“ ืขื ืืงืกื˜ืจื”.

-ื‘ืฉื™ืžื•ืฉ-ืื‘ืœ-ืกื˜-ืžืฉืชื ื”
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืžืฉืชื ื” ืžืงื•ืžื™ ืžื•ืงืฆื” ืœืžืฉืชื ื”, ืืš ืœื ื ืขืฉื” ื‘ื• ืฉื™ืžื•ืฉ (ืžืœื‘ื“ ืฉืœื•
ื”ึทืฆื”ึธืจึธื”). ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

ื›ื“ื™ ืœื“ื›ื ืื–ื”ืจื” ื–ื• ื”ืฉืชืžืฉ ื‘- ืœื ื‘ืฉื™ืžื•ืฉ ืชื›ื•ื ื”.

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื’ื ืขืœ ื™ื“ื™ -ืœื ื‘ืฉื™ืžื•ืฉ, ืืฉืจ ืžื•ืคืขืœ ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ืคื•ื ืงืฆื™ื” Wunused
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืคื•ื ืงืฆื™ื” ืกื˜ื˜ื™ืช ืžื•ืฆื”ืจืช ืืš ืœื ืžื•ื’ื“ืจืช ืื• ืกื˜ื˜ื™ืช ืฉืื™ื ื” ืžื•ื˜ื‘ืขืช
ื”ืคื•ื ืงืฆื™ื” ืื™ื ื” ื‘ืฉื™ืžื•ืฉ. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ืชื•ื•ื™ืช Wunused
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืชื•ื•ื™ืช ืžื•ืฆื”ืจืช ืืš ืื™ื ื” ื‘ืฉื™ืžื•ืฉ. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

ื›ื“ื™ ืœื“ื›ื ืื–ื”ืจื” ื–ื• ื”ืฉืชืžืฉ ื‘- ืœื ื‘ืฉื™ืžื•ืฉ ืชื›ื•ื ื”.

-Wunused-local-typedefs (C, Objective-C, C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ ืœื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘-typedef ื”ืžื•ื’ื“ืจ ื‘ืื•ืคืŸ ืžืงื•ืžื™ ื‘ืคื•ื ืงืฆื™ื”. ืื–ื”ืจื” ื–ื• ื”ื™ื
ืžื•ืคืขืœ ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ืคืจืžื˜ืจ Wunused
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืœื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืคืจืžื˜ืจ ืคื•ื ืงืฆื™ื” ืžืœื‘ื“ ื”ื”ืฆื”ืจื” ืฉืœื•.

ื›ื“ื™ ืœื“ื›ื ืื–ื”ืจื” ื–ื• ื”ืฉืชืžืฉ ื‘- ืœื ื‘ืฉื™ืžื•ืฉ ืชื›ื•ื ื”.

-ืื™ืŸ ืชื•ืฆืื” ืฉืื™ื ื” ื‘ืฉื™ืžื•ืฉ
ืืœ ืชื–ื”ื™ืจ ืื ืžืชืงืฉืจ ืœืคื•ื ืงืฆื™ื” ื”ืžืกื•ืžื ืช ื‘ืชื›ื•ื ื” "warn_unused_result" ืขื•ืฉื” ื–ืืช
ืœื ืœื”ืฉืชืžืฉ ื‘ืขืจืš ื”ื”ื—ื–ืจ ืฉืœื•. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื - ืชื•ืฆืื” ื‘ืฉื™ืžื•ืฉ.

-ืžืฉืชื ื™ื-Wunused
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืœื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืžืฉืชื ื” ืžืงื•ืžื™ ืื• ื‘ืžืฉืชื ื” ืกื˜ื˜ื™ ืœื ืงื‘ื•ืข
ื”ื”ื›ืจื–ื” ืฉืœื”. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

ื›ื“ื™ ืœื“ื›ื ืื–ื”ืจื” ื–ื• ื”ืฉืชืžืฉ ื‘- ืœื ื‘ืฉื™ืžื•ืฉ ืชื›ื•ื ื”.

-ืขืจืš Wunused
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืžืฉืคื˜ ืžื—ืฉื‘ ืชื•ืฆืื” ืฉืœื ื ืขืฉื” ื‘ื” ืฉื™ืžื•ืฉ ืžืคื•ืจืฉ. ืœื“ื›ื
ื”ืื–ื”ืจื” ื”ื–ื• ื”ื˜ื™ืœื” ืืช ื”ื‘ื™ื˜ื•ื™ ื”ืœื ื‘ืฉื™ืžื•ืฉ ืœื‘ื˜ืœ ืืช. ื–ื” ื›ื•ืœืœ ื‘ื™ื˜ื•ื™-ืืžื™ืจื”
ืื• ื”ืฆื“ ื”ืฉืžืืœื™ ืฉืœ ื‘ื™ื˜ื•ื™ ืคืกื™ืง ืฉืื™ื ื• ืžื›ื™ืœ ืชื•ืคืขื•ืช ืœื•ื•ืื™. ืœ
ืœื“ื•ื’ืžื”, ื‘ื™ื˜ื•ื™ ื›ื’ื•ืŸ x[i,j] ื’ื•ืจื ืœืื–ื”ืจื”, ื‘ืขื•ื“ x[(void)i,j] ืœื.

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ืœื ื‘ืฉื™ืžื•ืฉ
ื›ืœ ื”ืืžื•ืจ ืœืขื™ืœ -ืœื ื‘ืฉื™ืžื•ืฉ ืืคืฉืจื•ื™ื•ืช ืžืฉื•ืœื‘ื•ืช.

ืขืœ ืžื ืช ืœืงื‘ืœ ืื–ื”ืจื” ืขืœ ืคืจืžื˜ืจ ืคื•ื ืงืฆื™ื” ืฉืื™ื ื• ื‘ืฉื™ืžื•ืฉ, ืขืœื™ืš ืœืฆื™ื™ืŸ
ืืงืกื˜ืจื” -ืœื ื‘ืฉื™ืžื•ืฉ (ืฆื™ื™ืŸ ื–ืืช - ืงื™ืจ ืžืจืžื– -ืœื ื‘ืฉื™ืžื•ืฉ), ืื• ืฆื™ื™ืŸ ื‘ื ืคืจื“
-ืคืจืžื˜ืจ Wunused.

-ืœื ืžืื•ืชื—ืœ
ื”ืชืจื™ืข ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืžืฉืชื ื” ืื•ื˜ื•ืžื˜ื™ ืžื‘ืœื™ ืœื”ื™ื•ืช ืืชื—ื•ืœ ืชื—ื™ืœื” ืื• ืื ืžืฉืชื ื”
ืขืฉื•ื™ ืœื”ื™ื•ืช ื ื’ื•ืข ื‘ืงืจื™ืื” "setjmp". ื‘-C++, ืื–ื”ืจื” ืื ื”ืคื ื™ื” ืœื ืกื˜ื˜ื™ืช ืื• ืœื-
ืกื˜ื˜ื™ const ื—ื‘ืจ ืžื•ืคื™ืข ื‘ืžื—ืœืงื” ืœืœื ื‘ื ืื™ื.

ืื ื‘ืจืฆื•ื ืš ืœื”ื–ื”ื™ืจ ืœื’ื‘ื™ ืงื•ื“ ืฉืžืฉืชืžืฉ ื‘ืขืจืš ื”ืœื ืžืื•ืชื—ืœ ืฉืœ ื”ืžืฉืชื ื” ื‘
ืืชื—ื•ืœ ืžืฉืœื•, ื”ืฉืชืžืฉ ื‘- -ื•ื•ื™ื ื™ื˜-ืขืฆืžื™ ืื•ึนืคึผึฐืฆึดื™ึธื”.

ืื–ื”ืจื•ืช ืืœื• ืžืชืจื—ืฉื•ืช ืขื‘ื•ืจ ืจื›ื™ื‘ื™ ืžื‘ื ื” ื‘ื•ื“ื“ื™ื ืฉืื™ื ื ืžืืชื—ืœื™ื ืื• ืžืฉื•ื‘ืฆื™ื,
ืžืฉืชื ื™ ืื™ื—ื•ื“ ืื• ืžืขืจืš ื•ื›ืŸ ืขื‘ื•ืจ ืžืฉืชื ื™ื ืฉืื™ื ื ืžืื•ืชื—ืœื™ื ืื• ืงื•ื‘ืฆื™ื
ื›ืฉืœื. ื”ื ืื™ื ื ืžืชืจื—ืฉื™ื ืขื‘ื•ืจ ืžืฉืชื ื™ื ืื• ืืœืžื ื˜ื™ื ืฉื”ื•ื›ืจื–ื• ื›"ื ื“ื™ืคื™ื". ื›ื™
ืื–ื”ืจื•ืช ืืœื” ืชืœื•ื™ื•ืช ื‘ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”, ื”ืžืฉืชื ื™ื ื”ืžื“ื•ื™ืงื™ื ืื• ื”ืืœืžื ื˜ื™ื ืฉืขื‘ื•ืจื ื™ืฉ
ื”ืื–ื”ืจื•ืช ืชืœื•ื™ื•ืช ื‘ืืคืฉืจื•ื™ื•ืช ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื”ืžื“ื•ื™ืงื•ืช ื•ื‘ื’ืจืกืช GCC ืฉื‘ื” ื ืขืฉื” ืฉื™ืžื•ืฉ.

ืฉื™ืžื• ืœื‘ ืฉื™ื™ืชื›ืŸ ืฉืœื ืชื”ื™ื” ืื–ื”ืจื” ืœื’ื‘ื™ ืžืฉืชื ื” ื”ืžืฉืžืฉ ืจืง ืœื—ื™ืฉื•ื‘ ื
ืขืจืš ืฉื‘ืขืฆืžื• ืœืขื•ืœื ืื™ื ื• ื‘ืฉื™ืžื•ืฉ, ืžื›ื™ื•ื•ืŸ ืฉื—ื™ืฉื•ื‘ื™ื ื›ืืœื” ืขืฉื•ื™ื™ื ืœื”ื™ืžื—ืง ืขืœ ื™ื“ื™ ื–ืจื™ืžืช ื ืชื•ื ื™ื
ื ื™ืชื•ื— ืœืคื ื™ ื”ื“ืคืกืช ื”ืื–ื”ืจื•ืช.

-ืื•ืœื™-ืœื ืืชื—ื•ืœ
ืขื‘ื•ืจ ืžืฉืชื ื” ืื•ื˜ื•ืžื˜ื™, ืื ืงื™ื™ื ื ืชื™ื‘ ืžื›ื ื™ืกืช ื”ืคื•ื ืงืฆื™ื” ืœืฉื™ืžื•ืฉ ื‘
ื”ืžืฉืชื ื” ืฉืžืื•ื—ืœ, ืื‘ืœ ืงื™ื™ืžื™ื ื›ืžื” ื ืชื™ื‘ื™ื ืื—ืจื™ื ืฉืขื‘ื•ืจื
ื”ืžืฉืชื ื” ืื™ื ื• ืžืื•ืชื—ืœ, ื”ืžื”ื“ืจ ืคื•ืœื˜ ืื–ื”ืจื” ืื ื”ื•ื ืœื ื™ื›ื•ืœ ืœื”ื•ื›ื™ื— ืืช
ื ืชื™ื‘ื™ื ืœื ืžืื•ืชื—ืœื™ื ืื™ื ื ืžื‘ื•ืฆืขื™ื ื‘ื–ืžืŸ ื”ืจื™ืฆื”. ืื–ื”ืจื•ืช ืืœื• ื ืขืฉื•ืช ืœืื•ืคืฆื™ื•ื ืœื™ื•ืช
ื›ื™ GCC ืื™ื ื• ื—ื›ื ืžืกืคื™ืง ื›ื“ื™ ืœืจืื•ืช ืืช ื›ืœ ื”ืกื™ื‘ื•ืช ืœื›ืš ืฉื”ืงื•ื“ ืขืฉื•ื™ ืœื”ื™ื•ืช ื ื›ื•ืŸ
ืœืžืจื•ืช ืฉื ืจืื” ืฉื™ืฉ ืฉื’ื™ืื”. ื”ื ื” ื“ื•ื’ืžื” ืื—ืช ืœืื•ืคืŸ ืฉื‘ื• ื–ื” ื™ื›ื•ืœ ืœืงืจื•ืช:

{
int x;
ืžืชื’ (y)
{
ืžืงืจื” 1: x = 1;
ืœืฉื‘ื•ืจ;
ืžืงืจื” 2: x = 4;
ืœืฉื‘ื•ืจ;
ืžืงืจื” 3: x = 5;
}
foo (x);
}

ืื ื”ืขืจืš ืฉืœ "y" ื”ื•ื ืชืžื™ื“ 1, 2 ืื• 3, ืื– "x" ืชืžื™ื“ ืžืื•ืชื—ืœ, ืื‘ืœ GCC
ืœื ื™ื•ื“ืข ืืช ื–ื”. ื›ื“ื™ ืœื“ื›ื ืืช ื”ืื–ื”ืจื”, ืขืœื™ืš ืœืกืคืง ืžืงืจื” ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื
ืœึดื˜ืขื•ึนืŸ(0) ืื• ืงื•ื“ ื“ื•ืžื”.

ืืคืฉืจื•ืช ื–ื• ื’ื ืžื–ื”ื™ืจื” ื›ืืฉืจ ืžืฉืชื ื” ืื•ื˜ื•ืžื˜ื™ ืœื ื ื“ื™ืฃ ืขืฉื•ื™ ืœื”ืฉืชื ื•ืช ืขืœ ื™ื“ื™ ื
ืงืจื™ืื” ืœ-"longjmp". ื’ื ืื–ื”ืจื•ืช ืืœื• ืืคืฉืจื™ื•ืช ืจืง ื‘ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ื”ึทื”ื“ึธืจึธื”.

ื”ืžื”ื“ืจ ืจื•ืื” ืจืง ืืช ื”ืงืจื™ืื•ืช ืœ"setjmp". ื–ื” ืœื ื™ื›ื•ืœ ืœื“ืขืช ืื™ืคื” "longjmp" ื™ื”ื™ื”
ืฉืงื•ืจืื™ื ืœื•; ืœืžืขืฉื”, ืžื˜ืคืœ ื‘ืื•ืชื•ืช ื™ื›ื•ืœ ืœืงืจื•ื ืœื–ื” ื‘ื›ืœ ื ืงื•ื“ื” ื‘ืงื•ื“. ื›
ื›ืชื•ืฆืื” ืžื›ืš, ืืชื” ืขืœื•ืœ ืœืงื‘ืœ ืื–ื”ืจื” ื’ื ื›ืืฉืจ ืœืžืขืฉื” ืื™ืŸ ื‘ืขื™ื” ื›ื™ "longjmp"
ืœืžืขืฉื” ืœื ื ื™ืชืŸ ืœื”ืชืงืฉืจ ืœืžืงื•ื ืฉื™ื’ืจื•ื ืœื‘ืขื™ื”.

ื ื™ืชืŸ ืœื”ื™ืžื ืข ืžื›ืžื” ืื–ื”ืจื•ืช ืžื–ื•ื™ืคื•ืช ืื ืชืฆื”ื™ืจ ืขืœ ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ืฉื‘ื”ืŸ ืืชื” ืžืฉืชืžืฉ
ืœืขื•ืœื ืืœ ืชื—ื–ื•ืจ ื‘ืชื•ืจ "norreturn".

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ or ืืงืกื˜ืจื”.

-ืœื ื™ื“ื•ืข-ืคืจื’ืžื•ืช
ืื–ื”ืจื” ื›ืืฉืจ ื ืชืงืœื™ื ื‘ื”ื ื—ื™ื™ืช "#pragma" ืฉืื™ื ื” ืžื•ื‘ื ืช ืขืœ ื™ื“ื™ GCC. ืื ื–ื”
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื”, ืื–ื”ืจื•ืช ืืคื™ืœื• ืžื•ื ืคืงื•ืช ืขื‘ื•ืจ ืคืจื’ืžื•ืช ืœื ื™ื“ื•ืขื•ืช ื‘ืžืขืจื›ืช
ืงื‘ืฆื™ ื›ื•ืชืจื•ืช. ื–ื” ืœื ื”ืžืงืจื” ืื ื”ืื–ื”ืจื•ืช ืžื•ืคืขืœื•ืช ืจืง ืขืœ ื™ื“ื™ - ืงื™ืจ
ืืคืฉืจื•ืช ืฉื•ืจืช ืคืงื•ื“ื”.

-ืœื-ืคืจื’ืžื•ืช
ืื™ืŸ ืœื”ื–ื”ื™ืจ ืขืœ ืฉื™ืžื•ืฉ ืœืจืขื” ื‘ืคืจื’ืžื•ืช, ื›ื’ื•ืŸ ืคืจืžื˜ืจื™ื ืฉื’ื•ื™ื™ื, ืชื—ื‘ื™ืจ ืœื ื—ื•ืงื™ ืื•
ืงื•ื ืคืœื™ืงื˜ื™ื ื‘ื™ืŸ ืคืจื’ืžื•ืช. ืจืื” ื’ื -ืœื ื™ื“ื•ืข-ืคืจื’ืžื•ืช.

-Wstrict-aliasing
ืืคืฉืจื•ืช ื–ื• ืคืขื™ืœื” ืจืง ื›ืืฉืจ -fstrict-aliasing ื”ื•ื ืคืขื™ืœ. ื–ื” ืžื–ื”ื™ืจ ืœื’ื‘ื™ ืงื•ื“ ื–ื”
ืขืœื•ืœ ืœืฉื‘ื•ืจ ืืช ื›ืœืœื™ ื”ื›ื™ื ื•ื™ ื”ื ื•ืงืฉื™ื ืฉื‘ื”ื ืžืฉืชืžืฉ ื”ืžื”ื“ืจ ืœืฆื•ืจืš ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.
ื”ืื–ื”ืจื” ืœื ืชื•ืคืกืช ืืช ื›ืœ ื”ืžืงืจื™ื, ืื‘ืœ ื›ืŸ ืžื ืกื” ืœืชืคื•ืก ืืช ื”ื ืคื•ืฆื™ื ื™ื•ืชืจ
ืžืœื›ื•ื“ื•ืช. ื–ื” ื›ืœื•ืœ ื‘ - ืงื™ืจ. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -Wstrict-aliasing=3

-Wstrict-aliasing=n
ืืคืฉืจื•ืช ื–ื• ืคืขื™ืœื” ืจืง ื›ืืฉืจ -fstrict-aliasing ื”ื•ื ืคืขื™ืœ. ื–ื” ืžื–ื”ื™ืจ ืœื’ื‘ื™ ืงื•ื“ ื–ื”
ืขืœื•ืœ ืœืฉื‘ื•ืจ ืืช ื›ืœืœื™ ื”ื›ื™ื ื•ื™ ื”ื ื•ืงืฉื™ื ืฉื‘ื”ื ืžืฉืชืžืฉ ื”ืžื”ื“ืจ ืœืฆื•ืจืš ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.
ืจืžื•ืช ื’ื‘ื•ื”ื•ืช ื™ื•ืชืจ ืžืชืื™ืžื•ืช ืœื“ื™ื•ืง ื’ื‘ื•ื” ื™ื•ืชืจ (ืคื—ื•ืช ืชื•ืฆืื•ืช ื—ื™ื•ื‘ื™ื•ืช ืฉื’ื•ื™ื•ืช). ืฉืœื‘ื™ื ื’ื‘ื•ื”ื™ื
ืžืชืื™ื ื’ื ืœื™ื•ืชืจ ืžืืžืฅ, ื‘ื“ื•ืžื” ืœื“ืจืš -O ื™ืฆื™ืจื•ืช. -Wstrict-aliasing is
ืฉื•ื•ื” ืขืจืš ืœ -Wstrict-aliasing=3.

ืจืžื” 1: ื”ื›ื™ ืื’ืจืกื™ื‘ื™, ืžื”ื™ืจ, ื”ื›ื™ ืคื—ื•ืช ืžื“ื•ื™ืง. ืื•ืœื™ ืฉื™ืžื•ืฉื™ ื›ืฉืจืžื•ืช ื’ื‘ื•ื”ื•ืช ื™ื•ืชืจ
ืœื ืœื”ื–ื”ื™ืจ ืื‘ืœ -fstrict-aliasing ืขื“ื™ื™ืŸ ืฉื•ื‘ืจ ืืช ื”ืงื•ื“, ืžื›ื™ื•ื•ืŸ ืฉื™ืฉ ื‘ื• ืžืขื˜ ืžืื•ื“ false
ืฉืœื™ืœื™ื™ื. ืขื ื–ืืช, ื™ืฉ ืœื–ื” ื”ืจื‘ื” ื—ื™ื•ื‘ื™ื•ืช ืฉื’ื•ื™ื•ืช. ืžื–ื”ื™ืจ ืขื‘ื•ืจ ื›ืœ ื”ืžืจื•ืช ืžืฆื‘ื™ืขื™ื
ื‘ื™ืŸ ื˜ื™ืคื•ืกื™ื ืฉืื•ืœื™ ืœื ืชื•ืืžื™ื, ื’ื ืื ืžืขื•ืœื ืœื ื ื™ืชื ื• ืœื”ืชื™ื™ื—ืกื•ืชื. ืคื•ืขืœ ืžืœืคื ื™ื
ืกื•ืฃ ื‘ืœื‘ื“.

ืจืžื” 2: ืื’ืจืกื™ื‘ื™, ืžื”ื™ืจ, ืœื ืžื“ื•ื™ืง ืžื“ื™. ื™ื™ืชื›ืŸ ืฉืขื“ื™ื™ืŸ ื™ืฉ ื”ืจื‘ื” ืชื•ืฆืื•ืช ื—ื™ื•ื‘ื™ื•ืช ืฉื’ื•ื™ื•ืช (ืœื
ืืžื ื ืขื“ ืจืžื” 1), ื•ืžืขื˜ ืฉืœื™ืœื™ื•ืช ื›ื•ื–ื‘ื•ืช (ืื‘ืœ ืื•ืœื™ ื™ื•ืชืจ ืžืจืžื” 1).
ื‘ื ื™ื’ื•ื“ ืœืจืžื” 1, ื”ื•ื ืžืชืจื™ืข ืจืง ื›ืืฉืจ ื ืœืงื—ืช ื›ืชื•ื‘ืช. ืžื–ื”ื™ืจ ืœื’ื‘ื™ ืกื•ื’ื™ื ืœื ืฉืœืžื™ื.
ืคื•ืขืœ ื‘ื—ืœืง ื”ืงื“ืžื™ ื‘ืœื‘ื“.

ืจืžื” 3 (ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ -Wstrict-aliasing): ืืžื•ืจื•ืช ืœื”ื™ื•ืช ืžืขื˜ ืžืื•ื“ ื—ื™ื•ื‘ื™ื•ืช ืฉื’ื•ื™ื•ืช ื•ืžืขื˜ื•ืช
ืฉืœื™ืœื™ ืฉื•ื•ื. ืžืขื˜ ืื™ื˜ื™ ื™ื•ืชืจ ืžืจืžื•ืช 1 ืื• 2 ื›ืืฉืจ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžื•ืคืขืœืช.
ื“ื•ืื’ ืœื“ืคื•ืก ื”ืžืฉื•ืชืฃ ืฉืœ ืžืฉื—ืงื™ ืžื™ืœื™ื+ื”ืชื™ื™ื—ืกื•ืช ื‘ื—ืœืง ื”ืงื“ืžื™:
"*(int*)&some_float". ืื ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžื•ืคืขืœืช, ื”ื™ื ืคื•ืขืœืช ื’ื ื‘ื—ืœืง ื”ืื—ื•ืจื™, ืฉื
ื”ื•ื ืขื•ืกืง ื‘ืžืกืคืจ ืžืงืจื™ ื”ืฆื”ืจื•ืช ืชื•ืš ืฉื™ืžื•ืฉ ื‘ื ืงื•ื“ื•ืช ืœืžื™ื“ืข ืจื’ื™ืฉ ืœื–ืจื™ืžื”.
ืžืชืจื™ืข ืจืง ื›ืืฉืจ ื”ืžืฆื‘ื™ืข ืฉื”ื•ืžืจ ืžื•ืคื ื”. ืœื ืžืชืจื™ืข ืขืœ ื—ื•ืกืจ ืฉืœื
ืกื•ื’ื™ื.

-Wstrict-ื”ืฆืคื”
-Wstrict-overflow=n
ืืคืฉืจื•ืช ื–ื• ืคืขื™ืœื” ืจืง ื›ืืฉืจ -ืคืจืงื˜-ื”ืฆืคื” ื”ื•ื ืคืขื™ืœ. ื–ื” ืžื–ื”ื™ืจ ืขืœ ืžืงืจื™ื
ืฉื‘ื• ื”ืžื”ื“ืจ ืžื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื‘ื”ืชื‘ืกืก ืขืœ ื”ื”ื ื—ื” ืฉื”ื’ืœื™ืฉื” ื—ืชื•ืžื” ืœื ืขื•ืฉื” ื–ืืช
ืžืชืจื—ืฉ. ืฉื™ืžื• ืœื‘ ืฉื”ื•ื ืœื ืžื–ื”ื™ืจ ืขืœ ื›ืœ ื”ืžืงืจื™ื ืฉื‘ื”ื ื”ืงื•ื“ ืขืœื•ืœ ืœืขืœื•ืช ืขืœ ื’ื“ื•ืชื™ื•: ื–ื”
ืžื–ื”ื™ืจ ืจืง ืขืœ ืžืงืจื™ื ืฉื‘ื”ื ื”ืžื”ื“ืจ ืžื™ื™ืฉื ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžืกื•ื™ืžืช. ื›ืš ื–ื”
ืื–ื”ืจื” ืชืœื•ื™ื” ื‘ืจืžืช ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.

ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืžื ื™ื—ื” ืฉืœื ืžืชืจื—ืฉืช ื”ืฆืคื” ื—ืชื•ืžื” ื‘ื˜ื•ื—ื” ืœื—ืœื•ื˜ื™ืŸ ืื
ื”ืขืจื›ื™ื ืฉืœ ื”ืžืฉืชื ื™ื ื”ืžืขื•ืจื‘ื™ื ื”ื ื›ืืœื” ืฉื”ื’ืœื™ืฉื” ืœืขื•ืœื ืื™ื ื” ืขื•ืฉื” ื–ืืช, ืœืžืขืฉื”,
ืžืชืจื—ืฉ. ืœื›ืŸ ืื–ื”ืจื” ื–ื• ื™ื›ื•ืœื” ื‘ืงืœื•ืช ืœืชืช ื—ื™ื•ื‘ื™ ืฉื’ื•ื™: ืื–ื”ืจื” ืœื’ื‘ื™ ืงื•ื“
ื–ื• ืœื ื‘ืขืฆื ื‘ืขื™ื”. ื›ื“ื™ ืœืขื–ื•ืจ ืœื”ืชืžืงื“ ื‘ื ื•ืฉืื™ื ื—ืฉื•ื‘ื™ื, ื›ืžื” ืื–ื”ืจื•ืช
ืจืžื•ืช ืžื•ื’ื“ืจื•ืช. ืœื ืžื•ื ืคืงื•ืช ืื–ื”ืจื•ืช ืขืœ ืฉื™ืžื•ืฉ ื‘ื”ืฆืคื” ื—ืชื•ืžื” ืœื ืžื•ื’ื“ืจืช
ื›ืืฉืจ ืžืขืจื™ื›ื™ื ื›ืžื” ืื™ื˜ืจืฆื™ื•ืช ื“ื•ืจืฉืช ืœื•ืœืื”, ื‘ืžื™ื•ื—ื“ ื‘ืขืช ืงื‘ื™ืขื”
ื”ืื ืœื•ืœืื” ืชื‘ื•ืฆืข ื‘ื›ืœืœ.

-Wstrict-overflow=1
ื”ื–ื”ื™ืจ ืžืคื ื™ ืžืงืจื™ื ืฉื”ื ื’ื ืžืคื•ืงืคืงื™ื ื•ื’ื ืฉืงืœ ืœื”ื™ืžื ืข ืžื”ื. ืœืžืฉืœ, ืขื
-ืคืจืงื˜-ื”ืฆืคื”, ื”ืžื”ื“ืจ ืžืคืฉื˜ ืืช "x + 1 > x" ืœ-1. ืจืžื” ื–ื• ืฉืœ
-Wstrict-ื”ืฆืคื” ืžื•ืคืขืœ ืขืœ ื™ื“ื™ - ืงื™ืจ; ืจืžื•ืช ื’ื‘ื•ื”ื•ืช ื™ื•ืชืจ ืื™ื ืŸ ื•ื—ื™ื™ื‘ื•ืช ืœื”ื™ื•ืช
ืžืชื‘ืงืฉ ื‘ืžืคื•ืจืฉ.

-Wstrict-overflow=2
ื”ืชืจื™ืข ื’ื ืขืœ ืžืงืจื™ื ืื—ืจื™ื ืฉื‘ื”ื ื”ื”ืฉื•ื•ืื” ืžืคื•ืฉื˜ืช ืœืงื‘ื•ืข. ืœ
ื“ื•ื’ืžื”: "abs (x) >= 0". ื ื™ืชืŸ ืœืคืฉื˜ ื–ืืช ืจืง ื›ืืฉืจ -ืคืจืงื˜-ื”ืฆืคื” ื”ื•ื ื‘
ืืคืงื˜, ื›ื™ "abs (INT_MIN)" ืขื•ืœื” ืขืœ ื’ื“ื•ืชื™ื• ืœ-"INT_MIN", ืฉื”ื•ื ืคื—ื•ืช ืžืืคืก.
-Wstrict-ื”ืฆืคื” (ืœืœื ืจืžื”) ื–ื”ื” ืœ -Wstrict-overflow=2.

-Wstrict-overflow=3
ื”ืชืจื™ืข ื’ื ืขืœ ืžืงืจื™ื ืื—ืจื™ื ืฉื‘ื”ื ื”ื”ืฉื•ื•ืื” ืžืคื•ืฉื˜ืช. ืœื“ื•ื’ืžื”: "x + 1
> 1" ืžืคื•ืฉื˜ ืœ-"x > 0".

-Wstrict-overflow=4
ื”ืชืจื™ืข ื’ื ืขืœ ื”ืงืœื•ืช ืื—ืจื•ืช ืฉืื™ื ืŸ ืžื›ื•ืกื•ืช ืขืœ ื™ื“ื™ ื”ืžืงืจื™ื ืœืขื™ืœ. ืœ
ื“ื•ื’ืžื”: "(x * 10) / 5" ืžืคื•ืฉื˜ ืœ-"x * 2".

-Wstrict-overflow=5
ื”ืชืจื™ืข ื’ื ืขืœ ืžืงืจื™ื ืฉื‘ื”ื ื”ืžื”ื“ืจ ืžืงื˜ื™ืŸ ืืช ื’ื•ื“ืœ ื”ืงื‘ื•ืข
ืžืขื•ืจื‘ ื‘ื”ืฉื•ื•ืื”. ืœื“ื•ื’ืžื”: "x + 2 > y" ืžืคื•ืฉื˜ ืœ-"x + 1 >= y".
ื–ื” ืžื“ื•ื•ื— ืจืง ื‘ืจืžืช ื”ืื–ื”ืจื” ื”ื’ื‘ื•ื”ื” ื‘ื™ื•ืชืจ ื‘ื’ืœืœ ื”ืคื™ืฉื•ื˜ ื”ื–ื”
ื—ืœ ืขืœ ื”ืฉื•ื•ืื•ืช ืจื‘ื•ืช, ื›ืš ืฉืจืžืช ืื–ื”ืจื” ื–ื• ื ื•ืชื ืช ืžืกืคืจ ื’ื“ื•ืœ ืžืื•ื“ ืฉืœ
ื—ื™ื•ื‘ื™ ืฉื•ื•ื.

-Wsuggest-attribute=[ื˜ื”ื•ืจ|const|ืื™ืŸ ื“ืจืš ื—ื–ืจื”|ืคื•ึผืจืžึธื˜]
ื”ื–ื”ืจ ืœืžืงืจื™ื ืฉื‘ื”ื ื”ื•ืกืคืช ืชื›ื•ื ื” ืขืฉื•ื™ื” ืœื”ื™ื•ืช ืžื•ืขื™ืœื”. ื”ืชื›ื•ื ื•ืช ื›ืจื’ืข
ื”ื ืชืžื›ื™ื ืžืคื•ืจื˜ื™ื ืœื”ืœืŸ.

-Wsuggest-attribute=pure
-Wsuggest-attribute=const
-Wsuggest-attribute=norreturn
ื”ื–ื”ืจ ืœื’ื‘ื™ ืคื•ื ืงืฆื™ื•ืช ืฉืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ืžื•ืขืžื“ื•ืช ืœืชื›ื•ื ื•ืช "ื˜ื”ื•ืจ", "ืงื•ื ืกื˜" ืื•
"ืื™ืŸ ื“ืจืš ื—ื–ืจื”". ื”ืžื”ื“ืจ ืžืชืจื™ืข ืจืง ืขืœ ืคื•ื ืงืฆื™ื•ืช ื”ื ืจืื•ืช ื‘ืงื•ืžืคื™ืœืฆื™ื” ืื—ืจืช
ื™ื—ื™ื“ื•ืช ืื• (ื‘ืžืงืจื” ืฉืœ "ื˜ื”ื•ืจ" ื•"ืงื•ื ืกื˜") ืื ื–ื” ืœื ื™ื›ื•ืœ ืœื”ื•ื›ื™ื— ื›ื™ ื”ืคื•ื ืงืฆื™ื”
ื—ื•ื–ืจ ื›ืจื’ื™ืœ. ืคื•ื ืงืฆื™ื” ืžื—ื–ื™ืจื” ื›ืจื’ื™ืœ ืื ื”ื™ื ืœื ืžื›ื™ืœื” ืื™ื ืกื•ืฃ
ืœื•ืœืื” ืื• ื—ื–ืจื” ื‘ืฆื•ืจื” ื—ืจื™ื’ื” ืขืœ ื™ื“ื™ ื–ืจื™ืงื”, ืงืจื™ืื” ืœ-"abort()" ืื• ืœื›ื™ื“ื”. ื–ึถื”
ื ื™ืชื•ื— ื“ื•ืจืฉ ืืคืฉืจื•ืช -ืคื™ืคื-ื˜ื”ื•ืจ-ืงื•ื ืกื˜, ื”ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘- -O ื•
ื’ื‘ื•ื” ื™ื•ืชืจ. ืจืžื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื’ื‘ื•ื”ื•ืช ื™ื•ืชืจ ืžืฉืคืจื•ืช ืืช ื“ื™ื•ืง ื”ื ื™ืชื•ื—.

-Wsuggest-attribute=ืคื•ืจืžื˜
-ืชื›ื•ื ื” ื—ืกืจืช-ืคื•ืจืžื˜
ื”ื–ื”ืจ ืœื’ื‘ื™ ืžืฆื‘ื™ืขื™ ืคื•ื ืงืฆื™ื•ืช ืฉืขืฉื•ื™ื™ื ืœื”ื™ื•ืช ืžื•ืขืžื“ื™ื ืœืชื›ื•ื ื•ืช "ืคื•ืจืžื˜".
ืฉื™ืžื• ืœื‘ ืฉืžื“ื•ื‘ืจ ืจืง ื‘ืžื•ืขืžื“ื™ื ืืคืฉืจื™ื™ื, ืœื ื‘ืžื•ืขืžื“ื™ื ืžื•ื—ืœื˜ื™ื. GCC ืžื ื—ืฉ ืืช ื–ื”
ืžืฆื‘ื™ืขื™ ืคื•ื ืงืฆื™ื•ืช ืขื ืชื›ื•ื ื•ืช "ืคื•ืจืžื˜" ื”ืžืฉืžืฉื•ืช ื‘ื”ืงืฆืื”,
ื”ืฆื”ืจื•ืช ืืชื—ื•ืœ, ื”ืขื‘ืจืช ืคืจืžื˜ืจื™ื ืื• ื”ื—ื–ืจื” ืฆืจื™ื›ื™ื ืœื”ื™ื•ืช ืžืชืื™ืžื™ื
ืชื›ื•ื ืช "ืคื•ืจืžื˜" ื‘ืกื•ื’ ื”ืžืชืงื‘ืœ. ื›ืœื•ืžืจ ื”ืฆื“ ื”ืฉืžืืœื™ ืฉืœ
ื”ืงืฆืื” ืื• ืืชื—ื•ืœ, ืกื•ื’ ืžืฉืชื ื” ื”ืคืจืžื˜ืจ ืื• ื”ื”ื—ื–ืจื”
ืกื•ื’ ื”ืคื•ื ืงืฆื™ื” ื”ืžื›ื™ืœื” ื‘ื”ืชืืžื” ืฆืจื™ื›ื” ืœื”ื™ื•ืช ื’ื ืชื›ื•ื ื” "ืคื•ืจืžื˜".
ื›ื“ื™ ืœื”ื™ืžื ืข ืžื”ืื–ื”ืจื”.

GCC ื’ื ืžื–ื”ื™ืจ ืžืคื ื™ ื”ื’ื“ืจื•ืช ืคื•ื ืงืฆื™ื•ืช ืฉืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ืžื•ืขืžื“ื•ืช ืœ"ืคื•ืจืžื˜"
ืชื›ื•ื ื•ืช. ืฉื•ื‘, ืืœื• ืจืง ืžื•ืขืžื“ื™ื ืืคืฉืจื™ื™ื. GCC ืžื ื—ืฉ ืืช ื”"ืคื•ืจืžื˜" ื”ื–ื”
ืชื›ื•ื ื•ืช ืขืฉื•ื™ื•ืช ืœื”ืชืื™ื ืœื›ืœ ืคื•ื ืงืฆื™ื” ืฉืงื•ืจืืช ืœืคื•ื ืงืฆื™ื” ื›ืžื•
"vprintf" ืื• "vscanf", ืื‘ืœ ืื•ืœื™ ื–ื” ืœื ืชืžื™ื“ ื”ืžืงืจื”, ื•ื›ืžื” ืคื•ื ืงืฆื™ื•ืช
ื™ื™ืชื›ืŸ ืฉืœื ื™ืชื’ืœื• ืขื‘ื•ืจื ืชื›ื•ื ื•ืช "ืคื•ืจืžื˜" ืฉืžืชืื™ืžื•ืช.

-ื’ื‘ื•ืœื•ืช ื”ืžืœื—ืžื”
ืืคืฉืจื•ืช ื–ื• ืคืขื™ืœื” ืจืง ื›ืืฉืจ -ftree-vrp ืคืขื™ืœ (ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ -O2 ื•ืžืขืœ). ื–ื”
ืžื–ื”ื™ืจ ืขืœ ื›ืชื•ื‘ื™ื•ืช ืžืฉื ื” ืœืžืขืจื›ื™ื ืฉื”ื ืชืžื™ื“ ืžื—ื•ืฅ ืœืชื—ื•ื. ืื–ื”ืจื” ื–ื• ื”ื™ื
ืžื•ืคืขืœ ืขืœ ื™ื“ื™ - ืงื™ืจ.

-Wno-div-by-XNUMX
ืืœ ืชื–ื”ื™ืจ ืขืœ ื—ืœื•ืงืช ืžืกืคืจ ืฉืœื ื‘ืืคืก ื‘ื–ืžืŸ ื”ื™ื“ื•ืจ. ื—ืœื•ืงืช ื ืงื•ื“ื” ืฆืคื” ืœืคื™
ืœื ืžื•ื–ื”ืจืช ืขืœ ืืคืก, ืžื›ื™ื•ื•ืŸ ืฉื”ื™ื ื™ื›ื•ืœื” ืœื”ื™ื•ืช ื“ืจืš ืœื’ื™ื˜ื™ืžื™ืช ืœื”ืฉื™ื’ ืื™ื ืกื•ืฃ ื•
NaNs.

-ื›ื•ืชืจื•ืช Wsystem
ื”ื“ืคืก ื”ื•ื“ืขื•ืช ืื–ื”ืจื” ืขื‘ื•ืจ ืžื‘ื ื™ื ืฉื ืžืฆืื• ื‘ืงื•ื‘ืฆื™ ื›ื•ืชืจื•ืช ืžืขืจื›ืช. ืื–ื”ืจื•ืช ืž
ื›ื•ืชืจื•ืช ืžืขืจื›ืช ืžื“ื•ื›ืื•ืช ื‘ื“ืจืš ื›ืœืœ, ื‘ื”ื ื—ื” ืฉื‘ื“ืจืš ื›ืœืœ ืœื
ืžืฆื‘ื™ืข ืขืœ ื‘ืขื™ื•ืช ืืžื™ืชื™ื•ืช ื•ืจืง ื™ื”ืคื•ืš ืืช ืคืœื˜ ื”ืžื”ื“ืจ ืœืงืฉื” ื™ื•ืชืจ ืœืงืจื™ืื”. ื‘ืืžืฆืขื•ืช
ืืคืฉืจื•ืช ืฉื•ืจืช ืคืงื•ื“ื” ื–ื• ืื•ืžืจืช ืœ-GCC ืœืคืœื•ื˜ ืื–ื”ืจื•ืช ืžื›ื•ืชืจื•ืช ื”ืžืขืจื›ืช ื›ืื™ืœื• ื”ืŸ
ื”ืชืจื—ืฉ ื‘ืงื•ื“ ืžืฉืชืžืฉ. ืขื ื–ืืช, ืฉื™ื ืœื‘ ืฉื”ืฉื™ืžื•ืฉ - ืงื™ืจ ื‘ืฉื™ืœื•ื‘ ืขื ืืคืฉืจื•ืช ื–ื•
ืขื•ืฉื” ืœึนื ื”ื–ื”ื™ืจ ืžืคื ื™ ืคืจื’ืžื•ืช ืœื ื™ื“ื•ืขื•ืช ื‘ื›ื•ืชืจื•ืช ื”ืžืขืจื›ืช --- ืœืฉื ื›ืš, -ืœื ื™ื“ื•ืข-ืคืจื’ืžื•ืช
ื—ื™ื™ื‘ื™ื ืœื”ืฉืชืžืฉ ื’ื.

-ื˜ืจืžืคื•ืœื™ื ื•ืช
ื”ื–ื”ืจ ืžืคื ื™ ื˜ืจืžืคื•ืœื™ื ื•ืช ืฉื ื•ืฆืจื• ืขื‘ื•ืจ ืžืฆื‘ื™ืขื™ื ืœืคื•ื ืงืฆื™ื•ืช ืžืงื•ื ื ื•ืช.

ื˜ืจืžืคื•ืœื™ื ื” ื”ื™ื ืคื™ืกืช ื ืชื•ื ื™ื ืื• ืงื•ื“ ืงื˜ื ื” ืฉื ื•ืฆืจืช ื‘ื–ืžืŸ ื”ืจื™ืฆื”
ื–ืžืŸ ื‘ืขืจื™ืžื” ื›ืืฉืจ ื”ื›ืชื•ื‘ืช ืฉืœ ืคื•ื ืงืฆื™ื” ืžืงื•ื ื ืช ื ืœืงื—ืช, ื•
ืžืฉืžืฉ ืœืงืจื™ืื” ืœืคื•ื ืงืฆื™ื” ื”ืžืงื•ื ื ืช ื‘ืขืงื™ืคื™ืŸ. ืขื‘ื•ืจ ื›ืžื” ืžื˜ืจื•ืช, ื–ื”
ืžื•ืจื›ื‘ ืžื ืชื•ื ื™ื ื‘ืœื‘ื“ ื•ืœื›ืŸ ืื™ื ื• ื“ื•ืจืฉ ื˜ื™ืคื•ืœ ืžื™ื•ื—ื“. ืื‘ืœ,
ืขื‘ื•ืจ ืจื•ื‘ ื”ืžื˜ืจื•ืช, ื”ื•ื ืžื•ืจื›ื‘ ืžืงื•ื“ ื•ืœื›ืŸ ื“ื•ืจืฉ ืืช ื”ืžื—ืกื ื™ืช
ืœื”ืคื•ืš ืœื ื™ืชื ืช ืœื”ืคืขืœื” ืขืœ ืžื ืช ืฉื”ืชื•ื›ื ื™ืช ืชืคืขืœ ื›ืจืื•ื™.

-Wfloat-ืฉื•ื•ื”
ืื–ื”ืจื” ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืขืจื›ื™ ื ืงื•ื“ื” ืฆืคื” ื‘ื”ืฉื•ื•ืื•ืช ืฉื•ื•ื™ื•ืŸ.

ื”ืจืขื™ื•ืŸ ืžืื—ื•ืจื™ ื–ื” ื”ื•ื ืฉืœืคืขืžื™ื ื–ื” ื ื•ื— (ืœืžืชื›ื ืช).
ืจืื” ืขืจื›ื™ ื ืงื•ื“ื” ืฆืคื” ื›ืงื™ืจื•ื‘ื™ื ืœืžืกืคืจื™ื ืžืžืฉื™ื™ื ืžื“ื•ื™ืงื™ื ืขื“ ืื™ื ืกื•ืฃ.
ืื ืืชื” ืขื•ืฉื” ื–ืืช, ืื– ืืชื” ืฆืจื™ืš ืœื—ืฉื‘ (ืขืœ ื™ื“ื™ ื ื™ืชื•ื— ื”ืงื•ื“, ืื• ื‘ื›ืžื”
ืื—ืจืช) ื”ืฉื’ื™ืื” ื”ืžืงืกื™ืžืœื™ืช ืื• ื”ืกื‘ื™ืจื•ืช ื”ืžืงืกื™ืžืœื™ืช ืฉื”ื—ื™ืฉื•ื‘ ืžืฆื™ื’, ื•ื›ืŸ
ืœืืคืฉืจ ื–ืืช ื‘ืขืช ื‘ื™ืฆื•ืข ื”ืฉื•ื•ืื•ืช (ื•ื‘ืขืช ื”ืคืงืช ืคืœื˜, ืื‘ืœ ื–ื” ื
ื‘ืขื™ื” ืื—ืจืช). ื‘ืคืจื˜, ื‘ืžืงื•ื ืœื‘ื“ื•ืง ืฉื•ื•ื™ื•ืŸ, ื›ื“ืื™ ืœื‘ื“ื•ืง
ื›ื“ื™ ืœืจืื•ืช ืื ืœืฉื ื™ ื”ืขืจื›ื™ื ื™ืฉ ื˜ื•ื•ื—ื™ื ื—ื•ืคืคื™ื; ื•ื–ื” ื ืขืฉื” ืขื
ืื•ืคืจื˜ื•ืจื™ื ื™ื—ืกื™ื™ื, ื›ืš ืฉื”ืฉื•ื•ืื•ืช ืฉื•ื•ื™ื•ืŸ ื›ื ืจืื” ืžื•ื˜ืขื•ืช.

-ืžืกื•ืจืชื™ (C ื•-Objective-C ื‘ืœื‘ื“)
ื”ื–ื”ื™ืจ ืœื’ื‘ื™ ืžื‘ื ื™ื ืžืกื•ื™ืžื™ื ืฉืžืชื ื”ื’ื™ื ืื—ืจืช ื‘ืžืกื•ืจืชื™ ื•ื‘-ISO C. ื›ืžื• ื›ืŸ
ืœื”ื–ื”ื™ืจ ืžืคื ื™ ืžื‘ื ื™ ISO C ืฉืื™ืŸ ืœื”ื ืžืงื‘ื™ืœื” C ืžืกื•ืจืชื™ืช ื•/ืื• ื‘ืขื™ื™ืชื™ืช
ืžื‘ื ื™ื ืฉื›ื“ืื™ ืœื”ื™ืžื ืข ืžื”ื.

ยท ืคืจืžื˜ืจื™ ืžืืงืจื• ื”ืžื•ืคื™ืขื™ื ื‘ืชื•ืš ืžื™ืœื•ืœื™ ืžื—ืจื•ื–ืช ื‘ื’ื•ืฃ ื”ืžืืงืจื•. ื‘
ื”ื—ืœืคืช ืžืืงืจื• C ืžืกื•ืจืชื™ืช ืžืชืจื—ืฉืช ื‘ืชื•ืš ืžื™ืœื•ืœื™ ืžื—ืจื•ื–ืช, ืืš ื‘-ISO C
ื–ื” ืœื.

ยท ื‘-C ื”ืžืกื•ืจืชื™, ื›ืžื” ื”ื ื—ื™ื•ืช ืงื“ื-ืžืขื‘ื“ ืœื ื”ื™ื• ืงื™ื™ืžื•ืช. ืžึธืกื•ึนืจืชึดื™
ืžืขื‘ื“ื™ ืงื“ื-ืžืขื‘ื“ื™ื ื ื—ืฉื‘ื™ื ืงื• ื›ื”ื ื—ื™ื” ืจืง โ€‹โ€‹ืื # ื”ื•ืคื™ืข ื‘ื˜ื•ืจ
1 ืขืœ ื”ืงื•. ืœึธื›ึตืŸ -ืžืกื•ืจืชื™ ืžื–ื”ื™ืจ ืžืคื ื™ ื”ื ื—ื™ื•ืช ืฉ-C ื”ืžืกื•ืจืชื™
ืžื‘ื™ืŸ ืื‘ืœ ืžืชืขืœื ื›ื™ # ืœื ืžื•ืคื™ืข ื‘ืชื•ืจ ื”ืชื• ื”ืจืืฉื•ืŸ
ื”ืฉื•ืจื”. ื–ื” ื’ื ืžืฆื™ืข ืœืš ืœื”ืกืชื™ืจ ื”ื ื—ื™ื•ืช ื›ืžื• #ืคืจื’ืžื” ืœื ืžื•ื‘ืŸ ืขืœ ื™ื“ื™
C ืžืกื•ืจืชื™ืช ืขืœ ื™ื“ื™ ื”ื–ื—ื”. ื›ืžื” ื™ื™ืฉื•ืžื™ื ืžืกื•ืจืชื™ื™ื ืœื
ืœื”ื›ื™ืจ #elif, ืื– ืืคืฉืจื•ืช ื–ื• ืžืฆื™ืขื” ืœื”ื™ืžื ืข ืžืžื ื” ืœื—ืœื•ื˜ื™ืŸ.

ยท ืžืืงืจื• ื“ืžื•ื™ ืคื•ื ืงืฆื™ื” ื”ืžื•ืคื™ืข ืœืœื ืืจื’ื•ืžื ื˜ื™ื.

ยท ื”ืื•ืคืจื˜ื•ืจ ื”ืื ืจื™ ืคืœื•ืก.

ยท U ืกื™ื•ืžืช ืงื‘ื•ืขื” ืฉืœ ืžืกืคืจ ืฉืœื, ืื• ืืช F or L ืกื™ื•ืžื•ืช ืงื‘ื•ืขื•ืช ืฉืœ ื ืงื•ื“ื” ืฆืคื”.
(ื”-C ื”ืžืกื•ืจืชื™ืช ืื›ืŸ ืชื•ืžื›ืช ื‘ L ืกื™ื•ืžืช ืขืœ ืงื‘ื•ืขื™ื ืฉืœืžื™ื.) ืฉื™ืžื• ืœื‘, ืืœื”
ืกื™ื•ืžื•ืช ืžื•ืคื™ืขื•ืช ื‘ืคืงื•ื“ื•ืช ืžืืงืจื• ื”ืžื•ื’ื“ืจื•ืช ื‘ื›ื•ืชืจื•ืช ื”ืžืขืจื›ืช ืฉืœ ืจื•ื‘ ื”ืžืขืจื›ื•ืช ื”ืžื•ื“ืจื ื™ื•ืช,
ืœืžืฉืœ ื” _MIN/_MAX ืคืงื•ื“ื•ืช ืžืืงืจื• ื‘" ". ืฉื™ืžื•ืฉ ื‘ืคืงื•ื“ื•ืช ืžืืงืจื• ืืœื” ื‘ืงื•ื“ ืžืฉืชืžืฉ ืขืฉื•ื™
ื‘ื“ืจืš ื›ืœืœ ืžื•ื‘ื™ืœื™ื ืœืื–ื”ืจื•ืช ืžื–ื•ื™ืคื•ืช, ืื•ืœื ื”ืžืขื‘ื“ ื”ืžืฉื•ืœื‘ ืฉืœ GCC ืขืฉื” ื–ืืช
ืžืกืคื™ืง ื”ืงืฉืจ ื›ื“ื™ ืœืžื ื•ืข ืื–ื”ืจื” ื‘ืžืงืจื™ื ืืœื”.

ยท ืคื•ื ืงืฆื™ื” ืฉื”ื•ื›ืจื–ื” ื—ื™ืฆื•ื ื™ืช ื‘ื‘ืœื•ืง ืื—ื“ ื•ืœืื—ืจ ืžื›ืŸ ื‘ืฉื™ืžื•ืฉ ืœืื—ืจ ืกื™ื•ื ื”-
ืœึทื—ืกื•ึนื.

ยท ืœื”ืฆื”ืจืช "ื‘ื•ืจืจ" ื™ืฉ ืื•ืคืจื ื“ ืžืกื•ื’ "ืืจื•ืš".

ยท ื”ืฆื”ืจืช ืคื•ื ืงืฆื™ื” ืœื "ืกื˜ื˜ื™ืช" ื‘ืื” ื‘ืขืงื‘ื•ืช "ืกื˜ื˜ื™". ื”ืžื‘ื ื” ื”ื–ื” ืœื
ืžืงื•ื‘ืœ ืขืœ ื™ื“ื™ ื›ืžื” ืžื”ื“ืจื™ื ืžืกื•ืจืชื™ื™ื ืฉืœ C.

ยท ืœืกื•ื’ ISO ืฉืœ ืงื‘ื•ืข ืžืกืคืจ ืฉืœื ื™ืฉ ืจื•ื—ื‘ ืื• ืกื™ืžืŸ ืฉื•ื ื” ืžืžื ื•
ืกื•ื’ ืžืกื•ืจืชื™. ืื–ื”ืจื” ื–ื• ื ื™ืชื ืช ืจืง ืื ื‘ืกื™ืก ื”ืงื‘ื•ืข ื”ื•ื ืขืฉืจ.
ื›ืœื•ืžืจ, ืขืจื›ื™ื ื”ืงืกื“ืฆื™ืžืœื™ื™ื ืื• ืื•ืงื˜ืœื™ื™ื, ื”ืžื™ื™ืฆื’ื™ื ื‘ื“ืจืš ื›ืœืœ ืชื‘ื ื™ื•ืช ืกื™ื‘ื™ื•ืช, ืœื
ื”ื–ื”ื™ืจ ืœื’ื‘ื™.

ยท ืžื–ื•ื”ื” ืฉื™ืžื•ืฉ ื‘ืฉืจืฉื•ืจ ืžื—ืจื•ื–ืช ISO.

ยท ืืชื—ื•ืœ ืื’ืจื’ื˜ื™ื ืื•ื˜ื•ืžื˜ื™ื™ื.

ยท ืžื–ื”ื” ืžืชื ื’ืฉ ืขื ืชื•ื•ื™ื•ืช. ืœ-C ื”ืžืกื•ืจืชื™ ื—ืกืจ ืžืจื—ื‘ ืฉืžื•ืช ื ืคืจื“ ืขื‘ื•ืจ
ืชื•ื•ื™ื•ืช.

ยท ืืชื—ื•ืœ ื”ืื™ื’ื•ื“ื™ื. ืื ื”ืืชื—ื•ืœ ื”ื•ื ืืคืก, ื”ืื–ื”ืจื” ื ืฉืžื˜ืช.
ื–ื” ื ืขืฉื” ื‘ื”ื ื—ื” ืฉื”ืžืืชื—ืœ ื”ืืคืก ื‘ืงื•ื“ ื”ืžืฉืชืžืฉ ืžื•ืคื™ืข
ืžื•ืชื ื” ืœืžืฉืœ "__STDC__" ื›ื“ื™ ืœืžื ื•ืข ืื–ื”ืจื•ืช ืžืืชื—ื•ืœ ื—ืกืจื•ืช ื•ืžืกืชืžื›ืช ืขืœ
ืืชื—ื•ืœ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืœืืคืก ื‘ืžืงืจื” ื”ืžืกื•ืจืชื™ ืฉืœ C.

ยท ื”ืžืจื•ืช ืœืคื™ ืื‘ื•ืช ื˜ื™ืคื•ืก ื‘ื™ืŸ ืขืจื›ื™ ื ืงื•ื“ื” ืงื‘ื•ืขื”/ืฆืคื” ื•ืœื”ื™ืคืš. ื”
ื”ื™ืขื“ืจ ืื‘ื•ืช ื˜ื™ืคื•ืก ืืœื” ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืขื C ื”ืžืกื•ืจืชื™ ื’ื•ืจื ืจืฆื™ื ื™
ื‘ืขื™ื•ืช. ื–ื•ื”ื™ ืชืช-ืงื‘ื•ืฆื” ืฉืœ ืื–ื”ืจื•ืช ื”ื”ืžืจื” ื”ืืคืฉืจื™ื•ืช; ืขื‘ื•ืจ ื”ืกื˜ ื”ืžืœื
ืœื”ืฉืชืžืฉ -ื”ืžืจื” ืžืกื•ืจืชื™ืช.

ยท ืฉื™ืžื•ืฉ ื‘ื”ื’ื“ืจื•ืช ืคื•ื ืงืฆื™ื•ืช ื‘ืกื’ื ื•ืŸ ISO C. ืื–ื”ืจื” ื–ื• ื”ื™ื ื‘ื›ื•ื•ื ื” ืœึนื ื”ื ืคื™ืง
ืขื‘ื•ืจ ื”ืฆื”ืจื•ืช ืื‘ ื˜ื™ืคื•ืก ืื• ืคื•ื ืงืฆื™ื•ืช ืฉื•ื ื•ืช ื‘ื’ืœืœ ืชื›ื•ื ื•ืช ISO C ืืœื•
ืžื•ืคื™ืขื™ื ื‘ืงื•ื“ ืฉืœืš ื‘ืขืช ืฉื™ืžื•ืฉ ื‘ืคืงื•ื“ื•ืช ื”ืžืืงืจื• ื”ืžืกื•ืจืชื™ื•ืช ืฉืœ ืชืื™ืžื•ืช C ืฉืœ liberty,
"PARAMS" ื•-"VPARAMS". ืื–ื”ืจื” ื–ื• ืขื•ืงืคืช ื’ื ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืžืงื•ื ื ื•ืช
ื›ื™ ื”ืชื›ื•ื ื” ื”ื–ื• ื”ื™ื ื›ื‘ืจ ื”ืจื—ื‘ื” ืฉืœ GCC ื•ืœื›ืŸ ืœื ืจืœื•ื•ื ื˜ื™ืช ืืœื™ื”
ืชืื™ืžื•ืช C ืžืกื•ืจืชื™ืช.

-ื”ืžืจื” ืžืกื•ืจืชื™ืช (C ื•-Objective-C ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ืื‘ ื˜ื™ืคื•ืก ื’ื•ืจื ืœื”ืžืจืช ืกื•ื’ ืฉื•ื ื” ืžืžื” ืฉื”ื™ื” ืงื•ืจื”
ืœืื•ืชื• ื˜ื™ืขื•ืŸ ื‘ื”ื™ืขื“ืจ ืื‘ ื˜ื™ืคื•ืก. ื–ื” ื›ื•ืœืœ ื”ืžืจื•ืช ืฉืœ
ื ืงื•ื“ื” ืงื‘ื•ืขื” ืœืฆื™ืคื” ื•ืœื”ื™ืคืš, ื•ื”ืžืจื•ืช ื”ืžืฉื ื•ืช ืืช ื”ืจื•ื—ื‘ ืื•
ื—ืชื™ืžื” ืฉืœ ืืจื’ื•ืžื ื˜ ืฉืœ ื ืงื•ื“ื” ืงื‘ื•ืขื” ืœืžืขื˜ ื›ืืฉืจ ื–ื”ื” ืœืงื™ื“ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ื”ืฆื”ืจื”-ืื—ืจื™-ื”ืฆื”ืจื” (C ื•-Objective-C ื‘ืœื‘ื“)
ื”ืชืจื™ืข ื›ืฉื ืžืฆืืช ื”ืฆื”ืจื” ืœืื—ืจ ื”ืฆื”ืจื” ื‘ื‘ืœื•ืง. ื”ืžื‘ื ื” ื”ื–ื”, ื™ื“ื•ืข
ืž-C++, ื”ื•ืฆื’ ืขื ISO C99 ื•ื”ื•ื ืžื•ืชืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘-GCC. ื–ื” ืœื
ื ืชืžืš ืขืœ ื™ื“ื™ ISO C90 ื•ืœื ื ืชืžืš ืขืœ ื™ื“ื™ ื’ืจืกืื•ืช GCC ืœืคื ื™ GCC 3.0.

-ื•ื•ื ื“ืฃ
ืื–ื”ืจื” ืื ืžื–ื”ื” ืœื ืžื•ื’ื“ืจ ืžื•ืขืจืš ื‘- #ืื ื”ื•ืจืื”.

-ืชื•ื•ื™ื•ืช Wno-endif
ืื™ืŸ ืœื”ื–ื”ื™ืจ ื‘ื›ืœ ืคืขื #else ืื• #endif ื•ืื—ืจื™ื”ื ื˜ืงืกื˜.

-ื•ืฆืœ
ืื–ื”ืจื” ื‘ื›ืœ ืคืขื ืฉืžืฉืชื ื” ืžืงื•ืžื™ ืื• ื”ืฆื”ืจืช ืกื•ื’ ืžืืคื™ืœ ืขืœ ืžืฉืชื ื” ืื—ืจ,
ืคืจืžื˜ืจ, ืกื•ื’ ืื• ื—ื‘ืจ ื‘ื›ื™ืชื” (ื‘-C++), ืื• ื‘ื›ืœ ืคืขื ืฉื™ืฉ ืคื•ื ืงืฆื™ื” ืžื•ื‘ื ื™ืช
ืžื•ืฆืœ. ืฉื™ืžื• ืœื‘ ืฉื‘-C++, ื”ืžื”ื“ืจ ืžื–ื”ื™ืจ ืื ืžืฉืชื ื” ืžืงื•ืžื™ ืžืฆืœ ืขืœ ืžืคื•ืจืฉ
typedef, ืื‘ืœ ืœื ืื ื”ื•ื ืžืฆืœ ืขืœ ืžื‘ื ื”/ืžื—ืœืงื”/ืื™ื ื•ื•ื.

-Wlarer- than=ืœืŸ
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืื•ื‘ื™ื™ืงื˜ ื’ื“ื•ืœ ืž ืœืŸ ื‘ืชื™ื ืžื•ื’ื“ืจ.

-Wframe-larger than=ืœืŸ
ืื–ื”ืจื” ืื ื”ื’ื•ื“ืœ ืฉืœ ืžืกื’ืจืช ืคื•ื ืงืฆื™ื” ื’ื“ื•ืœ ืž ืœืŸ ื‘ืชื™ื. ื”ื—ื™ืฉื•ื‘ ื ืขืฉื”
ื›ื“ื™ ืœืงื‘ื•ืข ืืช ื’ื•ื“ืœ ืžืกื’ืจืช ื”ืขืจื™ืžื” ื”ื•ื ืžืฉื•ืขืจ ื•ืœื ืฉืžืจื ื™. ื‘ืคื•ืขืœ
ื”ื“ืจื™ืฉื•ืช ืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ืžืขื˜ ื™ื•ืชืจ ื’ื“ื•ืœื•ืช ืž ืœืŸ ื’ื ืื ืœื ืชืงื‘ืœ ืื–ื”ืจื”. ื‘
ื‘ื ื•ืกืฃ, ื›ืœ ืฉื˜ื— ืฉื”ื•ืงืฆื” ื‘ืืžืฆืขื•ืช "alloca", ืžืขืจื›ื™ื ื‘ืื•ืจืš ืžืฉืชื ื” ืื• ืงืฉื•ืจ
constructs ืื™ื ื• ื ื›ืœืœ ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ ื‘ืขืช ืงื‘ื™ืขื” ืื ืœื”ื ืคื™ืง ืื• ืœื
ืื–ื”ืจื”.

-ืœืœื-ื—ืคืฅ-ืœื-ืขืจืžื”
ืื™ืŸ ืœื”ื–ื”ื™ืจ ื‘ืขืช ื ื™ืกื™ื•ืŸ ืœืฉื—ืจืจ ื—ืคืฅ ืฉืœื ื”ื•ืงืฆื” ื‘ืขืจื™ืžื”.

-Wstack-usage=ืœืŸ
ืื–ื”ืจื” ืื ื”ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื” ืฉืœ ืคื•ื ืงืฆื™ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ื’ื“ื•ืœ ืž ืœืŸ ื‘ืชื™ื. ื”ื—ื™ืฉื•ื‘
ื ืขืฉื” ื›ื“ื™ ืœืงื‘ื•ืข ืฉื”ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื” ื”ื•ื ืฉืžืจื ื™. ื›ืœ ืžืงื•ื ืฉื”ื•ืงืฆื” ื‘ืืžืฆืขื•ืช "alloca",
ืžืขืจื›ื™ื ื‘ืื•ืจืš ืžืฉืชื ื”, ืื• ืžื‘ื ื™ื ืงืฉื•ืจื™ื ื ื›ืœืœื™ื ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ ื›ืืฉืจ
ืœืงื‘ื•ืข ืื ื™ืฉ ืœืชืช ืื–ื”ืจื” ืื• ืœื.

ื”ื”ื•ื“ืขื” ืชื•ืืžืช ืืช ื”ืคืœื˜ ืฉืœ -ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื”.

ยท ืื ื”ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื” ืกื˜ื˜ื™ ืœื—ืœื•ื˜ื™ืŸ ืืš ื—ื•ืจื’ ืžื”ื›ืžื•ืช ืฉืฆื•ื™ื ื”, ื–ื”:

ืื–ื”ืจื”: ื”ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื” ื”ื•ื 1120 ื‘ืชื™ื

ยท ืื ื”ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื” ื”ื•ื (ื—ืœืงื™ืช) ื“ื™ื ืžื™ ืืš ืžื•ื’ื‘ืœ, ื–ื”:

ืื–ื”ืจื”: ื”ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื” ืขืฉื•ื™ ืœื”ื™ื•ืช 1648 ื‘ืชื™ื

ยท ืื ื”ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื” ื”ื•ื (ื—ืœืงื™ืช) ื“ื™ื ืžื™ ื•ืื™ื ื• ืžื•ื’ื‘ืœ, ื–ื”:

ืื–ื”ืจื”: ื”ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื” ืขืฉื•ื™ ืœื”ื™ื•ืช ื‘ืœืชื™ ืžื•ื’ื‘ืœ

-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ Wunsafe-loop
ืื–ื”ืจื” ืื ืœื ื ื™ืชืŸ ืœื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื”ืœื•ืœืื” ืžื›ื™ื•ื•ืŸ ืฉื”ืžื”ื“ืจ ืœื ื™ื›ื•ืœ ืœื”ื ื™ื— ืฉื•ื ื“ื‘ืจ
ื’ื‘ื•ืœื•ืช ืžื“ื“ื™ ื”ืœื•ืœืื”. ืขื -ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืœื•ืœืืช funsafe ืœื”ื–ื”ื™ืจ ืื ื”ืžื”ื“ืจ
ืžื ื™ื— ื”ื ื—ื•ืช ื›ืืœื”.

-Wno-pedantic-ms-format (ื™ืขื“ื™ MinGW ื‘ืœื‘ื“)
ื‘ืฉื™ืžื•ืฉ ื‘ืฉื™ืœื•ื‘ ืขื - ื• -ืงึทืคึผึฐื“ึธื ึดื™ ืœืœื ื”ืจื—ื‘ื•ืช GNU, ื–ื”
ืืคืฉืจื•ืช ืžื‘ื˜ืœืช ืืช ื”ืื–ื”ืจื•ืช ืœื’ื‘ื™ ืžืคืจื˜ื™ ืจื•ื—ื‘ ืฉืœ ืคื•ืจืžื˜ "printf" / "scanf" ืฉืื™ื ื ISO
"I32", "I64" ื•-"I" ื‘ืฉื™ืžื•ืฉ ื‘ื™ืขื“ื™ Windows, ื”ืชืœื•ื™ื™ื ื‘ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ MS.

-Wpointer-arith
ื”ืชืจื™ืข ืขืœ ื›ืœ ื“ื‘ืจ ืฉืชืœื•ื™ ื‘"ื’ื•ื“ืœ" ืฉืœ ืกื•ื’ ืคื•ื ืงืฆื™ื” ืื• ืฉืœ "ืจื™ืง". ื’ื ื• ืกื™
ืžืงืฆื” ืœืกื•ื’ื™ื ืืœื” ื’ื•ื“ืœ ืฉืœ 1, ืžื˜ืขืžื™ ื ื•ื—ื•ืช ื‘ื—ื™ืฉื•ื‘ื™ื ืขื "ื‘ื˜ืœ *"
ืžืฆื‘ื™ืขื™ื ื•ืžืฆื‘ื™ืขื™ื ืœืคื•ื ืงืฆื™ื•ืช. ื‘-C++, ื”ืชืจื™ืข ื’ื ื›ืืฉืจ ืคืขื•ืœืช ืืจื™ืชืžื˜ื™ืช
ื›ื•ืœืœ "NULL". ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื’ื ืขืœ ื™ื“ื™ -Wpedantic.

-ืžื’ื‘ืœื•ืช ืกื•ื’
ืื–ื”ืจื” ืื ื”ืฉื•ื•ืื” ื”ื™ื ืชืžื™ื“ ื ื›ื•ื ื” ืื• ืชืžื™ื“ ืฉืงืจื™ืช ืขืงื‘ ื”ื˜ื•ื•ื— ื”ืžื•ื’ื‘ืœ ืฉืœ ื”
ืกื•ื’ ื ืชื•ื ื™ื, ืืš ืื™ืŸ ืœื”ื–ื”ื™ืจ ืžืคื ื™ ื‘ื™ื˜ื•ื™ื™ื ืงื‘ื•ืขื™ื. ืœื“ื•ื’ืžื”, ื”ื–ื”ื™ืจ ืื ืœื ื—ืชื•ื
ืžืฉืชื ื” ืžื•ืฉื•ื•ื” ืžื•ืœ ืืคืก ืขื < or >=. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื’ื ืขืœ ื™ื“ื™
ืืงืกื˜ืจื”.

-Wbad-function-cast (C ื•-Objective-C ื‘ืœื‘ื“)
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืงืจื™ืืช ืคื•ื ืงืฆื™ื” ืžื•ืขื‘ืจืช ืœืกื•ื’ ืฉืื™ื ื• ืชื•ืื. ืœื“ื•ื’ืžื”, ื”ื–ื”ื™ืจ ืื
"int malloc()" ืžื•ืขื‘ืจ ืœ"ื›ืœ ื“ื‘ืจ *".

-Wc++-compat (C ื•-Objective-C ื‘ืœื‘ื“)
ื”ื–ื”ืจ ืœื’ื‘ื™ ืžื‘ื ื™ ISO C ืฉื ืžืฆืื™ื ืžื—ื•ืฅ ืœืงื‘ื•ืฆืช ื”ืžืฉื ื” ื”ื ืคื•ืฆื” ืฉืœ ISO C ื•-ISO
C++, ืœืžืฉืœ ื‘ืงืฉื” ืœื”ืžืจื” ืžืจื•ืžื–ืช ืž-"void *" ืœืžืฆื‘ื™ืข ืœื-"void"
ื”ืงืœื“.

-Wc++11-compat (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ืœื’ื‘ื™ ืžื‘ื ื™ C++ ืฉืžืฉืžืขื•ืชื ืฉื•ื ื” ื‘ื™ืŸ ISO C++ 1998 ื•-ISO C++ 2011,
ืœืžืฉืœ, ืžื–ื”ื™ื ื‘-ISO C++ 1998 ืฉื”ื ืžื™ืœื•ืช ืžืคืชื— ื‘-ISO C++ 2011. ืื–ื”ืจื” ื–ื•
ืžื“ืœื™ืง -ืžืฆืžืฆื ื•ื”ื•ื ืžื•ืคืขืœ ืขืœ ื™ื“ื™ - ืงื™ืจ.

-Wcast-qual
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืžืฆื‘ื™ืข ืžืฆื‘ื™ืข ื›ื“ื™ ืœื”ืกื™ืจ ืกืžืžืŸ ืกื•ื’ ืžื˜ื™ืคื•ืก ื”ื™ืขื“.
ืœื“ื•ื’ืžื”, ื”ื–ื”ืจ ืื "const char *" ื™ืฆื•ืง ืœ-char * ืจื’ื™ืœ.

ื”ืชืจื™ืขื• ื’ื ื‘ืขืช ื‘ื™ืฆื•ืข ืงืืกื˜ ืฉืžืฆื™ื’ ืžื•ืงื“ืžื•ืช ืกื•ื’ ื‘ืฆื•ืจื” ืœื ื‘ื˜ื•ื—ื”. ืœ
ื“ื•ื’ืžื”, ื”ื”ืขื‘ืจื” ืฉืœ "char **" ืœ-"const char **" ืื™ื ื” ื‘ื˜ื•ื—ื”, ื›ืžื• ื‘ื“ื•ื’ืžื” ื–ื•:

/* p ื”ื•ื ืขืจืš char **. */
const char **q = (const char **) p;
/* ื”ืงืฆืืช ืžื—ืจื•ื–ืช ืœืงืจื™ืื” ื‘ืœื‘ื“ ืœ-const char * ื”ื™ื ื‘ืกื“ืจ. */
*q = "ืžื—ืจื•ื–ืช";
/* ื›ืขืช char** ืžืฆื‘ื™ืข ืขืœ ื–ื™ื›ืจื•ืŸ ืœืงืจื™ืื” ื‘ืœื‘ื“. */
**p = 'b';

-ื™ื™ืฉื•ืจ Wcast
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉืžื˜ื™ืœ ืžืฆื‘ื™ืข ื›ืš ืฉื”ื™ื™ืฉื•ืจ ื”ื ื“ืจืฉ ืฉืœ ื”ืžื˜ืจื” ื”ื•ื
ืžื•ึผื’ื“ึธืœ. ืœื“ื•ื’ืžื”, ื”ื–ื”ืจ ืื "char *" ื™ืฆื•ืง ืœ-"int *" ื‘ืžื›ื•ื ื•ืช ืฉื‘ื”ืŸ
ื ื™ืชืŸ ืœื’ืฉืช ืœืžืกืคืจื™ื ืฉืœืžื™ื ืจืง ื‘ื’ื‘ื•ืœื•ืช ืฉืœ ืฉื ื™ื™ื ืื• ืืจื‘ืขื” ื‘ืชื™ื.

-ื›ืชื•ื‘-ืžื—ืจื•ื–ื•ืช
ื‘ืขืช ื”ื™ื“ื•ืจ C, ืชืŸ ืœืงื‘ื•ืขื™ ืžื—ืจื•ื–ืช ืืช ื”ืกื•ื’ "const char[ืื•ืจืš]" ืื– ื”ื”ืขืชืงื”
ื”ื›ืชื•ื‘ืช ืฉืœ ืื—ื“ ืœืชื•ืš ืžืฆื‘ื™ืข ืฉืื™ื ื• "const" "char *" ืžื™ื™ืฆืจ ืื–ื”ืจื”. ืืœื”
ืื–ื”ืจื•ืช ืขื•ื–ืจื•ืช ืœืš ืœืžืฆื•ื ื‘ื–ืžืŸ ื”ืงื•ืžืคื™ืœืฆื™ื” ืงื•ื“ ืฉื™ื›ื•ืœ ืœื ืกื•ืช ืœื›ืชื•ื‘ ืœืชื•ืš ืžื—ืจื•ื–ืช
ืงื‘ื•ืข, ืื‘ืœ ืจืง ืื ื”ืงืคื“ืช ืžืื•ื“ ืขืœ ื”ืฉื™ืžื•ืฉ ื‘-"const" ื‘ื”ืฆื”ืจื•ืช
ื•ืื‘ื•ืช ื˜ื™ืคื•ืก. ืื—ืจืช, ื–ื” ืกืชื ืžื˜ืจื“. ื–ื• ื”ืกื™ื‘ื” ืฉืœื ืขืฉื™ื ื• - ืงื™ืจ
ืœื‘ืงืฉ ืื–ื”ืจื•ืช ืืœื•.

ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ C++, ื”ืชืจื™ืข ืขืœ ื”ื”ืžืจื” ืฉื”ื•ืฆืื” ืžืžื—ืจื•ื–ืช ืžื™ืœื•ืœื™ืช ืœ-"char
*". ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช C++.

-ืงืฉืงืฉ
ืื–ื”ืจื” ืขืœ ืžืฉืชื ื™ื ืฉืขืœื•ืœื™ื ืœื”ืฉืชื ื•ืช ืขืœ ื™ื“ื™ longjmp or vfork. ื’ื ืื–ื”ืจื” ื–ื•
ืžื•ืคืขืœ ืขืœ ื™ื“ื™ ืืงืกื˜ืจื”.

-ื”ืžืจื”
ื”ื–ื”ืจ ืžืคื ื™ ื”ืžืจื•ืช ืžืจื•ืžื–ื•ืช ืฉืขืœื•ืœื•ืช ืœืฉื ื•ืช ืขืจืš. ื–ื” ื›ื•ืœืœ ื”ืžืจื•ืช
ื‘ื™ืŸ ืžืžืฉื™ ืœืžืกืคืจ ืฉืœื, ื›ืžื• "abs (x)" ื›ืืฉืจ "x" ื”ื•ื "ื›ืคื•ืœ"; ื”ืžืจื•ืช ื‘ื™ืŸ
ื—ืชื•ื ื•ืœื ื—ืชื•ื, ื›ืžื• "Unsigned ui = -1"; ื•ื”ืžืจื•ืช ืœืกื•ื’ื™ื ืงื˜ื ื™ื ื™ื•ืชืจ, ื›ืžื•
"sqrtf (M_PI)". ืื™ืŸ ืœื”ื–ื”ื™ืจ ืขื‘ื•ืจ ืฉื—ืงื ื™ื ืžืคื•ืจืฉื™ื ื›ืžื• "abs ((int) x)" ื•-"ui =
(ืœืœื ืกื™ืžืŸ) -1", ืื• ืื ื”ืขืจืš ืœื ืžืฉืชื ื” ืขืœ ื™ื“ื™ ื”ื”ืžืจื” ื›ืžื• ื‘"abs (2.0)".
ื ื™ืชืŸ ืœื”ืฉื‘ื™ืช ืื–ื”ืจื•ืช ืขืœ ื”ืžืจื•ืช ื‘ื™ืŸ ืžืกืคืจื™ื ืฉืœืžื™ื ืขื ื—ืชื™ืžื” ืœืœื ื—ืชื™ืžื” ืขืœ ื™ื“ื™
ื‘ืืžืฆืขื•ืช -ื”ืžืจืช Wno-sign.

ืขื‘ื•ืจ C++, ื”ืชืจื™ืข ื’ื ืขืœ ืจื–ื•ืœื•ืฆื™ื™ืช ืขื•ืžืก ืžื‘ืœื‘ืœืช ืขื‘ื•ืจ ื”ืžืจื•ืช ื”ืžื•ื’ื“ืจื•ืช ืขืœ ื™ื“ื™ ืžืฉืชืžืฉ; ื•
ื”ืžืจื•ืช ืฉืœืขื•ืœื ืœื ืžืฉืชืžืฉื•ืช ื‘ืื•ืคืจื˜ื•ืจ ื”ืžืจื” ืžืกื•ื’: ื”ืžืจื•ืช ืœ-"void", ื–ื”ื•ืช
ืกื•ื’, ืžื—ืœืงื” ื‘ืกื™ืก ืื• ื”ืคื ื™ื” ืืœื™ื”ื. ืื–ื”ืจื•ืช ืœื’ื‘ื™ ื”ืžืจื•ืช ื‘ื™ืŸ ื—ืชื•ืžื™ื
ื•ืžืกืคืจื™ื ืฉืœืžื™ื ืœืœื ืกื™ืžื ื™ื ืžื•ืฉื‘ืชื™ื ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘-C++ ืืœื ืื ื›ืŸ -ื”ืžืจืช ืกื™ืžืŸ is
ืžื•ืคืขืœ ื‘ืžืคื•ืจืฉ.

-Wno-conversion-null (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื™ืŸ ืœื”ื–ื”ื™ืจ ืขืœ ื”ืžืจื•ืช ื‘ื™ืŸ "NULL" ืœืกื•ื’ื™ื ืฉืื™ื ื ืžืฆื‘ื™ืขื™ื. -Wconversion-null is
ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-Wzero-as-null-pointer-constant (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ '0' ืžื™ืœื•ืœื™ ืžืฉืžืฉ ื›ืงื‘ื•ืข ืžืฆื‘ื™ืข ืืคืก. ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ ืขื‘ื•ืจ
ืœื”ืงืœ ืขืœ ื”ื”ืžืจื” ืœ-"nullptr" ื‘-C++11.

-ืงืืกื˜ ื—ืกืจื™ (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ืื–ื”ืจื” ื›ืืฉืจ ื‘ื™ื˜ื•ื™ ื ื•ืฆืง ืœืกื•ื’ ืžืฉืœื•.

-ื’ื•ืฃ ืจื˜ื•ื‘
ื”ืชืจื™ืข ืื ืžืชืจื—ืฉ ื’ื•ืฃ ืจื™ืง ื‘- if, ืื—ืจ or do ื‘ื–ืžืŸ ื”ึทืฆื”ึธืจึธื”. ืื–ื”ืจื” ื–ื• ื”ื™ื
ืžื•ืคืขืœ ื’ื ืขืœ ื™ื“ื™ ืืงืกื˜ืจื”.

-ื•ื•ื ื•ื-ื”ืฉื•ื•
ื”ื–ื”ื™ืจ ืžืคื ื™ ื”ืฉื•ื•ืื” ื‘ื™ืŸ ืขืจื›ื™ื ืžืกื•ื’ื™ื ืฉื•ื ื™ื ืฉื ืžื ื•. ื‘-C++ ืกืคื™ืจื”
ื—ื•ืกืจ ื”ืชืืžื” ื‘ื‘ื™ื˜ื•ื™ื™ื ืžื•ืชื ื™ื ืžืื•ื‘ื—ื ื™ื ื’ื ื•ื”ืื–ื”ืจื” ืžื•ืคืขืœืช ืขืœ ื™ื“ื™
ื‘ึผึฐืจึดื™ืจึทืช ืžึถื—ื“ึธืœ. ื‘-C ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-Wjump-misses-init (C, Objective-C ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ื”ืฆื”ืจืช "ื’ื•ื˜ื•" ืื• ื”ืฆื”ืจืช "ื‘ื•ืจืจ" ืงื•ืคืฆืช ืงื“ื™ืžื” ืขืœ ืคื ื™ ื”-
ืืชื—ื•ืœ ืฉืœ ืžืฉืชื ื”, ืื• ืงืคื™ืฆื” ืื—ื•ืจื” ืœืชื•ื•ื™ืช ืœืื—ืจ ืฉื”ืžืฉืชื ื” ื”ื™ื”
ืืชื—ื•ืœ. ื–ื” ืจืง ืžืชืจื™ืข ืขืœ ืžืฉืชื ื™ื ืฉืžืื•ื—ืœื™ื ื›ืืฉืจ ื”ื ื ืžืฆืื™ื
ืžื•ึผืฆื”ึธืจ. ืื–ื”ืจื” ื–ื• ื ืชืžื›ืช ืจืง ืขื‘ื•ืจ C ื•-Objective-C; ื‘-C++ ืžื”ืกื•ื’ ื”ื–ื”
ืกื ื™ืฃ ื”ื•ื ืฉื’ื™ืื” ื‘ื›ืœ ืžืงืจื”.

-Wjump-misses-init ื›ืœื•ืœ ื‘- -Wc++-compat. ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ืžื•ืฉื‘ืช ืขื
-ืœื-ืงืคื•ืฅ-ืžืคืกืคืก-init ืื•ึนืคึผึฐืฆึดื™ึธื”.

-Wsign-ื”ืฉื•ื•ืื”
ืื–ื”ืจื” ื›ืืฉืจ ื”ืฉื•ื•ืื” ื‘ื™ืŸ ืขืจื›ื™ื ื—ืชื•ืžื™ื ื•ื—ืกืจื™ ืกื™ืžืŸ ืขืœื•ืœื” ืœื™ื™ืฆืจ ืฉื’ื•ื™
ืชื•ืฆืื” ื›ืืฉืจ ื”ืขืจืš ื”ื—ืชื•ื ืžื•ืžืจ ืœืœื ื—ืชื•ื. ื’ื ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช
by ืืงืกื˜ืจื”; ื›ื“ื™ ืœืงื‘ืœ ืืช ืฉืืจ ื”ืื–ื”ืจื•ืช ืืงืกื˜ืจื” ืœืœื ืื–ื”ืจื” ื–ื•, ื”ืฉืชืžืฉ ืืงืกื˜ืจื”
-ืœื-ืกื™ืžืŸ-ื”ืฉื•ื•ืื”.

-ื”ืžืจืช ืกื™ืžืŸ
ืื–ื”ืจื” ืžืคื ื™ ื”ืžืจื•ืช ืžืจื•ืžื–ื•ืช ืฉืขืœื•ืœื•ืช ืœืฉื ื•ืช ืืช ื”ืกื™ืžืŸ ืฉืœ ืขืจืš ืžืกืคืจ ืฉืœื, ื›ืžื•
ื”ืงืฆืืช ื‘ื™ื˜ื•ื™ ืžืกืคืจ ืฉืœื ืขื ืกื™ืžืŸ ืœืžืฉืชื ื” ืžืกืคืจ ืฉืœื ืœืœื ืกื™ืžืŸ. ืžืคื•ืจืฉ
ื™ืฆื•ืง ืžืฉืชื™ืง ืืช ื”ืื–ื”ืจื”. ื‘-C, ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื’ื ืขืœ ื™ื“ื™ -ื”ืžืจื”.

-Wsizeof-pointer-memaccess
ื”ืชืจื™ืข ืขืœ ืคืจืžื˜ืจื™ ืื•ืจืš ื—ืฉื•ื“ื™ื ืœืคื•ื ืงืฆื™ื•ืช ืžืกื•ื™ืžื•ืช ื”ืžื•ื‘ื ื•ืช ื‘ืžื—ืจื•ื–ืช ื•ื–ื™ื›ืจื•ืŸ
ืื ื”ื˜ื™ืขื•ืŸ ืžืฉืชืžืฉ ื‘-"sizeof". ืื–ื”ืจื” ื–ื• ืžื–ื”ื™ืจื” ืœืžืฉืœ ืœื’ื‘ื™ "memset (ptr, 0, sizeof
(ptr));" ืื "ptr" ืื™ื ื• ืžืขืจืš, ืืœื ืžืฆื‘ื™ืข, ื•ืžืฆื™ืข ืชื™ืงื•ืŸ ืืคืฉืจื™, ืื•
ืขืœ "memcpy (&foo, ptr, sizeof (&foo));". ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-ื›ืชื•ื‘ืช
ื”ื–ื”ืจ ืœื’ื‘ื™ ืฉื™ืžื•ืฉื™ื ื—ืฉื•ื“ื™ื ื‘ื›ืชื•ื‘ื•ืช ื–ื™ื›ืจื•ืŸ. ืืœื” ื›ื•ืœืœื™ื ืฉื™ืžื•ืฉ ื‘ื›ืชื•ื‘ืช ืฉืœ ื
ืคื•ื ืงืฆื™ื” ื‘ื‘ื™ื˜ื•ื™ ืžื•ืชื ื”, ื›ื’ื•ืŸ "void func(void); if (func)", ื•
ื”ืฉื•ื•ืื•ืช ืžื•ืœ ื›ืชื•ื‘ืช ื”ื–ื™ื›ืจื•ืŸ ืฉืœ ืžื—ืจื•ื–ืช ืžื™ืœื•ืœื™ืช, ื›ื’ื•ืŸ "if (x == "abc").
ืฉื™ืžื•ืฉื™ื ื›ืืœื” ืžืขื™ื“ื™ื ื‘ื“ืจืš ื›ืœืœ ืขืœ ืฉื’ื™ืืช ืžืชื›ื ืช: ื”ื›ืชื•ื‘ืช ืฉืœ ืคื•ื ืงืฆื™ื” ืชืžื™ื“
ืžืขืจื™ืš ื ื›ื•ืŸ, ืื– ื”ืฉื™ืžื•ืฉ ืฉืœื”ื ื‘ืชื ืื™ ื‘ื“ืจืš ื›ืœืœ ืžืฆื‘ื™ืข ืขืœ ื›ืš ืฉื”ืžืชื›ื ืช
ืฉื›ื—ื• ืืช ื”ืกื•ื’ืจื™ื™ื ื‘ืงืจื™ืืช ืคื•ื ืงืฆื™ื”; ื•ื”ืฉื•ื•ืื•ืช ืžื•ืœ ืžื™ืœื•ืœื™ ืžื—ืจื•ื–ืช
ืžื‘ื™ืื™ื ืœื”ืชื ื”ื’ื•ืช ืœื ืžื•ื’ื“ืจืช ื•ืื™ื ื ื ื™ื™ื“ื™ื ื‘-C, ื›ืš ืฉื”ื ื‘ื“ืจืš ื›ืœืœ ืžืฆื™ื™ื ื™ื
ืฉื”ืžืชื›ื ืช ื”ืชื›ื•ื•ืŸ ืœื”ืฉืชืžืฉ ื‘-"strcmp". ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-Wlogical-op
ื”ื–ื”ืจ ืžืคื ื™ ืฉื™ืžื•ืฉื™ื ื—ืฉื•ื“ื™ื ื‘ืื•ืคืจื˜ื•ืจื™ื ืœื•ื’ื™ื™ื ื‘ื‘ื™ื˜ื•ื™ื™ื. ื–ื” ื›ื•ืœืœ ืฉื™ืžื•ืฉ
ืื•ืคืจื˜ื•ืจื™ื ืœื•ื’ื™ื™ื ื‘ื”ืงืฉืจื™ื ืฉื‘ื”ื ืกื‘ื™ืจ ืœื”ื ื™ื— ืฉืฆืคื•ื™ ืœืื•ืคืจื˜ื•ืจ ื—ื›ื.

-Waggregate-return
ืื–ื”ืจื” ืื ืคื•ื ืงืฆื™ื•ืช ื›ืœืฉื”ืŸ ืฉืžื—ื–ื™ืจื•ืช ืžื‘ื ื™ื ืื• ืื™ื’ื•ื“ื™ื ืžื•ื’ื“ืจื•ืช ืื• ื ืงืจืื•ืช. (ื‘
ืฉืคื•ืช ืฉื‘ื”ืŸ ืืชื” ื™ื›ื•ืœ ืœื”ื—ื–ื™ืจ ืžืขืจืš, ื–ื” ื’ื ืžืขื•ืจืจ ืื–ื”ืจื”.)

-ืœืœื-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืœื•ืœืื•ืช ืื’ืจืกื™ื‘ื™ื•ืช
ืื–ื”ืจื” ืื ื‘ืœื•ืœืื” ืขื ืžืกืคืจ ืงื‘ื•ืข ืฉืœ ืื™ื˜ืจืฆื™ื•ืช ื”ืžื”ื“ืจ ืžื–ื”ื” ืœื ืžื•ื’ื“ืจ
ื”ืชื ื”ื’ื•ืช ื‘ื”ืฆื”ืจื” ื›ืœืฉื”ื™ ื‘ืžื”ืœืš ืื—ืช ืื• ื™ื•ืชืจ ืžื”ืื™ื˜ืจืฆื™ื•ืช.

-ืื™ืŸ ืชื›ื•ื ื•ืช
ืื™ืŸ ืœื”ื–ื”ื™ืจ ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘"__ืชื›ื•ื ื”__" ื‘ืœืชื™ ืฆืคื•ื™ื”, ื›ื’ื•ืŸ ืชื›ื•ื ื•ืช ืœื ืžื–ื•ื”ื•ืช,
ืชื›ื•ื ื•ืช ืคื•ื ืงืฆื™ื” ื”ืžื•ื—ืœื•ืช ืขืœ ืžืฉืชื ื™ื ื•ื›ื•'. ื–ื” ืœื ืขื•ืฆืจ ืฉื’ื™ืื•ืช ืขื‘ื•ืจ
ืฉื™ืžื•ืฉ ืฉื’ื•ื™ ื‘ืชื›ื•ื ื•ืช ื ืชืžื›ื•ืช.

-ืžื•ื‘ื ื”-ืžืงืจื•-ืžื•ื’ื“ืจ ืžื—ื“ืฉ
ืืœ ืชื–ื”ื™ืจ ืื ืคืงื•ื“ื•ืช ืžืืงืจื• ืžื•ื‘ื ื•ืช ืžืกื•ื™ืžื•ืช ืžื•ื’ื“ืจื•ืช ืžื—ื“ืฉ. ื–ื” ืžื“ื›ื ืื–ื”ืจื•ืช ืขื‘ื•ืจ
ื”ื’ื“ืจื” ืžื—ื“ืฉ ืฉืœ "__TIMESTAMP__", "__TIME__", "__DATE__", "__FILE__", ื•ื›ืŸ
"__BASE_FILE__".

-Wstrict-ืื‘ ื˜ื™ืคื•ืก (C ื•-Objective-C ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ืคื•ื ืงืฆื™ื” ืžื•ืฆื”ืจืช ืื• ืžื•ื’ื“ืจืช ืžื‘ืœื™ ืœืฆื™ื™ืŸ ืืช ืกื•ื’ื™ ื”ืืจื’ื•ืžื ื˜ื™ื. (ืื 
ื”ื’ื“ืจืช ืคื•ื ืงืฆื™ื” ื‘ืกื’ื ื•ืŸ ื™ืฉืŸ ืžื•ืชืจืช ืœืœื ืื–ื”ืจื” ืื ืœืคื ื™ื” ื
ื”ืฆื”ืจื” ื”ืžืฆื™ื™ื ืช ืืช ืกื•ื’ื™ ื”ืืจื’ื•ืžื ื˜ื™ื.)

-ื”ืฆื”ืจื” ื‘ืกื’ื ื•ืŸ ื•ื•ืœื“ (C ื•-Objective-C ื‘ืœื‘ื“)
ื”ืชืจื™ืข ืขืœ ืฉื™ืžื•ืฉื™ื ืžื™ื•ืฉื ื™ื, ืขืœ ืคื™ ืชืงืŸ C, ื‘ื”ืฆื”ืจื”. ืœ
ืœื“ื•ื’ืžื”, ื”ื–ื”ืจ ืื ืžืคืจื˜ื™ ืžื—ืœืงืช ืื—ืกื•ืŸ ื›ืžื• "ืกื˜ื˜ื™" ืื™ื ื ื”ื“ื‘ืจื™ื ื”ืจืืฉื•ื ื™ื ื‘-a
ื”ึทืฆื”ึธืจึธื”. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื’ื ืขืœ ื™ื“ื™ ืืงืกื˜ืจื”.

-ื”ื’ื“ืจื” ื‘ืกื’ื ื•ืŸ ื•ื•ืœื“ (C ื•-Objective-C ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื”ื’ื“ืจืช ืคื•ื ืงืฆื™ื” ื‘ืกื’ื ื•ืŸ ื™ืฉืŸ. ื ื™ืชื ืช ืื–ื”ืจื” ื’ื ืื ื™ืฉ
ืื‘ ื˜ื™ืคื•ืก ืงื•ื“ื.

-ืกื•ื’ ื—ืกืจ-ืคืจืžื˜ืจ (C ื•-Objective-C ื‘ืœื‘ื“)
ืคืจืžื˜ืจ ืคื•ื ืงืฆื™ื” ืžื•ื›ืจื– ืœืœื ืžืคืจื˜ ืกื•ื’ ื‘ืคื•ื ืงืฆื™ื•ืช ื‘ืกื’ื ื•ืŸ K&R:

void foo(bar) { }

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื’ื ืขืœ ื™ื“ื™ ืืงืกื˜ืจื”.

-ื—ืกืจื™-ืื‘ื˜ื™ืคื•ืก (C ื•-Objective-C ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ืžื•ื’ื“ืจืช ืคื•ื ืงืฆื™ื” ื’ืœื•ื‘ืœื™ืช ืœืœื ื”ืฆื”ืจืช ืื‘ ื˜ื™ืคื•ืก ืงื•ื“ืžืช. ื–ึถื”
ืื–ื”ืจื” ื ื™ืชื ืช ื’ื ืื ื”ื”ื’ื“ืจื” ืขืฆืžื” ืžืกืคืงืช ืื‘ ื˜ื™ืคื•ืก. ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื•
ื›ื“ื™ ืœื–ื”ื•ืช ืคื•ื ืงืฆื™ื•ืช ื’ืœื•ื‘ืœื™ื•ืช ืฉืื™ืŸ ืœื”ืŸ ื”ืฆื”ืจืช ืื‘ ื˜ื™ืคื•ืก ืชื•ืืžืช ื‘-a
ืงื•ื‘ืฅ ื”ื›ื•ืชืจืช. ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ื—ื•ืงื™ืช ืขื‘ื•ืจ C++ ืžื›ื™ื•ื•ืŸ ืฉื›ืœ ื”ืฆื”ืจื•ืช ื”ืคื•ื ืงืฆื™ื•ืช
ืœืกืคืง ืื‘ื•ืช ื˜ื™ืคื•ืก ื•ื”ืฆื”ืจื” ืฉืื™ื ื” ืชื•ืืžืช ืชื›ืจื™ื– ืขืœ ืขื•ืžืก ื™ืชืจ ื‘ืžืงื•ื
ื”ืชื ื’ืฉื•ืช ืขื ื”ืฆื”ืจื” ืงื•ื“ืžืช. ืœื”ืฉืชืžืฉ -ื”ืฆื”ืจื•ืช ื—ืกืจื•ืช ืœืืชืจ ื—ืกืจ
ื”ืฆื”ืจื•ืช ื‘-C++.

-ื”ืฆื”ืจื•ืช ื—ืกืจื•ืช
ืื–ื”ืจื” ืื ืžื•ื’ื“ืจืช ืคื•ื ืงืฆื™ื” ื’ืœื•ื‘ืœื™ืช ืœืœื ื”ืฆื”ืจื” ืงื•ื“ืžืช. ืขืฉื” ื–ืืช ื’ื ืื
ื”ื”ื’ื“ืจื” ืขืฆืžื” ืžืกืคืงืช ืื‘ ื˜ื™ืคื•ืก. ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื›ื“ื™ ืœื–ื”ื•ืช ื’ืœื•ื‘ืœื™
ืคื•ื ืงืฆื™ื•ืช ืฉืื™ื ืŸ ืžื•ืฆื”ืจื•ืช ื‘ืงื‘ืฆื™ ื›ื•ืชืจื•ืช. ื‘-C, ืœื ื ื™ืชื ื•ืช ืื–ื”ืจื•ืช ืขื‘ื•ืจ
ืคื•ื ืงืฆื™ื•ืช ืขื ื”ืฆื”ืจื•ืช ืงื•ื“ืžื•ืช ืฉืื™ื ืŸ ืื‘ ื˜ื™ืคื•ืก; ืœื”ืฉืชืžืฉ -ื—ืกืจ-ืื‘ ื˜ื™ืคื•ืก ื›ื“ื™ ืœื–ื”ื•ืช
ื—ืกืจื™ื ืื‘ื•ืช ื˜ื™ืคื•ืก. ื‘-C++, ืœื ืžื•ื ืคืงื•ืช ืื–ื”ืจื•ืช ืขื‘ื•ืจ ืชื‘ื ื™ื•ืช ืคื•ื ืงืฆื™ื•ืช, ืื• ืขื‘ื•ืจ
ืคื•ื ืงืฆื™ื•ืช ืžื•ื˜ื‘ืขื•ืช, ืื• ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ื‘ืžืจื—ื‘ื™ ืฉืžื•ืช ืื ื•ื ื™ืžื™ื™ื.

-ื—ืกืจื™-ืฉื“ื”-initializers
ืื–ื”ืจื” ืื ื‘ืืชื—ื•ืœ ืฉืœ ืžื‘ื ื” ื—ืกืจื™ื ื›ืžื” ืฉื“ื•ืช. ืœื“ื•ื’ืžื”, ื”ื“ื‘ืจื™ื ื”ื‘ืื™ื
ืงื•ื“ ื’ื•ืจื ืœืื–ื”ืจื” ื›ื–ื•, ืžื›ื™ื•ื•ืŸ ืฉ-"xh" ื”ื•ื ืืคืก ื‘ืžืจื•ืžื–:

struct s { int f, g, h; };
struct sx = { 3, 4 };

ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืžื–ื”ื™ืจื” ืขืœ ืžืืชื—ืœื™ื ื™ื™ืขื•ื“ื™ื™ื, ื•ืœื›ืŸ ื”ืฉื™ื ื•ื™ ื”ื‘ื
ืœื ืžืคืขื™ืœ ืื–ื”ืจื”:

struct s { int f, g, h; };
struct sx = { .f = 3, .g = 4 };

ืื–ื”ืจื” ื–ื• ื›ืœื•ืœื” ื‘ ืืงืกื˜ืจื”. ื›ื“ื™ ืœืงื‘ืœ ืื—ืจ ืืงืกื˜ืจื” ืื–ื”ืจื•ืช ื‘ืœื™ ื–ื”,
ืœื”ืฉืชืžืฉ ืืงืกื˜ืจื” -ืœื-ื—ืกืจื™ื-ืฉื“ื”-initializers.

-Wno-multichar
ืื™ืŸ ืœื”ื–ื”ื™ืจ ืื ืงื‘ื•ืข ืžืจื•ื‘ื” ืชื•ื•ื™ื ('ืคื•ืฃ') ืžืฉืžืฉ. ื‘ื“ืจืš ื›ืœืœ ื”ื ืžืฆื™ื™ื ื™ื ื
ืฉื’ื™ืืช ื”ืงืœื“ื” ื‘ืงื•ื“ ื”ืžืฉืชืžืฉ, ืฉื›ืŸ ื™ืฉ ืœื”ื ืขืจื›ื™ื ืžื•ื’ื“ืจื™ื ื‘ื™ื™ืฉื•ื, ื•ืืกื•ืจ ืฉื™ื”ื™ื•
ืžืฉืžืฉ ื‘ืงื•ื“ ื ื™ื™ื“.

-Wnormalized=
ื‘-ISO C ื•-ISO C++, ืฉื ื™ ืžื–ื”ื™ื ืฉื•ื ื™ื ืื ื”ื ืจืฆืคื™ื ืฉื•ื ื™ื ืฉืœ
ื“ืžื•ื™ื•ืช. ืขื ื–ืืช, ืœืคืขืžื™ื ื›ืืฉืจ ืชื•ื•ื™ื ืžื—ื•ืฅ ืœืงื‘ื•ืฆืช ื”ืชื•ื•ื™ื ื”ื‘ืกื™ืกื™ืช ืฉืœ ASCII
ื‘ืฉื™ืžื•ืฉ, ื™ื›ื•ืœื™ื ืœื”ื™ื•ืช ืฉื ื™ ืจืฆืคื™ ืชื•ื•ื™ื ืฉื•ื ื™ื ืฉื ืจืื™ื ื–ื”ื™ื. ืœื”ืชื—ืžืง
ื‘ืœื‘ื•ืœ, ืชืงืŸ ISO 10646 ืงื•ื‘ืข ื›ืžื” ื ื•ึนืจืžึธืœึดื™ื–ึธืฆึดื™ึธื” ื›ืœืœื™ ืืฉืจ ื›ืืฉืจ ืžื™ื•ืฉื
ื•ื“ื ืฉืฉื ื™ ืจืฆืคื™ื ืฉื ืจืื™ื ื–ื”ื™ื ื™ื”ืคื›ื• ืœืื•ืชื• ืจืฆืฃ. GCC
ื™ื›ื•ืœ ืœื”ื–ื”ื™ืจ ืื•ืชืš ืื ืืชื” ืžืฉืชืžืฉ ื‘ืžื–ื”ื™ื ืฉืœื ื ื•ืจืžืœื•; ืืคืฉืจื•ืช ื–ื•
ืฉื•ืœื˜ ื‘ืื–ื”ืจื” ื–ื•.

ื™ืฉื ืŸ ืืจื‘ืข ืจืžื•ืช ืื–ื”ืจื” ื”ื ืชืžื›ื•ืช ืขืœ ื™ื“ื™ GCC. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -Wnormalized=nfc,
ืฉืžื–ื”ื™ืจ ืขืœ ื›ืœ ืžื–ื”ื” ืฉืื™ื ื• ื‘ืฆื•ืจืช ISO 10646 "C" ืžื ื•ืจืžืœ,
NFC. NFC ื”ื•ื ื”ื˜ื•ืคืก ื”ืžื•ืžืœืฅ ืœืจื•ื‘ ื”ืฉื™ืžื•ืฉื™ื.

ืœืžืจื‘ื” ื”ืฆืขืจ, ื™ืฉื ื ื›ืžื” ืชื•ื•ื™ื ื”ืžื•ืชืจื™ื ื‘ืžื–ื”ื™ื ืœืคื™ ISO C ื•-ISO C++
ืฉื›ืืฉืจ ื”ื•ืคื›ื™ื ืื•ืชื ืœ-NFC, ืื™ื ื ืžื•ืชืจื™ื ื‘ืžื–ื”ื™ื. ื›ืœื•ืžืจ, ืื™ืŸ ืกื™ื›ื•ื™
ืœื”ืฉืชืžืฉ ื‘ืกืžืœื™ื ืืœื” ื‘-ISO C ืื• C++ ื ื™ื™ื“ื™ื ื•ืœื”ื—ื–ื™ืง ืืช ื›ืœ ื”ืžื–ื”ื™ื ืฉืœืš ื‘-NFC.
-Wnormalized=id ืžื“ื›ื ืืช ื”ืื–ื”ืจื” ืขื‘ื•ืจ ื“ืžื•ื™ื•ืช ืืœื”. ื™ืฉ ืœืงื•ื•ืช ื›ื™ ื”ืขืชื™ื“
ื’ืจืกืื•ืช ืฉืœ ื”ืกื˜ื ื“ืจื˜ื™ื ื”ืžืขื•ืจื‘ื™ื ื™ืชืงื ื• ื–ืืช, ื•ื–ื• ื”ืกื™ื‘ื” ืฉื”ืืคืฉืจื•ืช ื”ื–ื• ืœื
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

ืืชื” ื™ื›ื•ืœ ืœื›ื‘ื•ืช ืืช ื”ืื–ื”ืจื” ืขื‘ื•ืจ ื›ืœ ื”ืชื•ื•ื™ื ืขืœ ื™ื“ื™ ื›ืชื™ื‘ื” -Wnormalized=ืื™ืŸ. ืืชื”
ืฆืจื™ืš ืœืขืฉื•ืช ื–ืืช ืจืง ืื ืืชื” ืžืฉืชืžืฉ ื‘ืกื›ื™ืžืช ื ื•ืจืžืœื™ื–ืฆื™ื” ืื—ืจืช (ื›ืžื• "D"),
ื›ื™ ืื—ืจืช ืืชื” ื™ื›ื•ืœ ื‘ืงืœื•ืช ืœื™ืฆื•ืจ ื‘ืื’ื™ื ืฉืžืžืฉ ื‘ืœืชื™ ืืคืฉืจื™ ืœืจืื•ืช.

ืœื—ืœืง ืžื”ืชื•ื•ื™ื ื‘-ISO 10646 ื™ืฉ ืžืฉืžืขื•ื™ื•ืช ืฉื•ื ื•ืช ืืš ื ืจืื™ื ื–ื”ื™ื ื‘ื—ืœืง ืžื”ื’ื•ืคื ื™ื
ืื• ืžืชื•ื“ื•ืœื•ื’ื™ื•ืช ืชืฆื•ื’ื”, ื‘ืžื™ื•ื—ื“ ืœืื—ืจ ื”ื—ืœืช ืขื™ืฆื•ื‘. ืœื“ื•ื’ืžื”
"\u207F", "SUPERSCRIPT LATIN SMALL LETTER N", ืžื•ืฆื’ ื‘ื“ื™ื•ืง ื›ืžื• "n" ืจื’ื™ืœ
ื”ื•ืฆื‘ ื‘ื›ืชื‘ ืขื™ืœื™. ISO 10646 ืžื’ื“ื™ืจ ืืช NFKC ืขืจื›ืช ื ื•ืจืžืœื™ื–ืฆื™ื” ืœ
ื”ืžืจ ืืช ื›ืœ ืืœื” ื’ื ืœื˜ื•ืคืก ืกื˜ื ื“ืจื˜ื™, ื•-GCC ืžื–ื”ื™ืจ ืื ื”ืงื•ื“ ืฉืœืš ืœื ื ืžืฆื
NFKC ืื ืืชื” ืžืฉืชืžืฉ -Wnormalized=nfkc. ืื–ื”ืจื” ื–ื• ื“ื•ืžื” ืœืื–ื”ืจื” ืœื’ื‘ื™ ื›ืœ
ืžื–ื”ื” ืฉืžื›ื™ืœ ืืช ื”ืื•ืช O ืžื›ื™ื•ื•ืŸ ืฉื”ื™ื ืขืฉื•ื™ื” ืœื”ืชื‘ืœื‘ืœ ืขื ื”ืกืคืจื” 0,
ื•ื›ืš ื”ื™ื ืื™ื ื” ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, ืืš ืขืฉื•ื™ื” ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ืช ื›ืžื•ืกื›ืžื” ืงื™ื“ื•ื“ ืžืงื•ืžื™ืช ืื
ืœื ื ื™ืชืŸ ืœืชืงืŸ ืืช ืกื‘ื™ื‘ืช ื”ืชื›ื ื•ืช ื›ืš ืฉืชืฆื™ื’ ืืช ื”ืชื•ื•ื™ื ื”ืœืœื• ื‘ืฆื•ืจื” ื‘ืจื•ืจื”.

-ืœื ื”ื•ืฆื ืžืฉื™ืžื•ืฉ
ืืœ ืชื–ื”ื™ืจ ืขืœ ืฉื™ืžื•ืฉ ื‘ืชื›ื•ื ื•ืช ืฉื”ื•ืฆืื• ืžืฉื™ืžื•ืฉ.

-ื”ืฆื”ืจื•ืช-ืœื-ืžื•ื•ืช
ืื™ืŸ ืœื”ื–ื”ื™ืจ ืœื’ื‘ื™ ืฉื™ืžื•ืฉื™ื ื‘ืคื•ื ืงืฆื™ื•ืช, ืžืฉืชื ื™ื ื•ืกื•ื’ื™ื ื”ืžืกื•ืžื ื™ื ื›ืžื•ืฆืื™ื ืžืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™
ื‘ืืžืฆืขื•ืช ื”ืชื›ื•ื ื” "ื”ื•ืฆื ืžืฉื™ืžื•ืฉ".

-ืœืœื ื”ืฆืคื”
ืืœ ืชื–ื”ื™ืจ ืขืœ ื”ืฆืคืช ื–ืžืŸ ืงื•ืžืคื™ืœืฆื™ื” ื‘ื‘ื™ื˜ื•ื™ื™ื ืงื‘ื•ืขื™ื.

-Woverride-init (C ื•-Objective-C ื‘ืœื‘ื“)
ื”ืชืจื™ืข ืื ืฉื“ื” ืžืื•ืชื—ืœ ืœืœื ืชื•ืคืขื•ืช ืœื•ื•ืื™ ืžื•ื—ืœืฃ ื‘ืขืช ื”ืฉื™ืžื•ืฉ ื”ืžื™ื•ืขื“
ืืชื—ื•ืœื™ื.

ืื–ื”ืจื” ื–ื• ื›ืœื•ืœื” ื‘ ืืงืกื˜ืจื”. ื›ื“ื™ ืœืงื‘ืœ ืื—ืจ ืืงืกื˜ืจื” ืื–ื”ืจื•ืช ื‘ืœื™ ื–ื”,
ืœื”ืฉืชืžืฉ ืืงืกื˜ืจื” -ืœื-ืขืงื™ืคื”-init.

-ืืจื•ื–
ืื–ื”ืจื” ืื ืœืžื‘ื ื” ื ื™ืชื ืช ื”ืชื›ื•ื ื” packed, ืื‘ืœ ืœืชื›ื•ื ื” packed ืื™ืŸ
ื”ืฉืคืขื” ืขืœ ื”ืคืจื™ืกื” ืื• ื”ื’ื•ื“ืœ ืฉืœ ื”ืžื‘ื ื”. ืžื‘ื ื™ื ื›ืืœื” ืขืฉื•ื™ื™ื ืœื”ื™ื•ืช ืœื ืžื™ื•ืฉืจื™ื ืขื‘ื•ืจ
ืชื•ืขืœืช ืงื˜ื ื”. ืœื“ื•ื’ืžื”, ื‘ืงื•ื“ ื–ื”, ื”ืžืฉืชื ื” "fx" ื‘-"struct bar" ื”ื•ื
ืœื ืžื™ื•ืฉืจ ืœืžืจื•ืช ืฉืœ"ืกืจื’ืœ struct" ืื™ืŸ ื‘ืขืฆืžื• ืืช ื”ืชื›ื•ื ื” packed:

struct foo {
int x;
ืฉืจ ื, ื‘, ื’, ื“;
} __attribute __ ((ืืจื•ื–));
ืกืจื’ืœ struct {
char z;
struct foo f;
};

-Wpacked-bitfield-compat
ืกื“ืจื•ืช 4.1, 4.2 ื•-4.3 ืฉืœ GCC ืžืชืขืœืžื•ืช ืžื”ืชื›ื•ื ื” "ืืจื•ื–" ื‘ืฉื“ื•ืช ืกื™ื‘ื™ื•ืช ืฉืœ ืกื•ื’
"ืœึฐื”ึทืฉืึฐื—ึดื™ืจ". ื–ื” ืชื•ืงืŸ ื‘-GCC 4.4 ืื‘ืœ ื”ืฉื™ื ื•ื™ ื™ื›ื•ืœ ืœื”ื•ื‘ื™ืœ ืœื”ื‘ื“ืœื™ื ื‘-
ืคืจื™ืกืช ืžื‘ื ื”. GCC ืžื•ื“ื™ืข ืœืš ื›ืฉื”ืงื™ื–ื•ื– ืฉืœ ืฉื“ื” ื›ื–ื” ื”ืฉืชื ื” ื‘-GCC
4.4. ืœื“ื•ื’ืžื”, ืื™ืŸ ืขื•ื“ ืจื™ืคื•ื“ ืฉืœ 4 ืกื™ื‘ื™ื•ืช ื‘ื™ืŸ ืฉื“ื” "a" ื•-"b" ื‘ื–ื”
ืžื‘ื ื” you

struct foo
{
char a:4;
char b:8;
} __ืชื›ื•ื ื”__ ((ืืจื•ื–));

ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ืœื”ืฉืชืžืฉ -Wno-packed-bitfield-compat ื›ื“ื™ ืœื”ืฉื‘ื™ืช ืืช ื–ื”
ืื–ื”ืจื”.

-Wpadded
ืื–ื”ืจื” ืื ืจื™ืคื•ื“ ื›ืœื•ืœ ื‘ืžื‘ื ื”, ืื• ื›ื“ื™ ืœื™ื™ืฉืจ ืืœืžื ื˜ ืฉืœ
ืžื‘ื ื” ืื• ืœื™ื™ืฉืจ ืืช ื”ืžื‘ื ื” ื›ื•ืœื•. ืœืคืขืžื™ื ื›ืฉื–ื” ืงื•ืจื” ื–ื” ืืคืฉืจื™
ืœืืจื’ืŸ ืžื—ื“ืฉ ืืช ืฉื“ื•ืช ื”ืžื‘ื ื” ื›ื“ื™ ืœื”ืคื—ื™ืช ืืช ื”ืจื™ืคื•ื“ ื•ื›ืš ืœื”ืคื•ืš ืืช
ืžื‘ื ื” ืงื˜ืŸ ื™ื•ืชืจ.

-ื—ืกืจ-ืžื‘ื˜ืœ
ื”ืชืจื™ืข ืื ื”ื•ื›ืจื– ืžืฉื”ื• ื™ื•ืชืจ ืžืคืขื ืื—ืช ื‘ืื•ืชื• ื”ื™ืงืฃ, ื’ื ื‘ืžืงืจื™ื ืฉื‘ื”ื
ื”ื”ืฆื”ืจื” ื”ืžืจื•ื‘ื” ืชืงืคื” ื•ืื™ื ื” ืžืฉื ื” ื“ื‘ืจ.

-Wnested-externs (C ื•-Objective-C ื‘ืœื‘ื“)
ืื–ื”ืจื” ืื ื ืชืงืœืช ื‘ื”ืฆื”ืจื” "ื—ื™ืฆื•ื ื™ืช" ื‘ืชื•ืš ืคื•ื ืงืฆื™ื”.

-ืœื-ื•ืจื•ืฉื”-ื•ืจื“ื™-ืงื˜ื•ืจ
ื“ื—ืง ืื–ื”ืจื•ืช ืœื’ื‘ื™ ืฉื™ืžื•ืฉ ื‘ื‘ื ืื™ื ื™ื•ืจืฉื™ื ืฉืœ C++11 ื›ืืฉืจ ืžื—ืœืงืช ื”ื‘ืกื™ืก
ื‘ื™ืจื•ืฉื” ืž ื™ืฉ ื‘ื ืื™ C ื•ืจื™ืื“ื™; ื”ืื–ื”ืจื” ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืžื›ื™ื•ื•ืŸ ืฉ-
ืืœื™ืคืกื™ืก ืื™ื ื• ืขื•ื‘ืจ ื‘ืชื•ืจืฉื”.

-Winline
ืื–ื”ืจื” ืื ืคื•ื ืงืฆื™ื” ืฉื”ื•ื›ืจื–ื” ื›ืžื•ื˜ื‘ืขืช ืœื ื™ื›ื•ืœื” ืœื”ื™ื•ืช ืžื•ื˜ื‘ืขืช. ืืคื™ืœื• ืขื ื–ื”
ืืคืฉืจื•ืช, ื”ืžื”ื“ืจ ืื™ื ื• ืžื–ื”ื™ืจ ืžืคื ื™ ื›ืฉืœื™ื ื‘ืคื•ื ืงืฆื™ื•ืช ืžื•ื˜ื‘ืขื•ืช ื”ืžื•ืฆื”ืจื•ืช ื‘
ื›ื•ืชืจื•ืช ืžืขืจื›ืช.

ื”ืžื”ื“ืจ ืžืฉืชืžืฉ ื‘ืžื’ื•ื•ืŸ ืฉืœ ื”ื™ื•ืจื™ืกื˜ื™ื•ืช ื›ื“ื™ ืœืงื‘ื•ืข ืื ืœื”ื˜ืžื™ืข ืื• ืœื
ืคื•ึผื ืงืฆึดื™ึธื”. ืœื“ื•ื’ืžื”, ื”ืžื”ื“ืจ ืœื•ืงื— ื‘ื—ืฉื‘ื•ืŸ ืืช ื’ื•ื“ืœ ื”-function being
ืžื•ื˜ื‘ืข ื•ื›ืžื•ืช ื”ื”ื˜ื‘ืขื” ืฉื›ื‘ืจ ื‘ื•ืฆืขื” ื‘ืคื•ื ืงืฆื™ื” ื”ื ื•ื›ื—ื™ืช.
ืœื›ืŸ, ืฉื™ื ื•ื™ื™ื ื—ืกืจื™ ืžืฉืžืขื•ืช ืœื›ืื•ืจื” ื‘ืชื•ื›ื ื™ืช ื”ืžืงื•ืจ ื™ื›ื•ืœื™ื ืœื’ืจื•ื ืœ
ืื–ื”ืจื•ืช ืฉื”ื•ืคืงื• ืขืœ ื™ื“ื™ -Winline ืœื”ื•ืคื™ืข ืื• ืœื”ื™ืขืœื.

-Wno-invalid-offsetof (C++ ื•-Objective-C++ ื‘ืœื‘ื“)
ื“ื—ืง ืื–ื”ืจื•ืช ืžื™ื™ืฉื•ื ื” ืงื™ื–ื•ื– ืžืืงืจื• ืœืกื•ื’ ืฉืื™ื ื• POD. ืœืคื™
ืชืงืŸ ISO C++ ืžืฉื ืช 1998, ื”ื—ืœ ืงื™ื–ื•ื– ืœืกื•ื’ ืฉืื™ื ื• POD ืื™ื ื• ืžื•ื’ื“ืจ. ื‘
ืขื ื–ืืช, ื™ื™ืฉื•ืžื™ C++ ืงื™ื™ืžื™ื, ืงื™ื–ื•ื– ื‘ื“ืจืš ื›ืœืœ ื ื•ืชืŸ ืชื•ืฆืื•ืช ืžืฉืžืขื•ืชื™ื•ืช
ืืคื™ืœื• ื›ืืฉืจ ืžื™ื•ืฉืžื™ื ืขืœ ืกื•ื’ื™ื ืžืกื•ื™ืžื™ื ืฉืœ ื˜ื™ืคื•ืกื™ื ืฉืื™ื ื POD (ื›ื’ื•ืŸ ืคืฉื•ื˜ ืžื‘ื ื” ื–ึถื”
ืœื ืžืฆืœื™ื— ืœื”ื™ื•ืช ืกื•ื’ POD ืจืง ื‘ื’ืœืœ ืฉื™ืฉ ื‘ื ืื™). ื”ื“ื’ืœ ื”ื–ื” ืžื™ื•ืขื“ ืœ
ืžืฉืชืžืฉื™ื ืฉืžื•ื“ืขื™ื ืœื›ืš ืฉื”ื ื›ื•ืชื‘ื™ื ืงื•ื“ ืœื ื ื™ื™ื“ ื•ืฉืขืฉื• ื–ืืช ื‘ื›ื•ื•ื ื”
ื ื‘ื—ืจ ืœื”ืชืขืœื ืžื”ืื–ื”ืจื” ืขืœ ื›ืš.

ื”ื”ื’ื‘ืœื•ืช ืขืœ ืงื™ื–ื•ื– ืขืฉื•ื™ ืœื”ื™ื•ืช ืจื’ื•ืข ื‘ื’ืจืกื” ืขืชื™ื“ื™ืช ืฉืœ ืชืงืŸ C++.

-Wno-int-to-pointer-cast
ื”ื“ื—ื™ืง ืื–ื”ืจื•ืช ืžื”ื˜ืœื” ืœืกื•ื’ ืžืฆื‘ื™ืข ืฉืœ ืžืกืคืจ ืฉืœื ื‘ื’ื•ื“ืœ ืฉื•ื ื”. ื‘
C++, ื”ืฉืœื›ื” ืœืกื•ื’ ืžืฆื‘ื™ืข ื‘ื’ื•ื“ืœ ืงื˜ืŸ ื™ื•ืชืจ ื”ื™ื ืฉื’ื™ืื”. ื ื™ืฆื•ื—-ืœืžืฆื‘ื™ืข-cast is
ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืื™ืŸ-ืžืฆื‘ื™ืข ืœ-int-cast (C ื•-Objective-C ื‘ืœื‘ื“)
ื“ื—ืง ืื–ื”ืจื•ืช ืžื”ื˜ืœื•ืช ืžืžืฆื‘ื™ืข ืœืกื•ื’ ืฉืœ ืžืกืคืจ ืฉืœื ื‘ื’ื•ื“ืœ ืฉื•ื ื”.

-Winvalid-pch
ืื–ื”ืจื” ืื ื ืžืฆืื” ื›ื•ืชืจืช ืžื”ื•ื“ืจืช ืžืจืืฉ ื‘ื ืชื™ื‘ ื”ื—ื™ืคื•ืฉ ืืš ืœื ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื”.

-ื•ืœื•ื ื’-ืืจื•ืš
ื”ื–ื”ื™ืจ ืื ืืจื•ืš ืืจื•ืš ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืกื•ื’. ื–ื” ืžื•ืคืขืœ ืขืœ ื™ื“ื™ ืื—ื“ ืžื”ื -Wpedantic or -ืžืกื•ืจืชื™
ื‘ืžืฆื‘ื™ ISO C90 ื•-C++98. ื›ื“ื™ ืœื‘ืœื•ื ืืช ื”ื•ื“ืขื•ืช ื”ืื–ื”ืจื”, ื”ืฉืชืžืฉ -ืœื ืืจื•ืš-ืืจื•ืš.

-Wvariadic-macros
ืื–ื”ืจื” ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืคืงื•ื“ื•ืช ืžืืงืจื• ื•ืจื™ืื“ื™ื•ืช ื‘ืžืฆื‘ ISO C90 ืคื“ื ื˜ื™, ืื• ื‘ืชื—ื‘ื™ืจ ื”ื—ืœื•ืคื™ ืฉืœ GNU
ื‘ืžืฆื‘ ืคื“ื ื˜ื™ ISO C99. ื–ื•ื”ื™ ื‘ืจื™ืจืช ืžื—ื“ืœ. ื›ื“ื™ ืœื‘ืœื•ื ืืช ื”ื•ื“ืขื•ืช ื”ืื–ื”ืจื”, ื”ืฉืชืžืฉ
-Wno-variadic-macros.

-ื•ื•ื•ืืจื’ืก
ืื–ื”ืจื” ืขืœ ืฉื™ืžื•ืฉ ืžืคื•ืงืคืง ื‘ืคืงื•ื“ื•ืช ื”ืžืืงืจื• ื”ืžืฉืžืฉื•ืช ืœื˜ื™ืคื•ืœ ื‘ืืจื’ื•ืžื ื˜ื™ื ืžืฉืชื ื™ื ื›ืžื•
va_start. ื–ื•ื”ื™ ื‘ืจื™ืจืช ืžื—ื“ืœ. ื›ื“ื™ ืœื‘ืœื•ื ืืช ื”ื•ื“ืขื•ืช ื”ืื–ื”ืจื”, ื”ืฉืชืžืฉ -Wno-varargs.

-ื•ืงื˜ื•ืจ-ืคืขื•ืœื”-ื‘ื™ืฆื•ืขื™ื
ื”ืชืจื™ืข ืื ืคืขื•ืœื” ื•ืงื˜ื•ืจื™ืช ืื™ื ื” ืžื™ื•ืฉืžืช ื‘ืืžืฆืขื•ืช ื™ื›ื•ืœื•ืช SIMD ืฉืœ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื”.
ืฉื™ืžื•ืฉื™ ื‘ืขื™ืงืจ ืขื‘ื•ืจ ื›ื•ื•ื ื•ืŸ ื”ื‘ื™ืฆื•ืขื™ื. ื ื™ืชืŸ ืœื™ื™ืฉื ืคืขื•ืœืช ื•ืงื˜ื•ืจ
"piecewise", ื›ืœื•ืžืจ ื”ืคืขื•ืœื” ื”ืกืงืœืจื™ืช ืžืชื‘ืฆืขืช ืขืœ ื›ืœ ื•ืงื˜ื•ืจ
ืึตืœึตืžึถื ื˜; "ื‘ืžืงื‘ื™ืœ", ื›ืœื•ืžืจ ืคืขื•ืœืช ื”ื•ื•ืงื˜ื•ืจ ืžื™ื•ืฉืžืช ื‘ืืžืฆืขื•ืช
ืกืงืœืจื™ื ืžืกื•ื’ ืจื—ื‘ ื™ื•ืชืจ, ืฉื‘ื“ืจืš ื›ืœืœ ื™ืขื™ืœ ื™ื•ืชืจ ื‘ื‘ื™ืฆื•ืขื™ื; ื•" ื‘ืชื•ืจ ืจื•ื•ืง
scalar", ื›ืœื•ืžืจ ื”ื•ืงื˜ื•ืจ ืžืชืื™ื ืœืกื•ื’ ืกืงืœืจื™.

-ืœื-ื•ื™ืจื˜ื•ืืœื™-ื”ื–ื–-ื”ืงืฆื
ื“ื—ืง ืื–ื”ืจื•ืช ืขืœ ื™ืจื•ืฉื” ืžื‘ืกื™ืก ื•ื™ืจื˜ื•ืืœื™ ืขื ืžื”ืœืš ืœื ื˜ืจื™ื•ื•ื™ืืœื™ C++11
ืžืคืขื™ืœ ืžืฉื™ืžื”. ื–ื” ืžืกื•ื›ืŸ ื›ื™ ืื ื ื™ืชืŸ ืœื”ื’ื™ืข ืœื‘ืกื™ืก ื”ื•ื™ืจื˜ื•ืืœื™
ื™ื•ืชืจ ืžื ืชื™ื‘ ืื—ื“, ื”ื•ื ื™ื•ืขื‘ืจ ืžืกืคืจ ืคืขืžื™ื, ืžื” ืฉื™ื›ื•ืœ ืœื•ืžืจ ืฉืฉื ื™ ื”ืื•ื‘ื™ื™ืงื˜ื™ื ืžืกืชื™ื™ืžื™ื
ืœืžืขืœื” ื‘ืžื“ื™ื ื” ืฉืขื‘ืจื” ืžื”ืžื“ื™ื ื”. ืื ืžืคืขื™ืœ ื”ืงืฆืืช ื”ืžืขื‘ืจ ื ื›ืชื‘ ื›ื“ื™ ืœื”ื™ืžื ืข
ืžืขื‘ืจ ืžืื•ื‘ื™ื™ืงื˜ ืฉื”ื•ืขื‘ืจ ืžืื•ื‘ื™ื™ืงื˜, ื ื™ืชืŸ ืœื‘ื˜ืœ ืื–ื”ืจื” ื–ื•.

-Wvla
ืื–ื”ืจื” ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืžืขืจืš ืื•ืจืš ืžืฉืชื ื” ื‘ืงื•ื“. -Wno-vla ืžื•ื ืข ืืช -Wpedantic
ืื–ื”ืจื” ืขืœ ืžืขืจืš ื”ืื•ืจืš ื”ืžืฉืชื ื”.

-Wvolatile-register-var
ืื–ื”ืจื” ืื ืžืฉืชื ื” ืื•ื’ืจ ืžื•ื›ืจื– ื ื“ื™ืฃ. ื”ืžืฉื ื” ื”ื ื“ื™ืฃ ืœื
ืœืขื›ื‘ ืืช ื›ืœ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืขืœื•ืœื•ืช ืœื‘ื˜ืœ ืงืจื™ืื” ื•/ืื• ื›ืชื™ื‘ื” ืœืจื™ืฉื•ื
ืžืฉืชื ื™ื. ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ - ืงื™ืจ.

-Wdisabled-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ืื–ื”ืจื” ืื ื›ืจื˜ื™ืก ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžื‘ื•ืงืฉ ืžื•ืฉื‘ืช. ืื–ื”ืจื” ื–ื• ืœื ื‘ื“ืจืš ื›ืœืœ
ืœืฆื™ื™ืŸ ืฉืžืฉื”ื• ืœื ื‘ืกื“ืจ ื‘ืงื•ื“ ืฉืœืš; ื–ื” ืจืง ืžืฆื™ื™ืŸ ืฉ-GCC's
ื›ืœื™ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืื™ื ื ืžืกื•ื’ืœื™ื ืœื˜ืคืœ ื‘ืงื•ื“ ื‘ื™ืขื™ืœื•ืช. ืœืขืชื™ื ืงืจื•ื‘ื•ืช, ื”ื‘ืขื™ื” ื”ื™ื ืฉืœืš
ื”ืงื•ื“ ื’ื“ื•ืœ ืžื“ื™ ืื• ืžื•ืจื›ื‘ ืžื“ื™; GCC ืžืกืจื‘ ืœื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืชื•ื›ื ื™ื•ืช ื›ืืฉืจ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ืขืฆืžื• ืฆืคื•ื™ ืœืงื—ืช ื›ืžื•ื™ื•ืช ืžื•ื’ื–ืžื•ืช ืฉืœ ื–ืžืŸ.

-ืกื™ืžืŸ Wpointer (C ื•-Objective-C ื‘ืœื‘ื“)
ืื–ื”ืจื” ืขืœ ื”ืขื‘ืจืช ื˜ื™ืขื•ืŸ ืžืฆื‘ื™ืข ืื• ื”ืงืฆืื” ืขื ื—ืชื™ืžื•ืช ืฉื•ื ื”. ื–ึถื”
ื”ืืคืฉืจื•ืช ื ืชืžื›ืช ืจืง ืขื‘ื•ืจ C ื•-Objective-C. ื–ื” ืžืฉืชืžืข ืž - ืงื™ืจ ื•ืขืœ ื™ื“ื™
-Wpedantic, ืฉื ื™ืชืŸ ืœื”ืฉื‘ื™ืช ื‘ืืžืฆืขื•ืชื• -ืœื-ืžืฆื‘ื™ืข-ืกื™ืžืŸ.

-ืžื’ืŸ Wstack
ืืคืฉืจื•ืช ื–ื• ืคืขื™ืœื” ืจืง ื›ืืฉืจ -ืžื’ืŸ ืžื—ืกื ื™ืช ื”ื•ื ืคืขื™ืœ. ื–ื” ืžื–ื”ื™ืจ ืœื’ื‘ื™ ืคื•ื ืงืฆื™ื•ืช
ืฉืื™ื ื ืžื•ื’ื ื™ื ืžืคื ื™ ืจื™ืกื•ืง ืžื—ืกื ื™ืช.

-ืœื-ื“ืฉ ื‘ื•ืฅ
ื”ื“ื—ื™ืง ืื–ื”ืจื•ืช ืœื’ื‘ื™ ืžื‘ื ื™ื ืฉืœื ื ื™ืชืŸ ืœื”ืชืงื™ืŸ ื‘ืืžืฆืขื•ืชื -fmudflap.

-ืžื™ืชืจื™ื ื‘ืื•ืจืš ืจื•ื—
ืื–ื”ืจื” ืขืœ ืงื‘ื•ืขื™ ืžื—ืจื•ื–ืช ืืจื•ื›ื™ื ืžื”ืื•ืจืš ื”"ืžื™ื ื™ืžืœื™ ื”ืžืงืกื™ืžืœื™".
ื”ืžืฆื•ื™ืŸ ื‘ืชืงืŸ C. ืžื”ื“ืจื™ื ืžื•ื“ืจื ื™ื™ื ืžืืคืฉืจื™ื ื‘ื“ืจืš ื›ืœืœ ืงื‘ื•ืขื™ ืžื—ืจื•ื–ืช
ื”ื ื”ืจื‘ื” ื™ื•ืชืจ ืืจื•ื›ื™ื ืžื”ืžื’ื‘ืœื” ื”ืžื™ื ื™ืžืœื™ืช ืฉืœ ื”ืชืงืŸ, ืื‘ืœ ืชื•ื›ื ื™ื•ืช ื ื™ื™ื“ื•ืช ืžืื•ื“ ืืžื•ืจื•ืช ืœืขืฉื•ืช ื–ืืช
ื”ื™ืžื ืข ืžืฉื™ืžื•ืฉ ื‘ื—ื•ื˜ื™ื ืืจื•ื›ื™ื ื™ื•ืชืจ.

ื”ืžื’ื‘ืœื” ื—ืœื” ืœืื—ืจ ืฉืจืฉื•ืจ ืงื‘ื•ืข ืฉืœ ืžื—ืจื•ื–ืช, ื•ืื™ื ื• ืกื•ืคืจ ืืช ื”ื ื’ืจืจ
NUL. ื‘-C90, ื”ืžื’ื‘ืœื” ื”ื™ื™ืชื” 509 ืชื•ื•ื™ื; ื‘-C99, ื”ื•ื ื”ื•ืขืœื” ืœ-4095. C++98 ื›ืŸ
ืœื ืžืฆื™ื™ื ื™ื ืžืงืกื™ืžื•ื ืžื™ื ื™ืžืœื™ ื ื•ืจืžื˜ื™ื‘ื™, ืื– ืื ื—ื ื• ืœื ืžืื‘ื—ื ื™ื ืžื—ืจื•ื–ื•ืช ื‘ืื•ืจืš ื™ืชืจ
C ++.

ืืคืฉืจื•ืช ื–ื• ืžืฉืชืžืขืช ืž -Wpedantic, ื•ื ื™ืชืŸ ืœื ื˜ืจืœ ื‘ืืžืฆืขื•ืช
-ืœื-ืื•ืจืš ื™ืชืจ-ืžื™ืชืจื™ื.

-ืžืฉื™ืžื•ืช-ืฆืคื•ืช-ืงื‘ื•ืขื•ืช (C ื•-Objective-C ื‘ืœื‘ื“)
ืคืจืกื ืื–ื”ืจื” ืขื‘ื•ืจ ื›ืœ ืงื‘ื•ืข ืฆืฃ ืฉืื™ืŸ ืœื• ืกื™ื•ืžืช. ื‘ืขืช ืฉื™ืžื•ืฉ
ื™ื—ื“ ืขื -ื›ื•ืชืจื•ืช Wsystem ื–ื” ืžื–ื”ื™ืจ ืขืœ ืงื‘ื•ืขื™ื ื›ืืœื” ื‘ืงื‘ืฆื™ ื›ื•ืชืจื•ืช ืžืขืจื›ืช.
ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ ื‘ืขืช ื”ื›ื ืช ืงื•ื“ ืœืฉื™ืžื•ืฉ ืขื ื”ืคืจื’ืžื” "FLOAT_CONST_DECIMAL64"
ืžื”ืกื™ื•ืžืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื”ืขืฉืจื•ื ื™ืช ืœ-C99.

ืืคืฉืจื•ื™ื•ืช ืœ Debugging ืชึธื›ึฐื ึดื™ืช or GCC
ืœ-GCC ื™ืฉ ืืคืฉืจื•ื™ื•ืช ืžื™ื•ื—ื“ื•ืช ืฉื•ื ื•ืช ื”ืžืฉืžืฉื•ืช ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืชื•ื›ื ื™ืช ืฉืœืš ืื• ื‘-GCC:

-g ื”ืคืงืช ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืคื•ืจืžื˜ ื”ืžืงื•ืจื™ ืฉืœ ืžืขืจื›ืช ื”ื”ืคืขืœื” (ื“ืงื™ืจื•ืช, COFF,
XCOFF, ืื• ื’ืžื“ 2). GDB ื™ื›ื•ืœ ืœืขื‘ื•ื“ ืขื ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื ื–ื”.

ื‘ืจื•ื‘ ื”ืžืขืจื›ื•ืช ื”ืžืฉืชืžืฉื•ืช ื‘ืคื•ืจืžื˜ ื“ืงื™ืจื•ืช, -g ืžืืคืฉืจ ืฉื™ืžื•ืฉ ื‘ืžื™ื“ืข ื ื•ืกืฃ ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื
ืฉืจืง GDB ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื•; ื”ืžื™ื“ืข ื”ื ื•ืกืฃ ื”ื–ื” ื’ื•ืจื ืœื ื™ืคื•ื™ ื‘ืื’ื™ื ืœืขื‘ื•ื“ ื˜ื•ื‘ ื™ื•ืชืจ ื‘-GDB ืื‘ืœ
ื›ื ืจืื” ื’ื•ืจื ืœืื™ืคื•ื™ ื‘ืื’ื™ื ืื—ืจื™ื ืœืงืจื•ืก ืื• ืœืกืจื‘ ืœืงืจื•ื ืืช ื”ืชื•ื›ื ื™ืช. ืื ืืชื” ืจื•ืฆื”
ืœืฉืœื•ื˜ ื‘ื•ื•ื“ืื•ืช ืื ืœื™ืฆื•ืจ ืืช ื”ืžื™ื“ืข ื”ื ื•ืกืฃ, ืœื”ืฉืชืžืฉ -gstabs+, -gstabs,
-gxcoff+, -gxcoff, ืื• -gvms (ืจืื” ืœืžื˜ื”).

GCC ืžืืคืฉืจ ืœืš ืœื”ืฉืชืžืฉ -g ืขื -O. ืงื™ืฆื•ืจื™ ื”ื“ืจืš ืฉื ืœืงื—ื• ืขืœ ื™ื“ื™ ืงื•ื“ ืžื•ืชืื ืขืฉื•ื™ื™ื
ืžื™ื™ืฆืจื™ื ืžื“ื™ ืคืขื ืชื•ืฆืื•ืช ืžืคืชื™ืขื•ืช: ื™ื™ืชื›ืŸ ืฉื—ืœืง ืžื”ืžืฉืชื ื™ื ืฉื”ืฆื”ืจืช ืื™ื ื ืงื™ื™ืžื™ื ื‘ื”ื
ืืช ื›ืœ; ื–ืจื™ืžืช ื”ืฉืœื™ื˜ื” ืขืฉื•ื™ื” ืœื ื•ืข ืœื–ืžืŸ ืงืฆืจ ืœืžืงื•ื ืฉืœื ืฆื™ืคื™ืช ืœื”; ื›ืžื” ื”ืฆื”ืจื•ืช ืขืฉื•ื™ื•ืช
ืœื ืœื”ืชื‘ืฆืข ืžื›ื™ื•ื•ืŸ ืฉื”ื ืžื—ืฉื‘ื™ื ืชื•ืฆืื•ืช ืงื‘ื•ืขื•ืช ืื• ืฉื”ืขืจื›ื™ื ืฉืœื”ื ื›ื‘ืจ ื ืžืฆืื™ื
ื™ื“; ื”ืฆื”ืจื•ืช ืžืกื•ื™ืžื•ืช ืขืฉื•ื™ื•ืช ืœื”ืชื‘ืฆืข ื‘ืžืงื•ืžื•ืช ืฉื•ื ื™ื ืžื›ื™ื•ื•ืŸ ืฉื”ืŸ ื”ื•ืขื‘ืจื• ื”ื—ื•ืฆื”
ืฉืœ ืœื•ืœืื•ืช.

ืืฃ ืขืœ ืคื™ ื›ืŸ, ืžืชื‘ืจืจ ืฉื ื™ืชืŸ ืœื ืคื•ืช ื‘ืื’ื™ื ื‘ืคืœื˜ ืื•ืคื˜ื™ืžืœื™. ื–ื” ืขื•ืฉื” ืืช ื–ื” ื”ื’ื™ื•ื ื™
ืœื”ืฉืชืžืฉ ื‘ื›ืœื™ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช ืฉืขืœื•ืœื•ืช ืœื”ื›ื™ืœ ื‘ืื’ื™ื.

ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช ืฉื™ืžื•ืฉื™ื•ืช ื›ืืฉืจ GCC ื ื•ืฆืจ ืขื ื™ื›ื•ืœืช ืœืขื•ื“
ืžืืฉืจ ืคื•ืจืžื˜ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืื—ื“.

-gsplit-ื’ืžื“
ื”ืคืจื“ ื›ืžื” ืฉื™ื•ืชืจ ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ื ื ืกื™ ืœืงื•ื‘ืฅ ืคืœื˜ ื ืคืจื“
ืขื ื”ืกื™ื•ืžืช .dwo. ืืคืฉืจื•ืช ื–ื• ืžืืคืฉืจืช ืœืžืขืจื›ืช ื”ื‘ื ื™ื™ื” ืœื”ื™ืžื ืข ืžืงื™ืฉื•ืจ ืงื‘ืฆื™ื
ืขื ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื. ื›ื“ื™ ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™, ืืคืฉืจื•ืช ื–ื• ื“ื•ืจืฉืช ื‘ืื’ื™ื ื”ืžืกื•ื’ืœ
ืงืจื™ืืช ืงื‘ืฆื™ dwo.

-ggdb
ื”ืคืงืช ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืœืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™ GDB. ื–ื” ืื•ืžืจ ืœื”ืฉืชืžืฉ ื”ื›ื™ ืืงืกืคืจืกื™ื‘ื™
ืคื•ืจืžื˜ ื–ืžื™ืŸ (DWARF 2, stabs, ืื• ื”ืคื•ืจืžื˜ ื”ืžืงื•ืจื™ ืื ืืฃ ืื—ื“ ืžื”ื ืœื
ื ืชืžืš), ื›ื•ืœืœ ื”ืจื—ื‘ื•ืช GDB ืื ื–ื” ืืคืฉืจื™.

-gpubnames
ืฆื•ืจ ืงื˜ืขื™ .debug_pubnames ื•-.debug_pubtypes ื ื ืกื™ื™ื.

-gstabs
ื”ืคืงืช ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืคื•ืจืžื˜ stabs (ืื ื–ื” ื ืชืžืš), ืœืœื GDB
ื”ืจื—ื‘ื•ืช. ื–ื”ื• ื”ืคื•ืจืžื˜ ื”ืžืฉืžืฉ ืืช DBX ื‘ืจื•ื‘ ืžืขืจื›ื•ืช ื”-BSD. ื‘-MIPS, ืืœืคื ื•
System V Release 4 ืžืขืจื›ื•ืช ืืคืฉืจื•ืช ื–ื• ืžื™ื™ืฆืจืช ืคืœื˜ ื ื™ืคื•ื™ ื‘ืื’ื™ื ื“ืงื™ืจื•ืช ืฉืœื
ืžื•ื‘ืŸ ืขืœ ื™ื“ื™ DBX ืื• SDB. ื‘ืžืขืจื›ื•ืช System V Release 4 ืืคืฉืจื•ืช ื–ื• ื“ื•ืจืฉืช ืืช ื”-GNU
ืืกืคืŸ.

ืกืžืœื™ื-feliminate-unused-debug-symbols
ื”ืคืง ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืคื•ืจืžื˜ stabs (ืื ื–ื” ื ืชืžืš), ืขื‘ื•ืจ ืกืžืœื™ื ื‘ืœื‘ื“
ืฉืžืฉืชืžืฉื™ื ื‘ื”ื ื‘ืคื•ืขืœ.

-femit-class-debug-always
ื‘ืžืงื•ื ืœืคืœื•ื˜ ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื ืขื‘ื•ืจ ืžื—ืœืงื” C++ ื‘ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ืื—ื“ ื‘ืœื‘ื“,
ืคื•ืœื˜ ืื•ืชื• ื‘ื›ืœ ืงื‘ืฆื™ ื”ืื•ื‘ื™ื™ืงื˜ื™ื ื‘ืืžืฆืขื•ืช ื”ืžื—ืœืงื”. ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืจืง ืขื
ืžืืคื™ ื‘ืื’ื™ื ืฉืื™ื ื ืžืกื•ื’ืœื™ื ืœื”ืชืžื•ื“ื“ ืขื ื”ื“ืจืš ืฉื‘ื” GCC ืคื•ืœื˜ ื‘ื“ืจืš ื›ืœืœ ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื
ืขื‘ื•ืจ ืžื—ืœืงื•ืช ืžื›ื™ื•ื•ืŸ ืฉืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืžื’ื“ื™ืœ ืืช ื’ื•ื“ืœ ื”ืžื™ื“ืข ื‘ืื’ื™ื ื‘-
ืขื“ ืคืงื˜ื•ืจ ืฉืœ ืฉื ื™ื™ื.

-fdebug-types-section
ื‘ืขืช ืฉื™ืžื•ืฉ ื‘-DWARF ื’ืจืกื” 4 ื•ืžืขืœื”, ื ื™ืชืŸ ืœื”ื›ื ื™ืก ืืช ื”ืกื•ื’ DIEs ืœืขืฆืžื
ื”ืงื˜ืข ".debug_types" ื‘ืžืงื•ื ืœื”ืคื•ืš ืื•ืชื ืœื—ืœืง ืžืงื˜ืข ".debug_info". ื–ื”
ื™ืขื™ืœ ื™ื•ืชืจ ืœื”ื›ื ื™ืก ืื•ืชื ืœืงื˜ืขื™ comdat ื ืคืจื“ื™ื ืžื›ื™ื•ื•ืŸ ืฉื”ืžืงืฉืจ ื™ื›ื•ืœ ืื–
ืœื”ืกื™ืจ ื›ืคื™ืœื•ื™ื•ืช. ืื‘ืœ ืขื“ื™ื™ืŸ ืœื ื›ืœ ืฆืจื›ื ื™ DWARF ืชื•ืžื›ื™ื ื‘ืงื˜ืขื™ ".debug_types".
ื•ื‘ื—ืœืง ืžื”ืื•ื‘ื™ื™ืงื˜ื™ื ".debug_types" ืžื™ื™ืฆืจ ืื™ืชื•ืจ ื‘ืื’ื™ื ื’ื“ื•ืœ ื™ื•ืชืจ ื‘ืžืงื•ื ืงื˜ืŸ ื™ื•ืชืจ
ืžื™ื“ืข.

-gstabs+
ื”ืคืง ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืคื•ืจืžื˜ stabs (ืื ื–ื” ื ืชืžืš), ื‘ืืžืฆืขื•ืช GNU
ื”ืจื—ื‘ื•ืช ืžื•ื‘ื ื•ืช ืจืง ืขืœ ื™ื“ื™ ืžืืชืจ ื”ื‘ืื’ื™ื ืฉืœ GNU (GDB). ื”ืฉื™ืžื•ืฉ ื‘ื”ืจื—ื‘ื•ืช ืืœื• ื”ื•ื
ืกื‘ื™ืจ ืฉื™ื’ืจื•ื ืœื ื™ืคื•ื™ ื‘ืื’ื™ื ืื—ืจื™ื ืœืงืจื•ืก ืื• ืœืกืจื‘ ืœืงืจื•ื ืืช ื”ืชื•ื›ื ื™ืช.

-ื’ืงื•ืฃ
ื”ืคืง ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืคื•ืจืžื˜ COFF (ืื ื–ื” ื ืชืžืš). ื–ื”
ืคื•ืจืžื˜ ื‘ืฉื™ืžื•ืฉ SDB ื‘ืจื•ื‘ ืžืขืจื›ื•ืช System V ืœืคื ื™ ื’ืจืกื” 4 ืฉืœ System V.

-gxcoff
ื”ืคืง ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืคื•ืจืžื˜ XCOFF (ืื ื–ื” ื ืชืžืš). ื–ื”
ืคื•ืจืžื˜ ื”ืžืฉืžืฉ ืืช ืžืืคืจ ื”ื‘ืื’ื™ื ืฉืœ DBX ื‘ืžืขืจื›ื•ืช IBM RS/6000.

-gxcoff+
ื”ืคืง ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืคื•ืจืžื˜ XCOFF (ืื ื–ื” ื ืชืžืš), ื‘ืืžืฆืขื•ืช GNU
ื”ืจื—ื‘ื•ืช ืžื•ื‘ื ื•ืช ืจืง ืขืœ ื™ื“ื™ ืžืืชืจ ื”ื‘ืื’ื™ื ืฉืœ GNU (GDB). ื”ืฉื™ืžื•ืฉ ื‘ื”ืจื—ื‘ื•ืช ืืœื• ื”ื•ื
ืขืœื•ืœ ืœื’ืจื•ื ืœืื•ืชื™ ื‘ืื’ื™ื ืื—ืจื™ื ืœืงืจื•ืก ืื• ืœืกืจื‘ ืœืงืจื•ื ืืช ื”ืชื•ื›ื ื™ืช, ื•ืขืœื•ืœ ืœื’ืจื•ื
ืืกืžื‘ืœื™ื ืื—ืจื™ื ืžืœื‘ื“ ื”-GNU assembler (GAS) ื™ื™ื›ืฉืœื• ืขื ืฉื’ื™ืื”.

-ื’ืžื“-ื’ืจืกื”
ื”ืคืง ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืคื•ืจืžื˜ DWARF (ืื ื–ื” ื ืชืžืš). ื”ืขืจืš ืฉืœ
ื’ืจืกื” ื™ื›ื•ืœ ืœื”ื™ื•ืช 2, 3 ืื• 4; ื’ืจืกืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืจื•ื‘ ื”ื™ืขื“ื™ื ื”ื™ื 4.

ืฉื™ื ืœื‘ ืฉืขื DWARF ื’ืจืกื” 2, ื—ืœืง ืžื”ื™ืฆื™ืื•ืช ื“ื•ืจืฉื•ืช ื•ืžืฉืชืžืฉื•ืช ืชืžื™ื“ ื‘ื›ืžื” ื™ืฆื™ืื•ืช ืฉืื™ื ืŸ ืžืชื ื’ืฉื•ืช
ื”ืจื—ื‘ื•ืช DWARF 3 ื‘ืฉื•ืœื—ื ื•ืช ื”ื”ืชืคืจืงื•ืช.

ื’ืจืกื” 4 ืขืฉื•ื™ื” ืœื“ืจื•ืฉ GDB 7.0 ื• -fvar-tracking-assignments ืœืชื•ืขืœืช ืžื™ืจื‘ื™ืช.

-grecord-gcc-ืžืชื’ื™ื
ืžืชื’ ื–ื” ื’ื•ืจื ืœืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื”ืžืฉืžืฉื•ืช ืœื”ืคืขืœืช ื”ืžื”ื“ืจ ืฉืขืœื•ืœ
ืœื”ืฉืคื™ืข ืขืœ ื™ืฆื™ืจืช ื”ืงื•ื“ ืฉื™ืฉ ืœืฆืจืฃ ืœืชื›ื•ื ื” DW_AT_producer ื‘-DWARF
ืžื™ื“ืข ื‘ืื’ื™ื. ื”ืืคืฉืจื•ื™ื•ืช ืžืฉื•ืจืฉืจื•ืช ืขื ืจื•ื•ื—ื™ื ื”ืžืคืจื™ื“ื™ื ื‘ื™ื ื™ื”ืŸ
ืื—ื“ ืืช ื”ืฉื ื™ ื•ืžื’ืจืกืช ื”ืžื”ื“ืจ. ืจืื” ื’ื -frecord-gcc-ืžืชื’ื™ื ื‘ืฉื‘ื™ืœ ืžื™ืฉื”ื• ืื—ืจ
ื“ืจืš ืœืื—ืกืŸ ืืคืฉืจื•ื™ื•ืช ืžื”ื“ืจ ื‘ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-gno-record-gcc-switches
ืืกื•ืจ ืœื”ื•ืกื™ืฃ ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ืคืงื•ื“ื” ืœืชื›ื•ื ื” DW_AT_producer ื‘-DWARF
ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื.

-gstrict-ื’ืžื“
ืืกื•ืจ ืœื”ืฉืชืžืฉ ื‘ื”ืจื—ื‘ื•ืช ืฉืœ ื’ืจืกืช DWARF ืกื˜ื ื“ืจื˜ื™ืช ืžืื•ื—ืจืช ื™ื•ืชืจ ืžื–ื• ืฉื ื‘ื—ืจื” ืขื
-ื’ืžื“-ื’ืจืกื”. ื‘ืจื•ื‘ ื”ืžื˜ืจื•ืช ื‘ืืžืฆืขื•ืช ื”ืจื—ื‘ื•ืช DWARF ืฉืื™ื ืŸ ืžืชื ื’ืฉื•ืช ืžืžืื•ื—ืจ ื™ื•ืชืจ
ื’ืจืกืื•ืช ืกื˜ื ื“ืจื˜ื™ื•ืช ืžื•ืชืจื•ืช.

-ื ื•-ืงืคื“ื ื™ืช-ื’ืžื“
ืืคืฉืจ ืœื”ืฉืชืžืฉ ื‘ื”ืจื—ื‘ื•ืช ืฉืœ ื’ืจืกืช DWARF ืกื˜ื ื“ืจื˜ื™ืช ืžืื•ื—ืจืช ื™ื•ืชืจ ืžื–ื• ืฉื ื‘ื—ืจื” ืขื
-ื’ืžื“-ื’ืจืกื”.

-gvms
ื”ืคืง ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืคื•ืจืžื˜ ื ื™ืคื•ื™ ื‘ืื’ื™ื Alpha/VMS (ืื ื–ื” ื ืชืžืš). ื–ึถื”
ื”ื•ื ื”ืคื•ืจืžื˜ ืฉื‘ื• ืžืฉืชืžืฉ DEBUG ื‘ืžืขืจื›ื•ืช Alpha/VMS.

-gืจึธืžึธื”
-ggdbืจึธืžึธื”
-gstabsืจึธืžึธื”
-ื’ืงื•ืฃืจึธืžึธื”
-gxcoffืจึธืžึธื”
-gvmsืจึธืžึธื”
ื‘ืงืฉ ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ื•ื’ื ื”ืฉืชืžืฉ ืจึธืžึธื” ื›ื“ื™ ืœืฆื™ื™ืŸ ื›ืžื” ืžื™ื“ืข. ื”
ืจืžืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 2.

ืจืžื” 0 ืื™ื ื” ืžื™ื™ืฆืจืช ื›ืœืœ ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื. ืœื›ืŸ, -ื’0 ืฉื•ืœืœ -g.

ืจืžื” 1 ืžื™ื™ืฆืจืช ืžื™ื“ืข ืžื™ื ื™ืžืœื™, ืžืกืคื™ืง ืœื‘ื™ืฆื•ืข ืžืขืงื‘ื™ื ืœืื—ื•ืจ ื‘ื—ืœืงื™ื ืฉืœ
ืชื•ื›ื ื™ืช ืฉืื™ื ืš ืžืชื›ื ืŸ ืœื ืคื•ืช ื‘ืื’ื™ื. ื–ื” ื›ื•ืœืœ ืชื™ืื•ืจื™ื ืฉืœ ืคื•ื ืงืฆื™ื•ืช ื•
ืžืฉืชื ื™ื ื—ื™ืฆื•ื ื™ื™ื, ืืš ืœืœื ืžื™ื“ืข ืขืœ ืžืฉืชื ื™ื ืžืงื•ืžื™ื™ื ื•ืœืœื ืžืกืคืจื™ ืฉื•ืจื•ืช.

ืจืžื” 3 ื›ื•ืœืœืช ืžื™ื“ืข ื ื•ืกืฃ, ื›ื’ื•ืŸ ื›ืœ ื”ื’ื“ืจื•ืช ื”ืžืืงืจื• ื”ืงื™ื™ืžื•ืช ื‘-
ืชื›ื ื™ืช. ื›ืžื” ืžืื’ืจื™ ื‘ืื’ื™ื ืชื•ืžื›ื™ื ื‘ื”ืจื—ื‘ืช ืžืืงืจื• ื‘ืขืช ื”ืฉื™ืžื•ืฉ -ื’3.

-gdwarf-2 ืื™ื ื• ืžืงื‘ืœ ืจืžืช ื ื™ืคื•ื™ ื‘ืื’ื™ื ืžืฉื•ืจืฉืจืช, ืžื›ื™ื•ื•ืŸ ืฉ-GCC ื ื”ื’ ืœืชืžื•ืš ื‘-
ืื•ึนืคึผึฐืฆึดื™ึธื” -ื’ืžื“ ืฉื ื•ืขื“ ืœื™ืฆื•ืจ ืžื™ื“ืข ื‘ืื’ื™ื ื‘ื’ืจืกื” 1 ืฉืœ ื”-DWARF
ืคื•ืจืžื˜ (ืฉืฉื•ื ื” ืžืื•ื“ ืžื’ืจืกื” 2), ื•ื–ื” ื”ื™ื” ืžื‘ืœื‘ืœ ืžื“ื™.
ืคื•ืจืžื˜ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืžื™ื•ืฉืŸ ืžื–ืžืŸ, ืืš ืœื ื ื™ืชืŸ ืœืฉื ื•ืช ืืช ื”ืืคืฉืจื•ืช ื›ืขืช. ื‘ืžืงื•ื ืœื”ืฉืชืžืฉ
ื ื•ืกืฃ -gืจึธืžึธื” ืืคืฉืจื•ืช ืœืฉื ื•ืช ืืช ืจืžืช ื ื™ืคื•ื™ ื”ื‘ืื’ื™ื ืขื‘ื•ืจ DWARF.

-gtoggle
ื›ื‘ื” ืืช ื™ืฆื™ืจืช ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื, ืื ื”ืฉืืจืช ืืคืฉืจื•ืช ื–ื• ื™ื•ืฆืจืช ืื•ืชื•, ืื• ื›ื‘ื” ืื•ืชื”
ืขืœ ื‘ืจืžื” 2 ืื—ืจืช. ื”ืžื™ืงื•ื ืฉืœ ื”ื˜ื™ืขื•ืŸ ื”ื–ื” ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื” ืœื
ื—ื•ึนืžึถืจ; ื”ื•ื ื ื›ื ืก ืœืชื•ืงืฃ ืœืื—ืจ ืขื™ื‘ื•ื“ ื›ืœ ื”ืืคืฉืจื•ื™ื•ืช ื”ืื—ืจื•ืช, ื•ื”ื•ื ืขื•ืฉื” ื–ืืช ื‘ืœื‘ื“
ืคืขื ืื—ืช, ืœื ืžืฉื ื” ื›ืžื” ืคืขืžื™ื ื”ื™ื ื ื™ืชื ืช. ื–ื” ืžื™ื•ืขื“ ื‘ืขื™ืงืจ ืœืฉื™ืžื•ืฉ ืขื
-fcompare-debug.

-fsanitize=ื›ืชื•ื‘ืช
ื”ืคืขืœ ืืช AddressSanitizer, ื’ืœืื™ ืฉื’ื™ืื•ืช ื–ื™ื›ืจื•ืŸ ืžื”ื™ืจ. ื”ื•ืจืื•ืช ื’ื™ืฉื” ืœื–ื™ื›ืจื•ืŸ
ื™ื”ื™ื” ืžื›ืฉื™ืจ ื›ื“ื™ ืœื–ื”ื•ืช ื‘ืื’ื™ื ืžื—ื•ืฅ ืœืชื—ื•ื ื•ื‘ืื’ื™ื ืœืื—ืจ ืฉื™ืžื•ืฉ ืœืœื ืชืฉืœื•ื. ืœึดืจึฐืื•ึนืช
<http://code.google.com/p/address-sanitizer/> ืœืคืจื˜ื™ื ื ื•ืกืคื™ื.

-fsanitize=ื—ื•ื˜
ื”ืคืขืœ ืืช ThreadSanitizer, ื’ืœืื™ ืžื™ืจื•ืฅ ื ืชื•ื ื™ื ืžื”ื™ืจ. ื”ื•ืจืื•ืช ื’ื™ืฉื” ืœื–ื™ื›ืจื•ืŸ ื™ื”ื™ื•
ืžื›ืฉื™ืจ ืœื–ื™ื”ื•ื™ ื‘ืื’ื™ื ื‘ืžื™ืจื•ืฅ ื ืชื•ื ื™ื. ืœึดืจึฐืื•ึนืช
<http://code.google.com/p/data-race-test/wiki/ThreadSanitizer> ืœืคืจื˜ื™ื ื ื•ืกืคื™ื.

-fdump-final-inss[=ืคื™ืœื”]
ื–ืจื•ืง ืืช ื”ื™ื™ืฆื•ื’ ื”ืคื ื™ืžื™ ื”ืกื•ืคื™ (RTL) ืœ ืคื™ืœื”. ืื ื”ืืจื’ื•ืžื ื˜ ื”ืื•ืคืฆื™ื•ื ืœื™ ื”ื•ื
ื”ื•ืฉืžื˜ (ืื• ืื ืคื™ืœื” ื”ื•ื "."), ืฉื ืงื•ื‘ืฅ ื”-dump ื ืงื‘ืข ืขืœ ื™ื“ื™ ื”ื•ืกืคื”
".gkd" ืœืฉื ืงื•ื‘ืฅ ื”ืคืœื˜ ื”ืงื•ืžืคื™ืœืฆื™ื”.

-fcompare-debug[=ื‘ื•ื—ืจ]
ืื ืœื ืžืชืจื—ืฉืช ืฉื’ื™ืื” ื‘ืžื”ืœืš ื”ื”ื™ื“ื•ืจ, ื”ืคืขืœ ืืช ื”ืžื”ื“ืจ ืคืขื ืฉื ื™ื™ื”, ื•ื”ื•ืกืฃ ื‘ื•ื—ืจ ื•
-fcompare-debug-second ืœื˜ื™ืขื•ื ื™ื ืฉื”ื•ืขื‘ืจื• ืœืื•ืกืฃ ื”ืฉื ื™. ืœื–ืจื•ืง ืืช
ื™ื™ืฆื•ื’ ืคื ื™ืžื™ ืกื•ืคื™ ื‘ืฉื ื™ ื”ืงื•ืคื™ืœืฆื™ื•ืช, ื•ื”ื“ืคื™ืก ืฉื’ื™ืื” ืื โ€‹โ€‹ื”ื ืฉื•ื ื™ื.

ืื ืกื™ืžืŸ ื”ืฉื•ื•ื™ื•ืŸ ืžื•ืฉืžื˜, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ -gtoggle ืžืฉืžืฉ.

ืžืฉืชื ื” ื”ืกื‘ื™ื‘ื” GCC_COMPARE_DEBUG, ืื ืžื•ื’ื“ืจ, ืœื ืจื™ืง ื•ืœื ืืคืก,
ืžืืคืฉืจ ื‘ืื•ืคืŸ ืžืจื•ืžื– -fcompare-debug. ืื GCC_COMPARE_DEBUG ืžื•ื’ื“ืจ ืœืžื—ืจื•ื–ืช
ืžืชื—ื™ืœ ืขื ืžืงืฃ, ื•ืื– ื”ื•ื ืžืฉืžืฉ ืขื‘ื•ืจ ื‘ื•ื—ืจ, ืื—ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ -gtoggle is
ืžึฐืฉืื•ึผืžึธืฉื.

-fcompare-debug=, ืขื ืกื™ืžืŸ ื”ืฉื•ื•ื™ื•ืŸ ืื‘ืœ ื‘ืœื™ ื‘ื•ื—ืจ, ืฉื•ื•ื” ืœ
-fno-compare-debug, ืืฉืจ ืžืฉื‘ื™ืช ืืช ื”ืฉืœื›ืช ื”ื™ื™ืฆื•ื’ ื”ืกื•ืคื™ ื•ืืช
ืื•ืกืฃ ืฉื ื™, ืžื•ื ืข ืืคื™ืœื• GCC_COMPARE_DEBUG ืžื›ื ื™ืกื” ืœืชื•ืงืฃ.

ื›ื“ื™ ืœื•ื•ื“ื ื›ื™ืกื•ื™ ืžืœื ื‘ืžื”ืœืš -fcompare-debug ื‘ื“ื™ืงื”, ืกื˜ GCC_COMPARE_DEBUG ืœื•ืžืจ
-ืคืจืคืจ-ื“ื‘ื•ื’-ืœื ืžืจื•ืชืง, ืฉ-GCC ื“ื•ื—ื” ื›ืืคืฉืจื•ืช ืœื ื—ื•ืงื™ืช ื‘ื›ืœ ืชื•ืงืฃ
ืงื•ืžืคื™ืœืฆื™ื” (ื‘ืžืงื•ื ืขื™ื‘ื•ื“ ืžืงื“ื™ื, ื”ืจื›ื‘ื” ืื• ืงื™ืฉื•ืจ). ื›ื“ื™ ืœืงื‘ืœ ืจืง ืื–ื”ืจื”,
ื”ืฆื‘ื” GCC_COMPARE_DEBUG ืœ -w%n-fcompare-debug ืœึนื ื ืขืงืจ ื–ื” ืžื” ืฉืืขืฉื”.

-fcompare-debug-second
ืืคืฉืจื•ืช ื–ื• ืžื•ืขื‘ืจืช ื‘ืื•ืคืŸ ืžืจื•ืžื– ืœืžื”ื“ืจ ืขื‘ื•ืจ ื”ื”ื™ื“ื•ืจ ื”ืฉื ื™ ื”ืžื‘ื•ืงืฉ
by -fcompare-debug, ื™ื—ื“ ืขื ืืคืฉืจื•ื™ื•ืช ืœื”ืฉืชื™ืง ืื–ื”ืจื•ืช, ื•ื”ืฉืžื˜ืช ืืคืฉืจื•ื™ื•ืช ืื—ืจื•ืช
ืฉื™ื’ืจื•ื ืœืคืœื˜ื™ื ืฉืœ ืžื”ื“ืจ ืชื•ืคืขืช ืœื•ื•ืื™ ืœืงื‘ืฆื™ื ืื• ืœืคืœื˜ ื”ืกื˜ื ื“ืจื˜ื™.
ืฉืžื ืฉืœ ืงื‘ืฆื™ dump ื•ืงื‘ืฆื™ื ื–ืžื ื™ื™ื ืฉืžื•ืจื™ื ืžืฉืชื ื™ื ื›ืš ืฉื™ื›ื™ืœื• ืืช ื”-".gk"
ื”ืจื—ื‘ื” ื ื•ืกืคืช ื‘ืžื”ืœืš ื”ืงื•ืžืคื™ืœืฆื™ื” ื”ืฉื ื™ื™ื”, ื›ื“ื™ ืœืžื ื•ืข ื”ื—ืœืคืช ืืœื”
ืฉื ื•ืฆืจ ืขืœ ื™ื“ื™ ื”ืจืืฉื•ืŸ.

ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžื•ืขื‘ืจืช ืœื“ืจื™ื™ื‘ืจ ื”ืžื”ื“ืจ, ื”ื™ื ื’ื•ืจืžืช ืœ- ืจืืฉื•ืŸ ืงื•ืžืคื™ืœืฆื™ื” ืœ
ืœื“ืœื’ ืขืœื™ื•, ืžื” ืฉื”ื•ืคืš ืื•ืชื• ืœืฉื™ืžื•ืฉื™ ืขื‘ื•ืจ ืžืขื˜ ืคืจื˜ ืœื ื™ืคื•ื™ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ.

-ืคืœื™ืžื™ื ืื˜-ื’ืžื“2-ื“ื•ืคื™ื
ื“ื—ื•ืก ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื ืฉืœ DWARF 2 ืขืœ ื™ื“ื™ ื‘ื™ื˜ื•ืœ ืžื™ื“ืข ืžืฉื•ื›ืคืœ ืื•ื“ื•ืช
ื›ืœ ืกืžืœ. ืืคืฉืจื•ืช ื–ื• ื”ื’ื™ื•ื ื™ืช ืจืง ื‘ืขืช ื™ืฆื™ืจืช ืื™ืชื•ืจ ื‘ืื’ื™ื ืฉืœ DWARF 2
ืžื™ื“ืข ืขื -gdwarf-2.

-femit-struct-debug-baseonly
ืฉืœื— ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื ืขื‘ื•ืจ ื˜ื™ืคื•ืกื™ื ื“ืžื•ื™ื™ struct ืจืง ื›ืืฉืจ ืฉื ื”ื‘ืกื™ืก ืฉืœ ื”-
ืงื•ื‘ืฅ ืžืงื•ืจ ื”ืงื•ืžืคื™ืœืฆื™ื” ืžืชืื™ื ืœืฉื ื”ื‘ืกื™ืก ืฉืœ ื”ืงื•ื‘ืฅ ืฉื‘ื• ืžื•ื’ื“ืจ ื”-struct.

ืืคืฉืจื•ืช ื–ื• ืžืงื˜ื™ื ื” ื‘ืื•ืคืŸ ืžืฉืžืขื•ืชื™ ืืช ื’ื•ื“ืœ ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื, ืืš ื‘-
ืื•ื‘ื“ืŸ ืคื•ื˜ื ืฆื™ืืœื™ ืžืฉืžืขื•ืชื™ ื‘ืžื™ื“ืข ื”ืกื•ื’ ืœืžืืชืจ ื”ื‘ืื’ื™ื. ืœึดืจึฐืื•ึนืช
-ืžื™ื˜-ืกื˜ืจื•ืง-ื“ื‘ื•ืง ืžื•ืคื—ืช ืœืื•ืคืฆื™ื” ืคื—ื•ืช ืื’ืจืกื™ื‘ื™ืช. ืœึดืจึฐืื•ึนืช
-femit-struct-debug-detailed ืœืฉืœื™ื˜ื” ืžืคื•ืจื˜ืช ื™ื•ืชืจ.

ืืคืฉืจื•ืช ื–ื• ืคื•ืขืœืช ืจืง ืขื DWARF 2.

-ืžื™ื˜-ืกื˜ืจื•ืง-ื“ื‘ื•ืง ืžื•ืคื—ืช
ืฉืœื— ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื ืขื‘ื•ืจ ื˜ื™ืคื•ืกื™ื ื“ืžื•ื™ื™ struct ืจืง ื›ืืฉืจ ืฉื ื”ื‘ืกื™ืก ืฉืœ ื”-
ืงื•ื‘ืฅ ืžืงื•ืจ ื”ืงื•ืžืคื™ืœืฆื™ื” ืžืชืื™ื ืœืฉื ื”ื‘ืกื™ืก ืฉืœ ื”ืงื•ื‘ืฅ ืฉื‘ื• ื”ืกื•ื’ ืžื•ื’ื“ืจ,
ืืœื ืื ื”-struct ื”ื•ื ืชื‘ื ื™ืช ืื• ืžื•ื’ื“ืจ ื‘ื›ื•ืชืจืช ืžืขืจื›ืช.

ืืคืฉืจื•ืช ื–ื• ืžืคื—ื™ืชื” ื‘ืื•ืคืŸ ืžืฉืžืขื•ืชื™ ืืช ื’ื•ื“ืœ ื”ืžื™ื“ืข ื‘ืื’ื™ื, ืขื ื—ืœืง
ืื•ื‘ื“ืŸ ืคื•ื˜ื ืฆื™ืืœื™ ื‘ืžื™ื“ืข ืขืœ ืกื•ื’ ืœืžืืชืจ ื”ื‘ืื’ื™ื. ืœึดืจึฐืื•ึนืช -femit-struct-debug-baseonly
ืœืื•ืคืฆื™ื” ืื’ืจืกื™ื‘ื™ืช ื™ื•ืชืจ. ืœึดืจึฐืื•ึนืช -femit-struct-debug-detailed ืœืคืจื˜ื™ื ื ื•ืกืคื™ื
ืฉืœื™ื˜ื”.

ืืคืฉืจื•ืช ื–ื• ืคื•ืขืœืช ืจืง ืขื DWARF 2.

-femit-struct-debug-detailed[=ืžืคืจื˜-ืจืฉื™ืžืช]
ืฆื™ื™ืŸ ืืช ืกื•ื’ื™ ื”ืžื‘ื ื” ืฉืขื‘ื•ืจื ื”ืžื”ื“ืจ ืžื™ื™ืฆืจ ืžื™ื“ืข ื‘ืื’ื™ื. ื”
ื”ื›ื•ื•ื ื” ื”ื™ื ืœื”ืคื—ื™ืช ืžื™ื“ืข ื›ืคื•ืœ ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ื‘ื™ืŸ ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ืฉื•ื ื™ื
ื‘ืชื•ืš ืื•ืชื” ืชื•ื›ื ื™ืช.

ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื’ืจืกื” ืžืคื•ืจื˜ืช ืฉืœ -ืžื™ื˜-ืกื˜ืจื•ืง-ื“ื‘ื•ืง ืžื•ืคื—ืช ื•
-femit-struct-debug-baseonly, ื”ืžืฉืจืช ืืช ืจื•ื‘ ื”ืฆืจื›ื™ื.

ืœืžืคืจื˜ ื™ืฉ ืืช ื”ืชื—ื‘ื™ืจ[ื“ื™ืจ:|ind:][ord:|ื–'ืื ืจ:](ื›ืœ|sys|ื‘ืกื™ืก|ืืฃ ืœื ืื—ื“)

ื”ืžื™ืœื” ื”ืจืืฉื•ื ื” ื”ืื•ืคืฆื™ื•ื ืœื™ืช ืžื’ื‘ื™ืœื” ืืช ื”ืžืคืจื˜ ืœืžื‘ื ื™ื ื”ืžืฉืžืฉื™ื ื™ืฉื™ืจื•ืช
(ื“ื™ืจ:) ืื• ื‘ืฉื™ืžื•ืฉ ืขืงื™ืฃ (ind:). ืกื•ื’ struct ืžืฉืžืฉ ื™ืฉื™ืจื•ืช ื›ืืฉืจ ื”ื•ื ื”ื˜ื™ืคื•ืก
ืฉืœ ืžืฉืชื ื”, ืื™ื‘ืจ. ืฉื™ืžื•ืฉื™ื ืขืงื™ืคื™ื ื ื•ืฆืจื™ื ื‘ืืžืฆืขื•ืช ืžืฆื‘ื™ืขื™ื ืœืžื‘ื ื™ื. ื–ื”,
ื›ืืฉืจ ื”ืฉื™ืžื•ืฉ ื‘ืžื‘ื ื” ืœื ืฉืœื ืชืงืฃ, ื”ืฉื™ืžื•ืฉ ื”ื•ื ืขืงื™ืฃ. ื“ื•ื’ืžื” ื”ื™ื ืžื‘ื ื”
ืื—ื“ ื™ืฉื™ืจ; ืžื‘ื ื” ืฉืชื™ื™ื * ืขืงื™ืฃ;.

ื”ืžื™ืœื” ื”ืฉื ื™ื™ื” ื”ืื•ืคืฆื™ื•ื ืœื™ืช ืžื’ื‘ื™ืœื” ืืช ื”ืžืคืจื˜ ืœืžื‘ื ื™ื ืจื’ื™ืœื™ื (ord:) ืื•
ืžื‘ื ื™ื ื’ื ืจื™ื™ื (ื–'ืื ืจ:). ืžื‘ื ื™ื ื’ื ืจื™ื™ื ืžืขื˜ ืžืกื•ื‘ื›ื™ื ืœื”ืกื‘ืจ. ืขื‘ื•ืจ C++,
ืืœื• ื”ืŸ ื”ืชืžื—ื•ื™ื•ืช ืœื ืžืคื•ืจืฉื•ืช ืฉืœ ืžื—ืœืงื•ืช ืชื‘ื ื™ืช, ืื• ืžื—ืœืงื•ืช ืฉืื™ื ืŸ ืชื‘ื ื™ืชื™ื•ืช
ื‘ืชื•ืš ื”ืืžื•ืจ ืœืขื™ืœ. ืœืฉืคื•ืช ืชื›ื ื•ืช ืื—ืจื•ืช ื™ืฉ ื’ื ืจื™ื•ืช, ืื‘ืœ
-femit-struct-debug-detailed ืขื“ื™ื™ืŸ ืœื ืžื™ื™ืฉื ืื•ืชื.

ื”ืžื™ืœื” ื”ืฉืœื™ืฉื™ืช ืžืฆื™ื™ื ืช ืืช ืงื‘ืฆื™ ื”ืžืงื•ืจ ืขื‘ื•ืจ ืื•ืชื ืžื‘ื ื™ื ืฉืขื‘ื•ืจื ื”ืžื”ื“ืจ
ืฆืจื™ืš ืœืคืœื•ื˜ ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื. ื”ืขืจื›ื™ื ืืฃ ืœื ืื—ื“ ื• ื›ืœ ื™ืฉ ืžืฉืžืขื•ืช ื ื•ืจืžืœื™ืช. ื”
ืขืจืš ื‘ืกื™ืก ืคื™ืจื•ืฉื• ืฉื‘ืกื™ืก ื”ืฉื ืฉืœ ื”ืงื•ื‘ืฅ ืฉื‘ื• ื”ืฆื”ืจืช ื”ืกื•ื’
appears ื—ื™ื™ื‘ ืœื”ืชืื™ื ืœื‘ืกื™ืก ื”ืฉื ืฉืœ ืงื•ื‘ืฅ ื”ื”ื™ื“ื•ืจ ื”ืจืืฉื™. ื‘ืคื•ืขืœ,
ื–ื” ืื•ืžืจ ืฉื‘ืžื”ืœืš ื”ืงื•ืžืคื™ืœืฆื™ื” foo.c, ื ื•ืฆืจ ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืขื‘ื•ืจ ื˜ื™ืคื•ืกื™ื
ื”ื•ืฆื”ืจ ื‘ืชื™ืง ื–ื” ื• foo.h, ืืš ืœื ืงื•ื‘ืฆื™ ื›ื•ืชืจื•ืช ืื—ืจื™ื. ื”ืขืจืš sys ืื•ืžืจ
ืกื•ื’ื™ื ืืœื” ืžืกืคืงื™ื ื‘ืกื™ืก ืื• ืžื•ืฆื”ืจ ื‘ื›ื•ืชืจื•ืช ื”ืžืขืจื›ืช ืื• ื”ืžื”ื“ืจ.

ื™ื™ืชื›ืŸ ืฉื™ื”ื™ื” ืขืœื™ืš ืœื”ืชื ืกื•ืช ื›ื“ื™ ืœืงื‘ื•ืข ืืช ื”ื”ื’ื“ืจื•ืช ื”ื˜ื•ื‘ื•ืช ื‘ื™ื•ืชืจ ืขื‘ื•ืจ ื”ื™ื™ืฉื•ื ืฉืœืš.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -femit-struct-debug-detailed=ื”ื›ืœ.

ืืคืฉืจื•ืช ื–ื• ืคื•ืขืœืช ืจืง ืขื DWARF 2.

-fno-merge-debug-strings
ื›ื•ื•ืŸ ืืช ื”ืžืงืฉืจ ืœื ืœืžื–ื’ ื™ื—ื“ ืžื—ืจื•ื–ื•ืช ื‘ืžื™ื“ืข ื‘ืื’ื™ื
ื–ื”ื™ื ื‘ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ื™ื ืฉื•ื ื™ื. ืžื™ื–ื•ื’ ืื™ื ื• ื ืชืžืš ืขืœ ื™ื“ื™ ื›ืœ ื”ืžืจื›ื™ื‘ื™ื ืื•
ืงื™ืฉื•ืจื™ื. ืžื™ื–ื•ื’ ืžืงื˜ื™ืŸ ืืช ื’ื•ื“ืœ ืžื™ื“ืข ื ื™ืคื•ื™ ื”ื‘ืื’ื™ื ื‘ืงื•ื‘ืฅ ื”ืคืœื˜ ื‘
ื”ืขืœื•ืช ืฉืœ ื”ื’ื“ืœืช ื–ืžืŸ ืขื™ื‘ื•ื“ ืงื™ืฉื•ืจื™ื. ื”ืžื™ื–ื•ื’ ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-fdebug-prefix-map=ื–ืงืŸ=ื—ื“ืฉ
ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืงื‘ืฆื™ื ื‘ืกืคืจื™ื™ื” ื–ืงืŸ, ื”ืงืœื˜ ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ื”ืžืชืืจ ืื•ืชื ื›
in ื—ื“ืฉ ื‘ืžืงื•ื.

-fno-dwarf2-cfi-asm
ืฉืœื— ืžื™ื“ืข ืขืœ ืฉื—ืจื•ืจ DWARF 2 ื›ืงื˜ืข ".eh_frame" ืฉื ื•ืฆืจ ืžื”ืžื”ื“ืจ ื‘ืžืงื•ื ืœื”ืฉืชืžืฉ
ื”ื ื—ื™ื•ืช GAS ".cfi_*".

-p ืฆื•ืจ ืงื•ื“ ื ื•ืกืฃ ื›ื“ื™ ืœื›ืชื•ื‘ ืžื™ื“ืข ืคืจื•ืคื™ืœ ืžืชืื™ื ืœืชื•ื›ื ื™ืช ื”ื ื™ืชื•ื—
ืคืจื•ืค '. ืขืœื™ืš ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื‘ืขืช ื”ื™ื“ื•ืจ ืฉืœ ืงื•ื‘ืฆื™ ื”ืžืงื•ืจ ืฉืขืœื™ื”ื ืืชื” ืจื•ืฆื” ื ืชื•ื ื™ื,
ื•ืืชื” ื—ื™ื™ื‘ ืœื”ืฉืชืžืฉ ื‘ื• ื’ื ื‘ืขืช ืงื™ืฉื•ืจ.

-ืขืžื•ื“ ืฆื•ืจ ืงื•ื“ ื ื•ืกืฃ ื›ื“ื™ ืœื›ืชื•ื‘ ืžื™ื“ืข ืคืจื•ืคื™ืœ ืžืชืื™ื ืœืชื•ื›ื ื™ืช ื”ื ื™ืชื•ื—
gprof. ืขืœื™ืš ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื‘ืขืช ื”ื™ื“ื•ืจ ืฉืœ ืงื•ื‘ืฆื™ ื”ืžืงื•ืจ ืฉืขืœื™ื”ื ืืชื” ืจื•ืฆื” ื ืชื•ื ื™ื,
ื•ืืชื” ื—ื™ื™ื‘ ืœื”ืฉืชืžืฉ ื‘ื• ื’ื ื‘ืขืช ืงื™ืฉื•ืจ.

-Q ื’ื•ืจื ืœืžื”ื“ืจ ืœื”ื“ืคื™ืก ื›ืœ ืฉื ืคื•ื ืงืฆื™ื” ืชื•ืš ื›ื“ื™ ื”ื™ื“ื•ืจ, ื•ืœื”ื“ืคื™ืก ื—ืœืง
ื ืชื•ื ื™ื ืกื˜ื˜ื™ืกื˜ื™ื™ื ืขืœ ื›ืœ ืžืขื‘ืจ ื›ืฉื”ื•ื ืžืกืชื™ื™ื.

-ftime-ื“ื•ื—
ื’ื•ืจื ืœืžื”ื“ืจ ืœื”ื“ืคื™ืก ื›ืžื” ืกื˜ื˜ื™ืกื˜ื™ืงื•ืช ืœื’ื‘ื™ ื”ื–ืžืŸ ืฉืฆื•ืจืš ื›ืœ ืžืขื‘ืจ ื›ืืฉืจ ื”ื•ื
ืžืกื™ื™ื.

-fmem-ื“ื•ื—
ื’ื•ืจื ืœืžื”ื“ืจ ืœื”ื“ืคื™ืก ื›ืžื” ืกื˜ื˜ื™ืกื˜ื™ืงื•ืช ืœื’ื‘ื™ ื”ืงืฆืืช ื–ื™ื›ืจื•ืŸ ืงื‘ื•ืขื” ื›ืืฉืจ ื”ื•ื
ืžืกื™ื™ื.

-fmem-report-wpa
ื’ื•ืจื ืœืžื”ื“ืจ ืœื”ื“ืคื™ืก ื›ืžื” ืกื˜ื˜ื™ืกื˜ื™ืงื•ืช ืœื’ื‘ื™ ื”ืงืฆืืช ื–ื™ื›ืจื•ืŸ ืงื‘ื•ืขื” ืขื‘ื•ืจ ื”-WPA
ืฉืœื‘ ื‘ืœื‘ื“.

-fpre-ipa-mem-report
-fpost-ipa-mem-report
ื’ื•ืจื ืœืžื”ื“ืจ ืœื”ื“ืคื™ืก ื›ืžื” ืกื˜ื˜ื™ืกื˜ื™ืงื•ืช ืœื’ื‘ื™ ื”ืงืฆืืช ื–ื™ื›ืจื•ืŸ ืงื‘ื•ืขื” ืœืคื ื™ ืื•
ืœืื—ืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื‘ื™ืŸ-ื”ืœื™ื›ื™ื.

-fprofile-report
ื’ื•ืจื ืœืžื”ื“ืจ ืœื”ื“ืคื™ืก ื›ืžื” ืกื˜ื˜ื™ืกื˜ื™ืงื•ืช ืœื’ื‘ื™ ืขืงื‘ื™ื•ืช ืฉืœ ื”ืคืจื•ืคื™ืœ (ื”ืžืฉื•ืขืจ).
ื•ื”ืฉืคืขื” ืฉืœ ืžืขื‘ืจื™ื ื‘ื•ื“ื“ื™ื.

-ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื”
ื”ื•ืคืš ืืช ืขืจื™ืžืช ื”ืคืœื˜ ืฉืœ ื”ืžื”ื“ืจ ืœืžื™ื“ืข ืขืœ ื”ืฉื™ืžื•ืฉ ืขื‘ื•ืจ ื”ืชื•ื›ื ื™ืช, ื‘ืคื•ื ืงืฆื™ื” ืœื›ืœ ืคื•ื ืงืฆื™ื”
ื‘ึผึธืกึดื™ืก. ืฉื ื”ืงื•ื‘ืฅ ืขื‘ื•ืจ ื”-dump ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .su ืืœ ื” ืฉื ืขื–ืจ. ืฉื ืขื–ืจ is
ื ื•ืฆืจ ืžื”ืฉื ืฉืœ ืงื•ื‘ืฅ ื”ืคืœื˜, ืื ืฆื•ื™ืŸ ื‘ืžืคื•ืจืฉ ื•ื”ื•ื ืื™ื ื• an
ืงื•ื‘ืฅ ื”ืคืขืœื”, ืื—ืจืช ื–ื” ืฉื ื”ื‘ืกื™ืก ืฉืœ ืงื•ื‘ืฅ ื”ืžืงื•ืจ. ืขืจืš ืžื•ืจื›ื‘ ืž
ืฉืœื•ืฉื” ืฉื“ื•ืช:

ยท ืฉื ื”ืคื•ื ืงืฆื™ื”.

ยท ืžืกืคืจ ื‘ืชื™ื.

ยท ืžื•ืงื“ืžื•ืช ืื—ื“ ืื• ื™ื•ืชืจ: "ืกื˜ื˜ื™", "ื“ื™ื ืžื™", "ืžื•ื’ื‘ืœ".

ื”ืžื•ืงื“ืžื•ืช "ืกื˜ื˜ื™" ืคื™ืจื•ืฉื• ืฉื”ืคื•ื ืงืฆื™ื” ืžื‘ืฆืขืช ืžื ื™ืคื•ืœืฆื™ื•ืช ืขืœ ื”ืขืจื™ืžื” ื‘ืื•ืคืŸ ืกื˜ื˜ื™: ื
ืžืกืคืจ ืงื‘ื•ืข ืฉืœ ื‘ืชื™ื ืžื•ืงืฆื™ื ืœืžืกื’ืจืช ื‘ื”ื–ื ืช ืคื•ื ืงืฆื™ื” ื•ืžืฉื•ื—ืจืจื™ื ื‘-
ื™ืฆื™ืื” ืžื”ืคื•ื ืงืฆื™ื”; ืื—ืจืช ืœื ื‘ื•ืฆืขื• ื”ืชืืžื•ืช ืขืจื™ืžื” ื‘ืคื•ื ืงืฆื™ื”. ื”ืฉื ื™
ื”ืฉื“ื” ื”ื•ื ื”ืžืกืคืจ ื”ืงื‘ื•ืข ื”ื–ื” ืฉืœ ื‘ืชื™ื.

ื”ืžื•ืงื“ืžื•ืช "ื“ื™ื ืžื™" ืคื™ืจื•ืฉื• ืฉื”ืคื•ื ืงืฆื™ื” ืžื‘ืฆืขืช ืžื ื™ืคื•ืœืฆื™ื•ืช ืขืœ ื”ืžื—ืกื ื™ืช ื‘ืื•ืคืŸ ื“ื™ื ืžื™: in
ื‘ื ื•ืกืฃ ืœื”ืงืฆืื” ื”ืกื˜ื˜ื™ืช ืฉืชื•ืืจื” ืœืขื™ืœ, ื”ืชืืžื•ืช ืžื—ืกื ื™ื•ืช ืžืชื‘ืฆืขื•ืช ื‘-
ื’ื•ืฃ ื”ืคื•ื ืงืฆื™ื”, ืœืžืฉืœ ืœื“ื—ื™ืคื”/ืคื•ืค ืืจื’ื•ืžื ื˜ื™ื ืกื‘ื™ื‘ ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื”. ืื ื”
ื’ื ื”-qualifier "bounded" ืงื™ื™ื, ื›ืžื•ืช ื”ื”ืชืืžื•ืช ื”ืœืœื• ืžื•ื’ื‘ืœืช
ื–ืžืŸ ืงื•ืžืคื™ืœืฆื™ื” ื•ื”ืฉื“ื” ื”ืฉื ื™ ื”ื•ื ื’ื‘ื•ืœ ืขืœื™ื•ืŸ ืฉืœ ื›ืžื•ืช ื”ืขืจื™ืžื” ื”ื›ื•ืœืœืช ื‘ืฉื™ืžื•ืฉ
ืœืคื™ ื”ืคื•ื ืงืฆื™ื”. ืื ื”ื•ื ืื™ื ื• ืงื™ื™ื, ื›ืžื•ืช ื”ื”ืชืืžื•ืช ื”ืœืœื• ืื™ื ื” ืžื•ื’ื‘ืœืช
ื‘ื–ืžืŸ ื”ืงื•ืžืคื™ืœืฆื™ื” ื•ื”ืฉื“ื” ื”ืฉื ื™ ืžื™ื™ืฆื’ ืจืง ืืช ื”ื—ืœืง ื”ืชื—ื•ื.

-fprofile-arcs
ื”ื•ืกืฃ ืงื•ื“ ื›ื“ื™ ืฉื”ืชื•ื›ื ื™ืช ืชื–ืจื•ื ืงืฉืชื•ืช ืžืฆื•ื™ื“ื™ื ื‘ืžื›ืฉื™ืจ. ื‘ืžื”ืœืš ื‘ื™ืฆื•ืข ื”ืชื•ื›ื ื™ืช
ืžืชืขื“ ื›ืžื” ืคืขืžื™ื ื›ืœ ืกื ื™ืฃ ื•ืงืจื™ืื” ืžื‘ื•ืฆืขื™ื ื•ื›ืžื” ืคืขืžื™ื ื”ื•ื ื ืœืงื—
ืื• ืžื—ื–ื™ืจื™ื. ื›ืืฉืจ ืชื•ื›ื ื™ืช ื”ื”ื™ื“ื•ืจ ื™ื•ืฆืืช ื”ื™ื ืฉื•ืžืจืช ืืช ื”ื ืชื•ื ื™ื ื”ืœืœื• ืœืงื•ื‘ืฅ ืฉื ืงืจื
auxname.gcda ืขื‘ื•ืจ ื›ืœ ืงื•ื‘ืฅ ืžืงื•ืจ. ื”ื ืชื•ื ื™ื ืขืฉื•ื™ื™ื ืœืฉืžืฉ ืขื‘ื•ืจ ืคืจื•ืคื™ืœ ืžื›ื•ื•ืŸ
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช (-fืขื ืฃ-ื”ืกืชื‘ืจื•ื™ื•ืช), ืื• ืœื ื™ืชื•ื— ื›ื™ืกื•ื™ ื‘ื“ื™ืงื”
(-ื”ื›ื™ืกื•ื™ ื”ื’ื‘ื•ื” ื‘ื™ื•ืชืจ). ื›ืœ ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ืฉื ืขื–ืจ ื ื•ืฆืจ ืžื”ืฉื ืฉืœ
ืงื•ื‘ืฅ ื”ืคืœื˜, ืื ืฆื•ื™ืŸ ื‘ืžืคื•ืจืฉ ื•ื”ื•ื ืื™ื ื• ืงื•ื‘ืฅ ื”ื”ืคืขืœื” ื”ืกื•ืคื™, ืื—ืจืช ื”ื•ื
ื”ื•ื ืฉื ื”ื‘ืกื™ืก ืฉืœ ืงื•ื‘ืฅ ื”ืžืงื•ืจ. ื‘ืฉื ื™ ื”ืžืงืจื™ื ื›ืœ ืกื™ื•ืžืช ืžื•ืกืจืช (ืœืžืฉืœ
foo.gcda ืขื‘ื•ืจ ืงื•ื‘ืฅ ืงืœื˜ dir/foo.c, ืื• dir/foo.gcda ืขื‘ื•ืจ ืงื•ื‘ืฅ ื”ืคืœื˜ ืฉืฆื•ื™ืŸ ื› -o
dir/foo.o).

-- ื›ื™ืกื•ื™
ืืคืฉืจื•ืช ื–ื• ืžืฉืžืฉืช ืœื”ื™ื“ื•ืจ ื•ืœืงื™ืฉื•ืจ ืฉืœ ืงื•ื“ ื”ืžื™ื•ืขื“ ืœื ื™ืชื•ื— ื›ื™ืกื•ื™. ื”
ืืคืฉืจื•ืช ื”ื™ื ืžื™ืœื” ื ืจื“ืคืช ืœ -fprofile-arcs -ื”ื›ื™ืกื•ื™ ื”ื’ื‘ื•ื” ื‘ื™ื•ืชืจ (ื‘ืขืช ื”ื™ื“ื•ืจ) ื•- -lgcov
(ื‘ืขืช ืงื™ืฉื•ืจ). ืขื™ื™ืŸ ื‘ืชื™ืขื•ื“ ืขื‘ื•ืจ ืืคืฉืจื•ื™ื•ืช ืืœื” ืœืคืจื˜ื™ื ื ื•ืกืคื™ื.

ยท ืงื•ืžืคื™ืœ ืืช ืงื‘ืฆื™ ื”ืžืงื•ืจ ืขื -fprofile-arcs ื‘ื ื•ืกืฃ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื•ื™ืฆื™ืจืช ืงื•ื“
ืืคืฉืจื•ื™ื•ืช. ืœื ื™ืชื•ื— ื›ื™ืกื•ื™ ื‘ื“ื™ืงื”, ื”ืฉืชืžืฉ ื‘ืชื•ืกืคืช -ื”ื›ื™ืกื•ื™ ื”ื’ื‘ื•ื” ื‘ื™ื•ืชืจ ืื•ึนืคึผึฐืฆึดื™ึธื”.
ืื™ื ืš ืฆืจื™ืš ืœื™ืฆื•ืจ ืคืจื•ืคื™ืœ ืฉืœ ื›ืœ ืงื•ื‘ืฅ ืžืงื•ืจ ื‘ืชื•ื›ื ื™ืช.

ยท ืงืฉืจ ืืช ืงื‘ืฆื™ ื”ืื•ื‘ื™ื™ืงื˜ ืฉืœืš ืขื -lgcov or -fprofile-arcs (ื”ืื—ืจื•ืŸ ืžืจืžื– ืขืœ
ืœึฐืฉืึถืขึธื‘ึทืจ).

ยท ื”ืคืขืœ ืืช ื”ืชื•ื›ื ื™ืช ืขืœ ืขื•ืžืก ืขื‘ื•ื“ื” ืžื™ื™ืฆื’ ื›ื“ื™ ืœื™ืฆื•ืจ ืืช ืคืจื•ืคื™ืœ ื”ืงืฉืช
ืžึตื™ื“ึธืข. ื–ื” ืขืฉื•ื™ ืœื—ื–ื•ืจ ืขืœ ืขืฆืžื• ื›ืœ ืžืกืคืจ ืคืขืžื™ื. ืืชื” ื™ื›ื•ืœ ืœืจื•ืฅ ื‘ืžืงื‘ื™ืœ
ืžื•ืคืขื™ื ืฉืœ ื”ืชื•ื›ื ื™ืช ืฉืœืš, ื•ื‘ืชื ืื™ ืฉืžืขืจื›ืช ื”ืงื‘ืฆื™ื ืชื•ืžื›ืช ื‘ื ืขื™ืœื”, ื”
ืงื‘ืฆื™ ื”ื ืชื•ื ื™ื ื™ืขื•ื“ื›ื ื• ื›ืจืื•ื™. ื›ืžื• ื›ืŸ ืžืชื’ืœื•ืช ืงืจื™ืื•ืช "ืžื–ืœื’" ื•
ื˜ื™ืคื•ืœ ื ื›ื•ืŸ (ืกืคื™ืจื” ื›ืคื•ืœื” ืœื ืชืชืจื—ืฉ).

ยท ืขื‘ื•ืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืžื›ื•ื•ื ื•ืช ืคืจื•ืคื™ืœ, ื”ื™ื“ื•ืจ ืฉื•ื‘ ืืช ืงื‘ืฆื™ ื”ืžืงื•ืจ ืขื ืื•ืชื• ื”ื“ื‘ืจ
ืืคืฉืจื•ื™ื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื•ื™ืฆื™ืจืช ืงื•ื“ ืคืœื•ืก -fืขื ืฃ-ื”ืกืชื‘ืจื•ื™ื•ืช.

ยท ืœื ื™ืชื•ื— ื›ื™ืกื•ื™ ื‘ื“ื™ืงื”, ื”ืฉืชืžืฉ gcov ืœื”ืคื™ืง ืžืžื ื• ืžื™ื“ืข ืงืจื™ื ืื ื•ืฉื™
ืžื” ื”ื™ื .gcno ื• .gcda ืงื‘ืฆื™ื. ืขื™ื™ืŸ ื‘ gcov ืชื™ืขื•ื“ ืœื”ืžืฉืš
ืžื™ื“ืข.

ืขื -fprofile-arcs, ืขื‘ื•ืจ ื›ืœ ืคื•ื ืงืฆื™ื” ืฉืœ ื”ืชื•ื›ื ื™ืช ืฉืœืš GCC ื™ื•ืฆืจ ื–ืจื™ืžืช ืชื•ื›ื ื™ืช
ื’ืจืฃ, ื•ืื– ืžื•ืฆื ืขืฅ ืคื•ืจืฉ ืขื‘ื•ืจ ื”ื’ืจืฃ. ืจืง ืงืฉืชื•ืช ืฉืื™ื ืŸ ืขืœ
ืขืฅ ืžืชื—ืฉ ืฆืจื™ืš ืœื”ื™ื•ืช ืžื›ืฉื™ืจ: ื”ืžื”ื“ืจ ืžื•ืกื™ืฃ ืงื•ื“ ื›ื“ื™ ืœืกืคื•ืจ ืืช ื”ืžืกืคืจ ืฉืœ
ืคืขืžื™ื ืฉื”ืงืฉืชื•ืช ื”ืœืœื• ืžื‘ื•ืฆืขื•ืช. ื›ืืฉืจ ืงืฉืช ื”ื™ื ื”ื™ืฆื™ืื” ื”ื™ื—ื™ื“ื” ืื• ื”ื›ื ื™ืกื” ื”ื™ื—ื™ื“ื” ืืœื™ื”
ื‘ืœื•ืง, ื ื™ืชืŸ ืœื”ื•ืกื™ืฃ ืœื‘ืœื•ืง ืืช ืงื•ื“ ื”ืžื›ืฉื•ืจ; ืื—ืจืช, ื™ืกื•ื“ ื—ื“ืฉ
ื™ืฉ ืœื™ืฆื•ืจ ื‘ืœื•ืง ื›ื“ื™ ืœื”ื—ื–ื™ืง ืืช ืงื•ื“ ื”ืžื›ืฉื•ืจ.

-ื”ื›ื™ืกื•ื™ ื”ื’ื‘ื•ื” ื‘ื™ื•ืชืจ
ืฆื•ืจ ืงื•ื‘ืฅ ื”ืขืจื•ืช ืฉ- gcov ื›ืœื™ ื›ื™ืกื•ื™ ืงื•ื“ ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื›ื“ื™ ืœื”ืฆื™ื’ ืชื•ื›ื ื™ืช
ื›ื™ืกื•ื™. ืงื•ื‘ืฅ ื”ื”ืขืจื” ืฉืœ ื›ืœ ืงื•ื‘ืฅ ืžืงื•ืจ ื ืงืจื auxname.gcno. ืขื™ื™ืŸ ื‘
-fprofile-arcs ืืคืฉืจื•ืช ืœืžืขืœื” ืœืชื™ืื•ืจ ืฉืœ ืฉื ืขื–ืจ ื•ื”ื•ืจืื•ืช ื›ื™ืฆื“ ืœืขืฉื•ืช ื–ืืช
ืœื™ืฆื•ืจ ื ืชื•ื ื™ ื›ื™ืกื•ื™ ื‘ื“ื™ืงื”. ื ืชื•ื ื™ ื›ื™ืกื•ื™ ืชื•ืืžื™ื ื™ื•ืชืจ ืืช ืงื•ื‘ืฆื™ ื”ืžืงื•ืจ ืื
ืืชื” ืœื ืžื™ื™ืขืœ.

-fdbg-cnt-list
ื”ื“ืคืก ืืช ื”ืฉื ื•ืืช ื”ื’ื‘ื•ืœ ื”ืขืœื™ื•ืŸ ืฉืœ ื”ืžื•ื ื” ืขื‘ื•ืจ ื›ืœ ืžื•ื ื™ื ืœื ื™ืคื•ื™ ื‘ืื’ื™ื.

-fdbg-cnt=ืจืฉื™ืžืช ืขืจื›ื™ื ื ื’ื“ื™ืช
ื”ื’ื“ืจ ืืช ื”ื’ื‘ื•ืœ ื”ืขืœื™ื•ืŸ ืฉืœ ืžื•ื ื” ื ื™ืคื•ื™ ื”ื‘ืื’ื™ื ื”ืคื ื™ืžื™. ืจืฉื™ืžืช ืขืจื›ื™ื ื ื’ื“ื™ืช ื”ื•ื ืžื•ืคืจื“ ื‘ืคืกื™ืงื™ื
ืจืฉื™ืžื” ืฉืœ ืฉื:ืขืจืš ืฆืžื“ื™ื ืฉืงื•ื‘ืขื™ื ืืช ื”ื’ื‘ื•ืœ ื”ืขืœื™ื•ืŸ ืฉืœ ื›ืœ ืžื•ื ื” ื‘ืื’ื™ื ืฉื ืœ
ืขืจืš. ืœื›ืœ ืžื•ื ื™ ื ื™ืคื•ื™ ื”ื‘ืื’ื™ื ื™ืฉ ืืช ื”ื’ื‘ื•ืœ ื”ืขืœื™ื•ืŸ ื”ืจืืฉื•ื ื™ ืฉืœ "UINT_MAX"; ืœื›ืŸ
"dbg_cnt()" ืžื—ื–ื™ืจ ืืžืช ืชืžื™ื“ ืืœื ืื ื”ื’ื‘ื•ืœ ื”ืขืœื™ื•ืŸ ืžื•ื’ื“ืจ ืขืœ ื™ื“ื™ ืืคืฉืจื•ืช ื–ื•. ืœ
ืœื“ื•ื’ืžื”, ืขื -fdbg-cnt=dce:10,tail_call:0, "dbg_cnt(dce)" ืžื—ื–ื™ืจ ืืžืช ืจืง ืขื‘ื•ืจ ื”ืจืืฉื•ืŸ
10 ืงืจื™ืื•ืช.

-ื ื™ืชืŸ ืœื”ืคื’ื™ืŸ-ืกื•ื’-ืœืขื‘ื•ืจ
-fdisable-ืกื•ื’-ืœืขื‘ื•ืจ=ืจืฉื™ืžืช ื˜ื•ื•ื—ื™ื
ื–ื•ื”ื™ ืงื‘ื•ืฆื” ืฉืœ ืืคืฉืจื•ื™ื•ืช ื”ืžืฉืžืฉื•ืช ืœื‘ื™ื˜ื•ืœ/ืœืืคืฉืจ ื‘ืื•ืคืŸ ืžืคื•ืจืฉ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ืขื•ื‘ืจ. ืืคืฉืจื•ื™ื•ืช ืืœื” ืžื™ื•ืขื“ื•ืช ืœืฉื™ืžื•ืฉ ืขื‘ื•ืจ ืื™ืชื•ืจ ื‘ืื’ื™ื ืฉืœ GCC. ืžืฉืชืžืฉื™ ืžื”ื“ืจ ืฆืจื™ื›ื™ื
ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ื™ื•ืช ืจื’ื™ืœื•ืช ืœื”ืคืขืœื”/ื”ืฉื‘ืชื” ืฉืœ ืžืขื‘ืจื™ื ื‘ืžืงื•ื ื–ืืช.

-fdisable-ipa-ืœืขื‘ื•ืจ
ื”ืฉื‘ืช ืืช ื›ืจื˜ื™ืก IPA ืœืขื‘ื•ืจ. ืœืขื‘ื•ืจ ื”ื•ื ืฉื ื”ืžืขื‘ืจ. ืื ืื•ืชื• ืžืขื‘ืจ ื”ื•ื ืกื˜ื˜ื™
ืžื•ืคืขืœ ื‘ืžื”ื“ืจ ืžืกืคืจ ืคืขืžื™ื, ืœืฉื ื”ืžืขื‘ืจ ื™ืฉ ืœืฆืจืฃ ื
ืžืกืคืจ ืจืฆื™ืฃ ื”ื—ืœ ืž-1.

-fdisable-rtl-ืœืขื‘ื•ืจ
-fdisable-rtl-ืœืขื‘ื•ืจ=ืจืฉื™ืžืช ื˜ื•ื•ื—ื™ื
ื”ืฉื‘ืช RTL pass ืœืขื‘ื•ืจ. ืœืขื‘ื•ืจ ื”ื•ื ืฉื ื”ืžืขื‘ืจ. ืื ืื•ืชื• ืžืขื‘ืจ ื”ื•ื ืกื˜ื˜ื™
ืžื•ืคืขืœ ื‘ืžื”ื“ืจ ืžืกืคืจ ืคืขืžื™ื, ืœืฉื ื”ืžืขื‘ืจ ื™ืฉ ืœืฆืจืฃ ื
ืžืกืคืจ ืจืฆื™ืฃ ื”ื—ืœ ืž-1. ืจืฉื™ืžืช ื˜ื•ื•ื—ื™ื ื”ื™ื ืจืฉื™ืžื” ื”ืžื•ืคืจื“ืช ื‘ืคืกื™ืงื™ื ืฉืœ
ื˜ื•ื•ื—ื™ ืคื•ื ืงืฆื™ื•ืช ืื• ืฉืžื•ืช ืืกืžื‘ืœืจ. ื›ืœ ื˜ื•ื•ื— ื”ื•ื ื–ื•ื’ ืžืกืคืจื™ื ื”ืžื•ืคืจื“ื™ื ื‘-a
ื”ืžืขื™ ื”ื’ืก. ื”ื˜ื•ื•ื— ื›ื•ืœืœ ื‘ืฉื ื™ ื”ืงืฆื•ื•ืช. ืื ื”ื˜ื•ื•ื— ื˜ืจื™ื•ื•ื™ืืœื™, ื”ืžืกืคืจ
ื ื™ืชืŸ ืœืคืฉื˜ ื–ื•ื’ ื›ืžืกืคืจ ื‘ื•ื“ื“. ืื ืฆื•ืžืช ื’ืจืฃ ื”ืงืจื™ืื” ืฉืœ ื”ืคื•ื ืงืฆื™ื”
uid ื ื•ืคืœ ื‘ืื—ื“ ืžื”ื˜ื•ื•ื—ื™ื ืฉืฆื•ื™ื ื•, ื”- ืœืขื‘ื•ืจ ืžื•ืฉื‘ืช ื‘ื’ืœืœ ื–ื”
ืคื•ื ืงืฆื™ื”. ื” uid ืžื•ืฆื’ ื‘ื›ื•ืชืจืช ื”ืคื•ื ืงืฆื™ื” ืฉืœ ืงื•ื‘ืฅ dump, ื•ื”-pass
ื ื™ืชืŸ ืœื–ืจื•ืง ืฉืžื•ืช ื‘ืืžืฆืขื•ืช ืืคืฉืจื•ืช -fdump-passes.

-fdisable-tree-ืœืขื‘ื•ืจ
-fdisable-tree-ืœืขื‘ื•ืจ=ืจืฉื™ืžืช ื˜ื•ื•ื—ื™ื
ื”ืฉื‘ืช ืžืขื‘ืจ ืขืฆื™ื ืœืขื‘ื•ืจ. ืœืจืื•ืช -fdisable-rtl ืœืชื™ืื•ืจ ื”ืื•ืคืฆื™ื”
ืืจื’ื•ืžื ื˜ื™ื.

-ื ื™ืชืŸ-ืื™ืคื-ืœืขื‘ื•ืจ
ืืคืฉืจ ืื™ืฉื•ืจ IPA ืœืขื‘ื•ืจ. ืœืขื‘ื•ืจ ื”ื•ื ืฉื ื”ืžืขื‘ืจ. ืื ืื•ืชื• ืžืขื‘ืจ ื”ื•ื ืกื˜ื˜ื™
ืžื•ืคืขืœ ื‘ืžื”ื“ืจ ืžืกืคืจ ืคืขืžื™ื, ืœืฉื ื”ืžืขื‘ืจ ื™ืฉ ืœืฆืจืฃ ื
ืžืกืคืจ ืจืฆื™ืฃ ื”ื—ืœ ืž-1.

-ื ื™ืชืŸ-rtl-ืœืขื‘ื•ืจ
-ื ื™ืชืŸ-rtl-ืœืขื‘ื•ืจ=ืจืฉื™ืžืช ื˜ื•ื•ื—ื™ื
ืืคืฉืจ ืžืขื‘ืจ RTL ืœืขื‘ื•ืจ. ืœืจืื•ืช -fdisable-rtl ืœืชื™ืื•ืจ ืืจื’ื•ืžื ื˜ ืืคืฉืจื•ืช ื•
ื“ื•ื’ืžืื•ืช.

-ืขืฅ-ื‘ืจื•ืจ-ืœืขื‘ื•ืจ
-ืขืฅ-ื‘ืจื•ืจ-ืœืขื‘ื•ืจ=ืจืฉื™ืžืช ื˜ื•ื•ื—ื™ื
ืืคืฉืจ ืžืขื‘ืจ ืขืฆื™ื ืœืขื‘ื•ืจ. ืœืจืื•ืช -fdisable-rtl ืœืชื™ืื•ืจ ื˜ื™ืขื•ื ื™ ื”ืื•ืคืฆื™ื”.

ืœื”ืœืŸ ื›ืžื” ื“ื•ื’ืžืื•ืช ื”ืžืฆื™ื’ื•ืช ืฉื™ืžื•ืฉื™ื ื‘ืืคืฉืจื•ื™ื•ืช ืืœื”.

# ื”ืฉื‘ืช ืืช ccp1 ืขื‘ื•ืจ ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช
-fdisable-tree-ccp1
# ื”ืฉื‘ืช ื‘ื™ื˜ื•ืœ ืžืœื ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื” ืฉ-cgraph node uid ืฉืœื” ื”ื•ื 1
-fenable-tree-cunroll=1
# disable gcse2 ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ื‘ื˜ื•ื•ื—ื™ื ื”ื‘ืื™ื [1,1],
# [300,400] ื•-[400,1000]
# ื”ืฉื‘ืช ืืช gcse2 ืขื‘ื•ืจ ื”ืคื•ื ืงืฆื™ื•ืช foo ื•-foo2
-fdisable-rtl-gcse2=foo,foo2
# ื”ืฉื‘ืช ืืช ื”ื”ื˜ืžืขื” ื”ืžื•ืงื“ืžืช
-ืคื ื™-ืขืฅ-ืขืฅ-ืืœื™ืŸ
# ื”ืฉื‘ืช ืืช ื”-ipa inlining
-fdisable-ipa-inline
# ืืคืฉืจ ืคืชื™ื—ื” ืžืœืื” ืฉืœ ืขืฅ
-ื ื™ืชืŸ-ืขืฅ-ืœื”ืชื’ืœื’ืœ

-dืื•ืชื™ื•ืช
-fdump-rtl-ืœืขื‘ื•ืจ
-fdump-rtl-ืœืขื‘ื•ืจ=ืฉื ื”ืงื•ื‘ืฅ
ืื•ืžืจ ืœื‘ืฆืข dumps ืœื ื™ืคื•ื™ ื‘ืื’ื™ื ื‘ืžื”ืœืš ื”ืงื•ืžืคื™ืœืฆื™ื” ื‘ื–ืžื ื™ื ืฉืฆื•ื™ื ื• ืขืœ ื™ื“ื™ ืื•ืชื™ื•ืช. ื–ึถื”
ืžืฉืžืฉ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžืขื‘ืจื™ื ืžื‘ื•ืกืกื™ RTL ืฉืœ ื”ืžื”ื“ืจ. ืฉืžื•ืช ื”ืงื‘ืฆื™ื ืœืจื•ื‘
ืžื”ื”ืฉืœื›ื•ืช ืžืชื‘ืฆืขื•ืช ืขืœ ื™ื“ื™ ื”ื•ืกืคืช ืžืกืคืจ ืžืขื‘ืจ ื•ืžื™ืœื” ืœ- ืฉื dump, ื•ื”
ืงื‘ืฆื™ื ื ื•ืฆืจื™ื ื‘ืกืคืจื™ื™ื” ืฉืœ ืงื•ื‘ืฅ ื”ืคืœื˜. ื‘ืžืงืจื” =ืฉื ื”ืงื•ื‘ืฅ ืื•ึนืคึผึฐืฆึดื™ึธื”,
ื”-dump ืžื•ืคืง ื‘ืงื•ื‘ืฅ ื”ื ืชื•ืŸ ื‘ืžืงื•ื ืงื‘ืฆื™ ื”-dump ื”ืžืžื•ืกืคืจื™ื. ื”ืขืจื”
ืฉืžืกืคืจ ื”ืžืขื‘ืจ ืžื—ื•ืฉื‘ ื‘ืื•ืคืŸ ืกื˜ื˜ื™ ื›ืืฉืจ ืื™ืฉื•ืจื™ื ื ืจืฉืžื™ื ืœื›ืจื˜ื™ืก
ืžื ื”ืœ. ืœืคื™ื›ืš ื”ืžืกืคื•ืจ ืื™ื ื• ืงืฉื•ืจ ืœืกื“ืจ ื”ื‘ื™ืฆื•ืข ื”ื“ื™ื ืžื™ ืฉืœ
ืขื•ื‘ืจ. ื‘ืคืจื˜, ืžืขื‘ืจ ืฉื”ื•ืชืงืŸ ืขืœ ื™ื“ื™ ืชื•ืกืฃ ื™ื›ื•ืœ ืœื”ื™ื•ืช ืžืกืคืจ ืžืขืœ 200 ืืคื™ืœื•
ืื ื–ื” ื‘ื•ืฆืข ื“ื™ ืžื•ืงื“ื. ืฉื dump ื ื•ืฆืจ ืžื”ืฉื ืฉืœ ืงื•ื‘ืฅ ื”ืคืœื˜,
ืื ืฆื•ื™ืŸ ื‘ืžืคื•ืจืฉ ื•ื–ื” ืœื ืงื•ื‘ืฅ ื”ืคืขืœื”, ืื—ืจืช ื–ื” ืฉื ื”ื‘ืกื™ืก ืฉืœ
ืงื•ื‘ืฅ ื”ืžืงื•ืจ. ืœืžืชื’ื™ื ืืœื” ืขืฉื•ื™ื™ื ืœื”ื™ื•ืช ื”ืฉืคืขื•ืช ืฉื•ื ื•ืช ื›ืืฉืจ -E ืžืฉืžืฉ
ืขื™ื‘ื•ื“ ืžืงื“ื™ื.

ื ื™ืชืŸ ืœื”ืคืขื™ืœ dumps ืœื ื™ืคื•ื™ ื‘ืื’ื™ื ื‘ืืžืฆืขื•ืช a -fdump-rtl ืœื”ื—ืœื™ืฃ ืื• ืžืฉื”ื• -d ืื•ึนืคึผึฐืฆึดื™ึธื” ืื•ืชื™ื•ืช. ื›ืืŸ
ื”ืŸ ื”ืื•ืชื™ื•ืช ื”ืืคืฉืจื™ื•ืช ืœืฉื™ืžื•ืฉ ื‘ ืœืขื‘ื•ืจ ื• ืื•ืชื™ื•ืช, ื•ื”ืžืฉืžืขื•ื™ื•ืช ืฉืœื”ื:

-fdump-rtl-alignments
dump ืœืื—ืจ ืฉื—ื•ืฉื‘ื• ื™ื™ืฉื•ืจื™ ืขื ืฃ.

-fdump-rtl-asmcons
dump ืœืื—ืจ ืชื™ืงื•ืŸ ื”ืฆื”ืจื•ืช rtl ืฉื™ืฉ ืœื”ื ืื™ืœื•ืฆื™ ื›ื ื™ืกื”/ื™ืฆื™ืื” ืœื ืžืกื•ืคืงื™ื.

-fdump-rtl-auto_inc_dec
dump ืœืื—ืจ ื’ื™ืœื•ื™ ืื•ื˜ื•ืžื˜ื™-inc-dec. ื”ื›ืจื˜ื™ืก ื”ื–ื” ืžื•ืคืขืœ ืจืง ืขืœ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืฉ
ื™ืฉ ื”ื•ืจืื•ืช ืชื•ืกืคืช ืื•ื˜ื•ืžื˜ื™ืช ืื• ื‘ื™ื˜ื•ืœ ืื•ื˜ื•ืžื˜ื™.

-fdump-rtl-ืžื—ืกื•ืžื™ื
ืœื–ืจื•ืง ืœืื—ืจ ื ื™ืงื•ื™ ื”ื•ืจืื•ืช ื”ืžื—ืกื•ื.

-fdump-rtl-bbpart
ื”ืฉืœื›ื” ืœืื—ืจ ื—ืœื•ืงื” ืฉืœ ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื ื—ืžื™ื ื•ืงืจื™ื.

-fdump-rtl-bbro
ื–ืจื™ืžื” ืœืื—ืจ ืกื™ื“ื•ืจ ืžื—ื“ืฉ ืฉืœ ื‘ืœื•ืง.

-fdump-rtl-btl1
-fdump-rtl-btl2
-fdump-rtl-btl1 ื• -fdump-rtl-btl2 ืœืืคืฉืจ ื”ืฉืœื›ื” ืื—ืจื™ ื™ืขื“ ืฉื ื™ ื”ืขื ืคื™ื
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื™ืช ื”ืขื•ืžืก ืขื•ื‘ืจืช.

-fdump-rtl-bypass
ืขืงื™ืคืช ื–ืจื™ืงื” ืœืื—ืจ ืงืคื™ืฆื” ื•ื‘ืงืจื” ืขืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ื–ืจื™ืžื”.

-fdump-rtl-combine
ื–ืจื•ืง ืœืื—ืจ ืžืขื‘ืจ ืฉื™ืœื•ื‘ ื”ื•ืจืื•ืช RTL.

-fdump-rtl-compgotos
dump ืœืื—ืจ ืฉื›ืคื•ืœ ื”-gotos ื”ืžื—ื•ืฉื‘ื™ื.

-fdump-rtl-ce1
-fdump-rtl-ce2
-fdump-rtl-ce3
-fdump-rtl-ce1, -fdump-rtl-ce2, ื• -fdump-rtl-ce3 ืœืืคืฉืจ ื”ืฉืœื›ื” ืœืื—ืจ ื”ืฉืœื•ืฉื”
ืื ื”ื”ืžืจื” ืชืขื‘ื•ืจ.

-fdump-rtl-cprop_hardreg
ื”ืฉืœื›ื” ืœืื—ืจ ื”ืคืฆืช ืขื•ืชืง ืจื™ืฉื•ื ืงืฉื™ื—.

-fdump-rtl-csa
ื”ืฉืœื›ื” ืœืื—ืจ ืฉื™ืœื•ื‘ ื”ืชืืžื•ืช ืžื—ืกื ื™ืช.

-fdump-rtl-cse1
-fdump-rtl-cse2
-fdump-rtl-cse1 ื• -fdump-rtl-cse2 ืœืืคืฉืจ ื”ืฉืœื›ื” ืœืื—ืจ ื”ืฉื ื™ื™ื ื”ื ืคื•ืฆื™ื
ื—ื™ืกื•ืœ ืชืช-ื‘ื™ื˜ื•ื™ ืขื•ื‘ืจ.

-fdump-rtl-dce
ื–ืจื•ืง ืœืื—ืจ ืฉื‘ื™ื˜ื•ืœ ื”ืงื•ื“ ื”ืžืช ื”ืขืฆืžืื™ ืขื•ื‘ืจ.

-fdump-rtl-dbr
ื”ืฉืœื›ื” ืœืื—ืจ ื“ื—ื™ื™ืช ืชื–ืžื•ืŸ ืกื ื™ืคื™ื.

-fdump-rtl-dce1
-fdump-rtl-dce2
-fdump-rtl-dce1 ื• -fdump-rtl-dce2 ืœืืคืฉืจ ื”ืฉืœื›ื” ืœืื—ืจ ืฉื ื™ ื”ื—ื ื•ืช ื”ืžืชื™ื
ื—ื™ืกื•ืœ ืขื•ื‘ืจ.

-fdump-rtl-eh
dump ืœืื—ืจ ืกื™ื•ื ืงื•ื“ ื”ื˜ื™ืคื•ืœ ื‘-EH.

-fdump-rtl-eh_ranges
ื”ืฉืœื›ื” ืœืื—ืจ ื”ืžืจื” ืฉืœ ืื–ื•ืจื™ ื˜ื•ื•ื— ื˜ื™ืคื•ืœ ื‘-EH.

-fdump-rtl-expand
dump ืื—ืจื™ ื“ื•ืจ RTL.

-fdump-rtl-fwprop1
-fdump-rtl-fwprop2
-fdump-rtl-fwprop1 ื• -fdump-rtl-fwprop2 ืœืืคืฉืจ ื”ืฉืœื›ื” ืœืื—ืจ ืฉื ื™ ืงื“ื™ืžื”
ื”ืจื™ื‘ื•ื™ ืขื•ื‘ืจ.

-fdump-rtl-gcse1
-fdump-rtl-gcse2
-fdump-rtl-gcse1 ื• -fdump-rtl-gcse2 ืœืืคืฉืจ ื”ืฉืœื›ื” ืœืื—ืจ ืžืฉื•ืชืฃ ืขื•ืœืžื™
ื—ื™ืกื•ืœ ืชืช-ื‘ื™ื˜ื•ื™ื™ื.

-fdump-rtl-init-regs
dump ืœืื—ืจ ืืชื—ื•ืœ ื”ืจืฉืžื™ื.

-fdump-rtl-initvals
dump ืœืื—ืจ ื—ื™ืฉื•ื‘ ืขืจื›ื™ ื”ืขืจื›ื™ื ื”ื”ืชื—ืœืชื™ื™ื.

-fdump-rtl-into_cfglayout
dump ืœืื—ืจ ื”ืžืจื” ืœืžืฆื‘ cfglayout.

-Fdump-rtl-ira
dump ืœืื—ืจ ื”ืงืฆืืช ืจื™ืฉื•ื ื—ื•ื–ืจืช.

-fdump-rtl-jump
ื”ืฉืœื›ื” ืœืื—ืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื™ืช ื”ืงืคื™ืฆื” ื”ืฉื ื™ื™ื”.

-fdump-rtl-loop2
-fdump-rtl-loop2 ืžืืคืฉืจ dumping ืœืื—ืจ ืฉื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืœื•ืœืืช rtl ืขื•ื‘ืจืช.

-fdump-rtl-mach
ื–ืจื•ืง ืœืื—ืจ ื‘ื™ืฆื•ืข ืื™ืฉื•ืจ ื”ืืจื’ื•ืŸ ืžื—ื“ืฉ ืชืœื•ื™ ื‘ืžื›ื•ื ื”, ืื ื–ื” ืขื•ื‘ืจ
ืงื™ื™ื.

-fdump-rtl-mode_sw
dump ืœืื—ืจ ื”ืกืจืช ืžืชื’ื™ ืžืฆื‘ ืžื™ื•ืชืจ.

-fdump-rtl-rnreg
ื–ืจื•ืง ืœืื—ืจ ืžืกืคื•ืจ ืžื—ื“ืฉ ืฉืœ ื”ืจื™ืฉื•ื.

-fdump-rtl-outof_cfglayout
dump ืœืื—ืจ ื”ืžืจื” ืžืžืฆื‘ cfglayout.

-fdump-rtl-peephole2
ืœื–ืจื•ืง ืœืื—ืจ ืžืขื‘ืจ ื—ื•ืจ ื”ืฆืฆื”.

-fdump-rtl-postreload
dump ืœืื—ืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœืื—ืจ ื˜ืขื™ื ื” ืžื—ื“ืฉ.

-fdump-rtl-pro_and_epilogue
dump ืœืื—ืจ ื™ืฆื™ืจืช ืคืจื•ืœื•ื’ื™ื ื•ืืคื™ืœื•ื’ื™ื ืฉืœ ื”ืคื•ื ืงืฆื™ื”.

-fdump-rtl-regmove
dump ืœืื—ืจ ืžืขื‘ืจ ื”ืžื”ืœืš ืฉืœ ื”ืจื™ืฉื•ื.

-fdump-rtl-sched1
-fdump-rtl-sched2
-fdump-rtl-sched1 ื• -fdump-rtl-sched2 ืืคืฉืจ ื”ืฉืœื›ื” ืœืื—ืจ ื”ื—ืกื™ืžื” ื”ื‘ืกื™ืกื™ืช
ืชื–ืžื•ืŸ ืขื•ื‘ืจื™ื.

-fdump-rtl-see
ื‘ื™ื˜ื•ืœ ื”ืจื—ื‘ืช ื”ืฉืœื˜ ืœืื—ืจ ื”ืฉืœื˜.

-fdump-rtl-seqabstr
dump ืœืื—ืจ ื’ื™ืœื•ื™ ืจืฆืฃ ื ืคื•ืฅ.

-fdump-rtl-ืงืฆืจ
ืœื–ืจื•ืง ืœืื—ืจ ืงื™ืฆื•ืจ ืขื ืคื™ื.

-fdump-rtl-ืื—ื™
ื–ืจื•ืง ืœืื—ืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืฉื™ื—ื•ืช ืื—ื™ื.

-fdump-rtl-split1
-fdump-rtl-split2
-fdump-rtl-split3
-fdump-rtl-split4
-fdump-rtl-split5
-fdump-rtl-split1, -fdump-rtl-split2, -fdump-rtl-split3, -fdump-rtl-split4 ื•
-fdump-rtl-split5 ืœืืคืฉืจ ื”ืฉืœื›ื” ืœืื—ืจ ื—ืžื™ืฉื” ืกื‘ื‘ื™ื ืฉืœ ืคื™ืฆื•ืœ ื”ื•ืจืื•ืช.

-fdump-rtl-sms
ื”ืฉืœื›ื” ืœืื—ืจ ืชื–ืžื•ืŸ ืžื•ื“ื•ืœื•. ื”ื›ืจื˜ื™ืก ื”ื–ื” ืžื•ืคืขืœ ืจืง ื‘ื—ืœืง ืžื”ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช.

-fdump-rtl-stack
dump ืœืื—ืจ ื”ืžืจื” ืž"ืงื•ื‘ืฅ ื”ืจื™ืฉื•ื ื”ืฉื˜ื•ื—" ืฉืœ GCC ืœ-x87
ืื•ื’ืจื™ื ื“ืžื•ื™ื™ ืžื—ืกื ื™ืช. ื›ืจื˜ื™ืก ื–ื” ืคื•ืขืœ ืจืง ืขืœ ื’ืจืกืื•ืช x86.

-fdump-rtl-subreg1
-fdump-rtl-subreg2
-fdump-rtl-subreg1 ื• -fdump-rtl-subreg2 ืืคืฉืจ ื”ืฉืœื›ื” ืœืื—ืจ ืฉืชื™ ืชืช reg
ื”ืจื—ื‘ื” ืขื•ื‘ืจืช.

-fdump-rtl-unshare
dump ืื—ืจื™ ืฉื›ืœ ื”-rtl ื‘ื•ื˜ืœ.

-fdump-rtl-vartrack
ื”ืฉืœื›ื” ืœืื—ืจ ืžืขืงื‘ ืžืฉืชื ื”.

-fdump-rtl-vregs
dump ืœืื—ืจ ื”ืžืจืช ืื•ื’ืจื™ื ื•ื™ืจื˜ื•ืืœื™ื™ื ืœืจื’ื™ืกื˜ืจื™ื ืงืฉื™ื—ื™ื.

-fdump-rtl-web
ื”ืฉืœื›ื” ืœืื—ืจ ืคื™ืฆื•ืœ ื˜ื•ื•ื— ื—ื™.

-fdump-rtl-regclass
-fdump-rtl-subregs_of_mode_init
-fdump-rtl-subregs_of_mode_finish
-fdump-rtl-dfinit
-fdump-rtl-dfinish
dumps ืืœื” ืžื•ื’ื“ืจื™ื ืืš ืชืžื™ื“ ืžื™ื™ืฆืจื™ื ืงื‘ืฆื™ื ืจื™ืงื™ื.

-in
-fdump-rtl-all
ืฆื•ืจ ืืช ื›ืœ ื”ืžื–ื‘ืœื•ืช ื”ืžืคื•ืจื˜ื•ืช ืœืขื™ืœ.

-ื“A ืฆื™ื™ืŸ ืืช ื”ืคืœื˜ ืฉืœ ื”-assembler ืขื ืžื™ื“ืข ืื—ืจ ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื.

-dD ื–ืจื•ืง ืืช ื›ืœ ื”ื’ื“ืจื•ืช ื”ืžืืงืจื•, ื‘ืชื•ื ื”ืขื™ื‘ื•ื“ ื”ืžืงื“ื™ื, ื‘ื ื•ืกืฃ ืœืจื’ื™ืœ
ืคืœื˜.

-dH ื”ืคืง dump core ื‘ื›ืœ ืคืขื ืฉืžืชืจื—ืฉืช ืฉื’ื™ืื”.

-dp ืกืžืŸ ืืช ืคืœื˜ ื”ืืกืžื‘ืœืจ ื‘ื”ืขืจื” ื”ืžืฆื™ื™ื ืช ืื™ื–ื” ื“ืคื•ืก ื•
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื—ืœื•ืคื”. ื›ืžื• ื›ืŸ ืžื•ื“ืคืก ืื•ืจืš ื›ืœ ื”ื•ืจืื”.

-dP ื–ืจื•ืง ืืช ื”-RTL ื‘ืคืœื˜ ื”ืืกืžื‘ืœืจ ื›ื”ืขืจื” ืœืคื ื™ ื›ืœ ื”ื•ืจืื”. ื’ึทื
ืžื“ืœื™ืง -dp ื‘ื™ืื•ืจ.

-dx ืคืฉื•ื˜ ืฆื•ืจ RTL ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื” ื‘ืžืงื•ื ืœื”ืจื›ื™ื‘ ืื•ืชื”. ืžืฉืžืฉ ื‘ื“ืจืš ื›ืœืœ ืขื
-fdump-rtl-expand.

-fdump-noaddr
ื‘ืขืช ื‘ื™ืฆื•ืข ืื™ืชื•ืจ ื‘ืื’ื™ื, ื“ื›ื ืคืœื˜ ื›ืชื•ื‘ืช. ื–ื” ื”ื•ืคืš ืืช ื–ื” ืœืืคืฉืจื™ ื™ื•ืชืจ
ื”ืฉืชืžืฉ ื‘-diff ืขืœ ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘-dumps ืขื‘ื•ืจ ืงืจื™ืื•ืช ืžื”ื“ืจ ืขื ืงื‘ืฆื™ื ื‘ื™ื ืืจื™ื™ื ืฉื•ื ื™ื ืฉืœ ืžื”ื“ืจ
ื•/ืื• ืžื™ืงื•ืžื™ ื”ืชื—ืœื” ืฉื•ื ื™ื ืฉืœ ื˜ืงืกื˜ / bss / data / heap / stack / dso.

-fdump-ืœื ืžืžื•ืกืคืจ
ื‘ืขืช ื‘ื™ืฆื•ืข ืื™ืชื•ืจ ื‘ืื’ื™ื, ื“ื—ืง ืžืกืคืจื™ ื”ื•ืจืื•ืช ื•ืคืœื˜ ื›ืชื•ื‘ืช. ื–ึถื”
ืขื•ืฉื” ืืช ื–ื” ืจื™ืืœื™ ื™ื•ืชืจ ืœื”ืฉืชืžืฉ ื‘-diff ืขืœ ืื™ืชื•ืจ ื‘ืื’ื™ื ืขื‘ื•ืจ ืงืจื™ืื•ืช ืžื”ื“ืจ ืขื
ืืคืฉืจื•ื™ื•ืช ืฉื•ื ื•ืช, ื‘ืžื™ื•ื—ื“ ืขื ื•ื‘ืœื™ -g.

-fdump-ืœื ืžืžื•ืกืคืจื™ื-ืงื™ืฉื•ืจื™ื
ื‘ืขืช ื‘ื™ืฆื•ืข ืื™ืชื•ืจ ื‘ืื’ื™ื (ืจืื” -d ืืคืฉืจื•ืช ืœืžืขืœื”), ื“ื—ืง ืžืกืคืจื™ ื”ื•ืจืื•ืช ืขื‘ื•ืจ ื”
ืงื™ืฉื•ืจื™ื ืœื”ื•ืจืื•ืช ื”ืงื•ื“ืžื•ืช ื•ื”ื‘ืื•ืช ื‘ืจืฆืฃ.

-fdump-translation-unit (C++ ื‘ืœื‘ื“)
-fdump-translation-unit-ืืคืฉืจื•ื™ื•ืช (C++ ื‘ืœื‘ื“)
ื–ืจื•ืง ื™ื™ืฆื•ื’ ืฉืœ ืžื‘ื ื” ื”ืขืฅ ืขื‘ื•ืจ ื›ืœ ื™ื—ื™ื“ืช ื”ืชืจื’ื•ื ืœืงื•ื‘ืฅ.
ืฉื ื”ืงื•ื‘ืฅ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .tu ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ, ื•ื”ืงื•ื‘ืฅ ื”ื•ื
ื ื•ืฆืจ ื‘ืื•ืชื” ืกืคืจื™ื™ื” ื›ืžื• ืงื•ื‘ืฅ ื”ืคืœื˜. ืื ื” -ืืคืฉืจื•ื™ื•ืช ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื˜ื•ืคืก,
ืืคืฉืจื•ื™ื•ืช ืฉื•ืœื˜ ื‘ืคืจื˜ื™ ื”ืžื–ื‘ืœื” ื›ืžืชื•ืืจ ืขื‘ื•ืจ -fdump-ืขืฅ ืืคืฉืจื•ื™ื•ืช.

-fdump-class-hierarchy (C++ ื‘ืœื‘ื“)
-fdump-class-hierarchy-ืืคืฉืจื•ื™ื•ืช (C++ ื‘ืœื‘ื“)
ื–ืจื•ืง ื™ื™ืฆื•ื’ ืฉืœ ื”ื”ื™ืจืจื›ื™ื” ืฉืœ ื›ืœ ืžื—ืœืงื” ื•ืฉืœ ืคืจื™ืกืช ื˜ื‘ืœืช ืคื•ื ืงืฆื™ื•ืช ื•ื™ืจื˜ื•ืืœื™ืช ืœ-a
ืงื•ึนื‘ึถืฅ. ืฉื ื”ืงื•ื‘ืฅ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .ืžืขืžื“ ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ ื•ืœืงื•ื‘ืฅ
ื ื•ืฆืจ ื‘ืื•ืชื” ืกืคืจื™ื™ื” ื›ืžื• ืงื•ื‘ืฅ ื”ืคืœื˜. ืื ื” -ืืคืฉืจื•ื™ื•ืช ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื˜ื•ืคืก,
ืืคืฉืจื•ื™ื•ืช ืฉื•ืœื˜ ื‘ืคืจื˜ื™ ื”ืžื–ื‘ืœื” ื›ืžืชื•ืืจ ืขื‘ื•ืจ -fdump-ืขืฅ ืืคืฉืจื•ื™ื•ืช.

-fdump-ipa-ืœื”ื—ืœื™ืฃ
ืœืฉืœื•ื˜ ืขืœ ื”ืฉืœื›ื” ื‘ืฉืœื‘ื™ื ืฉื•ื ื™ื ืฉืœ ืขืฅ ื ื™ืชื•ื— ื‘ื™ืŸ-ืคืจื•ืฆื“ื•ืจื•ืช ืœืฉืคื” ื
ืงื•ึนื‘ึถืฅ. ืฉื ื”ืงื•ื‘ืฅ ื ื•ืฆืจ ืขืœ ื™ื“ื™ ื”ื•ืกืคืช ืกื™ื•ืžืช ืžืชื’ ืกืคืฆื™ืคื™ืช ืœืžืงื•ืจ
ืฉื ื”ืงื•ื‘ืฅ, ื•ื”ืงื•ื‘ืฅ ื ื•ืฆืจ ื‘ืื•ืชื” ืกืคืจื™ื™ื” ื›ืžื• ืงื•ื‘ืฅ ื”ืคืœื˜. ื”
ื™ืชื›ื ื• ื”ืฉืœื›ื•ืช ื”ื‘ืื•ืช:

ืืช ื›ืœ ืžืืคืฉืจ ืืช ื›ืœ ื”ืฉืœื›ื•ืช ื”ื ื™ืชื•ื— ื”ื‘ื™ืŸ-ืคืจื•ืฆื“ื•ืจืœื™ื•ืช.

ื’ืจืฃ
ื–ื•ืจืง ืžื™ื“ืข ืขืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื’ืจืฃ ืฉื™ื—ื•ืช, ื”ืกืจืช ืคื•ื ืงืฆื™ื•ืช ืฉืื™ื ืŸ ื‘ืฉื™ืžื•ืฉ, ื•
ื”ื—ืœื˜ื•ืช ืžื•ื˜ืžืขื•ืช.

ืžื•ื˜ื‘ืข
ื”ื˜ื‘ืœื” ืœืื—ืจ ืคื•ื ืงืฆื™ื”.

-fdump-passes
ื–ืจื•ืง ืืช ืจืฉื™ืžืช ืžืขื‘ืจื™ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื”ืžื•ืคืขืœื™ื ื•ืžื›ื‘ื™ื ืขืœ ื™ื“ื™ ื”ื–ืจื
ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื”.

-fdump-ืกื˜ื˜ื™ืกื˜ื™ืงื”-ืื•ึนืคึผึฐืฆึดื™ึธื”
ืืคืฉืจ ื•ืœืฉืœื•ื˜ ื‘ื”ืฉืœื›ืช ืกื˜ื˜ื™ืกื˜ื™ืงืช ืžืขื‘ืจื™ื ื‘ืงื•ื‘ืฅ ื ืคืจื“. ืฉื ื”ืงื•ื‘ืฅ ื”ื•ื
ื ื•ืฆืจ ืขืœ ื™ื“ื™ ื”ื•ืกืคืช ืกื™ื•ืžืช ื”ืžืกืชื™ื™ืžืช ื‘ .ืกื˜ึธื˜ึดื™ืกื˜ึดื™ืงึธื” ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ, ื•ื”-
ื”ืงื•ื‘ืฅ ื ื•ืฆืจ ื‘ืื•ืชื” ืกืคืจื™ื™ื” ื›ืžื• ืงื•ื‘ืฅ ื”ืคืœื˜. ืื ื” -ืื•ึนืคึผึฐืฆึดื™ึธื” ื”ืฆื•ืจื” ื”ื™ื
ื‘ืฉื™ืžื•ืฉ, -ืกื˜ื˜ื™ืกื˜ื™ืงื•ืช ื’ื•ืจื ืœืกื™ื›ื•ื ืฉืœ ืžื•ื ื™ื ืขืœ ื›ืœ ื™ื—ื™ื“ืช ื”ื”ื™ื“ื•ืจ ื‘ืขื•ื“
-ืคืจื˜ื™ื ื–ื•ืจืง ื›ืœ ืื™ืจื•ืข ื›ืฉื”ื›ืจื˜ื™ืกื™ื ืžื™ื™ืฆืจื™ื ืื•ืชื. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืœืœื ืืคืฉืจื•ืช ื”ื™ื
ืœืกื›ื•ื ืžื•ื ื™ื ืขื‘ื•ืจ ื›ืœ ืคื•ื ืงืฆื™ื” ืฉื”ื•ื“ืจื”.

-fdump-ืขืฅ-ืœื”ื—ืœื™ืฃ
-fdump-ืขืฅ-ืœื”ื—ืœื™ืฃ-ืืคืฉืจื•ื™ื•ืช
-fdump-ืขืฅ-ืœื”ื—ืœื™ืฃ-ืืคืฉืจื•ื™ื•ืช=ืฉื ื”ืงื•ื‘ืฅ
ืœืฉืœื•ื˜ ื‘ื”ื˜ืœื” ื‘ืฉืœื‘ื™ื ืฉื•ื ื™ื ืฉืœ ืขื™ื‘ื•ื“ ืขืฅ ืฉืคืช ื”ื‘ื™ื ื™ื™ื ืœ
ืงื•ื‘ืฅ. ืฉื ื”ืงื•ื‘ืฅ ื ื•ืฆืจ ืขืœ ื™ื“ื™ ื”ื•ืกืคืช ืกื™ื•ืžืช ืกืคืฆื™ืคื™ืช ืœืžืชื’ ืœ-
ืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ, ื•ื”ืงื•ื‘ืฅ ื ื•ืฆืจ ื‘ืื•ืชื” ืกืคืจื™ื™ื” ื›ืžื• ืงื•ื‘ืฅ ื”ืคืœื˜. ื‘
ืžืงืจื” ืฉืœ =ืฉื ื”ืงื•ื‘ืฅ ืืคืฉืจื•ืช, ื”-dump ืžื•ืคืง ื‘ืงื•ื‘ืฅ ื”ื ืชื•ืŸ ื‘ืžืงื•ื ื”ืื•ื˜ื•ืžื˜ื™
ืงื‘ืฆื™ dump ื‘ืฉื. ืื ื” -ืืคืฉืจื•ื™ื•ืช ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื˜ื•ืคืก, ืืคืฉืจื•ื™ื•ืช ื”ื™ื ืจืฉื™ืžื” ืฉืœ - ืžื•ืคืจื“
ืืคืฉืจื•ื™ื•ืช ื”ืฉื•ืœื˜ื•ืช ื‘ืคืจื˜ื™ ื”ืžื–ื‘ืœื”. ืœื ื›ืœ ื”ืืคืฉืจื•ื™ื•ืช ื—ืœื•ืช ืขืœ ื›ื•ืœื
ืžื–ื‘ืœื•ืช; ืžืชืขืœืžื™ื ืžืืœื” ืฉืื™ื ื ืžืฉืžืขื•ืชื™ื™ื. ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช ื–ืžื™ื ื•ืช

ื›ืชื•ื‘ืช
ื”ื“ืคืก ืืช ื”ื›ืชื•ื‘ืช ืฉืœ ื›ืœ ืฆื•ืžืช. ื‘ื“ืจืš ื›ืœืœ ื–ื” ืœื ืžืฉืžืขื•ืชื™ ืžื›ื™ื•ื•ืŸ ืฉื”ื•ื ืžืฉืชื ื”
ืœืคื™ ื”ืกื‘ื™ื‘ื” ื•ืงื•ื‘ืฅ ื”ืžืงื•ืจ. ื”ืฉื™ืžื•ืฉ ื”ืขื™ืงืจื™ ืฉืœื• ื”ื•ื ืœืงืฉื™ืจื” ืฉืœ ื
ืงื•ื‘ืฅ dump ืขื ืกื‘ื™ื‘ืช ื ื™ืคื•ื™ ื‘ืื’ื™ื.

asmname
ืื "DECL_ASSEMBLER_NAME" ื”ื•ื’ื“ืจ ืขื‘ื•ืจ ื“ืงืœ ื ืชื•ืŸ, ื”ืฉืชืžืฉ ื‘ื–ื” ื‘-dump
ื‘ืžืงื•ื "DECL_NAME". ื”ืฉื™ืžื•ืฉ ื”ืขื™ืงืจื™ ืฉืœื• ื”ื•ื ืงืœื•ืช ื”ืฉื™ืžื•ืฉ ื‘ืขื‘ื•ื“ื” ืื—ื•ืจื”
ืฉืžื•ืช ืžืขื•ื•ืชื™ื ื‘ืงื•ื‘ืฅ ื”-assembly.

ืจึธื–ึถื”
ื‘ืขืช ื”ืฉืœื›ืช ื™ื™ืฆื•ื’ื™ ื‘ื™ื ื™ื™ื ื—ื–ื™ืชื™ื™ื, ืขื›ื‘ ื”ืฉืœื›ืช ื—ื‘ืจื™
ื”ื™ืงืฃ ืื• ื’ื•ืฃ ืฉืœ ืคื•ื ืงืฆื™ื” ืจืง โ€‹โ€‹ื‘ื’ืœืœ ืฉื”ื’ื™ืข ืœื”ื™ืงืฃ ื–ื”. ืจืง
ืœื–ืจื•ืง ืคืจื™ื˜ื™ื ื›ืืœื” ื›ืืฉืจ ื ื™ืชืŸ ืœื”ื’ื™ืข ืืœื™ื”ื ื™ืฉื™ืจื•ืช ื“ืจืš ื ืชื™ื‘ ืื—ืจ.

ื‘ืขืช ื”ืฉืœื›ืช ืขืฆื™ื ืžื•ื“ืคืกื™ื ื™ืคื”, ืืคืฉืจื•ืช ื–ื• ืžื•ื ืขืช ื”ืฉืœื›ืช ื’ื•ืคื•ืช ืฉืœ
ืžื‘ื ื™ ื‘ืงืจื”.

ื‘ืขืช ื”ืฉืœื›ืช RTL, ื”ื“ืคืก ืืช ื”-RTL ื‘ืฆื•ืจื” ื“ืงื” (ืžืขื•ื‘ื”) ื‘ืžืงื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื™ื™ืฆื•ื’ ื“ืžื•ื™ LISP.

ื—ื™ ื”ื“ืคืก ื™ื™ืฆื•ื’ ื’ื•ืœืžื™ ืฉืœ ื”ืขืฅ. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืขืฆื™ื ืžื•ื“ืคืกื™ื ื™ืคื”
ื™ื™ืฆื•ื’ ื“ืžื•ื™ C.

ืคืจื˜ื™ื
ืืคืฉืจ dump ืžืคื•ืจื˜ ื™ื•ืชืจ (ืœื ืžื›ื•ื‘ื“ ื‘ื›ืœ ืืคืฉืจื•ืช dump). ื›ืœื•ืœ ื’ื
ืžื™ื“ืข ืžื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืขื•ื‘ืจ.

ืกื˜ื˜ื™ืกื˜ื™ืงื•ืช
ืืคืฉืจ ื”ืฉืœื›ืช ื ืชื•ื ื™ื ืกื˜ื˜ื™ืกื˜ื™ื™ื ืฉื•ื ื™ื ืขืœ ื”ื›ืจื˜ื™ืก (ืœื ืžื›ื•ื‘ื“ ื‘ื›ืœ ืžื–ื‘ืœื”
ืื•ึนืคึผึฐืฆึดื™ึธื”).

ืื‘ื ื™
ืืคืฉืจ ื”ืฆื’ืช ื’ื‘ื•ืœื•ืช ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื (ืžื•ืฉื‘ืช ื‘-raw dumps).

ื’ืจืฃ
ืขื‘ื•ืจ ื›ืœ ืื—ื“ ืžืงื‘ืฆื™ ื”-dump ื”ืื—ืจื™ื ืฉืฆื•ื™ื ื• (-fdump-rtl-ืœืขื‘ื•ืจ), ืœื–ืจื•ืง ื
ื™ื™ืฆื•ื’ ืฉืœ ื’ืจืฃ ื–ืจื™ืžืช ื”ื‘ืงืจื” ื”ืžืชืื™ื ืœืฆืคื™ื™ื” ืขื GraphViz to
file.passid.pass.dot. ื›ืœ ืคื•ื ืงืฆื™ื” ื‘ืงื•ื‘ืฅ ืžื•ื“ืคืกืช ื™ืคื” ื›ืชืช-ื’ืจืฃ,
ื›ืš ืฉ-GraphViz ื™ื•ื›ืœ ืœืขื‘ื“ ืืช ื›ื•ืœื ื‘ืขืœื™ืœื” ืื—ืช.

ืืคืฉืจื•ืช ื–ื• ืคื•ืขืœืช ื›ืจื’ืข ืจืง ืขื‘ื•ืจ dumps ืฉืœ RTL, ื•ื”-RTL ืชืžื™ื“ ื ื–ืจืง ืคื ื™ืžื”
ืฆื•ืจื” ืจื–ื”.

ื•ื•ืค
ืืคืฉืจ ื”ืฆื’ืช ืื•ืคืจื ื“ื™ื ื•ื™ืจื˜ื•ืืœื™ื™ื ืขื‘ื•ืจ ื›ืœ ื”ืฆื”ืจื”.

ืœื™ื ื•
ืืคืฉืจ ื”ืฆื’ืช ืžืกืคืจื™ ืฉื•ืจื•ืช ืขื‘ื•ืจ ื”ืฆื”ืจื•ืช.

uid ืืคืฉืจ ื”ืฆื’ืช ื”ืžื–ื”ื” ื”ื™ื™ื—ื•ื“ื™ ("DECL_UID") ืขื‘ื•ืจ ื›ืœ ืžืฉืชื ื”.

ืžึดืœื•ึผืœึดื™
ืืคืฉืจ ื”ืฆื’ืช dump ื”ืขืฅ ืขื‘ื•ืจ ื›ืœ ื”ืฆื”ืจื”.

eh ืืคืฉืจ ื”ืฆื’ืช ืžืกืคืจ ืื–ื•ืจ ื”-EH ื”ืžื—ื–ื™ืง ื›ืœ ื”ืฆื”ืจื”.

scev
ืืคืฉืจ ื”ืฆื’ืช ืคืจื˜ื™ ื ื™ืชื•ื— ืื‘ื•ืœื•ืฆื™ื” ืกืงืœืจื™ืช.

ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ืืคืฉืจ ื”ืฆื’ืช ืžื™ื“ืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” (ื–ืžื™ืŸ ืจืง ื‘ืžืขื‘ืจื™ื ืžืกื•ื™ืžื™ื).

ื”ื—ื˜ื™ื
ืืคืฉืจ ื”ืฆื’ืช ืคืจื˜ื™ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉื”ื•ื—ืžืฆื• (ื–ืžื™ืŸ ืจืง ื‘ืžืขื‘ืจื™ื ืžืกื•ื™ืžื™ื).

ื”ืขืจื•ืช
ืืคืฉืจ ืžื™ื“ืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžืคื•ืจื˜ ืื—ืจ (ื–ืžื™ืŸ ืจืง ื‘ืžืขื‘ืจื™ื ืžืกื•ื™ืžื™ื).

=ืฉื ื”ืงื•ื‘ืฅ
ื‘ืžืงื•ื ืงื•ื‘ืฅ dump ืื•ื˜ื•ืžื˜ื™ ื‘ืฉื, ืคืœื˜ ืœืฉื ื”ืงื•ื‘ืฅ ื”ื ืชื•ืŸ. ื”ืงื•ื‘ืฅ
ืฉืžื•ืช stdout ื• ืกื˜ื“ืจืจ ืžื˜ื•ืคืœื™ื ื‘ืžื™ื•ื—ื“ ื•ื ื—ืฉื‘ื™ื ื›ื‘ืจ ืคืชื•ื—ื™ื
ื–ืจืžื™ื ืกื˜ื ื“ืจื˜ื™ื™ื. ืœื“ื•ื’ืžื”,

gcc -O2 -ftree-vectorize -fdump-tree-vect-blocks=foo.dump
-fdump-tree-pre=stderr file.c

ืคืœื˜ ื•ืงื˜ื•ืจื™ื™ื–ืจ dump ืœืชื•ืš foo.dump, ื‘ื–ืžืŸ ืฉื”-PRE dump ืžื•ืคืขืœ ืขืœ ืกื˜ื“ืจืจ.
ืื ืฉื ื™ ืฉืžื•ืช ืงื‘ืฆื™ dump ืžืชื ื’ืฉื™ื ื ื™ืชื ื™ื ืขื‘ื•ืจ ืื•ืชื• ืžืขื‘ืจ, ืื– ื”ืื—ืจื•ืŸ
ื”ืืคืฉืจื•ืช ืขื•ืงืคืช ืืช ื”ืงื•ื“ืžืช.

ืืช ื›ืœ ื”ืคืขืœ ืืช ื›ืœ ื”ืืคืฉืจื•ื™ื•ืช, ืžืœื‘ื“ ื—ื™, ืจึธื–ึถื”, ืžึดืœื•ึผืœึดื™ ื• ืœื™ื ื•.

optall
ื”ืคืขืœ ืืช ื›ืœ ืืคืฉืจื•ื™ื•ืช ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”, ื›ืœื•ืžืจ, ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”, ื”ื—ื˜ื™ื, ื• ื”ืขืจื•ืช.

ื”ืฉืœื›ื•ืช ื”ืขืฆื™ื ื”ื‘ืื•ืช ืืคืฉืจื™ื•ืช:

ืžึฐืงื•ึนืจึดื™
ืœื–ืจื•ืง ืœืคื ื™ ื›ืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžื‘ื•ืกืกืช ืขืฅ, ื›ื“ื™ file.original.

ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ืœื–ืจื•ืง ืื—ืจื™ ื”ื›ืœ ืขืฅ ืžื‘ื•ืกืก ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”, ื›ื“ื™ file.optimized.

ื’ื™ืžืคืœ
ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืคื ื™ ื•ืื—ืจื™ ืžืขื‘ืจ ื”ื’ื™ืžืคืœื™ืคื™ืงืฆื™ื” ืœืงื•ื‘ืฅ. ื”ืงื•ื‘ืฅ
ื”ืฉื ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .ื’ื™ืžืคืœ ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

cfg ื–ืจื•ืง ืืช ื’ืจืฃ ื–ืจื™ืžืช ื”ื‘ืงืจื” ืฉืœ ื›ืœ ืคื•ื ืงืฆื™ื” ืœืงื•ื‘ืฅ. ืฉื ื”ืงื•ื‘ืฅ ื ื•ืฆืจ ืขืœ ื™ื“ื™
ืžืฆืจืฃ .cfg ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

ch ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื”ืขืชืงืช ื›ื•ืชืจื•ืช ืœื•ืœืื”. ืฉื ื”ืงื•ื‘ืฅ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื”
.ch ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

SSA ื–ืจื•ืง ืžื™ื“ืข ื”ืงืฉื•ืจ ืœ-SSA ืœืงื•ื‘ืฅ. ืฉื ื”ืงื•ื‘ืฅ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .ssa
ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

ื›ื™ื ื•ื™
ื–ืจื•ืง ืžื™ื“ืข ื›ื™ื ื•ื™ ืขื‘ื•ืจ ื›ืœ ืคื•ื ืงืฆื™ื”. ืฉื ื”ืงื•ื‘ืฅ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื”
.alias ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

ื”ืžืง"ืก ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืื—ืจื™ CCP. ืฉื ื”ืงื•ื‘ืฅ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .CCP ืืœ ื”
ืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

storeccp
ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืื—ืจื™ STORE-CCP. ืฉื ื”ืงื•ื‘ืฅ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .storeccp
ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

ืžืจืืฉ ื”ืฉืœื›ืช ืขืฆื™ื ืœืื—ืจ ื‘ื™ื˜ื•ืœ ื™ืชื™ืจื•ืช ื—ืœืงื™ืช. ืฉื ื”ืงื•ื‘ืฅ ื ื•ืฆืจ ืขืœ ื™ื“ื™
ืžืฆืจืฃ .ืžึดืจึนืืฉื ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

fre ื”ืฉืœื›ืช ืขืฆื™ื ืœืื—ืจ ื‘ื™ื˜ื•ืœ ื™ืชื™ืจื•ืช ืžืœืื”. ืฉื ื”ืงื•ื‘ืฅ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื”
.fre ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

copyprop
ื”ืฉืœื›ืช ืขืฆื™ื ืœืื—ืจ ืจื™ื‘ื•ื™ ื”ืขืชืงื™ื. ืฉื ื”ืงื•ื‘ืฅ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .copyprop
ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

store_copyprop
ื”ืฉืœื›ืช ืขืฆื™ื ืœืื—ืจ ื”ืคืฆืช ื”ืขืชืงื” ื‘ื—ื ื•ืช. ืฉื ื”ืงื•ื‘ืฅ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื”
.store_copyprop ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

dce ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื—ื™ืกื•ืœ ืงื•ื“ ืžืช. ืฉื ื”ืงื•ื‘ืฅ ื ื•ืฆืจ ืขืœ ื™ื“ื™
ืžืฆืจืฃ .dce ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

ื‘ื•ืฅ
ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื”ื•ืกืคืช ืžื›ืฉื•ืจ ืฉืœ ื“ืฉ ื‘ื•ืฅ. ืฉื ื”ืงื•ื‘ืฅ ื ื•ืฆืจ ืขืœ ื™ื“ื™
ืžืฆืจืฃ .ื“ืฉ ื‘ื•ืฅ ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

SRA ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื‘ื™ืฆื•ืข ื”ื—ืœืคื” ืกืงืœืจื™ืช ืฉืœ ืื’ืจื’ื˜ื™ื. ื”ืงื•ื‘ืฅ
ื”ืฉื ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .sra ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

ื›ึผึดื™ื•ึนืจ
ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื‘ื™ืฆื•ืข ืฉืงื™ืขืช ืงื•ื“. ืฉื ื”ืงื•ื‘ืฅ ื ื•ืฆืจ ืขืœ ื™ื“ื™
ืžืฆืจืฃ .ื›ึผึดื™ื•ึนืจ ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

dom ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื”ื—ืœืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืขืฅ ื“ื•ืžื™ื ื˜ื•ืจ. ืฉื ื”ืงื•ื‘ืฅ ื”ื•ื
ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .dom ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

ืืžืจ ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื”ื—ืœืช ื‘ื™ื˜ื•ืœ ื—ื ื•ืช ืžืชื”. ืฉื ื”ืงื•ื‘ืฅ ื ื•ืฆืจ
ืขืœ ื™ื“ื™ ื”ื•ืกืคืช .dse ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

phiopt
ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืฆืžืชื™ PHI ืœืงื•ื“ ื™ืฉืจ. ื”ืงื•ื‘ืฅ
ื”ืฉื ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .phiopt ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

forwprop
ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื”ืคืฆื” ืงื“ื™ืžื” ืฉืœ ืžืฉืชื ื™ ืฉื™ืžื•ืฉ ื—ื“ ืคืขืžื™. ืฉื ื”ืงื•ื‘ืฅ
ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .forwprop ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

ืฉื ืขื•ืชืง
ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื”ื—ืœืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื™ืช ืฉื™ื ื•ื™ ืฉื ื”ืขื•ืชืง. ืฉื ื”ืงื•ื‘ืฅ ื”ื•ื
ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .copyrename ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

nrv ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื”ื—ืœืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื™ืช ืขืจืš ื”ื”ื—ื–ืจื” ื”ื ืงืจืืช ืขืœ ื’ื ืจื™
ืขืฆื™ื. ืฉื ื”ืงื•ื‘ืฅ ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .nrv ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

ื•ืงื˜
ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื”ื—ืœืช ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ืฉืœ ืœื•ืœืื•ืช. ืฉื ื”ืงื•ื‘ืฅ ื ื•ืฆืจ
ืขืœ ื™ื“ื™ ื”ื•ืกืคืช .vect ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

slp ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื”ื—ืœืช ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ืฉืœ ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื. ืฉื ื”ืงื•ื‘ืฅ ื”ื•ื
ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคื” .slp ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

vp ื–ืจื•ืง ื›ืœ ืคื•ื ืงืฆื™ื” ืœืื—ืจ ื”ืชืคืฉื˜ื•ืช ื˜ื•ื•ื— ืขืจื›ื™ื (VRP). ืฉื ื”ืงื•ื‘ืฅ ื ื•ืฆืจ ืขืœ ื™ื“ื™
ืžืฆืจืฃ .vrp ืœืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ.

ืืช ื›ืœ ืืคืฉืจ ืืช ื›ืœ ื”ืฉืœื›ื•ืช ื”ืขืฆื™ื ื”ื–ืžื™ื ื•ืช ืขื ื”ื“ื’ืœื™ื ื”ื ื™ืชื ื™ื ื‘ืืคืฉืจื•ืช ื–ื•.

-fopt-info
-fopt-info-ืืคืฉืจื•ื™ื•ืช
-fopt-info-ืืคืฉืจื•ื™ื•ืช=ืฉื ื”ืงื•ื‘ืฅ
ืฉื•ืœื˜ ืขืœ ื–ืจื™ืงื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžืžืขื‘ืจื™ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉื•ื ื™ื. ืื ื” -ืืคืฉืจื•ื™ื•ืช ื”ืฆื•ืจื” ื”ื™ื
ื‘ืฉื™ืžื•ืฉ, ืืคืฉืจื•ื™ื•ืช ื”ื™ื ืจืฉื™ืžื” ืฉืœ - ืืคืฉืจื•ื™ื•ืช ืžื•ืคืจื“ื•ืช ืœื‘ื—ื™ืจืช ืคืจื˜ื™ ื”-dump ื•
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช. ืื ืืคืฉืจื•ื™ื•ืช ืœื ืฆื•ื™ืŸ, ื”ื•ื ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืืช ื›ืœ ืœืคืจื˜ื™ื ื• optall
ืœืงื‘ื•ืฆื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”. ืื ื” ืฉื ื”ืงื•ื‘ืฅ ืœื ืฆื•ื™ืŸ, ื”ื•ื ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืกื˜ื“ืจืจ. ืคืชืง
ืฉื”ืคืœื˜ ืฉื ื”ืงื•ื‘ืฅ ื™ื•ื—ืœืฃ ื‘ืžืงืจื” ืฉืœ ืžืกืคืจ ื™ื—ื™ื“ื•ืช ืชืจื’ื•ื. ืื
ืจืฆื•ื™ ืคืœื˜ ืžืฉื•ืœื‘ ืžืžืกืคืจ ื™ื—ื™ื“ื•ืช ืชืจื’ื•ื, ืกื˜ื“ืจืจ ื™ืฉ ืœื”ืฉืชืžืฉ
ื‘ืžืงื•ื.

ื ื™ืชืŸ ืœื—ืœืง ืืช ื”ืืคืฉืจื•ื™ื•ืช ืœืฉืชื™ ืงื‘ื•ืฆื•ืช, 1) ืืคืฉืจื•ื™ื•ืช ื”ืžืชืืจื•ืช ืืช ื”ืžืœืœ ืฉืœ ื”
dump, ื•-2) ืืคืฉืจื•ื™ื•ืช ื”ืžืชืืจื•ืช ืื™ืœื• ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื™ืฉ ืœื›ืœื•ืœ. ื”ืืคืฉืจื•ื™ื•ืช
ืžืฉืชื™ ื”ืงื‘ื•ืฆื•ืช ื ื™ืชืŸ ืœืขืจื‘ื‘ ื‘ืื•ืคืŸ ื—ื•ืคืฉื™ ืžื›ื™ื•ื•ืŸ ืฉื”ืŸ ืื™ื ืŸ ื—ื•ืคืคื•ืช. ืขื ื–ืืช, ื‘ืžืงืจื”
ืžื›ืœ ื”ืชื ื’ืฉื•ื™ื•ืช, ื”ืืคืฉืจื•ื™ื•ืช ื”ืื—ืจื•ื ื•ืช ืขื•ืงืคื•ืช ืืช ื”ืืคืฉืจื•ื™ื•ืช ื”ืงื•ื“ืžื•ืช ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”.
ืœืžืจื•ืช ืฉืžืชืงื‘ืœื•ืช ืืคืฉืจื•ื™ื•ืช ืžืจื•ื‘ื•ืช -fopt-info, ืจืง ืื—ืช ืžื”ืŸ ื™ื›ื•ืœื” ืœื”ื™ื•ืช =ืฉื ืงื•ื‘ืฅ.
ืื ืžืกื•ืคืงื™ื ืฉืžื•ืช ืงื‘ืฆื™ื ืื—ืจื™ื, ืžืชืขืœืžื™ื ืžื›ื•ืœื ืžืœื‘ื“ ื”ืจืืฉื•ืŸ.

ืœ-dump ื™ืฉ ืืช ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช

ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ื”ื“ืคืก ืžื™ื“ืข ื›ืืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžื•ื—ืœืช ื‘ื”ืฆืœื—ื”. ื–ื” ืขื“ ืœืขื‘ื•ืจ
ืœื”ื—ืœื™ื˜ ืื™ื–ื” ืžื™ื“ืข ืจืœื•ื•ื ื˜ื™. ืœื“ื•ื’ืžื”, ื”ื•ื•ืงื˜ื•ืจื™ื™ื–ืจ ืžืขื‘ื™ืจ ืืช ื”ื”ื“ืคืกื”
ืžื™ืงื•ื ื”ืžืงื•ืจ ืฉืœ ืœื•ืœืื•ืช ืฉืขื‘ืจื• ื•ืงื˜ื•ืจ ื‘ื”ืฆืœื—ื”.

ื”ื—ื˜ื™ื
ื”ื“ืคืก ืžื™ื“ืข ืขืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉื”ื•ื—ืžืฆื•. ื™ื—ื™ื“ ืขื•ื‘ืจ ืฉืœื™ื˜ื” ืืฉืจ
ืžื™ื“ืข ืฉื™ืฉ ืœื›ืœื•ืœ ื‘ืคืœื˜. ืœื“ื•ื’ืžื”,

gcc -O2 -ftree-vectorize -fopt-info-vec-missed

ื™ื“ืคื™ืก ืžื™ื“ืข ืขืœ ื”ื–ื“ืžื ื•ื™ื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉื”ื•ื—ืžืฆื• ืžื”ื•ื•ืงื˜ื•ืจื™ื–ืฆื™ื”
ืžืขื‘ื™ืจ ืขืœ ืกื˜ื“ืจืจ.

ื”ืขืจื•ืช
ื”ื“ืคืก ืžื™ื“ืข ืžืคื•ืจื˜ ืขืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช, ื›ื’ื•ืŸ ื˜ืจื ืกืคื•ืจืžืฆื™ื•ืช ืžืกื•ื™ืžื•ืช,
ื”ื•ื“ืขื•ืช ืžืคื•ืจื˜ื•ืช ื™ื•ืชืจ ืขืœ ื”ื—ืœื˜ื•ืช ื•ื›ื•'.

ืืช ื›ืœ ื”ื“ืคืก ืžื™ื“ืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžืคื•ืจื˜. ื–ื” ื›ื•ืœืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”, ื”ื—ื˜ื™ื, ื•
ื”ืขืจื•ืช.

ืงื‘ื•ืฆืช ื”ืืคืฉืจื•ื™ื•ืช ื”ืฉื ื™ื™ื” ืžืชืืจืช โ€‹โ€‹ืงื‘ื•ืฆื” ืฉืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื•ืขืฉื•ื™ื” ืœื›ืœื•ืœ ืื—ืช ืื•
ืขื•ื“ ืžื”ื“ื‘ืจื™ื ื”ื‘ืื™ื.

Ipa ืืคืฉืจ dumps ืžื›ืœ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ื‘ื™ืŸ-ื”ืœื™ื›ื™ื.

ืœื•ืœืื”
ืืคืฉืจ dumps ืžื›ืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ืœื•ืœืื”.

ืžื•ื˜ื‘ืข
ืืคืฉืจ dumps ืžื›ืœ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ืžื•ื˜ื‘ืขื•ืช.

vec ืืคืฉืจ dumps ืžื›ืœ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ื•ืงื˜ื•ืจื™ื–ืฆื™ื”.

ืœื“ื•ื’ืžื”,

GCC -O3 -fopt -Info -missed = ื”ื—ืžืฆื”.

ืคืœื˜ ื“ื•ื— ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉื”ื•ื—ืžืฆื” ืžื›ืœ ื”ืžืขื‘ืจื™ื ืืœ ืคืกืคืก.ื”ื›ืœ.

ื›ื“ื•ื’ืžื” ื ื•ืกืคืช,

gcc -O3 -fopt-info-inline-optimized-missed=inline.txt

ื™ื•ืฆื™ื ืžื™ื“ืข ืขืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉื”ื•ื—ืžืฆื• ื›ืžื• ื’ื ืขืœ ืžื™ืงื•ืžื™ื ืฉืขื‘ืจื• ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืž
ื›ืœ ื”ื”ื˜ื‘ืขื” ืขื•ื‘ืจืช ืœืชื•ืš inline.txt.

ืื ืฉื ื”ืงื•ื‘ืฅ ืžืกื•ืคืง, ืื– ื”-dumps ืžื›ืœ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ืจืœื•ื•ื ื˜ื™ื•ืช
ืžืฉื•ืจืฉืจื™ื ืœืชื•ืš ื” ืฉื ื”ืงื•ื‘ืฅ. ืื—ืจืช, ื”-dump ืžื•ืคืœื˜ ืืœ ืกื˜ื“ืจืจ. ืื ืืคืฉืจื•ื™ื•ืช
ืžื•ืฉืžื˜, ื”ื•ื ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื”ื›ืœ-ืื•ืคื˜ืœื™, ื›ืœื•ืžืจ ื–ืจื•ืง ืืช ื›ืœ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื”ื–ืžื™ื ื”
ืžื™ื“ืข ืžื›ืœ ื”ื›ืจื˜ื™ืกื™ื. ื‘ื“ื•ื’ืžื” ื”ื‘ืื”, ื›ืœ ืžื™ื“ืข ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžื•ืคืขืœ
ืœ ืกื˜ื“ืจืจ.

gcc -O3 -fopt-info

ืฉื™ื ืœื‘ ื›ื™ -fopt-info-vec-missed ืžืชื ื”ื’ ื›ืžื• -fopt-info-missed-vec.

ื›ื“ื•ื’ืžื” ื ื•ืกืคืช, ืฉืงื•ืœ

gcc -fopt-info-vec-missed=vec.miss -fopt-info-loop-optimized=loop.opt

ื›ืืŸ ืฉื ื™ ืฉืžื•ืช ืงื‘ืฆื™ ื”ืคืœื˜ vec.miss ื• loop.opt ืžืกื•ื›ืกื›ื™ื ืฉื›ืŸ ืจืง ืื—ื“
ืงื•ื‘ืฅ ื”ืคืœื˜ ืžื•ืชืจ. ื‘ืžืงืจื” ื–ื”, ืจืง ื”ืืคืฉืจื•ืช ื”ืจืืฉื•ื ื” ื ื›ื ืกืช ืœืชื•ืงืฃ ื•ื”-
ืžืชืขืœืžื™ื ืžื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช. ืœืคื™ื›ืš ืจืง ื” vec.miss ืžื™ื•ืฆืจ ืืฉืจ cotains
ื–ืจื™ืงื•ืช ืžื”ื•ื•ืงื˜ื•ืจื™ื™ื–ืจ ืœื’ื‘ื™ ื”ื–ื“ืžื ื•ื™ื•ืช ืฉื”ื•ื—ืžืฆื•.

-ftree-vectorizer-verbose=n
ืืคืฉืจื•ืช ื–ื• ื”ื•ืฆืื” ืžืฉื™ืžื•ืฉ ื•ื”ื™ื ืžื™ื•ืฉืžืช ื‘ืžื•ื ื—ื™ื ืฉืœ -fopt-info. ื‘ื‘ืงืฉื” ืชืฉืชืžืฉ
-fopt-info-ืกื•ื’ ื˜ื•ืคืก ื‘ืžืงื•ื, ืื™ืคื” ืกื•ื’ ื”ื™ื ืื—ืช ืžืืคืฉืจื•ื™ื•ืช ื”-opt-info ื”ืชืงืคื•ืช. ื–ื”
ืžื“ืคื™ืก ืžื™ื“ืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื ื•ืกืฃ. ืœ n=0 ืื™ืŸ ืžื™ื“ืข ืื‘ื—ื•ื ื™
ื“ื™ื•ื•ื—. ืื n=1 ื”ื•ื•ืงื˜ื•ืจื™ื™ื–ืจ ืžื“ื•ื•ื— ืขืœ ื›ืœ ืœื•ืœืื” ืฉืขื‘ืจื” ื•ืงื˜ื•ืจ, ื•ื”ืกืš ื”ื›ืœ
ืžืกืคืจ ืœื•ืœืื•ืช ืฉืขื‘ืจื• ื•ืงื˜ื•ืจ. ืื n=2 ื”ื•ื•ืงื˜ื•ืจื™ื™ื–ืจ ืžื“ื•ื•ื— ืขืœ ืžื™ืงื•ืžื™ื ืืฉืจ
ืœื ื ื™ืชืŸ ื”ื™ื” ืœื”ื•ืงื˜ื•ืจ ื•ื”ืกื™ื‘ื•ืช ืœื›ืš. ืœื›ืœ ืจืžื•ืช ืžื™ืœื•ืœื™ื•ืช ื’ื‘ื•ื”ื•ืช ื™ื•ืชืจ ื”ื›ืœ
ืžื™ื“ืข ื”ื ื™ืชื•ื— ื•ื”ื˜ืจื ืกืคื•ืจืžืฆื™ื” ืžื”ื•ื•ืงื˜ื•ืจื™ื™ื–ืจ ืžื“ื•ื•ื—.

ืฉื™ื ืœื‘ ืฉื”ืžื™ื“ืข ืคืœื˜ ืขืœ ื™ื“ื™ -ftree-vectorizer-verbose ืืคืฉืจื•ืช ื ืฉืœื—ืช ืœ
ืกื˜ื“ืจืจ. ืื ื”ืฆื•ืจื” ื”ืžืงื‘ื™ืœื” -fopt-info-ืืคืฉืจื•ื™ื•ืช=ืฉื ื”ืงื•ื‘ืฅ ืžืฉืžืฉ ืื– ื”ืคืœื˜ ื”ื•ื
ื ืฉืœื— ืฉื ื”ืงื•ื‘ืฅ ื‘ืžืงื•ื.

-ืคืจื ื“ื•ื-seed=ืžื—ืจื•ื–ืช
ืืคืฉืจื•ืช ื–ื• ืžืกืคืงืช ื–ืจืข ืฉ-GCC ืžืฉืชืžืฉ ื‘ื• ื‘ืžืงื•ื ืžืกืคืจื™ื ืืงืจืื™ื™ื ื‘ื”ืคืงื”
ืฉืžื•ืช ืžืกื•ื™ืžื™ื ืฉืœ ืกืžืœื™ื ืฉืฆืจื™ื›ื™ื ืœื”ื™ื•ืช ืฉื•ื ื™ื ื‘ื›ืœ ืงื•ื‘ืฅ ื”ื™ื“ื•ืจ. ื–ื” ื’ื
ืžืฉืžืฉ ืœื”ืฆื‘ืช ื—ื•ืชืžื•ืช ื™ื™ื—ื•ื“ื™ื•ืช ื‘ืงื‘ืฆื™ ื ืชื•ื ื™ ื›ื™ืกื•ื™ ื•ื‘ืงื‘ืฆื™ ื”ืื•ื‘ื™ื™ืงื˜ื™ื ืฉืžื™ื™ืฆืจื™ื
ืื•ึนืชึธื. ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ -ืคืจื ื“ื•ื-ื–ืจืข ืืคืฉืจื•ืช ืœื™ื™ืฆืจ ืื•ื‘ื™ื™ืงื˜ ื–ื”ื” ืœืฉื—ื–ื•ืจ
ืงื‘ืฆื™ื.

ื”ืฉืžื™ื™ื ืžื—ืจื•ื–ืช ืฆืจื™ืš ืœื”ื™ื•ืช ืฉื•ื ื” ืขื‘ื•ืจ ื›ืœ ืงื•ื‘ืฅ ืฉืืชื” ืžืงืžืคืœ.

-fsched-verbose=n
ื‘ื™ืขื“ื™ื ื”ืžืฉืชืžืฉื™ื ื‘ืชื–ืžื•ืŸ ื”ื•ืจืื•ืช, ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ื‘ื›ืžื•ืช
ืื™ืชื•ืจ ื‘ืื’ื™ื ืคืœื˜ ื”ืžืชื–ืžืŸ ืžื“ืคื™ืก. ืžื™ื“ืข ื–ื” ื ื›ืชื‘ ื‘ืฉื’ื™ืืช ืชืงืŸ,
ืืœื ืื ื›ืŸ -fdump-rtl-sched1 or -fdump-rtl-sched2 ืžืฆื•ื™ืŸ, ื•ื‘ืžืงืจื” ื–ื” ื”ื•ื ืคืœื˜
ืœืงื•ื‘ืฅ ืจื™ืฉื•ื ื”ืžื–ื‘ืœื” ื”ืจื’ื™ืœ, .sched1 or .sched2 ื‘ื”ืชืืžื”. ืื•ืœื ืขื‘ื•ืจ n
ื’ื“ื•ืœ ืžืชืฉืข, ื”ืคืœื˜ ืžื•ื“ืคืก ืชืžื™ื“ ืœืคื™ ืฉื’ื™ืืช ืชืงืŸ.

ื‘ืขื“ n ื’ื“ื•ืœ ืžืืคืก, -ืืฉืจ-ื•ืจื‘ื•ื– ืžื•ืฆื™ื ืืช ืื•ืชื• ืžื™ื“ืข ื›ืžื•
-fdump-rtl-sched1 ื• -fdump-rtl-sched2. ืคื•ืจื•ื n ื’ื“ื•ืœ ืžืื—ื“, ื”ื•ื ื’ื ืคืœื˜ ื‘ืกื™ืกื™
ื”ืกืชื‘ืจื•ื™ื•ืช ื—ืกื™ืžื”, ืžื™ื“ืข ืžืคื•ืจื˜ ืขืœ ืจืฉื™ืžื” ืžื•ื›ื ื” ื•ืžื™ื“ืข ืขืœ ื™ื—ื™ื“ื”/ืžืชืงืŸ. ืœ n
ื™ื•ืชืจ ืžืฉื ื™ื™ื, ื”ื•ื ื›ื•ืœืœ RTL ื‘ื ืงื•ื“ืช ื‘ื™ื˜ื•ืœ, ื–ืจื™ืžืช ื‘ืงืจื” ื•ืžื™ื“ืข ืขืœ ืื–ื•ืจื™ื. ื•
ืœ n ืžืขืœ ืืจื‘ืข, -ืืฉืจ-ื•ืจื‘ื•ื– ื›ื•ืœืœ ื’ื ืžื™ื“ืข ืขืœ ืชืœื•ืช.

-ื—ื™ืกื›ื•ืŸ-ื˜ืžืค'
-save-temps=cwd
ืื—ืกืŸ ืืช ืงื‘ืฆื™ ื”ื‘ื™ื ื™ื™ื ื”"ื–ืžื ื™ื™ื" ื”ืจื’ื™ืœื™ื ืœืฆืžื™ืชื•ืช; ืœืžืงื ืื•ืชื ื‘ื–ืจื
ืกืคืจื™ื™ื” ื•ืฉื ืื•ืชื ืขืœ ืกืžืš ืงื•ื‘ืฅ ื”ืžืงื•ืจ. ืœืคื™ื›ืš, ืงื•ืžืคื™ืœืฆื™ื” foo.c ืขื -c
-ื—ื™ืกื›ื•ืŸ-ื˜ืžืค' ืžื™ื™ืฆืจ ืงื‘ืฆื™ื foo.i ื• foo.s, ื‘ื ื•ืกืฃ ืœ foo.o. ื–ื” ื™ื•ืฆืจ ื
ืžืขื•ื‘ื“ ืžืจืืฉ foo.i ืงื•ื‘ืฅ ื”ืคืœื˜ ืœืžืจื•ืช ืฉื”ืžื”ื“ืจ ืžืฉืชืžืฉ ื›ืขืช ื‘ื“ืจืš ื›ืœืœ ื‘-an
ืžืขื‘ื“ ืงื“ื ืžืฉื•ืœื‘.

ื‘ืฉื™ืžื•ืฉ ื‘ืฉื™ืœื•ื‘ ืขื -x ืืคืฉืจื•ืช ืฉื•ืจืช ืคืงื•ื“ื”, -ื—ื™ืกื›ื•ืŸ-ื˜ืžืค' ื”ื•ื ื”ื’ื™ื•ื ื™
ืžืกืคื™ืง ื›ื“ื™ ืœื”ื™ืžื ืข ืžื›ืชื™ื‘ืช ื™ืชืจ ืฉืœ ืงื•ื‘ืฅ ืžืงื•ืจ ืงืœื˜ ืขื ืื•ืชื” ืกื™ื•ืžืช ื›ืžื• an
ืงื•ื‘ืฅ ื‘ื™ื ื™ื™ื. ื ื™ืชืŸ ืœื”ืฉื™ื’ ืืช ืงื•ื‘ืฅ ื”ื‘ื™ื ื™ื™ื ื”ืžืชืื™ื ืขืœ ื™ื“ื™ ืฉื™ื ื•ื™ ืฉื
ืงื•ื‘ืฅ ื”ืžืงื•ืจ ืœืคื ื™ ื”ืฉื™ืžื•ืฉ -ื—ื™ืกื›ื•ืŸ-ื˜ืžืค'.

ืื ืืชื” ืžืคืขื™ืœ ืืช GCC ื‘ืžืงื‘ื™ืœ, ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืžืกืคืจ ืงื•ื‘ืฆื™ ืžืงื•ืจ ืฉื•ื ื™ื ื”ื—ื•ืœืงื™ื ื
ืฉื ื‘ืกื™ืก ื ืคื•ืฅ ื‘ืกืคืจื™ื•ืช ืžืฉื ื” ืฉื•ื ื•ืช ืื• ืื•ืชื• ืงื•ื‘ืฅ ืžืงื•ืจ ืฉื”ื™ื“ื•ืจ ืขื‘ื•ืจื•
ื™ืขื“ื™ ืคืœื˜ ืžืจื•ื‘ื™ื, ืกื‘ื™ืจ ืœื”ื ื™ื— ืฉื”ืžื”ื“ืจื™ื ื”ืžืงื‘ื™ืœื™ื ื”ืฉื•ื ื™ื ื™ืขืฉื• ื–ืืช
ืžืคืจื™ืขื™ื ื–ื” ืœื–ื”, ื•ืžื—ืœื™ืคื™ื ืืช ื”ืงื‘ืฆื™ื ื”ื–ืžื ื™ื™ื. ืœื“ื•ื’ืžื”:

gcc -save-temps -o outdir1/foo.o indir1/foo.c&
gcc -save-temps -o outdir2/foo.o indir2/foo.c&

ืขืœื•ืœ ืœื’ืจื•ื ืœ foo.i ื• foo.o ื ื›ืชื‘ ื‘ื• ื–ืžื ื™ืช ืขืœ ื™ื“ื™ ืฉื ื™ ื”ืžื”ื“ืจื™ื.

-save-temps=obj
ืื—ืกืŸ ืืช ืงื‘ืฆื™ ื”ื‘ื™ื ื™ื™ื ื”"ื–ืžื ื™ื™ื" ื”ืจื’ื™ืœื™ื ืœืฆืžื™ืชื•ืช. ืื ื” -o ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช,
ื”ืงื‘ืฆื™ื ื”ื–ืžื ื™ื™ื ืžื‘ื•ืกืกื™ื ืขืœ ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜. ืื ื” -o ื”ืืคืฉืจื•ืช ืื™ื ื” ื‘ืฉื™ืžื•ืฉ, ื”
-save-temps=obj ืžืชื’ ืžืชื ื”ื’ ื›ืžื• -ื—ื™ืกื›ื•ืŸ-ื˜ืžืค'.

ืœื“ื•ื’ืžื”:

gcc -save-temps=obj -c foo.c
gcc -save-temps=obj -c bar.c -o dir/xbar.o
gcc -save-temps=obj foobar.c -o dir2/yfoobar

ื™ื•ืฆืจ foo.i, foo.s, dir/xbar.i, dir/xbar.s, dir2/yfoobar.i, dir2/yfoobar.s, ื•
dir2/yfoobar.o.

-time[=ืคื™ืœื”]
ื“ื•ื•ื— ืขืœ ื–ืžืŸ ื”-CPU ืฉืœื•ืงื— ื›ืœ ืชืช-ืชื”ืœื™ืš ื‘ืจืฆืฃ ื”ื”ื™ื“ื•ืจ. ืขื‘ื•ืจ ื’
ืงื‘ืฆื™ ืžืงื•ืจ, ื–ื”ื• ื”ืžื”ื“ืจ ื”ื ื›ื•ืŸ ื•ื”ืืกืžื‘ืœืจ (ื‘ืชื•ืกืคืช ื”ืžืงืฉืจ ืื ื”ืงื™ืฉื•ืจ ื”ื•ื
ื‘ื•ืฆืข).

ืœืœื ืžืคืจื˜ ืฉืœ ืงื•ื‘ืฅ ืคืœื˜, ื”ืคืœื˜ ื ืจืื” ื›ืš:

# cc1 0.12 0.01
# ื›-0.00 0.01

ื”ืžืกืคืจ ื”ืจืืฉื•ืŸ ื‘ื›ืœ ืฉื•ืจื” ื”ื•ื "ื–ืžืŸ ื”ืžืฉืชืžืฉ", ื›ืœื•ืžืจ ื”ื–ืžืŸ ื”ืžื•ืฉืงืข ื‘ื‘ื™ืฆื•ืข
ื”ืชื•ื›ื ื™ืช ืขืฆืžื”. ื”ืžืกืคืจ ื”ืฉื ื™ ื”ื•ื "ื–ืžืŸ ืžืขืจื›ืช", ื”ื–ืžืŸ ื”ืžื•ืฉืงืข ื‘ื‘ื™ืฆื•ืข ื”ืคืขื•ืœื”
ืฉื’ืจื•ืช ืžืขืจื›ืช ืžื˜ืขื ื”ืชื•ื›ื ื™ืช. ืฉื ื™ ื”ืžืกืคืจื™ื ื”ื ื‘ืฉื ื™ื•ืช.

ืขื ื”ืžืคืจื˜ ืฉืœ ืงื•ื‘ืฅ ืคืœื˜, ื”ืคืœื˜ ืžืฆื•ืจืฃ ืœืงื•ื‘ืฅ ื‘ืขืœ ื”ืฉื,
ื•ื–ื” ื ืจืื” ื›ืš:

0.12 0.01 cc1
0.00 0.01 as

"ื–ืžืŸ ื”ืžืฉืชืžืฉ" ื•"ื–ืžืŸ ื”ืžืขืจื›ืช" ืžื•ืขื‘ืจื™ื ืœืคื ื™ ืฉื ื”ืชื•ื›ื ื™ืช, ื•ื”-
ืืคืฉืจื•ื™ื•ืช ืฉื”ื•ืขื‘ืจื• ืœืชื•ื›ื ื™ืช ืžื•ืฆื’ื•ืช, ื›ืš ืฉื ื™ืชืŸ ืœื“ืขืช ืžืื•ื—ืจ ื™ื•ืชืจ ืžื”ื• ื”ืงื•ื‘ืฅ
ื”ื™ื“ื•ืจ, ื•ืขื ืื™ืœื• ืืคืฉืจื•ื™ื•ืช.

-fvar-ืžืขืงื‘
ื”ืคืขืœ ืžืขื‘ืจ ืžืขืงื‘ ืžืฉืชื ื”. ื”ื•ื ืžื—ืฉื‘ ื”ื™ื›ืŸ ืžืื•ื—ืกื ื™ื ืžืฉืชื ื™ื ื‘ื›ืœ ืžื™ืงื•ื
ื‘ืงื•ื“. ืœืื—ืจ ืžื›ืŸ ื ื•ืฆืจ ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื ื˜ื•ื‘ ื™ื•ืชืจ (ืื ื”ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื
ืคื•ืจืžื˜ ืชื•ืžืš ื‘ืžื™ื“ืข ื–ื”).

ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืขื ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” (-ืื•ืก, -O, -O2,...),
ืžื™ื“ืข ื‘ืื’ื™ื (-g) ื•ืคื•ืจืžื˜ ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื ืชื•ืžืš ื‘ื•.

-fvar-tracking-assignments
ื”ืขืจื” ื”ืงืฆืื•ืช ืœืžืฉืชื ื™ ืžืฉืชืžืฉ ื‘ืฉืœื‘ ืžื•ืงื“ื ืฉืœ ื”ืงื•ืžืคื™ืœืฆื™ื” ื•ื ืกื” ืœื‘ืฆืข
ื”ื”ืขืจื•ืช ืœืื•ืจืš ื›ืœ ื”ืื•ืกืฃ ืขื“ ื”ืกื•ืฃ, ื‘ื ื™ืกื™ื•ืŸ
ืœืฉื™ืคื•ืจ ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื ืชื•ืš ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”. ืฉื™ืžื•ืฉ ื‘ -gdwarf-4 ืžื•ืžืœืฅ ื™ื—ื“
ืขื ื–ื”.

ื ื™ืชืŸ ืœื”ืคืขื™ืœ ืื•ืชื• ื’ื ืื ืžืขืงื‘ ืื—ืจ var ืžื•ืฉื‘ืช, ื•ื‘ืžืงืจื” ื–ื” ื”ืขืจื•ืช
ื ื•ืฆืจ ื•ืชื•ื—ื–ืง, ืื‘ืœ ื ื–ืจืง ื‘ืกื•ืฃ.

-ืžืื‘ืจ-ืžืขืงื‘-ืžื ืชืงื™ื-ื˜ื‘ื’ื•ืœ
ืœืžืชื’ -fvar-tracking-assignments, ื‘ืื•ืชื• ืื•ืคืŸ ืฉ -gtoggle toggles -g.

-print-file-name=ืกืคืจื™ื”
ื”ื“ืคืก ืืช ื”ืฉื ื”ืžื•ื—ืœื˜ ื”ืžืœื ืฉืœ ืงื•ื‘ืฅ ื”ืกืคืจื™ื™ื” ืกืคืจื™ื” ื–ื” ื™ืฉืžืฉ ืžืชื™
ืงื™ืฉื•ืจ --- ื•ืืœ ืชืขืฉื” ืฉื•ื ื“ื‘ืจ ืื—ืจ. ืขื ืืคืฉืจื•ืช ื–ื•, GCC ืื™ื ื• ืžื‘ืฆืข ืงื•ืžืคื™ืœืฆื™ื” ืื• ืงื™ืฉื•ืจ
ื›ืœ ื“ื‘ืจ; ื–ื” ืจืง ืžื“ืคื™ืก ืืช ืฉื ื”ืงื•ื‘ืฅ.

-ื”ื“ืคืก-ืžืกืคืจ ืกืคืจื™ื•ืช
ื”ื“ืคืก ืืช ืฉื ื”ืกืคืจื™ื™ื” ื”ืžืชืื™ื ืœ-multilib ืฉื ื‘ื—ืจ ืขืœ ื™ื“ื™ ืžืชื’ื™ื ืื—ืจื™ื
ืงื™ื™ื ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”. ืกืคืจื™ื™ื” ื–ื• ืืžื•ืจื” ืœื”ืชืงื™ื™ื ื‘ GCC_EXEC_PREFIX.

-print-multi-lib
ื”ื“ืคืก ืืช ื”ืžื™ืคื•ื™ ืžืฉืžื•ืช ืกืคืจื™ื•ืช multilib ืœืžืชื’ื™ ืžื”ื“ืจ ื”ืžืืคืฉืจื™ื ืื•ืชื.
ืฉื ื”ืกืคืจื™ื™ื” ืžื•ืคืจื“ ืžื”ืžืชื’ื™ื ืขืœ ื™ื“ื™ ;, ื•ื›ืœ ืžืชื’ ืžืชื—ื™ืœ ื‘-an
@ ื‘ืžืงื•ื ื” -, ืœืœื ืจื•ื•ื—ื™ื ื‘ื™ืŸ ืžืชื’ื™ื ืžืจื•ื‘ื™ื. ื–ื” ืืžื•ืจ
ืขื™ื‘ื•ื“ ืงืœื™ืคื•ืช ืงืœ.

-print-multi-os-directory
ื”ื“ืคืก ืืช ื”ื ืชื™ื‘ ืœืกืคืจื™ื•ืช ืžืขืจื›ืช ื”ื”ืคืขืœื” ืขื‘ื•ืจ ื”-multilib ืฉื ื‘ื—ืจ, ื™ื—ืกื™ืช ืœื—ืœืง lib
ืกืคืจื™ื™ืช ืžืฉื ื”. ืื ืงื™ื™ืžื•ืช ืกืคืจื™ื•ืช ืžืขืจื›ืช ื”ื”ืคืขืœื” ื‘- lib ืกืคืจื™ื™ืช ืžืฉื ื” ื•ืœืœื multilibs
ืžืฉืžืฉื™ื, ื–ื” ื‘ื“ืจืš ื›ืœืœ ืคืฉื•ื˜ ., ืื ืงื™ื™ืžื•ืช ืกืคืจื™ื•ืช ืžืขืจื›ืช ื”ืคืขืœื” ื‘ ืกื™ื•ืžืช libs ืื—
ืกืคืจื™ื•ืช ื–ื” ืžื“ืคื™ืก ืœืžืฉืœ ../lib64, ../ lib or ../lib32, ืื• ืื ืกืคืจื™ื•ืช ืžืขืจื›ืช ื”ื”ืคืขืœื” ื›ืŸ
ื ื•ื›ื— ื‘ lib/subdir ืกืคืจื™ื•ืช ืžืฉื ื” ืฉื”ื•ื ืžื“ืคื™ืก ืœืžืฉืœ amd64, sparcv9 or Ev6.

-print-multiarch
ื”ื“ืคืก ืืช ื”ื ืชื™ื‘ ืœืกืคืจื™ื•ืช ืžืขืจื›ืช ื”ื”ืคืขืœื” ืขื‘ื•ืจ ื”-multiarch ืฉื ื‘ื—ืจ, ื™ื—ืกื™ืช ืœื›ืžื” lib
ืกืคืจื™ื™ืช ืžืฉื ื”.

-print-prog-name=ื”ืชื•ื›ื ื™ืช
ื›ืžื• -ืฉื ืงื•ื‘ืฅ ื”ื“ืคืกื”, ืืš ืžื—ืคืฉ ืชื•ื›ื ื™ืช ื›ื’ื•ืŸ cpp.

-print-libgcc-file-name
ื›ืžื• -print-file-name=libgcc.a.

ื–ื” ืฉื™ืžื•ืฉื™ ื›ืืฉืจ ืืชื” ืžืฉืชืžืฉ -ื ื•ืกื˜ื“ืœื™ื‘ or -nodefaultlibs ืื‘ืœ ืืชื” ื›ืŸ ืจื•ืฆื” ืœืงืฉืจ ืขื
libgcc.a. ืืชื” ื™ื›ื•ืœ ืœืขืฉื•ืช:

gcc -nostdlib ... `gcc -print-libgcc-file-name`

-print-search-dirs
ื”ื“ืคืก ืืช ื”ืฉื ืฉืœ ืกืคืจื™ื™ืช ื”ื”ืชืงื ื” ื”ืžื•ื’ื“ืจืช ื•ืจืฉื™ืžืช ืชื•ื›ื ื™ื•ืช ื•
ืกืคืจื™ื•ืช ืกืคืจื™ื•ืช gcc ืžื—ืคืฉ --- ื•ืืœ ืชืขืฉื” ืฉื•ื ื“ื‘ืจ ืื—ืจ.

ื–ื” ืฉื™ืžื•ืฉื™ ื›ืืฉืจ gcc ืžื“ืคื™ืก ืืช ื”ื•ื“ืขืช ื”ืฉื’ื™ืื” ื”ืชืงื ื” ื‘ึผึฐืขึธื™ึธื”, ืœื ื™ื›ื•ืœ Exec
cpp0: ืœื ื›ื–ื” ืคื™ืœื” or ื‘ืกืคืจื™ื™ื”. ื›ื“ื™ ืœืคืชื•ืจ ืืช ื–ื” ืืชื” ืฆืจื™ืš ืœืฉื™ื cpp0 ื•
ืจื›ื™ื‘ื™ ืžื”ื“ืจ ืื—ืจื™ื ืื™ืคื” gcc ืžืฆืคื” ืœืžืฆื•ื ืื•ืชื, ืื• ืฉืืชื” ื™ื›ื•ืœ ืœื”ื’ื“ื™ืจ ืืช
ืžืฉืชื ื” ื”ืกื‘ื™ื‘ื” GCC_EXEC_PREFIX ืœืกืคืจื™ื™ื” ืฉื‘ื” ื”ืชืงื ืช ืื•ืชื. ืืœ ืชืขืฉื”
ืœืฉื›ื•ื— ืืช ื”ื ื’ืจืจ /.

-print-sysroot
ื”ื“ืคืก ืืช ืกืคืจื™ื™ืช ื”ื™ืขื“ ื”ื‘ืกื™ืกื™ืช ืฉื‘ื” ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืžื”ืœืš ื”ื”ื™ื“ื•ืจ. ื–ื”
ื‘ืกื™ืก ื‘ืกื™ืก ื™ืขื“ ืฉืฆื•ื™ืŸ ื‘ื–ืžืŸ ื”ื”ื’ื“ืจื” ืื• ื‘ืืžืฆืขื•ืช ื”- --sysroot ืื•ึนืคึผึฐืฆึดื™ึธื”,
ืื•ืœื™ ืขื ืกื™ื•ืžืช ื ื•ืกืคืช ืฉืชืœื•ื™ื” ื‘ืืคืฉืจื•ื™ื•ืช ื”ื™ื“ื•ืจ. ืื ืื™ืŸ ืžื˜ืจื”
Sysroot ืžืฆื•ื™ืŸ, ื”ืืคืฉืจื•ืช ืœื ืžื“ืคื™ืกื” ื“ื‘ืจ.

-print-sysroot-headers-suffix
ื”ื“ืคืก ืืช ื”ืกื™ื•ืžืช ืฉื ื•ืกืคื” ืœื‘ืกื™ืก ื”ืžื˜ืจื” ื‘ืขืช ื—ื™ืคื•ืฉ ื›ื•ืชืจื•ืช, ืื• ืชืŸ
ืฉื’ื™ืื” ืื โ€‹โ€‹ื”ืžื”ื“ืจ ืœื ืžื•ื’ื“ืจ ืขื ืกื™ื•ืžืช ื›ื–ื• --- ื•ืืœ ืชืขืฉื” ื›ืœื•ื
Other.

-ืžื›ื•ื ืช dump
ื”ื“ืคืก ืืช ืžื›ื•ื ืช ื”ื™ืขื“ ืฉืœ ื”ืžื”ื“ืจ (ืœื“ื•ื’ืžื”, i686-pc-linux-gnu)---ื•ืืœ ืชืขืฉื”
ืขื•ื“ ืžืฉื”ื•.

-ื’ืจืกืช dump
ื”ื“ืคืก ืืช ื’ืจืกืช ื”ืžื”ื“ืจ (ืœื“ื•ื’ืžื”, 3.0) --- ื•ืืœ ืชืขืฉื” ืฉื•ื ื“ื‘ืจ ืื—ืจ.

-ืžืคืจื˜ dump
ื”ื“ืคืก ืืช ื”ืžืคืจื˜ ื”ืžื•ื‘ื ื” ืฉืœ ื”ืžื”ื“ืจ --- ื•ืืœ ืชืขืฉื” ืฉื•ื ื“ื‘ืจ ืื—ืจ. (ื–ื” ืžืฉืžืฉ ื›ืืฉืจ
GCC ืขืฆืžื• ื ื‘ื ื”.)

-fno-eliminate-unused-debug-types
ื‘ื“ืจืš ื›ืœืœ, ื‘ืขืช ื”ืคืงืช ืคืœื˜ DWARF 2, GCC ื ืžื ืข ืžื™ืฆื™ืจืช ืคืœื˜ ืกืžืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืขื‘ื•ืจ
ืกื•ื’ื™ื ืฉืื™ื ื ื ืžืฆืื™ื ื‘ืฉื™ืžื•ืฉ ื‘ืฉื•ื ืžืงื•ื ื‘ืงื•ื‘ืฅ ื”ืžืงื•ืจ ื”ื ืขืจืš. ืœืคืขืžื™ื ื–ื” ืฉื™ืžื•ืฉื™
ืœืืคืฉืจ ืœ-GCC ืœืคืœื•ื˜ ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื ืขื‘ื•ืจ ื›ืœ ื”ืกื•ื’ื™ื ื”ืžื•ืฆื”ืจื™ื ื‘ื™ื—ื™ื“ืช ืงื•ืžืคื™ืœืฆื™ื”,
ืœืœื ืงืฉืจ ืื ื”ื ืžืฉืžืฉื™ื ื‘ืคื•ืขืœ ื‘ืื•ืชื” ื™ื—ื™ื“ืช ื”ื™ื“ื•ืจ ืื• ืœื, ืขื‘ื•ืจ
ืœื“ื•ื’ืžื”, ืื, ื‘-debuger, ืืชื” ืจื•ืฆื” ืœื”ื˜ื™ืœ ืขืจืš ืœื˜ื™ืคื•ืก ืฉืื™ื ื• ื‘ืคื•ืขืœ
ืžืฉืžืฉ ื‘ืชื•ื›ื ื™ืช ืฉืœืš (ืืš ืžื•ืฆื”ืจ). ืขื ื–ืืช, ืœืขืชื™ื ืงืจื•ื‘ื•ืช ื™ื•ืชืจ, ื–ื” ื’ื•ืจื ืœ-
ื›ืžื•ืช ืžืฉืžืขื•ืชื™ืช ืฉืœ ืฉื˜ื— ืžื‘ื•ื–ื‘ื–.

ืืคืฉืจื•ื™ื•ืช ื›ื™ ืฉืœื™ื˜ื” ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ืืคืฉืจื•ื™ื•ืช ืืœื” ืฉื•ืœื˜ื•ืช ื‘ืกื•ื’ื™ื ืฉื•ื ื™ื ืฉืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช.

ืœืœื ื›ืœ ืืคืฉืจื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”, ืžื˜ืจืช ื”ืžื”ื“ืจ ื”ื™ื ืœื”ืคื—ื™ืช ืืช ืขืœื•ืช ื”ื”ื™ื“ื•ืจ
ื•ื›ื“ื™ ืœื’ืจื•ื ืœื ื™ืคื•ื™ ื‘ืื’ื™ื ืœื”ื ื™ื‘ ืืช ื”ืชื•ืฆืื•ืช ื”ืฆืคื•ื™ื•ืช. ื”ืฆื”ืจื•ืช ืขืฆืžืื™ื•ืช: ืื ืืชื”
ืœืขืฆื•ืจ ืืช ื”ืชื•ื›ื ื™ืช ืขื ื ืงื•ื“ืช ืฉื‘ื™ืจื” ื‘ื™ืŸ ื”ืฆื”ืจื•ืช, ืœืื—ืจ ืžื›ืŸ ืชื•ื›ืœ ืœื”ืงืฆื•ืช ืขืจืš ื—ื“ืฉ ืœ
ื›ืœ ืžืฉืชื ื” ืื• ืฉื ื” ืืช ืžื•ื ื” ื”ืชื•ื›ื ื™ืช ืœื›ืœ ืžืฉืคื˜ ืื—ืจ ื‘ืคื•ื ืงืฆื™ื” ื•-get
ื‘ื“ื™ื•ืง ื”ืชื•ืฆืื•ืช ืฉืืชื” ืžืฆืคื” ืžืงื•ื“ ื”ืžืงื•ืจ.

ื”ืคืขืœืช ื“ื’ืœื™ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื’ื•ืจืžืช ืœืžื”ื“ืจ ืœื ืกื•ืช ืœืฉืคืจ ืืช ื”ื‘ื™ืฆื•ืขื™ื ื•/ืื•
ื’ื•ื“ืœ ื”ืงื•ื“ ืขืœ ื—ืฉื‘ื•ืŸ ื–ืžืŸ ื”ื”ื™ื“ื•ืจ ื•ืื•ืœื™ ื”ื™ื›ื•ืœืช ืœื ืคื•ืช ื‘ืื’ื™ื ืฉืœ
ืชื›ื ื™ืช.

ื”ืžื”ื“ืจ ืžื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืขืœ ืกืžืš ื”ื™ื“ืข ืฉื™ืฉ ืœื• ืขืœ ื”ืชื•ื›ื ื™ืช.
ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืžืกืคืจ ืงื‘ืฆื™ื ื‘ื•-ื–ืžื ื™ืช ืœืžืฆื‘ ืงื•ื‘ืฅ ืคืœื˜ ื™ื—ื™ื“ ืžืืคืฉืจืช ืœืžื”ื“ืจ ืœื”ืฉืชืžืฉ
ืžื™ื“ืข ืฉื ืจื›ืฉ ืžื›ืœ ื”ืงื‘ืฆื™ื ื‘ืขืช ื”ื™ื“ื•ืจ ืฉืœ ื›ืœ ืื—ื“ ืžื”ื.

ืœื ื›ืœ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื ืฉืœื˜ื•ืช ื™ืฉื™ืจื•ืช ืขืœ ื™ื“ื™ ื“ื’ืœ. ืจืง ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉื™ืฉ ืœื”ืŸ ื
ื“ื’ืœ ืžื•ืคื™ืขื™ื ื‘ืกืขื™ืฃ ื–ื”.

ืจื•ื‘ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืžื•ืคืขืœื•ืช ืจืง ืื ื -O ื”ืจืžื” ืžื•ื’ื“ืจืช ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”. ืื—ืจืช
ื”ื ืžื•ืฉื‘ืชื™ื, ื’ื ืื ืฆื•ื™ื ื• ื“ื’ืœื™ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื‘ื•ื“ื“ื™ื.

ื‘ื”ืชืื ืœื™ืขื“ ื•ืœืื•ืคืŸ ื”ื”ื’ื“ืจื” ืฉืœ GCC, ืงื‘ื•ืฆื” ืฉื•ื ื” ื‘ืžืงืฆืช ืฉืœ
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ืžื•ืคืขืœื•ืช ื‘ื›ืœ ืื—ืช ืžื”ืŸ -O ืจืžื” ืžืืœื• ื”ืžืคื•ืจื˜ื•ืช ื›ืืŸ. ืืชื” ื™ื›ื•ืœ ืœื”ืคืขื™ืœ ืืช GCC
ืขื -Q --help=ืื•ืคื˜ื™ืžื™ื–ืจื™ื ื›ื“ื™ ืœื‘ืจืจ ืืช ื”ืกื˜ ื”ืžื“ื•ื™ืง ืฉืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ืžื•ืคืขืœื•ืช ื‘
ื›ืœ ืจืžื”.

-O
-O1 ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”. ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืงื•ืžืคื™ืœืฆื™ื” ืœื•ืงื—ืช ืงืฆืช ื™ื•ืชืจ ื–ืžืŸ, ื•ื”ืจื‘ื” ื™ื•ืชืจ ื–ื™ื›ืจื•ืŸ ืขื‘ื•ืจ
ืคื•ื ืงืฆื™ื” ื’ื“ื•ืœื”.

ืขื -O, ื”ืžื”ื“ืจ ืžื ืกื” ืœื”ืคื—ื™ืช ืืช ื’ื•ื“ืœ ื”ืงื•ื“ ื•ื–ืžืŸ ื”ื‘ื™ืฆื•ืข, ืžื‘ืœื™ ืœื‘ืฆืข
ื›ืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœื•ืงื—ืช ื”ืจื‘ื” ื–ืžืŸ ื”ื™ื“ื•ืจ.

-O ืžืคืขื™ืœ ืืช ื“ื’ืœื™ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื”ื‘ืื™ื:

-fauto-inc-dec -fcompare-elim -fcprop-registers -fdce -fdefer-pop -ืขื ืฃ ืžื•ืฉื”ื”
-fdse -ื ื™ื—ื•ืฉ-ืขื ืฃ-ื”ืกืชื‘ืจื•ืช -fif-conversion2 -fif-ื”ืžืจื” -ืคื™ืคื-ื˜ื”ื•ืจ-ืงื•ื ืกื˜
-fipa-profile -ืคื™ืคื-ื”ืชื™ื™ื—ืกื•ืช -fmerge-constants -fsplit-wide-types -ftree-bit-ccp
-ftree-builtin-call-dce -ftree-ccp -ftree-ch -ftree-copyrename -ftree-dce
-ftree-dominator-opts -ftree-dse -ftree-forwprop -ftree-fre -ftree-phiprop -ftree-slsr
-ftree-sra -ftree-pta -ftree-ter -ื›ื™ืฃ-ื‘ื›ืœ ืคืขื

-O ื’ื ื ื“ืœืง -fomit-frame-pointer ื‘ืžื›ื•ื ื•ืช ืฉื‘ื”ืŸ ืคืขื•ืœื” ื–ื• ืื™ื ื” ืžืคืจื™ืขื”
ืขื ืื™ืชื•ืจ ื‘ืื’ื™ื.

-O2 ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืืคื™ืœื• ื™ื•ืชืจ. GCC ืžื‘ืฆืข ื›ืžืขื˜ ืืช ื›ืœ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ื ืชืžื›ื•ืช ืฉืœื
ื›ืจื•ืš ื‘ืคืฉืจื” ื‘ื™ืŸ ืžื”ื™ืจื•ืช ื”ื—ืœืœ. ืœืขื•ืžืช -O, ืืคืฉืจื•ืช ื–ื• ืžื’ื“ื™ืœื” ืืช ืฉื ื™ื”ื
ื–ืžืŸ ื”ื™ื“ื•ืจ ื•ื‘ื™ืฆื•ืขื™ ื”ืงื•ื“ ืฉื ื•ืฆืจ.

-O2 ืžืคืขื™ืœ ืืช ื›ืœ ื“ื’ืœื™ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืฆื•ื™ื ื• ืขืœ ื™ื“ื™ -O. ื–ื” ื’ื ืžืคืขื™ืœ ืืช ื”ื“ื‘ืจื™ื ื”ื‘ืื™ื
ื“ื’ืœื™ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”: -ื—ื•ื˜-ืงืคื™ืฆื•ืช -falign-ืคื•ื ืงืฆื™ื•ืช -falign-ืงืคื™ืฆื•ืช -falign-ืœื•ืœืื•ืช
-falign-ืชื•ื•ื™ื•ืช -fcaller-ืฉื•ืžืจ -ืงืคื™ืฆื” ืฆื•ืœื‘ืช -fcse-follow-jumps -fcse-ื“ืœื’-ื‘ืœื•ืงื™ื
-fdelete-null-pointer-checks -fdevirtualize -ื–ื•ืœ-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช -fgcse
-fgcse-lm -fhoist-ืกืžื•ืš-ืขื•ืžืกื™ื -finline-ืงื˜ื ื•ืช-ืคื•ื ืงืฆื™ื•ืช -findirect-inlining
-ืคื™ืคื-ืกืจื” -foptimize-ืื—ื™ื•ืช-ืฉื™ื—ื•ืช -fpartial-inlining -fpeephole2 -ืคืจื’move
-Freord-ื‘ืœื•ืงื™ื -ืคืงื•ื“ืช-ืคื•ื ืงืฆื™ื•ืช -frerun-cse-after-loop -fsched-interblock
-fsched-spec -fschedule-insns -fschedule-insns2 -fstrict-aliasing -ืคืจืงื˜-ื”ืฆืคื”
-ftree-switch-conversion -ftree-ื–ื ื‘-ืžื™ื–ื•ื’ -ftree-pre -ftree-vrp

ื ื ืœืฉื™ื ืœื‘ ืœืื–ื”ืจื” ืœืžื˜ื” -fgcse ืขืœ ืคื ื™ื™ื” -O2 ืขืœ ืชื•ื›ื ื™ื•ืช ื”ืžืฉืชืžืฉื•ืช ื‘-computed
ื’ื•ื˜ื•ืก.

ื”ืขืจื”: ื‘ืื•ื‘ื•ื ื˜ื• 8.10 ื•ื‘ื’ื™ืจืกืื•ืช ืžืื•ื—ืจื•ืช ื™ื•ืชืจ, -D_FORTIFY_SOURCE=2 ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื•ื”ื•ื
ืžื•ืคืขืœ ืžืชื™ -O ืžื•ื’ื“ืจ ืœ-2 ื•ืžืขืœื”. ื–ื” ืžืืคืฉืจ ื–ืžืŸ ืงื•ืžืคื™ืœืฆื™ื” ื ื•ืกืฃ ื•
ื‘ื“ื™ืงืช ื–ืžืŸ ืจื™ืฆื” ืขื‘ื•ืจ ืžืกืคืจ ืคื•ื ืงืฆื™ื•ืช libc. ื›ื“ื™ ืœื”ืฉื‘ื™ืช, ืฆื™ื™ืŸ ืื•
-U_FORTIFY_SOURCE or -D_FORTIFY_SOURCE=0.

-O3 ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืขื•ื“ ื™ื•ืชืจ. -O3 ืžืคืขื™ืœ ืืช ื›ืœ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืฆื•ื™ื ื• ืขืœ ื™ื“ื™ -O2 ื•ื’ื ื ื“ืœืง
ืžื” ื”ื™ื -finline-ืคื•ื ืงืฆื™ื•ืช, -ืœื•ืœืื•ืช funswitch, -fpredictive-commoning, -fgcse-after-reload,
-ftree-vectorize, -fvect-cost-model, -ftree-partial-pre ื• -fipa-cp-clone ืืคืฉืจื•ื™ื•ืช.

-O0 ืฆืžืฆื ืืช ื–ืžืŸ ื”ื”ื™ื“ื•ืจ ื•ื’ืจืžื• ืœื ื™ืคื•ื™ ื‘ืื’ื™ื ืœื”ื ื™ื‘ ืืช ื”ืชื•ืฆืื•ืช ื”ืฆืคื•ื™ื•ืช. ื–ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืื•ืก ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืœื’ื•ื“ืœ. -ืื•ืก ืžืืคืฉืจ ืœื›ื•ืœื -O2 ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืื™ื ืŸ ืขื•ืœื•ืช ื‘ื“ืจืš ื›ืœืœ
ื’ื•ื“ืœ ืงื•ื“. ื”ื•ื ื’ื ืžื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื ื•ืกืคื•ืช ืฉื ื•ืขื“ื• ืœื”ืคื—ื™ืช ืืช ื’ื•ื“ืœ ื”ืงื•ื“.

-ืื•ืก ืžืฉื‘ื™ืช ืืช ื“ื’ืœื™ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื”ื‘ืื™ื: -falign-ืคื•ื ืงืฆื™ื•ืช -falign-ืงืคื™ืฆื•ืช
-falign-ืœื•ืœืื•ืช -falign-ืชื•ื•ื™ื•ืช -Freord-ื‘ืœื•ืงื™ื -ืœืื—ืจ ืกื“ืจ-ื‘ืœื•ืงื™ื-ื•-ืžื—ื™ืฆื”
-fprefetch-loop-arrays

-ืื•ืคืกื˜
ื”ืชืขืœื ืžืขืžื™ื“ื” ื‘ืชืงื ื™ื ืžื—ืžื™ืจื™ื. -ืื•ืคืกื˜ ืžืืคืฉืจ ืœื›ื•ืœื -O3 ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช. ื–ื” ื’ื
ืžืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืื™ื ืŸ ืชืงืคื•ืช ืขื‘ื•ืจ ื›ืœ ื”ืชื•ื›ื ื™ื•ืช ื”ืชื•ืืžื•ืช ืœืชืงืŸ. ื–ื”
ืžื“ืœื™ืง -ืžื”ื™ืจ-ืžืชืžื˜ื™ืงื” ื•ื”ืกืคืฆื™ืคื™ ืœ-Fortran -fno-protect-parens ื• -fstack-ืžืขืจื›ื™.

-ืื•ื’ ืžื˜ื‘ ื—ื•ื•ื™ืช ื ื™ืคื•ื™ ื‘ืื’ื™ื. -ืื•ื’ ืžืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืื™ื ืŸ ืžืคืจื™ืขื•ืช
ืื™ืชื•ืจ ื‘ืื’ื™ื. ื–ื• ืฆืจื™ื›ื” ืœื”ื™ื•ืช ืจืžืช ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื”ืจืฆื•ื™ื” ืขื‘ื•ืจ ื”ืขืจื™ื›ื” ื”ืกื˜ื ื“ืจื˜ื™ืช-
ืžื—ื–ื•ืจ compile-debug, ื”ืžืฆื™ืข ืจืžื” ืกื‘ื™ืจื” ืฉืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืชื•ืš ืฉืžื™ืจื”
ืงื•ืžืคื™ืœืฆื™ื” ืžื”ื™ืจื” ื•ื—ื•ื•ื™ืช ื ื™ืคื•ื™ ื‘ืื’ื™ื ื˜ื•ื‘ื”.

ืื ืืชื” ืžืฉืชืžืฉ ื‘ืžืกืคืจ -O ืืคืฉืจื•ื™ื•ืช, ืขื ืื• ื‘ืœื™ ืžืกืคืจื™ ืจืžื”, ื”ืืคืฉืจื•ืช ื”ืื—ืจื•ื ื” ื›ื–ื• ื”ื™ื
ื–ื” ื™ืขื™ืœ.

ืืคืฉืจื•ื™ื•ืช ื”ื˜ื•ืคืก -fื“ื’ืœ ืฆื™ื™ืŸ ื“ื’ืœื™ื ื‘ืœืชื™ ืชืœื•ื™ื™ื ื‘ืžื›ื•ื ื”. ื‘ืจื•ื‘ ื”ื“ื’ืœื™ื ื™ืฉ ืืช ืฉื ื™ื”ื
ืฆื•ืจื•ืช ื—ื™ื•ื‘ื™ื•ืช ื•ืฉืœื™ืœื™ื•ืช; ื”ืฆื•ืจื” ื”ืฉืœื™ืœื™ืช ืฉืœ -ffoo. is -fno-foo. ื‘ื˜ื‘ืœื” ืœืžื˜ื”,
ืจืง ืื—ื“ ืžื”ื˜ืคืกื™ื ืžื•ืคื™ืข ื‘ืจืฉื™ืžื” --- ื–ื” ืฉืืชื” ืžืฉืชืžืฉ ื‘ื“ืจืš ื›ืœืœ. ืืชื” ื™ื›ื•ืœ ืœื”ื‘ื™ืŸ ืืช ื”ืฉื ื™
ื˜ื•ืคืก ืขืœ ื™ื“ื™ ื”ืกืจื” ืœื- ืื• ื”ื•ืกืคืชื•.

ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช ืฉื•ืœื˜ื•ืช ื‘ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืกืคืฆื™ืคื™ื•ืช. ื”ื ืžื•ืคืขืœื™ื ืขืœ ื™ื“ื™ -O
ืืคืฉืจื•ื™ื•ืช ืื• ืงืฉื•ืจื•ืช ืœืืœื• ืฉื›ืŸ. ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื“ื’ืœื™ื ื”ื‘ืื™ื ื‘ื ื“ื™ืจื™ื
ื‘ืžืงืจื™ื ื‘ื”ื ื™ืฉ ืฆื•ืจืš ื‘"ื›ื•ื•ื ืŸ ืขื“ื™ืŸ" ืฉืœ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืœื‘ื™ืฆื•ืข.

-fno-default-inline
ืืœ ืชื”ืคื•ืš ืคื•ื ืงืฆื™ื•ืช ืื™ื‘ืจื™ื ืœืฉื•ืจื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืจืง ื‘ื’ืœืœ ืฉื”ืŸ ืžื•ื’ื“ืจื•ืช ื‘ืคื ื™ื
ื”ื™ืงืฃ ื”ืžื—ืœืงื” (C++ ื‘ืœื‘ื“). ืื—ืจืช, ื›ืืฉืจ ืืชื” ืžืฆื™ื™ืŸ -O, ืคื•ื ืงืฆื™ื•ืช ืื™ื‘ืจื™ื ืžื•ื’ื“ืจื•ืช
ื‘ืชื•ืš ื”ื™ืงืฃ ื”ืžื—ืœืงื” ืžื•ืจื›ื‘ื™ื ื‘ืฉื•ืจื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ; ื›ืœื•ืžืจ, ืื™ืŸ ืฆื•ืจืš ืœื”ื•ืกื™ืฃ ืžื•ื˜ื‘ืข
ืœืคื ื™ ืฉื ื”ืคื•ื ืงืฆื™ื” ืื™ื‘ืจ.

-fno-defer-pop
ืชืžื™ื“ ื”ืฆื‘ ืืช ื”ืืจื’ื•ืžื ื˜ื™ื ืœื›ืœ ืงืจื™ืืช ืคื•ื ืงืฆื™ื” ื‘ืจื’ืข ืฉื”ืคื•ื ืงืฆื™ื” ื”ื–ื• ื—ื•ื–ืจืช. ืœ
ืžื›ื•ื ื•ืช ืฉื—ื™ื™ื‘ื•ืช ืœื”ื•ืคื™ืข ืืจื’ื•ืžื ื˜ื™ื ืœืื—ืจ ืงืจื™ืืช ืคื•ื ืงืฆื™ื”, ื”ืžื”ื“ืจ ืžืืคืฉืจ ื‘ื“ืจืš ื›ืœืœ
ืืจื’ื•ืžื ื˜ื™ื ืžืฆื˜ื‘ืจื™ื ื‘ืขืจื™ืžื” ืขื‘ื•ืจ ืžืกืคืจ ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื•ืช ื•ืžืฆื™ื’ื•ืช ืืช ื›ื•ืœื
ืคึผึทืขึทื.

ื ื›ื™ื ื‘ืจืžื•ืช -O, -O2, -O3, -ืื•ืก.

-ืœืคื ื™ื-ืœื”ืคื™ืฅ
ื‘ืฆืข ืžืขื‘ืจ ื”ืคืฆื” ืงื“ื™ืžื” ื‘-RTL. ื”ืžืขื‘ืจ ืžื ืกื” ืœืฉืœื‘ ืฉืชื™ ื”ื•ืจืื•ืช
ื•ื‘ื•ื“ืง ืื ื ื™ืชืŸ ืœืคืฉื˜ ืืช ื”ืชื•ืฆืื”. ืื ืคืชื™ื—ืช ืœื•ืœืื” ืคืขื™ืœื”, ืฉื ื™ ืžืขื‘ืจื™ื
ืžืชื‘ืฆืขื•ืช ื•ื”ืฉื ื™ ืžืชื•ื–ืžืŸ ืœืื—ืจ ืคืชื™ื—ืช ื”ืœื•ืœืื”.

ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ืจืžื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” -O, -O2, -O3, -ืื•ืก.

-ffp-contract=ืกื’ื ื•ืŸ
-ffp-contract=off ืžืฉื‘ื™ืช ื”ืชื›ื•ื•ืฆื•ืช ื‘ื™ื˜ื•ื™ ืฉืœ ื ืงื•ื“ื” ืฆืคื”. -ffp-contract=ืžื”ื™ืจ
ืžืืคืฉืจ ื”ืชื›ื•ื•ืฆื•ืช ื‘ื™ื˜ื•ื™ ืฉืœ ื ืงื•ื“ื” ืฆืคื” ื›ืžื• ื™ืฆื™ืจืช ื›ืคื•ืœ-ื”ื•ืกืคื” ืžืื•ื—ื“
ืคืขื•ืœื•ืช ืื ืœืžื˜ืจื” ื™ืฉ ืชืžื™ื›ื” ืžืงื•ืจื™ืช ืขื‘ื•ืจืŸ. -ffp-contract=on ืžืืคืฉืจ
ื”ืชื›ื•ื•ืฆื•ืช ื‘ื™ื˜ื•ื™ ืฉืœ ื ืงื•ื“ื” ืฆืคื” ืื ืžื•ืชืจ ืขืœ ืคื™ ืชืงืŸ ื”ืฉืคื”. ื–ื”
ื›ืจื’ืข ืœื ืžื™ื•ืฉื ื•ืžื˜ื•ืคืœ ืฉื•ื•ื” ืœ -ffp-contract=off.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ffp-contract=ืžื”ื™ืจ.

-fomit-frame-pointer
ืืœ ืชืฉืžื•ืจ ืืช ืžืฆื‘ื™ืข ื”ืžืกื’ืจืช ื‘ืคื ืงืก ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืฉืื™ื ืŸ ื–ืงื•ืงื•ืช ืœื›ื–ื•. ื–ึถื”
ื ืžื ืข ืžื”ื”ื•ืจืื•ืช ืœืฉืžื™ืจื”, ื”ื’ื“ืจื” ื•ืฉื—ื–ื•ืจ ืฉืœ ืžืฆื‘ื™ืขื™ ืžืกื’ืจืช; ื–ื” ื’ื ืขื•ืฉื” an
ืจื™ืฉื•ื ื ื•ืกืฃ ื–ืžื™ืŸ ื‘ืคื•ื ืงืฆื™ื•ืช ืจื‘ื•ืช. It ื’ื ืขื•ืฉื” ื ื™ืคื•ื™ ื‘ืœืชื™ ืืคืฉืจื™ on
ื›ืžื” ืžื›ื•ื ื”.

ืขืœ ื›ืžื” ืžื›ื•ื ื•ืช, ื›ื’ื•ืŸ VAX, ืœื“ื’ืœ ื–ื” ืื™ืŸ ื”ืฉืคืขื”, ื‘ื’ืœืœ ื”ืชืงืŸ
ืจืฆืฃ ืฉื™ื—ื•ืช ืžื˜ืคืœ ืื•ื˜ื•ืžื˜ื™ืช ื‘ืžืฆื‘ื™ืข ื”ืžืกื’ืจืช ื•ืฉื•ื ื“ื‘ืจ ืœื ื ืฉืžืจ ืขืœ ื™ื“ื™
ืœื”ืขืžื™ื“ ืคื ื™ื ืฉื”ื•ื ืœื ืงื™ื™ื. ื”ืžืืงืจื• ืฉืœ ืชื™ืื•ืจ ื”ืžื›ื•ื ื” "FRAME_POINTER_REQUIRED"
ืฉื•ืœื˜ ืื ืžื›ื•ื ืช ื™ืขื“ ืชื•ืžืš ื‘ื“ื’ืœ ื–ื”.

ื”ื—ืœ ืžื’ืจืกื” 4.6 ืฉืœ GCC, ื”ื’ื“ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ (ื›ืืฉืจ ืœื ืžืชื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืœื’ื•ื“ืœ) ืขื‘ื•ืจ
ื™ืขื“ื™ 32-bit GNU/Linux x86 ื•-32-bit Darwin x86 ืฉื•ื ื• ืœ-
-fomit-frame-pointer. ื ื™ืชืŸ ืœื—ื–ื•ืจ ืœื‘ืจื™ืจืช ื”ืžื—ื“ืœ -fno-omit-frame-pointer by
ื”ื’ื“ืจืช GCC ืขื ื” --enable-frame-pointer ืืคืฉืจื•ืช ืœื”ื’ื“ื™ืจ.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O, -O2, -O3, -ืื•ืก.

-foptimize-ืื—ื™ื•ืช-ืฉื™ื—ื•ืช
ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืฉื™ื—ื•ืช ืื—ื™ื ื•ื–ื ื‘ ืจืงื•ืจืกื™ื‘ื™ื•ืช.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-fno-inline
ืื™ืŸ ืœื”ืจื—ื™ื‘ ืฉื•ื ืคื•ื ืงืฆื™ื” ื‘ืฉื•ืจื” ืžืœื‘ื“ ืืœื• ื”ืžืกื•ืžื ื•ืช ื‘-"always_inline"
ืชึฐื›ื•ึผื ึธื”. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ืœื ืžืชื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.

ื ื™ืชืŸ ืœืคื˜ื•ืจ ืคื•ื ืงืฆื™ื•ืช ื‘ื•ื“ื“ื•ืช ืžื”ื˜ื‘ืขื” ืขืœ ื™ื“ื™ ืกื™ืžื•ืŸืŸ ื‘-"noinline"
ืชื›ื•ื ื”.

-finline-ืงื˜ื ื•ืช-ืคื•ื ืงืฆื™ื•ืช
ืฉืœื‘ ืคื•ื ืงืฆื™ื•ืช ื‘ืžืชืงืฉืจื™ื ืฉืœื”ื ื›ืืฉืจ ื”ื’ื•ืฃ ืฉืœื”ื ืงื˜ืŸ ืžื”ืฆืคื•ื™
ืงื•ื“ ืงืจื™ืืช ืคื•ื ืงืฆื™ื” (ื›ืš ืฉื”ื’ื•ื“ืœ ื”ื›ื•ืœืœ ืฉืœ ื”ืชื•ื›ื ื™ืช ื”ื•ืœืš ื•ืงื˜ืŸ). ื”ืžื”ื“ืจ
ืžื—ืœื™ื˜ ื‘ืฆื•ืจื” ื”ื™ื•ืจื™ืกื˜ื™ืช ืื™ืœื• ืคื•ื ืงืฆื™ื•ืช ืคืฉื•ื˜ื•ืช ืžืกืคื™ืง ื›ื“ื™ ืฉื™ื”ื™ื” ื›ื“ืื™ ืœืฉืœื‘ ื‘ื”ืŸ
ื‘ื“ืจืš ื–ื•. ื”ื˜ื‘ืขื” ื–ื• ื—ืœื” ืขืœ ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช, ื’ื ืืœื” ืฉืœื ื”ื•ื›ืจื–ื• ื‘ืฉื•ืจื”.

ืžื•ืคืขืœ ื‘ืจืžื” -O2.

-findirect-inlining
Inline ื’ื ืฉื™ื—ื•ืช ืขืงื™ืคื•ืช ืฉืžืชื’ืœื” ื›ื™ื“ื•ืข ื‘ื–ืžืŸ ื”ืงื•ืžืคื™ืœืฆื™ื” ื‘ื–ื›ื•ืช
ื”ื˜ื‘ืขื” ื”ืงื•ื“ืžืช. ืœืืคืฉืจื•ืช ื–ื• ื™ืฉ ื”ืฉืคืขื” ื›ืœืฉื”ื™ ืจืง ื›ืืฉืจ ื”-inlining ืขืฆืžื• ืžื•ืคืขืœ
ืขืœ ื™ื“ื™ -finline-ืคื•ื ืงืฆื™ื•ืช or -finline-ืงื˜ื ื•ืช-ืคื•ื ืงืฆื™ื•ืช ืืคืฉืจื•ื™ื•ืช.

ืžื•ืคืขืœ ื‘ืจืžื” -O2.

-finline-ืคื•ื ืงืฆื™ื•ืช
ืฉืงื•ืœ ืืช ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ืœื”ื˜ื‘ืขื”, ื’ื ืื ื”ืŸ ืœื ื”ื•ื›ืจื–ื• ื‘ืฉื•ืจื”. ื”
ื”ืžื”ื“ืจ ืžื—ืœื™ื˜ ื‘ืื•ืคืŸ ื”ื™ื•ืจื™ืกื˜ื™ ืื™ืœื• ืคื•ื ืงืฆื™ื•ืช ื›ื“ืื™ ืœืฉืœื‘ ื‘ื“ืจืš ื–ื•.

ืื ื›ืœ ื”ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื” ื ืชื•ื ื” ืžืฉื•ืœื‘ื•ืช, ื•ื”ืคื•ื ืงืฆื™ื” ืžื•ืฆื”ืจืช
"ืกื˜ื˜ื™", ืื– ื”ืคื•ื ืงืฆื™ื” ื‘ื“ืจืš ื›ืœืœ ืœื ื™ื•ืฆืืช ื›ืงื•ื“ ืืกืžื‘ืœืจ ื‘ืคื ื™ ืขืฆืžื”.

ืžื•ืคืขืœ ื‘ืจืžื” -O3.

-finline-functions-ืฉื ืงืจื ืคืขื ืื—ืช
ืงื—ื• ื‘ื—ืฉื‘ื•ืŸ ืืช ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ื”"ืกื˜ื˜ื™ื•ืช" ืฉื ืงืจืื• ืคืขื ืื—ืช ืœืฉื™ืœื•ื‘ ื‘ืžืชืงืฉืจ ืฉืœื”ืŸ ื’ื ืื
ื”ื ืื™ื ื ืžืกื•ืžื ื™ื "ืžื•ื˜ื‘ืขื™ื". ืื ืžืฉื•ืœื‘ืช ืงืจื™ืื” ืœืคื•ื ืงืฆื™ื” ื ืชื•ื ื”, ืื–ื™
ื”ืคื•ื ืงืฆื™ื” ืื™ื ื” ื™ื•ืฆืืช ื›ืงื•ื“ ืืกืžื‘ืœืจ ื‘ืคื ื™ ืขืฆืžื”.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O1, -O2, -O3 ื• -ืื•ืก.

-ืคื—ื“-ื”ื˜ื‘ืขื”
ืคื•ื ืงืฆื™ื•ืช ืžื•ื˜ื‘ืขื•ืช ื”ืžืกื•ืžื ื•ืช ื‘-"always_inline" ื•ืคื•ื ืงืฆื™ื•ืช ืฉื”ื’ื•ืฃ ืฉืœื”ืŸ ื ืจืื” ืงื˜ืŸ ื™ื•ืชืจ ืž
ืงืจื™ืืช ื”ืคื•ื ืงืฆื™ื” ืชืงื•ืจื” ืžื•ืงื“ื ืœืคื ื™ ื‘ื™ืฆื•ืข -fprofile-generate ืžื›ืฉื•ืจ ื•
ืžืขื‘ืจ ืžื•ื˜ื‘ืข ืืžื™ืชื™. ืคืขื•ืœื” ื–ื• ื”ื•ืคื›ืช ืืช ื”ืคืจื•ืคื™ืœ ืœื–ื•ืœ ืžืฉืžืขื•ืชื™ืช ื•ื‘ื“ืจืš ื›ืœืœ
ืฉื™ืœื•ื‘ ืžื”ื™ืจ ื™ื•ืชืจ ื‘ืชื•ื›ื ื™ื•ืช ืขื ืฉืจืฉืจืื•ืช ื’ื“ื•ืœื•ืช ืฉืœ ืคื•ื ืงืฆื™ื•ืช ืขื˜ื™ืคื” ืžืงื•ื ื ื•ืช.

ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืคื™ืคื-ืกืจื”
ื‘ืฆืข ื”ื—ืœืคื” ืกืงืœืจื™ืช ื‘ื™ืŸ ืคืจื•ืฆื“ื•ืจืœื™ืช ืฉืœ ืื’ืจื’ื˜ื™ื, ื”ืกืจื” ืฉืœ ืคืจืžื˜ืจื™ื ืฉืื™ื ื ื‘ืฉื™ืžื•ืฉ
ื•ื”ื—ืœืคืช ืคืจืžื˜ืจื™ื ืฉื”ื•ืขื‘ืจื• ื‘ื”ืคื ื™ื” ื‘ืคืจืžื˜ืจื™ื ื”ืžื•ืขื‘ืจื• ืœืคื™ ืขืจืš.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3 ื• -ืื•ืก.

-finline-limit=n
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ืžื’ื‘ื™ืœ ืืช ื’ื•ื“ืœ ื”ืคื•ื ืงืฆื™ื•ืช ืฉื ื™ืชืŸ ืœื”ื˜ืžื™ืŸ. ื”ื“ื’ืœ ื”ื–ื” ืžืืคืฉืจ
ืฉืœื™ื˜ื” ื’ืกื” ื‘ื’ื‘ื•ืœ ื–ื”. n ื”ื•ื ื’ื•ื“ืœ ื”ืคื•ื ืงืฆื™ื•ืช ืฉื ื™ืชืŸ ืœืฉืœื‘ ื‘ื”ืŸ
ืžืกืคืจ ื”ื•ืจืื•ืช ืคืกื‘ื“ื•.

Inlining ื ืฉืœื˜ ืœืžืขืฉื” ืขืœ ื™ื“ื™ ืžืกืคืจ ืคืจืžื˜ืจื™ื, ืืฉืจ ื ื™ืชืŸ ืœืคืจื˜
ื‘ื ืคืจื“ ืขืœ ื™ื“ื™ ืฉื™ืžื•ืฉ --param ืฉื=ืขืจืš. ื” -finline-limit=n ืื•ืคืฆื™ื•ืช ืงื•ื‘ืข ื—ืœืง ืž
ืคืจืžื˜ืจื™ื ืืœื” ื›ื“ืœืงืžืŸ:

max-inline-insns-ืกื™ื ื’ืœ
ืžื•ื’ื“ืจ n/ 2.

max-inline-insns-auto
ืžื•ื’ื“ืจ n/ 2.

ืจืื” ืœื”ืœืŸ ืœืชื™ืขื•ื“ ืฉืœ ื”ืคืจืžื˜ืจื™ื ื”ื‘ื•ื“ื“ื™ื ื”ืฉื•ืœื˜ื™ื ื‘-inlining ื•
ืขื‘ื•ืจ ื‘ืจื™ืจื•ืช ื”ืžื—ื“ืœ ืฉืœ ืคืจืžื˜ืจื™ื ืืœื”.

ื”ืขืจื”: ืื•ืœื™ ืื™ืŸ ืขืจืš ืœื–ื” -finline-limit ืžื” ืฉื’ื•ืจื ืœื”ืชื ื”ื’ื•ืช ื‘ืจื™ืจืช ืžื—ื“ืœ.

ื”ืขืจื”: ื”ื•ืจืื” ืคืกืื•ื“ื• ืžื™ื™ืฆื’ืช, ื‘ื”ืงืฉืจ ื”ืžืกื•ื™ื ื”ื–ื”, ืžื•ืคืฉื˜
ืžื“ื™ื“ืช ื’ื•ื“ืœ ื”ืคื•ื ืงืฆื™ื”. ื‘ืฉื•ื ืื•ืคืŸ ื–ื” ืœื ืžื™ื™ืฆื’ ืกืคื™ืจื” ืฉืœ ื”ืจื›ื‘ื”
ื”ื•ืจืื•ืช ื•ื›ื›ืืœื” ื”ืžืฉืžืขื•ืช ื”ืžื“ื•ื™ืงืช ืฉืœื” ืขืฉื•ื™ื” ืœื”ืฉืชื ื•ืช ืžืฉื—ืจื•ืจ ืื—ื“ ืœ-
ืื—ืจืช.

-fno-keep-inline-dllexport
ื–ื•ื”ื™ ื’ืจืกื” ืขื“ื™ื ื” ื™ื•ืชืจ ืฉืœ -fkeep-inline-functions, ืืฉืจ ื—ืœ ืจืง ืขืœ
ืคื•ื ืงืฆื™ื•ืช ื”ืžื•ืฆื”ืจื•ืช ื‘ืืžืฆืขื•ืช ื”ืชื›ื•ื ื” "dllexport" ืื• declspec

-fkeep-inline-functions
ื‘-C, ืคื•ืœื˜ ืคื•ื ืงืฆื™ื•ืช "ืกื˜ื˜ื™ื•ืช" ื”ืžื•ื›ืจื–ื•ืช "ืžื•ื˜ื‘ืขื•ืช" ื‘ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜, ื’ื ืื
ื”ืคื•ื ืงืฆื™ื” ื”ื•ื˜ื‘ืขื” ื‘ื›ืœ ื”ืžืชืงืฉืจื™ื ืฉืœื”. ืžืชื’ ื–ื” ืื™ื ื• ืžืฉืคื™ืข
ืคื•ื ืงืฆื™ื•ืช ื‘ืืžืฆืขื•ืช ืกื™ื•ืžืช "Extern inline" ื‘-GNU C90. ื‘-C++, ืคื•ืœื˜ ื›ืœ ื“ื‘ืจ
ืคื•ื ืงืฆื™ื•ืช ืžื•ื˜ื‘ืขื•ืช ื‘ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜.

-fkeep-static-consts
ืคืœื™ื˜ ืžืฉืชื ื™ื ืฉื”ื•ื›ืจื–ื• "ืงื•ื ืกื˜ ืกื˜ื˜ื™" ื›ืืฉืจ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืœื ืžื•ืคืขืœืช, ื’ื ืื
ืื™ืŸ ื”ืชื™ื™ื—ืกื•ืช ืœืžืฉืชื ื™ื.

GCC ืžืืคืฉืจ ืืคืฉืจื•ืช ื–ื• ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ืื ืืชื” ืจื•ืฆื” ืœื”ื›ืจื™ื— ืืช ื”ืžื”ื“ืจ ืœื‘ื“ื•ืง ืื ื
ื”ืžืฉืชื ื” ืžื•ืคื ื”, ืœืœื ืงืฉืจ ืœืฉืืœื” ืื ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžื•ืคืขืœืช ืื• ืœื, ื”ืฉืชืžืฉ
ืžื” ื”ื™ื -fno-keep-static-consts ืื•ึนืคึผึฐืฆึดื™ึธื”.

-fmerge-constants
ื ื™ืกื™ื•ืŸ ืœืžื–ื’ ืงื‘ื•ืขื™ื ื–ื”ื™ื (ืงื‘ื•ืขื™ ืžื—ืจื•ื–ืช ื•ืงื‘ื•ืขื™ ื ืงื•ื“ื” ืฆืคื”)
ืขืœ ืคื ื™ ื™ื—ื™ื“ื•ืช ื”ื™ื“ื•ืจ.

ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืงื•ืžืคื™ืœืฆื™ื” ืื•ืคื˜ื™ืžืœื™ืช ืื ื”ืืกืžื‘ืœืจ ื•ื”ืžืงืฉืจ
ืชืชืžื•ืš ื‘ื–ื”. ืœื”ืฉืชืžืฉ -fno-ืžื™ื–ื•ื’ ืงื‘ื•ืขื™ื ืœื‘ืœื•ื ื”ืชื ื”ื’ื•ืช ื–ื•.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O, -O2, -O3, -ืื•ืก.

-fmerge-all-constants
ื ืกื” ืœืžื–ื’ ืงื‘ื•ืขื™ื ื–ื”ื™ื ื•ืžืฉืชื ื™ื ื–ื”ื™ื.

ืžืจืžื– ืขืœ ืืคืฉืจื•ืช ื–ื• -fmerge-constants. ื‘ื ื•ืกืฃ ืœ -fmerge-constants ื–ึถื”
ืžื—ืฉื™ื‘ ืœืžืฉืœ ืืคื™ืœื• ืžืขืจื›ื™ื ืžืื•ืชื—ืœื™ื ืงื‘ื•ืขื™ื ืื• ืžืฉืชื ื™ื ืงื‘ื•ืขื™ื ืžืื•ืชื—ืœื™ื ืขื
ืกื•ื’ื™ื ืื™ื ื˜ื’ืจืœื™ื™ื ืื• ื ืงื•ื“ื” ืฆืคื”. ืฉืคื•ืช ื›ืžื• C ืื• C++ ื“ื•ืจืฉื•ืช ื›ืœ ืžืฉืชื ื”,
ื›ื•ืœืœ ืžื•ืคืขื™ื ืžืจื•ื‘ื™ื ืฉืœ ืื•ืชื• ืžืฉืชื ื” ื‘ืงืจื™ืื•ืช ืจืงื•ืจืกื™ื‘ื™ื•ืช, ื›ื“ื™ ืฉื™ื”ื™ื” ืžื•ื‘ื—ืŸ
ืžื™ืงื•ืžื™ื, ื›ืš ืฉืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืžื‘ื™ื ืœื”ืชื ื”ื’ื•ืช ืฉืื™ื ื” ืชื•ืืžืช.

-fmodulo-sched
ื‘ืฆืข ืชื–ืžื•ืŸ ืกื•ื•ื™ื ื’ ืžื•ื“ื•ืœื• ืžื™ื“ ืœืคื ื™ ืžืขื‘ืจ ื”ืชื–ืžื•ืŸ ื”ืจืืฉื•ืŸ. ื–ึถื”
ืžืขื‘ื™ืจ ืžืกืชื›ืœ ืขืœ ื”ืœื•ืœืื•ืช ื”ืคื ื™ืžื™ื•ืช ื‘ื™ื•ืชืจ ื•ืžืกื“ืจ ืžื—ื“ืฉ ืืช ื”ื”ื•ืจืื•ืช ืฉืœื”ื ืขืœ ื™ื“ื™ ื—ืคื™ืคื” ืฉื•ื ื•ืช
ืื™ื˜ืจืฆื™ื•ืช.

-fmodulo-sched-allow-regmoves
ื‘ืฆืข ืชื–ืžื•ืŸ ืžื•ื“ื•ืœื• ืžื‘ื•ืกืก SMS ืื’ืจืกื™ื‘ื™ ื™ื•ืชืจ ืขื ืžื”ืœื›ื™ ืจื™ืฉื•ื ืžื•ืชืจื™ื. ืขืœ ื™ื“ื™
ื”ื’ื“ืจืช ื”ื“ื’ืœ ื”ื–ื” ืงืฆื•ื•ืช ืžืกื•ื™ืžื™ื ื ื’ื“ ืชืœื•ืช ื ืžื—ืงื™ื, ืžื” ืฉืžืคืขื™ืœ ืืช
ื™ืฆื™ืจืช ืžื”ืœื›ื™ ืจื’ ื”ืžื‘ื•ืกืกื™ื ืขืœ ื ื™ืชื•ื— ื˜ื•ื•ื— ื—ื™ื™ื. ืืคืฉืจื•ืช ื–ื• ื™ืขื™ืœื”
ืจืง ืขื -fmodulo-sched ืžืื•ืคืฉืจ.

-fno-branch-count-reg
ืืœ ืชืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช "ื”ืคื—ืชื” ื•ื”ืขื ืฃ" ื‘ืคื ืงืก ืกืคื™ืจื”, ืืœื ื‘ืžืงื•ื ื–ืืช
ืœื™ืฆื•ืจ ืจืฆืฃ ืฉืœ ื”ื•ืจืื•ืช ืฉืžืคื—ื™ืชื•ืช ืจื’ื™ืกื˜ืจ, ืœื”ืฉื•ื•ืช ืื•ืชื• ืžื•ืœื•
ืืคืก, ื•ืื– ื”ืกืชืขืฃ ืขืœ ืกืžืš ื”ืชื•ืฆืื”. ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื‘ืขืœืช ืžืฉืžืขื•ืช ืจืง ื‘
ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ื”ืชื•ืžื›ื•ืช ื‘ื”ื•ืจืื•ืช ื›ืืœื”, ื”ื›ื•ืœืœื•ืช x86, PowerPC, IA-64 ื•
S / 390.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fbranch-count-reg.

-fno-function-cse
ืื™ืŸ ืœืฉื™ื ื›ืชื•ื‘ื•ืช ืฉืœ ืคื•ื ืงืฆื™ื•ืช ื‘ืจื’ื™ืกื˜ืจื™ื; ื‘ืฆืข ื›ืœ ื”ื•ืจืื” ืฉืงื•ืจืืช ื
ืคื•ื ืงืฆื™ื” ืงื‘ื•ืขื” ืžื›ื™ืœื” ืืช ื›ืชื•ื‘ืช ื”ืคื•ื ืงืฆื™ื” ื‘ืžืคื•ืจืฉ.

ืืคืฉืจื•ืช ื–ื• ืžื‘ื™ืื” ืœืงื•ื“ ืคื—ื•ืช ื™ืขื™ืœ, ืื‘ืœ ื›ืžื” ืคืจื™ืฆื•ืช ืžื•ื–ืจื•ืช ืฉืžืฉื ื•ืช ืืช
ืคืœื˜ assembler ืขืฉื•ื™ ืœื”ื™ื•ืช ืžื‘ื•ืœื‘ืœ ื‘ื’ืœืœ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉื‘ื•ืฆืขื• ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืงื™ื™ืžืช
ืœื ื‘ืฉื™ืžื•ืฉ.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ffunction-cse

-fno-zero-initialized-in-bss
ืื ื”ื™ืขื“ ืชื•ืžืš ื‘ืงื˜ืข BSS, GCC ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืžืฆื™ื‘ื” ืžืฉืชื ื™ื ืฉื›ืŸ
ืืชื—ื•ืœ ืœืืคืก ืœืชื•ืš BSS. ื–ื” ื™ื›ื•ืœ ืœื—ืกื•ืš ืžืงื•ื ื‘ืงื•ื“ ื”ืžืชืงื‘ืœ.

ืืคืฉืจื•ืช ื–ื• ืžื‘ื˜ืœืช ื”ืชื ื”ื’ื•ืช ื–ื• ืžื›ื™ื•ื•ืŸ ืฉื—ืœืง ืžื”ืชื•ื›ื ื™ื•ืช ืžืกืชืžื›ื•ืช ื‘ืžืคื•ืจืฉ ืขืœ ืžืฉืชื ื™ื
ืขื•ื‘ืจื™ื ืœืงื˜ืข ื”ื ืชื•ื ื™ื --- ืœืžืฉืœ, ื›ืš ืฉืงื•ื‘ืฅ ื”ื”ืคืขืœื” ื”ืžืชืงื‘ืœ ื™ื•ื›ืœ ืœืžืฆื•ื ืืช
ืชื—ื™ืœืชื• ืฉืœ ืื•ืชื• ืกืขื™ืฃ ื•/ืื• ื”ื ื— ื”ื ื—ื•ืช ื”ืžื‘ื•ืกืกื•ืช ืขืœ ื›ืš.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fzero-initialized-in-bss.

-fmudflap -fmudflapth -fmudflapir
ืขื‘ื•ืจ ื—ื–ื™ืชื•ืช ื”ืชื•ืžื›ื•ืช ื‘ื• (C ื•-C++), ืžื›ืฉื™ืจ ื›ืœ ืžืฆื‘ื™ืข/ืžืขืจืš ืžืกื•ื›ืŸ
ืคืขื•ืœื•ืช ื™ื™ื—ื•ืก, ื—ืœืง ืžืคื•ื ืงืฆื™ื•ืช ืžื—ืจื•ื–ืช/ืขืจื™ืžื” ืฉืœ ืกืคืจื™ื™ื” ืกื˜ื ื“ืจื˜ื™ืช ื•ืขื•ื“ ื›ืžื” ืคืขื•ืœื•ืช ืื—ืจื•ืช
ืžื‘ื ื™ื ื”ืงืฉื•ืจื™ื ืœืžื‘ื—ื ื™ ื˜ื•ื•ื—/ืชื•ืงืฃ. ืžื•ื“ื•ืœื™ื ื›ืœ ื›ืš ืžื›ืฉื•ืจ ืฆืจื™ื›ื™ื ืœื”ื™ื•ืช
ื—ืกื™ืŸ ืžืคื ื™ ื”ืฆืคืช ื—ื™ืฅ, ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื” ืœื ื—ื•ืงื™ืช ื•ื›ืžื” ืžื—ืœืงื•ืช ืื—ืจื•ืช ืฉืœ C/C++
ืฉื’ื™ืื•ืช ืชื›ื ื•ืช. ื”ืžื›ืฉื•ืจ ืžืกืชืžืš ืขืœ ืกืคืจื™ื™ืช ื–ืžืŸ ืจื™ืฆื” ื ืคืจื“ืช
(libmudflap), ื”ืžืงื•ืฉืจ ืœืชื•ื›ื ื™ืช if -fmudflap ื ื™ืชืŸ ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ. ืœึธืจื•ึผืฅ-
ื”ืชื ื”ื’ื•ืช ื”ื–ืžืŸ ืฉืœ ื”ืชื•ื›ื ื™ืช ื”ืžื›ืฉื•ืจ ื ืฉืœื˜ืช ืขืœ ื™ื“ื™ MUDFLAP_OPTIONS
ืžืฉืชื ื” ื”ืกื‘ื™ื‘ื”. ืจืื” "env MUDFLAP_OPTIONS=-help a.out" ืœืืคืฉืจื•ื™ื•ืช ืฉืœื•.

ื”ืฉืชืžืฉ -fmudflapth ื‘ืžืงื•ื -fmudflap ืœืงืžืคืœ ื•ืœืงืฉืจ ืื ื”ืชื•ื›ื ื™ืช ืฉืœืš ืžืจื•ื‘ืช
ืžื•ึผืฉืื—ึธืœ. ืœื”ืฉืชืžืฉ -fmudflapir, ื‘ื ื•ืกืฃ -fmudflap or -fmudflapth, ืื
ืžื›ืฉื•ืจ ืฆืจื™ืš ืœื”ืชืขืœื ืžืงืจื™ืืช ืžืฆื‘ื™ืข. ื–ื” ืžื™ื™ืฆืจ ืคื—ื•ืช ืžื›ืฉื•ืจ (ื•
ืœื›ืŸ ื‘ื™ืฆื•ืข ืžื”ื™ืจ ื™ื•ืชืจ) ื•ืขื“ื™ื™ืŸ ืžืกืคืง ื”ื’ื ื” ืžืกื•ื™ืžืช ืžืคื ื™ ื–ื™ื›ืจื•ืŸ ืžื•ื—ืœื˜
ืžืฉื—ื™ืช ื›ืชื™ื‘ื”, ืืš ืžืืคืฉืจืช ืงืจื™ืืช ื ืชื•ื ื™ื ื‘ื˜ืขื•ืช ืœื”ืชืคืฉื˜ ื‘ืชื•ืš ืชื•ื›ื ื™ืช.

-ื—ื•ื˜-ืงืคื™ืฆื•ืช
ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉื‘ื•ื“ืงื•ืช ืื ืงืคื™ืฆื” ืžืกืชืขืคืช ืœืžื™ืงื•ื ืื—ืจ
ื ืžืฆืื” ื”ืฉื•ื•ืื” ื”ื ื›ืœืœืช ืขืœ ื™ื“ื™ ื”ืจืืฉื•ืŸ. ืื ื›ืŸ, ื”ืกื ื™ืฃ ื”ืจืืฉื•ืŸ ืžื•ืคื ื” ืืœ
ืื• ื”ื™ืขื“ ืฉืœ ื”ืกื ื™ืฃ ื”ืฉื ื™ ืื• ื ืงื•ื“ื” ืžื™ื“ ืื—ืจื™ื•,
ืชืœื•ื™ ืื ื”ืชื ืื™ ื™ื“ื•ืข ื›ื ื›ื•ืŸ ืื• ืœื ื ื›ื•ืŸ.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-fsplit-wide-types
ื‘ืขืช ืฉื™ืžื•ืฉ ื‘ืกื•ื’ ืฉืชื•ืคืก ืžืกืคืจ ืื•ื’ืจื™ื, ื›ื’ื•ืŸ "ืืจื•ืš ืืจื•ืš" ื‘-32 ืกื™ื‘ื™ื•ืช
ืžืขืจื›ืช, ืœืคืฆืœ ืืช ื”ืจืฉืžื™ื ื•ืœื”ืงืฆื•ืช ืื•ืชื ื‘ืื•ืคืŸ ืขืฆืžืื™. ื–ื” ื‘ื“ืจืš ื›ืœืœ
ืžื™ื™ืฆืจ ืงื•ื“ ื˜ื•ื‘ ื™ื•ืชืจ ืขื‘ื•ืจ ืกื•ื’ื™ื ืืœื”, ืืš ืขืฉื•ื™ ืœื”ืงืฉื•ืช ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O, -O2, -O3, -ืื•ืก.

-fcse-follow-jumps
ื‘ื—ื™ืกื•ืœ ืชืช-ื‘ื™ื˜ื•ื™ื™ื ื ืคื•ืฆื™ื (CSE), ืกืจื•ืง ื“ืจืš ื”ื•ืจืื•ืช ืงืคื™ืฆื” ื›ืืฉืจ
ืžื˜ืจืช ื”ืงืคื™ืฆื” ืื™ื ื” ืžื•ืฉื’ืช ื‘ืฉื•ื ื ืชื™ื‘ ืื—ืจ. ืœื“ื•ื’ืžื”, ื›ืืฉืจ ื ืชืงืœ ื‘-CSE
ื”ืฆื”ืจืช "if" ืขื ืกืขื™ืฃ "else", CSE ืขื•ืงื‘ ืื—ืจ ื”ืงืคื™ืฆื” ื›ืืฉืจ ื”ืชื ืื™
ืฉื ื‘ื“ืง ื”ื•ื ืฉืงืจ.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-fcse-ื“ืœื’-ื‘ืœื•ืงื™ื
ื–ื” ื“ื•ืžื” ืœ -fcse-follow-jumps, ืื‘ืœ ื’ื•ืจื ืœ-CSE ืœืขืงื•ื‘ ืื—ืจื™ ืงืคื™ืฆื•ืช ื–ื”
ืœื“ืœื’ ืขืœ ื‘ืœื•ืงื™ื ื‘ืื•ืคืŸ ืžื•ืชื ื”. ื›ืืฉืจ CSE ื ืชืงืœ ื‘ื”ืฆื”ืจืช "ืื" ืคืฉื•ื˜ื” ืขื ืœื
ืกืขื™ืฃ ืื—ืจ, -fcse-ื“ืœื’-ื‘ืœื•ืงื™ื ื’ื•ืจื ืœ-CSE ืœืขืงื•ื‘ ืื—ืจ ื”ืงืคื™ืฆื” ืžืกื‘ื™ื‘ ืœื’ื•ืฃ ืฉืœ
"ืื".

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-frerun-cse-after-loop
ื”ืคืขืœ ืžื—ื“ืฉ ืืช ื‘ื™ื˜ื•ืœ ื‘ื™ื˜ื•ื™ ื”ืžืฉื ื” ื”ื ืคื•ืฅ ืœืื—ืจ ื‘ื™ืฆื•ืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืœื•ืœืื”.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-fgcse
ื‘ืฆืข ืžืขื‘ืจ ื’ืœื•ื‘ืœื™ ืœื—ื™ืกื•ืœ ืชืช-ื‘ื™ื˜ื•ื™ื™ื ื ืคื•ืฆื™ื. ื’ื ื”ืžืขื‘ืจ ื”ื–ื” ืžื‘ืฆืข
ื”ืชืคืฉื˜ื•ืช ืงื‘ื•ืขื” ืขื•ืœืžื™ืช ื•ื”ืขืชืงื”.

ื”ืขืจื”: ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืชื•ื›ื ื™ืช ื‘ืืžืฆืขื•ืช gotos ืžื—ื•ืฉื‘ื™ื, ื”ืจื—ื‘ื” ืฉืœ GCC, ืืชื” ืขืฉื•ื™ ืœืงื‘ืœ
ื‘ื™ืฆื•ืขื™ ื–ืžืŸ ืจื™ืฆื” ื˜ื•ื‘ื™ื ื™ื•ืชืจ ืื ืชืฉื‘ื™ืช ืืช ื‘ื™ื˜ื•ืœ ื‘ื™ื˜ื•ื™ ื”ืžืฉื ื” ื”ื ืคื•ืฅ ื”ื’ืœื•ื‘ืœื™
ืœืขื‘ื•ืจ ืขืœ ื™ื“ื™ ื”ื•ืกืคื” -fno-gcse ืœืฉื•ืจืช ื”ืคืงื•ื“ื”.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-fgcse-lm
ืžืชื™ -fgcse-lm ืžื•ืคืขืœ, ื ื™ืกื™ื•ื ื•ืช ื—ื™ืกื•ืœ ืฉืœ ืชืช-ื‘ื™ื˜ื•ื™ื™ื ื ืคื•ืฆื™ื ื‘ืขื•ืœื
ืขื•ืžืกื™ื ืฉื ื”ืจื’ื™ื ืจืง ืขืœ ื™ื“ื™ ื—ื ื•ื™ื•ืช ืœืชื•ืš ืขืฆืžื. ื–ื” ืžืืคืฉืจ ืœื•ืœืื” ื”ืžื›ื™ืœื” ื
ืจืฆืฃ ื˜ืขื™ื ื”/ื—ื ื•ืช ืฉื™ืฉืชื ื” ืœืขื•ืžืก ืžื—ื•ืฅ ืœืœื•ืœืื”, ื•ื”ืขืชืงื”/ื—ื ื•ืช ื‘ืชื•ืš
ื”ืœื•ืœืื”.

ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ -fgcse ืžืื•ืคืฉืจ.

-fgcse-sm
ืžืชื™ -fgcse-sm ืžื•ืคืขืœ, ื”ืขื‘ืจืช ืชื ื•ืขื” ืœื—ื ื•ืช ืžื•ืคืขืœืช ืœืื—ืจ common common
ื—ื™ืกื•ืœ ืชืช-ื‘ื™ื˜ื•ื™ื™ื. ื”ื›ืจื˜ื™ืก ื”ื–ื” ืžื ืกื” ืœื”ืขื‘ื™ืจ ื—ื ื•ื™ื•ืช ืžื—ื•ืฅ ืœืœื•ืœืื•ืช. ื‘ืขืช ืฉื™ืžื•ืฉ
ื‘ืฉื™ืชื•ืฃ ืขื -fgcse-lm, ื ื™ืชืŸ ืœืฉื ื•ืช ืœื•ืœืื•ืช ื”ืžื›ื™ืœื•ืช ืจืฆืฃ ื˜ืขื™ื ื”/ื—ื ื•ืช
ืœืขื•ืžืก ืœืคื ื™ ื”ืœื•ืœืื” ื•ื—ื ื•ืช ืื—ืจื™ ื”ืœื•ืœืื”.

ืœื ืžื•ืคืขืœ ื‘ืฉื•ื ืจืžืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.

-fgcse-las
ืžืชื™ -fgcse-las ืžื•ืคืขืœ, ืžืขื‘ืจ ื‘ื™ื˜ื•ืœ ืชืช-ื”ื‘ื™ื˜ื•ื™ ื”ื ืคื•ืฅ ื”ื’ืœื•ื‘ืœื™
ืžื‘ื˜ืœ ืขื•ืžืกื™ื ืžื™ื•ืชืจื™ื ืฉืžื’ื™ืขื™ื ืื—ืจื™ ื—ื ื•ื™ื•ืช ืœืื•ืชื• ืžื™ืงื•ื ื–ื™ื›ืจื•ืŸ (ืฉื ื™ื”ื
ืคื™ื˜ื•ืจื™ื ื—ืœืงื™ื™ื ื•ืžืœืื™ื).

ืœื ืžื•ืคืขืœ ื‘ืฉื•ื ืจืžืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.

-fgcse-after-reload
ืžืชื™ -fgcse-after-reload ืžื•ืคืขืœ, ืžื‘ื•ืฆืข ืžืขื‘ืจ ื‘ื™ื˜ื•ืœ ืขื•ืžืก ืžื™ื•ืชืจ
ืœืื—ืจ ื˜ืขื™ื ื” ืžื—ื“ืฉ. ืžื˜ืจืช ื”ืžืขื‘ืจ ื”ื–ื” ื”ื™ื ืœื ืงื•ืช ืฉืคื™ื›ื” ืžื™ื•ืชืจืช.

-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืœื•ืœืื” ืคื’ืจืกื™ื‘ื™ืช
ืืคืฉืจื•ืช ื–ื• ืื•ืžืจืช ืœืื•ืคื˜ื™ืžื™ื–ืฆื™ื™ืช ื”ืœื•ืœืื” ืœื”ืฉืชืžืฉ ื‘ืื™ืœื•ืฆื™ ืฉืคื” ื›ื“ื™ ืœื’ื–ื•ืจ ืขื‘ื•ืจื ื’ื‘ื•ืœื•ืช
ืžืกืคืจ ื”ืื™ื˜ืจืฆื™ื•ืช ืฉืœ ืœื•ืœืื”. ื–ื” ืžื ื™ื— ืฉืงื•ื“ ื”ืœื•ืœืื” ืื™ื ื• ืžืคืขื™ืœ
ื”ืชื ื”ื’ื•ืช ืœื ืžื•ื’ื“ืจืช ืขืœ ื™ื“ื™ ืœืžืฉืœ ื’ืจื™ืžืช ื”ืฆืคืช ืžืกืคืจื™ื ืฉืœืžื™ื ื‘ืกื™ืžืŸ ืื• ืžื—ื•ืฅ ืœืชื—ื•ื
ื’ื™ืฉื” ืœืžืขืจืš. ื”ื’ื‘ื•ืœื•ืช ืœืžืกืคืจ ื”ืื™ื˜ืจืฆื™ื•ืช ืฉืœ ืœื•ืœืื” ืžืฉืžืฉื™ื ืœื”ื ื—ื™ื”
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืคืชื™ื—ืช ืœื•ืœืื” ื•ืงื™ืœื•ืฃ ื•ื™ืฆื™ืืช ืœื•ืœืื”. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืœื•ืœืืช funsafe
ืืคืฉืจื•ืช ื–ื• ืื•ืžืจืช ืœืžื™ื˜ื•ื‘ ื”ืœื•ืœืื” ืœื”ื ื™ื— ื›ื™ ืžื“ื“ื™ ื”ืœื•ืœืื” ืื™ื ื ืขื•ืœื™ื ืขืœ ื’ื“ื•ืชื™ื”ื, ื•ื›ืŸ
ืฉืœื•ืœืื•ืช ืขื ืžืฆื‘ ื™ืฆื™ืื” ืœื ื˜ืจื™ื•ื•ื™ืืœื™ ืื™ื ืŸ ืื™ื ืกื•ืคื™ื•ืช. ื–ื” ืžืืคืฉืจ ืจื—ื‘ื” ื™ื•ืชืจ
ื˜ื•ื•ื— ืฉืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืœื•ืœืื•ืช ื’ื ืื ืžื™ื™ืขืœ ื”ืœื•ืœืื” ืขืฆืžื• ืœื ื™ื›ื•ืœ ืœื”ื•ื›ื™ื— ืฉืืœื•
ื”ื”ื ื—ื•ืช ืชืงืคื•ืช. ืื ืืชื” ืžืฉืชืžืฉ -ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ Wunsafe-loop, ืžื–ื”ื™ืจ ืื•ืชืš ื”ืžื”ื“ืจ
ืื ื”ื•ื ืžื•ืฆื ืกื•ื’ ื›ื–ื” ืฉืœ ืœื•ืœืื”.

-ืงืคื™ืฆื” ืฆื•ืœื‘ืช
ื‘ืฆืข ื˜ืจื ืกืคื•ืจืžืฆื™ื” ืฉืœ ืงืคื™ืฆื” ืฆื•ืœื‘ืช. ื˜ืจื ืกืคื•ืจืžืฆื™ื” ื–ื• ืžืื—ื“ืช ืงื•ื“ ืฉื•ื•ื” ืขืจืš ื•
ื—ื•ืกืš ืืช ื’ื•ื“ืœ ื”ืงื•ื“. ื”ืงื•ื“ ื”ืžืชืงื‘ืœ ืขืฉื•ื™ ืœืชืคืงื“ ื˜ื•ื‘ ื™ื•ืชืจ ืžืืฉืจ ืœืœื ืฆื•ืœื‘
ืงื•ืคืฅ.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-fauto-inc-dec
ืฉืœื‘ ืžืจื•ื•ื—ื™ื ืื• ื™ืจื™ื“ื” ืฉืœ ื›ืชื•ื‘ื•ืช ืขื ื’ื™ืฉื” ืœื–ื™ื›ืจื•ืŸ. ื”ืžืขื‘ืจ ื”ื–ื” ื”ื•ื
ืชืžื™ื“ ื“ื™ืœื’ ืขืœ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืฉืื™ืŸ ืœื”ืŸ ื”ื•ืจืื•ืช ืœืชืžื•ืš ื‘ื›ืš.
ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ ื‘ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืฉืชื•ืžื›ื•ืช ื‘ื›ืš.

-fdce
ื‘ืฆืข ื‘ื™ื˜ื•ืœ ืงื•ื“ ืžืช (DCE) ื‘-RTL. ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-fdse
ื‘ืฆืข ื‘ื™ื˜ื•ืœ ื—ื ื•ื™ื•ืช ืžืชื•ืช (DSE) ื‘-RTL. ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-fif-ื”ืžืจื”
ื ืกื” ืœื”ืคื•ืš ืงืคื™ืฆื•ืช ืžื•ืชื ื•ืช ืœืžืงื‘ื™ืœื•ืช ื ื˜ื•ืœื•ืช ืกื ื™ืคื™ื. ื–ื” ื›ื•ืœืœ
ืฉื™ืžื•ืฉ ื‘ืžื”ืœื›ื™ื ืžื•ืชื ื™ื, ืžื™ื ื™ืžื•ื, ืžืงืกื™ืžื•ื, ืงื‘ื™ืขืช ื“ื’ืœื™ื ื•ื”ื•ืจืื•ืช ืฉืจื™ืจื™ ื”ื‘ื˜ืŸ, ื•ื›ืžื” ื˜ืจื™ืงื™ื
ื ื™ืชืŸ ืœื‘ื™ืฆื•ืข ื‘ืืžืฆืขื•ืช ืืจื™ืชืžื˜ื™ืงื” ืกื˜ื ื“ืจื˜ื™ืช. ื”ืฉื™ืžื•ืฉ ื‘ื‘ื™ืฆื•ืข ืžื•ืชื ื” ืขืœ ืฉื‘ื‘ื™ื ื”ื™ื›ืŸ ืฉื”ื•ื
ื–ืžื™ืŸ ื ืฉืœื˜ ืขืœ ื™ื“ื™ "if-conversion2".

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O, -O2, -O3, -ืื•ืก.

-fif-conversion2
ื”ืฉืชืžืฉ ื‘ื‘ื™ืฆื•ืข ืžื•ืชื ื” (ื›ืืฉืจ ื–ืžื™ืŸ) ื›ื“ื™ ืœื”ืคื•ืš ืงืคื™ืฆื•ืช ืžื•ืชื ื•ืช ืœืชื•ืš
ืžืงื‘ื™ืœื•ืช ืœืœื ืกื ื™ืคื™ื.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O, -O2, -O3, -ืื•ืก.

-fdelete-null-pointer-checks
ื ื ื™ื— ืฉืชื•ื›ื ื™ื•ืช ืื™ื ืŸ ื™ื›ื•ืœื•ืช ืœื”ืคื ื•ืช ื‘ื‘ื˜ื—ื” ืœืžืฆื‘ื™ืขื™ null, ื•ืฉืื™ืŸ ืงื•ื“ ืื• ื ืชื•ื ื™ื
ื”ืืœืžื ื˜ ืฉื•ื›ืŸ ืฉื. ื–ื” ืžืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืคืฉื•ื˜ื•ืช ืฉืœ ืงื™ืคื•ืœ ืงื‘ื•ืข ื‘ื›ืœืœ
ืจืžื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”. ื‘ื ื•ืกืฃ, ืžืขื‘ืจื™ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืื—ืจื™ื ื‘-GCC ืžืฉืชืžืฉื™ื ื‘ื“ื’ืœ ื–ื” ื›ื“ื™
ืฉืœื™ื˜ื” ื‘ื ื™ืชื•ื—ื™ ื–ืจื™ืžืช ื ืชื•ื ื™ื ื’ืœื•ื‘ืœื™ื™ื ื”ืžื‘ื˜ืœื™ื ื‘ื“ื™ืงื•ืช ื—ืกืจื•ืช ืชื•ืขืœืช ืขื‘ื•ืจ ืžืฆื‘ื™ืขื™ ืืคืก;
ืืœื” ืžื ื™ื—ื™ื ืฉืื ืžืฆื‘ื™ืข ื ื‘ื“ืง ืœืื—ืจ ืฉื›ื‘ืจ ื‘ื•ืฆืข ื‘ื™ื˜ื•ืœ ื”ื”ืคื ื™ื”, ื”ื•ื
ืœื ื™ื›ื•ืœ ืœื”ื™ื•ืช ืจื™ืง.

ืขื ื–ืืช, ืฉื™ืžื• ืœื‘ ืฉื‘ืกื‘ื™ื‘ื•ืช ืžืกื•ื™ืžื•ืช ื”ื ื—ื” ื–ื• ืื™ื ื” ื ื›ื•ื ื”. ืœื”ืฉืชืžืฉ
-fno-delete-null-pointer-checks ื›ื“ื™ ืœื”ืฉื‘ื™ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื–ื• ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช ื”ืชืœื•ื™ื•ืช
ืขืœ ื”ื”ืชื ื”ื’ื•ืช ื”ื–ื•.

ื™ืขื“ื™ื ืžืกื•ื™ืžื™ื, ื‘ืžื™ื•ื—ื“ ืืœื” ืžืฉื•ื‘ืฆื™ื, ืžืฉื‘ื™ืชื™ื ืืคืฉืจื•ืช ื–ื• ื‘ื›ืœ ื”ืจืžื•ืช. ืื—ืจืช
ื–ื” ืžื•ืคืขืœ ื‘ื›ืœ ื”ืจืžื•ืช: -O0, -O1, -O2, -O3, -ืื•ืก. ืžืขื‘ืจื™ื ื”ืžืฉืชืžืฉื™ื ื‘ืžื™ื“ืข
ืžื•ืคืขืœื™ื ื‘ืื•ืคืŸ ืขืฆืžืื™ ื‘ืจืžื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉื•ื ื•ืช.

-fdevirtualize
ื ื™ืกื™ื•ืŸ ืœื”ืžื™ืจ ืฉื™ื—ื•ืช ืœืคื•ื ืงืฆื™ื•ืช ื•ื™ืจื˜ื•ืืœื™ื•ืช ืœืฉื™ื—ื•ืช ื™ืฉื™ืจื•ืช. ื–ื” ื ืขืฉื” ื’ื ื•ื’ื
ื‘ืžืกื’ืจืช ื”ืœื™ืš ื•ื‘ื™ืŸ ืคืจื•ืฆื“ื•ืจืœื™ ื›ื—ืœืง ืžื”ื˜ื‘ืขื” ืขืงื™ืคื”
("-findirect-inlining") ื•ื”ืชืคืฉื˜ื•ืช ืžืชืžื“ืช ื‘ื™ืŸ-ืคืจื•ืฆื“ื•ืจืœื™ืช (-fipa-cp). ืžื•ืคืขืœ
ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-ื–ื•ืœ-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช
ื‘ืฆืข ืžืกืคืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืงื˜ื ื•ืช ืฉื”ืŸ ื™ืงืจื•ืช ื™ื—ืกื™ืช.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-ื—ื•ืคืฉื™
ื ืกื” ืœื”ืกื™ืจ ื”ื•ืจืื•ืช ื”ืจื—ื‘ื” ืžื™ื•ืชืจื•ืช. ื–ื” ืžื•ืขื™ืœ ื‘ืžื™ื•ื—ื“ ืขื‘ื•ืจ
ืืจื›ื™ื˜ืงื˜ื•ืจืช x86-64, ืืฉืจ ื‘ืื•ืคืŸ ืžืจื•ืžื– ืืคืก-ืžืชืจื—ื‘ ื‘ืื•ื’ืจื™ื ืฉืœ 64 ืกื™ื‘ื™ื•ืช ืœืื—ืจ
ื›ื•ืชื‘ื™ื ืœื—ืฆื™ ื”-32-bit ื”ืชื—ืชื•ืŸ ืฉืœื”ื.

ืžื•ืคืขืœ ืขื‘ื•ืจ x86 ื‘ืจืžื•ืช -O2, -O3.

-foptimize-register-move
-ืคืจื’move
ื ืกื” ืœื”ืงืฆื•ืช ืžื—ื“ืฉ ืžืกืคืจื™ ืจื™ืฉื•ื ื‘ื”ื•ืจืื•ืช ืชื ื•ืขื” ื•ื›ืื•ืคืจื ื“ื™ื ืฉืœ ืื—ืจื™ื
ื”ื•ืจืื•ืช ืคืฉื•ื˜ื•ืช ืขืœ ืžื ืช ืœืžืงืกื ืืช ื›ืžื•ืช ืงืฉื™ืจืช ื”ืจืฉืžื™ื. ื–ื”
ืžื•ืขื™ืœ ื‘ืžื™ื•ื—ื“ ื‘ืžื›ื•ื ื•ืช ืขื ื”ื•ืจืื•ืช ืฉื ื™ ืื•ืคืจื ื“ื™ื.

ื”ืขืจื•ืช -ืคืจื’move ื• -foptimize-register-move ื”ื ืื•ืชื” ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-fira-algorithm=ืึทืœื’ื•ึนืจึดื™ืชึฐื
ื”ืฉืชืžืฉ ื‘ืืœื’ื•ืจื™ืชื ื”ืฆื‘ื™ืขื” ืฉืฆื•ื™ืŸ ืขื‘ื•ืจ ืžืงืฆื” ื”ืื•ื’ืจ ื”ืžืฉื•ืœื‘. ื”
ืึทืœื’ื•ึนืจึดื™ืชึฐื ื˜ื™ืขื•ืŸ ื™ื›ื•ืœ ืœื”ื™ื•ืช ืขื“ื™ืคื•ืช, ื”ืžืฆื™ื™ืŸ ืืช ืฆื‘ื™ืขื” ื”ืขื“ื™ืคื•ืช ืฉืœ Chow, ืื• CB,
ืืฉืจ ืžืคืจื˜ ืฆื‘ื™ืขื” Chaitin-Briggs. ืฆื‘ื™ืขื” Chaitin-Briggs ืื™ื ื” ืžื™ื•ืฉืžืช
ืขื‘ื•ืจ ื›ืœ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช, ืื‘ืœ ืขื‘ื•ืจ ืื•ืชื ื™ืขื“ื™ื ืฉืชื•ืžื›ื™ื ื‘ื›ืš, ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื›ื™ ื–ื” ืžื™ื™ืฆืจ ืงื•ื“ ื˜ื•ื‘ ื™ื•ืชืจ.

-fira-region=ื‘ืื–ื•ืจ
ื”ืฉืชืžืฉ ื‘ืื–ื•ืจื™ื ืฉืฆื•ื™ื ื• ืขื‘ื•ืจ ืžืงืฆื” ื”ืื•ื’ืจ ื”ืžืฉื•ืœื‘. ื” ื‘ืื–ื•ืจ ื˜ืขื ื”
ืฆืจื™ืš ืœื”ื™ื•ืช ืื—ื“ ืžื”ื‘ืื™ื:

ืืช ื›ืœ ื”ืฉืชืžืฉ ื‘ื›ืœ ื”ืœื•ืœืื•ืช ื›ืื–ื•ืจื™ ื”ืงืฆืืช ืจื™ืฉื•ื. ื–ื” ื™ื›ื•ืœ ืœืชืช ืืช ื”ืชื•ืฆืื•ืช ื”ื˜ื•ื‘ื•ืช ื‘ื™ื•ืชืจ ืขื‘ื•ืจ
ืžื›ื•ื ื•ืช ืขื ืกื˜ ืจื™ืฉื•ื ืงื˜ืŸ ื•/ืื• ืœื ืกื“ื™ืจ.

ืžืขื•ืจื‘
ื”ืฉืชืžืฉ ื‘ื›ืœ ื”ืœื•ืœืื•ืช ืœืžืขื˜ ืœื•ืœืื•ืช ืขื ืœื—ืฅ ืจื™ืฉื•ื ืงื˜ืŸ ื›ืื–ื•ืจื™ื. ื–ึถื”
ืขืจืš ื‘ื“ืจืš ื›ืœืœ ื ื•ืชืŸ ืืช ื”ืชื•ืฆืื•ืช ื”ื˜ื•ื‘ื•ืช ื‘ื™ื•ืชืจ ื‘ืจื•ื‘ ื”ืžืงืจื™ื ื•ืขื‘ื•ืจ ืจื•ื‘ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช, ื•
ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืขื ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืœืžื”ื™ืจื•ืช (-O, -O2,...).

ืื—ื“ ื”ืฉืชืžืฉ ื‘ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ื›ืื–ื•ืจ ื™ื—ื™ื“. ื–ื” ื‘ื“ืจืš ื›ืœืœ ืžื‘ื™ื ืœืงื•ื“ ื”ืงื˜ืŸ ื‘ื™ื•ืชืจ
ื’ื•ื“ืœ, ื•ื”ื•ื ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ -ืื•ืก or -O0.

-ืคื™ืจื”-ื”ืจืžื”-ืœื—ืฅ
ื”ืฉืชืžืฉ ื‘-IRA ื›ื“ื™ ืœื”ืขืจื™ืš ืืช ืœื—ืฅ ื”ืจื™ืฉื•ื ื‘ื›ืจื˜ื™ืก ื”ื”ื ืคื” ื‘ืงื•ื“ ืœืงื‘ืœืช ื”ื—ืœื˜ื•ืช ืœื”ื ื™ืฃ
ื‘ื™ื˜ื•ื™ื™ื. ืืคืฉืจื•ืช ื–ื• ืžื‘ื™ืื” ื‘ื“ืจืš ื›ืœืœ ืœืงื•ื“ ืงื˜ืŸ ื™ื•ืชืจ, ืืš ื”ื™ื ื™ื›ื•ืœื” ืœื”ืื˜ ืืช
ืžื”ื“ืจ ืœืžื˜ื”.

ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื‘ืจืžื” -ืื•ืก ืœื›ืœ ื”ืžื˜ืจื•ืช.

-ืคื™ืจื”-ืœื•ืœืื”-ืœื—ืฅ
ื”ืฉืชืžืฉ ื‘-IRA ื›ื“ื™ ืœื”ืขืจื™ืš ืืช ืœื—ืฅ ื”ืจื™ืฉื•ื ื‘ืœื•ืœืื•ืช ืœืงื‘ืœืช ื”ื—ืœื˜ื•ืช ืœื”ื–ื™ื– ืื™ื ื•ืจื™ืื ื˜ื™ื ืฉืœ ืœื•ืœืื”.
ืืคืฉืจื•ืช ื–ื• ืžื‘ื™ืื” ื‘ื“ืจืš ื›ืœืœ ืœื™ืฆื™ืจืช ืงื•ื“ ืžื”ื™ืจ ื•ืงื˜ืŸ ื™ื•ืชืจ ื‘ืžื›ื•ื ื•ืช ืขื
ืงื‘ืฆื™ ืื•ื’ืจ ื’ื“ื•ืœื™ื (>= 32 ืื•ื’ืจื™ื), ืื‘ืœ ื–ื” ื™ื›ื•ืœ ืœื”ืื˜ ืืช ืงืฆื‘ ื”ืžื”ื“ืจ.

ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื‘ืจืžื” -O3 ืขื‘ื•ืจ ื›ืžื” ื™ืขื“ื™ื.

-fno-ira-share-save-slots
ื”ืฉื‘ืช ืฉื™ืชื•ืฃ ืฉืœ ื—ืจื™ืฆื™ ืžื—ืกื ื™ืช ื”ืžืฉืžืฉื™ื ืœืฉืžื™ืจืช ืื•ื’ืจื™ื ืงืฉื™ื—ื™ื ื”ืžืฉืžืฉื™ื ื‘ืฉื™ื—ื•ืช
ืฉื™ื—ื”. ื›ืœ ืื•ื’ืจ ืงืฉื™ื— ืžืงื‘ืœ ืžืฉื‘ืฆืช ืžื—ืกื ื™ืช ื ืคืจื“ืช, ื•ื›ืชื•ืฆืื” ืžื›ืš ืžื—ืกื ื™ืช ืคื•ื ืงืฆื™ื•ืช
ื”ืžืกื’ืจื•ืช ื’ื“ื•ืœื•ืช ื™ื•ืชืจ.

-fno-ira-share-spill-slots
ื”ืฉื‘ืช ืืช ื”ืฉื™ืชื•ืฃ ืฉืœ ื—ืจื™ืฆื™ ืžื—ืกื ื™ืช ืฉื”ื•ืงืฆื• ืขื‘ื•ืจ ืคืกืื•ื“ื•-ืจื™ืกื˜ืจื™ื. ื›ืœ ืคืกืื•ื“ื•-ืจื™ืฉื•ื
ืฉืื™ื ื• ืžืงื‘ืœ ืื•ื’ืจ ืงืฉื™ื— ืžืงื‘ืœ ืžืฉื‘ืฆืช ืžื—ืกื ื™ืช ื ืคืจื“ืช, ื•ื›ืชื•ืฆืื” ืžื›ืš ืคื•ื ืงืฆื™ื”
ืžืกื’ืจื•ืช ืขืจื™ืžื” ื’ื“ื•ืœื•ืช ื™ื•ืชืจ.

-fira-verbose=n
ืฉืœื™ื˜ื” ื‘ืžื™ืœื•ืœื™ื•ืช ืฉืœ ืงื•ื‘ืฅ ื”-dump ืขื‘ื•ืจ ืžืงืฆื” ื”ืื•ื’ืจ ื”ืžืฉื•ืœื‘. ื”
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 5. ืื ื”ืขืจืš n ื’ื“ื•ืœ ืื• ืฉื•ื•ื” ืœ-10, ืคืœื˜ ื”-dump ื ืฉืœื—
ื›ื“ื™ stderr ื‘ืืžืฆืขื•ืช ืื•ืชื• ืคื•ืจืžื˜ ื›ืžื• n ืžื™ื ื•ืก 10.

-ืขื ืฃ ืžื•ืฉื”ื”
ืื ื ืชืžืš ืขื‘ื•ืจ ืžื—ืฉื‘ ื”ื™ืขื“, ื ืกื” ืœืกื“ืจ ืžื—ื“ืฉ ืืช ื”ื”ื•ืจืื•ืช ืœื ื™ืฆื•ืœ
ืžืฉื‘ืฆื•ืช ื”ื•ืจืื•ืช ื–ืžื™ื ื•ืช ืœืื—ืจ ื“ื—ื™ื™ืช ื”ื•ืจืื•ืช ืกื ื™ืฃ.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O, -O2, -O3, -ืื•ืก.

-fschedule-insns
ืื ื ืชืžืš ืขื‘ื•ืจ ืžื›ื•ื ืช ื”ื™ืขื“, ื ืกื” ืœืกื“ืจ ืžื—ื“ืฉ ืืช ื”ื”ื•ืจืื•ืช ืœื‘ื™ื˜ื•ืœ
ื ื™ืชื•ืง ื‘ื™ืฆื•ืข ื‘ื’ืœืœ ืฉื”ื ืชื•ื ื™ื ื”ื ื“ืจืฉื™ื ืื™ื ื ื–ืžื™ื ื™ื. ื–ื” ืขื•ื–ืจ ืœืžื›ื•ื ื•ืช
ื™ืฉ ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื” ืื˜ื™ืช ืื• ื˜ืขื™ื ืช ื–ื™ื›ืจื•ืŸ ืขืœ ื™ื“ื™ ืžืชืŸ ืืคืฉืจื•ืช ืœื”ื•ืจืื•ืช ืื—ืจื•ืช
ื™ื•ื ืคืง ืขื“ ืฉืชื“ืจืฉ ืชื•ืฆืืช ื”ืขื•ืžืก ืื• ื”ื•ืจืืช ื”ื ืงื•ื“ื” ื”ืฆืคื”.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3.

-fschedule-insns2
ื“ื•ืžื” -fschedule-insns, ืืš ืžื‘ืงืฉ ืžืขื‘ืจ ื ื•ืกืฃ ืฉืœ ืชื–ืžื•ืŸ ื”ื•ืจืื•ืช
ืœืื—ืจ ื‘ื™ืฆื•ืข ื”ืงืฆืืช ืจื™ืฉื•ื. ื–ื” ืฉื™ืžื•ืฉื™ ื‘ืžื™ื•ื—ื“ ื‘ืžื›ื•ื ื•ืช ืขื ื
ืžืกืคืจ ืงื˜ืŸ ื™ื—ืกื™ืช ืฉืœ ืื•ื’ืจื™ื ื•ื‘ื”ื ื”ื•ืจืื•ืช ื˜ืขื™ื ืช ื–ื™ื›ืจื•ืŸ ืœื•ืงื—ื•ืช ื™ื•ืชืจ ืž
ืžื—ื–ื•ืจ ืื—ื“.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-fno-sched-interblock
ืืœ ืชื–ืžืŸ ื”ื•ืจืื•ืช ืขืœ ืคื ื™ ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื. ื–ื” ืžื•ืคืขืœ ื‘ื“ืจืš ื›ืœืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ
ื‘ืขืช ืชื–ืžื•ืŸ ืœืคื ื™ ื”ืงืฆืืช ืจื™ืฉื•ื, ื›ืœื•ืžืจ ืขื -fschedule-insns ืื• -O2 or
ื’ื‘ื•ื”.

-fno-sched-ื”ืžืคืจื˜
ืืœ ืชืืคืฉืจ ืชื ื•ืขื” ืกืคืงื•ืœื˜ื™ื‘ื™ืช ืฉืœ ื”ื•ืจืื•ืช ืœืœื ืขื•ืžืก. ื–ื” ืžื•ืคืขืœ ื‘ื“ืจืš ื›ืœืœ ืขืœ ื™ื“ื™
ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ืขืช ืชื–ืžื•ืŸ ืœืคื ื™ ื”ืงืฆืืช ืจื™ืฉื•ื, ื›ืœื•ืžืจ ืขื -fschedule-insns ืื•
-O2 ืื• ื’ื‘ื•ื” ื™ื•ืชืจ.

-fsched-ืœื—ืฅ
ืืคืฉืจ ืชื–ืžื•ืŸ insn ืจื’ื™ืฉ ืœืœื—ืฅ ืฉืœ ืื•ื’ืจ ืœืคื ื™ ื”ืงืฆืืช ืื•ื’ืจ. ื–ึถื”
ื”ื’ื™ื•ื ื™ ืจืง ื›ืืฉืจ ืชื–ืžื•ืŸ ืœืคื ื™ ื”ืงืฆืืช ืจื™ืฉื•ื ืžื•ืคืขืœืช, ื›ืœื•ืžืจ ืขื
-fschedule-insns ืื• -O2 ืื• ื’ื‘ื•ื” ื™ื•ืชืจ. ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื™ื›ื•ืœ ืœืฉืคืจ ืืช ื”ื”ืคืงื”
ืงื•ื“ ื•ืœื”ืงื˜ื™ืŸ ืืช ื’ื•ื“ืœื• ืขืœ ื™ื“ื™ ืžื ื™ืขืช ืขืœื™ื™ืช ืœื—ืฅ ื”ืื•ื’ืจ ืžืขืœ ื”ืžืกืคืจ
ืฉืœ ืจื™ืฉื•ืžื™ื ืงืฉื™ื—ื™ื ื–ืžื™ื ื™ื ื•ื”ื–ืœื™ื’ื” ืœืื—ืจ ืžื›ืŸ ื‘ื”ืงืฆืืช ืคื ืงืก.

-fsched-spec-load
ืืคืฉืจ ืชื ื•ืขื” ืกืคืงื•ืœื˜ื™ื‘ื™ืช ืฉืœ ื›ืžื” ื”ื•ืจืื•ืช ืขื•ืžืก. ื–ื” ื”ื’ื™ื•ื ื™ ืจืง ืžืชื™
ืชื–ืžื•ืŸ ืœืคื ื™ ื”ืงืฆืืช ืจื™ืฉื•ื, ื›ืœื•ืžืจ ืขื -fschedule-insns ืื• -O2 ืื• ื’ื‘ื•ื” ื™ื•ืชืจ.

-fsched-spec-ืขื•ืžืก-ืžืกื•ื›ืŸ
ืืคืฉืจ ืชื ื•ืขื” ืกืคืงื•ืœื˜ื™ื‘ื™ืช ืฉืœ ื”ื•ืจืื•ืช ืขื•ืžืก ื ื•ืกืคื•ืช. ื–ื” ื”ื’ื™ื•ื ื™ ืจืง ืžืชื™
ืชื–ืžื•ืŸ ืœืคื ื™ ื”ืงืฆืืช ืจื™ืฉื•ื, ื›ืœื•ืžืจ ืขื -fschedule-insns ืื• -O2 ืื• ื’ื‘ื•ื” ื™ื•ืชืจ.

-fsched-stalled-insns
-fsched-stalled-insns=n
ื”ื’ื“ืจ ื›ืžื” ืื™ื ืกื ืก (ืื ื‘ื›ืœืœ) ื ื™ืชืŸ ืœื”ืขื‘ื™ืจ ื‘ื˜ืจื ืขืช ืžื”ืชื•ืจ ืฉืœ ืชืงื•ืขื™ื
ื ื›ื ืก ืœืจืฉื™ืžืช ื”ืžื•ื›ื ื™ื ื‘ืžื”ืœืš ืžืขื‘ืจ ื”ืชื–ืžื•ืŸ ื”ืฉื ื™. -fno-sched-stalled-insns
ืคื™ืจื•ืฉื• ืฉืืฃ ืชื•ืกืคื•ืช ืœื ืžื•ืขื‘ืจื•ืช ื‘ื˜ืจื ืขืช, -fsched-stalled-insns=0 ืคื™ืจื•ืฉื• ืฉืื™ืŸ
ื”ื’ื‘ืœื” ืขืœ ื›ืžื” ื›ื ื™ืกื•ืช ื‘ืชื•ืจ ื ื™ืชืŸ ืœื”ืขื‘ื™ืจ ื‘ื˜ืจื ืขืช. -fsched-stalled-insns
ืœืœื ืขืจืš ืฉื•ื•ื” ืขืจืš ืœ -fsched-stalled-insns=1.

-fsched-stalled-insns-dep
-fsched-stalled-insns-dep=n
ื”ื’ื“ื™ืจื• ื›ืžื” ืงื‘ื•ืฆื•ืช (ืžื—ื–ื•ืจื™ื) ืื™ื ืกื  ื ื‘ื“ืงื•ืช ืขื‘ื•ืจ ืชืœื•ืช ื‘- insn ืฉื ืชืงืข
ื–ื” ืžื•ืขืžื“ ืœื”ืจื—ืงื” ืžื•ืงื“ืžืช ืžื”ืชื•ืจ ืฉืœ ื›ื ื™ืกื•ืช ืฉื ืชืงืขื•. ื™ืฉ ืœื–ื”
ื”ืฉืคืขื” ืจืง ื‘ืžื”ืœืš ืžืขื‘ืจ ื”ืชื–ืžื•ืŸ ื”ืฉื ื™, ื•ืจืง ืื -fsched-stalled-insns is
ืžึฐืฉืื•ึผืžึธืฉื. -fno-sched-stalled-insns-dep ืฉื•ื•ื” -fsched-stalled-insns-dep=0.
-fsched-stalled-insns-dep ืœืœื ืขืจืš ืฉื•ื•ื” ืขืจืš ืœ
-fsched-stalled-insns-dep=1.

-fsched2-use-superblocks
ื‘ืขืช ืชื–ืžื•ืŸ ืœืื—ืจ ื”ืงืฆืืช ืจื™ืฉื•ื, ื”ืฉืชืžืฉ ื‘ืชื–ืžื•ืŸ ืกื•ืคืจื‘ืœื•ืง. ื–ื” ืžืืคืฉืจ
ืชื ื•ืขื” ืขืœ ืคื ื™ ื’ื‘ื•ืœื•ืช ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื, ื•ื›ืชื•ืฆืื” ืžื›ืš ืœื•ื—ื•ืช ื–ืžื ื™ื ืžื”ื™ืจื™ื ื™ื•ืชืจ. ืืคืฉืจื•ืช ื–ื• ื”ื™ื
ื ื™ืกื™ื•ื ื™, ืžื›ื™ื•ื•ืŸ ืฉืœื ื›ืœ ืชื™ืื•ืจื™ ื”ืžื›ื•ื ื” ืฉื‘ื”ื ืžืฉืชืžืฉ GCC ืžื“ื’ืžื™ื ืืช ื”-CPU ืžืงืจื•ื‘ ืžืกืคื™ืง
ื›ื“ื™ ืœืžื ื•ืข ืชื•ืฆืื•ืช ืœื ืืžื™ื ื•ืช ืžื”ืืœื’ื•ืจื™ืชื.

ื–ื” ื”ื’ื™ื•ื ื™ ืจืง ื›ืืฉืจ ืžืชื–ืžื ื™ื ืœืื—ืจ ื”ืงืฆืืช ืจื™ืฉื•ื, ื›ืœื•ืžืจ ืขื
-fschedule-insns2 ืื• -O2 ืื• ื’ื‘ื•ื” ื™ื•ืชืจ.

-fsched-group-heuristic
ืืคืฉืจ ืืช ื”ื”ื™ื•ืจื™ืกื˜ื™ืงื” ื”ืงื‘ื•ืฆืชื™ืช ื‘ืœื•ื— ื”ื–ืžื ื™ื. ื”ื™ื•ืจื™ืกื˜ื™ืงื” ื–ื• ืžืขื“ื™ืคื” ืืช ื”ื”ื•ืจืื”
ืฉืฉื™ื™ืš ืœืงื‘ื•ืฆืช ืœื•ื— ื–ืžื ื™ื. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ ืชื–ืžื•ืŸ ื”ื•ื
ืžื•ืคืขืœ, ื›ืœื•ืžืจ ืขื -fschedule-insns or -fschedule-insns2 ืื• -O2 ืื• ื’ื‘ื•ื” ื™ื•ืชืจ.

-fsched-critical-path-hyuristic
ืืคืฉืจ ืืช ื”ื™ื•ืจื™ืกื˜ื™ืช ื”ื ืชื™ื‘ ื”ืงืจื™ื˜ื™ ื‘ืžืชื–ืžืŸ. ื”ื”ื™ื•ืจื™ืกื˜ื™ืงื” ื”ื–ื• ืžืขื“ื™ืฃ
ื”ื•ืจืื•ืช ืขืœ ื”ื ืชื™ื‘ ื”ืงืจื™ื˜ื™. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ ืชื–ืžื•ืŸ ื”ื•ื
ืžื•ืคืขืœ, ื›ืœื•ืžืจ ืขื -fschedule-insns or -fschedule-insns2 ืื• -O2 ืื• ื’ื‘ื•ื” ื™ื•ืชืจ.

-fsched-spec-insn-heuristic
ืืคืฉืจ ืืช ื”ื™ื•ืจื™ืกื˜ื™ืช ื”ื”ื•ืจืื” ื”ืกืคืงื•ืœื˜ื™ื‘ื™ืช ื‘ืžืชื–ืžืŸ. ื”ื”ื™ื•ืจื™ืกื˜ื™ืงื” ื”ื–ื• ืžืขื“ื™ืฃ
ื”ื•ืจืื•ืช ืกืคืงื•ืœื˜ื™ื‘ื™ื•ืช ืขื ื—ื•ืœืฉืช ืชืœื•ืช ื’ื“ื•ืœื” ื™ื•ืชืจ. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ
ื›ืืฉืจ ืชื–ืžื•ืŸ ืžื•ืคืขืœ, ื›ืœื•ืžืจ ืขื -fschedule-insns or -fschedule-insns2 ืื• -O2
ืื• ื’ื‘ื•ื” ื™ื•ืชืจ.

-fsched-rank-heuristic
ืืคืฉืจ ืืช ื”ื™ื•ืจื™ืกื˜ื™ืช ื”ื“ื™ืจื•ื’ ื‘ืžืชื–ืžืŸ. ื”ื™ื•ืจื™ืกื˜ื™ืงื” ื–ื• ืžืขื“ื™ืคื” ืืช ื”ื”ื•ืจืื”
ืฉื™ื™ืš ืœื‘ืœื•ืง ื‘ืกื™ืกื™ ืขื ื’ื•ื“ืœ ืื• ืชื“ื™ืจื•ืช ื’ื“ื•ืœื™ื ื™ื•ืชืจ. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ
ื›ืืฉืจ ืชื–ืžื•ืŸ ืžื•ืคืขืœ, ื›ืœื•ืžืจ ืขื -fschedule-insns or -fschedule-insns2 ืื• -O2
ืื• ื’ื‘ื•ื” ื™ื•ืชืจ.

-fsched-last-insn-heuristic
ืืคืฉืจ ืืช ื”ื™ื•ืจื™ืกื˜ื™ืช ื”ื”ื•ืจืื” ื”ืื—ืจื•ื ื” ื‘ืžืชื–ืžืŸ. ื”ื™ื•ืจื™ืกื˜ื™ืงื” ื–ื• ืžืขื“ื™ืคื” ืืช
ื”ื•ืจืื” ืฉืคื—ื•ืช ืชืœื•ื™ื” ื‘ื”ื•ืจืื” ื”ืื—ืจื•ื ื” ืฉืชื•ื–ืžื ื”. ื–ื” ืžื•ืคืขืœ
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ ืชื–ืžื•ืŸ ืžื•ืคืขืœ, ื›ืœื•ืžืจ ืขื -fschedule-insns or -fschedule-insns2
ืื• -O2 ืื• ื’ื‘ื•ื” ื™ื•ืชืจ.

-fsched-dep-count-heuristic
ืืคืฉืจ ืืช ื”ื™ื•ืจื™ืกื˜ื™ืช ืกืคื™ืจืช ื”ืชืœื•ืช ื‘ืžืชื–ืžืŸ. ื”ื™ื•ืจื™ืกื˜ื™ืงื” ื–ื• ืžืขื“ื™ืคื” ืืช
ื”ื•ืจืื” ืฉื™ืฉ ืœื” ื™ื•ืชืจ ื”ื•ืจืื•ืช ื‘ื”ืชืื ืœื”. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ
ื›ืืฉืจ ืชื–ืžื•ืŸ ืžื•ืคืขืœ, ื›ืœื•ืžืจ ืขื -fschedule-insns or -fschedule-insns2 ืื• -O2
ืื• ื’ื‘ื•ื” ื™ื•ืชืจ.

-freschedule-modulo-scheduled-loops
ืชื–ืžื•ืŸ ืžื•ื“ื•ืœ ืžื‘ื•ืฆืข ืœืคื ื™ ืชื–ืžื•ืŸ ืžืกื•ืจืชื™. ืื ืœื•ืœืื” ื”ื™ื ืžื•ื“ื•ืœื•
ืžืชื•ื›ื ืŸ, ืžืขื‘ืจื™ ืชื–ืžื•ืŸ ืžืื•ื—ืจื™ื ื™ื•ืชืจ ืขืฉื•ื™ื™ื ืœืฉื ื•ืช ืืช ืœื•ื— ื”ื–ืžื ื™ื ืฉืœื•. ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื›ื“ื™
ืœืฉืœื•ื˜ ื‘ื”ืชื ื”ื’ื•ืช ื”ื–ื•.

-ืกืœืงื˜ื™ื‘ื™-ืชื–ืžื•ืŸ
ืชื–ืžืŸ ื”ื•ืจืื•ืช ื‘ืืžืฆืขื•ืช ืืœื’ื•ืจื™ืชื ืชื–ืžื•ืŸ ืกืœืงื˜ื™ื‘ื™. ืจื™ืฆื•ืช ืชื–ืžื•ืŸ ืกืœืงื˜ื™ื‘ื™
ื‘ืžืงื•ื ืžืขื‘ืจ ื”ืžืชื–ืžืŸ ื”ืจืืฉื•ืŸ.

-fsellective-scheduling2
ืชื–ืžืŸ ื”ื•ืจืื•ืช ื‘ืืžืฆืขื•ืช ืืœื’ื•ืจื™ืชื ืชื–ืžื•ืŸ ืกืœืงื˜ื™ื‘ื™. ืจื™ืฆื•ืช ืชื–ืžื•ืŸ ืกืœืงื˜ื™ื‘ื™
ื‘ืžืงื•ื ืžืขื‘ืจ ื”ืžืชื–ืžืŸ ื”ืฉื ื™.

-fsel-sched-pipelining
ืืคืฉืจ ืฆื ืจืช ืชื•ื›ื ื” ืฉืœ ืœื•ืœืื•ืช ืคื ื™ืžื™ื•ืช ื‘ื™ื•ืชืจ ื‘ืžื”ืœืš ืชื–ืžื•ืŸ ืกืœืงื˜ื™ื‘ื™. ื–ึถื”
ืœืืคืฉืจื•ืช ืื™ืŸ ื”ืฉืคืขื” ืืœื ืื ื›ืŸ ืื—ืช ืžื”ืŸ -ืกืœืงื˜ื™ื‘ื™-ืชื–ืžื•ืŸ or -fsellective-scheduling2
ืžื•ืคืขืœ.

-fsel-sched-pipelining-outer-loops
ื›ืืฉืจ ืฆื™ื ื•ืจื•ืช ืœื•ืœืื•ืช ื‘ืžื”ืœืš ืชื–ืžื•ืŸ ืกืœืงื˜ื™ื‘ื™, ื’ื ืฆื™ื ื•ืจ ืœื•ืœืื•ืช ื—ื™ืฆื•ื ื™ื•ืช. ื–ึถื”
ืœืื•ืคืฆื™ื” ืื™ืŸ ื”ืฉืคืขื” ืืœื ืื ื›ืŸ -fsel-sched-pipelining ืžื•ืคืขืœ.

-ืœื”ื›ื•ื•ืฅ-ืœืขื˜ื•ืฃ
ืคืœื™ื˜ ืคืจื•ืœื•ื’ื™ื ืฉืœ ืคื•ื ืงืฆื™ื” ืจืง โ€‹โ€‹ืœืคื ื™ ื—ืœืงื™ื ืžื”ืคื•ื ืงืฆื™ื” ืฉื–ืงื•ืงื™ื ืœื”, ื•ืœื ื‘
ื”ื—ืœืง ื”ืขืœื™ื•ืŸ ืฉืœ ื”ืคื•ื ืงืฆื™ื”. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-fcaller-ืฉื•ืžืจ
ืืคืฉืจ ื”ืงืฆืืช ืขืจื›ื™ื ืœืจื’ื™ืกื˜ืจื™ื ืฉื ื—ื˜ืคื• ืขืœ ื™ื“ื™ ืงืจื™ืื•ืช ืคื•ื ืงืฆื™ื”, ืขืœ ื™ื“ื™
ืคืœื™ื˜ืช ื”ื•ืจืื•ืช ื ื•ืกืคื•ืช ืœืฉืžื•ืจ ื•ืœืฉื—ื–ืจ ืืช ื”ืจื™ืฉื•ืžื™ื ืกื‘ื™ื‘ ืฉื™ื—ื•ืช ื›ืืœื”. ื›ื’ื•ืŸ
ื”ื”ืงืฆืื” ืžืชื‘ืฆืขืช ืจืง ื›ืืฉืจ ื ืจืื” ืฉื”ื™ื ืžื‘ื™ืื” ืœืงื•ื“ ื˜ื•ื‘ ื™ื•ืชืจ.

ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ืชืžื™ื“ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ืžื—ืฉื‘ื™ื ืžืกื•ื™ืžื™ื, ื‘ื“ืจืš ื›ืœืœ ืืœื” ืฉื™ืฉ ืœื”ื
ืื™ืŸ ืจื™ืฉื•ืžื™ื ืฉื ืฉืžืจื• ืฉื™ื—ื•ืช ืœืฉื™ืžื•ืฉ ื‘ืžืงื•ื ื–ืืช.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-fcombine-stack-adjustments
ืขื•ืงื‘ ืื—ืจ ื”ืชืืžื•ืช ืžื—ืกื ื™ืช (ื“ื—ื™ืคื•ืช ื•ืงืคื™ืฆื•ืช) ื•ืžืขืจื™ืžื” ื”ืคื ื™ื•ืช ืœื–ื™ื›ืจื•ืŸ ื•ืœืื—ืจ ืžื›ืŸ ืžื ืกื”
ืœืžืฆื•ื ื“ืจื›ื™ื ืœืฉืœื‘ ื‘ื™ื ื™ื”ื.

ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O1 ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-fconserve-ืžื—ืกื ื™ืช
ื ืกื” ืœืžื–ืขืจ ืืช ื”ืฉื™ืžื•ืฉ ื‘ืขืจื™ืžื”. ื”ืžื”ื“ืจ ืžื ืกื” ืœื”ืฉืชืžืฉ ื‘ืคื—ื•ืช ืฉื˜ื— ืžื—ืกื ื™ืช, ืืคื™ืœื•
ืื ื–ื” ื”ื•ืคืš ืืช ื”ืชื•ื›ื ื™ืช ืœืื™ื˜ื™ ื™ื•ืชืจ. ืืคืฉืจื•ืช ื–ื• ืžืจืžื–ืช ืขืœ ื”ื’ื“ืจืช ื” ืžืกื’ืจืช-ืžื—ืกื ื™ืช ื’ื“ื•ืœื”
ืคืจืžื˜ืจ ืœ-100 ื•ื”- ื’ื“ื•ืœ-ืžื—ืกื ื™ืช-ืคืจื™ื™ื-ืฆืžื™ื—ื” ืคืจืžื˜ืจ ืœ-400.

-ftree-reassoc
ื‘ืฆืข ืฉื™ื•ืš ืžื—ื“ืฉ ืขืœ ืขืฆื™ื. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ftree-pre
ื‘ืฆืข ื‘ื™ื˜ื•ืœ ื™ืชื™ืจื•ืช ื—ืœืงื™ืช (PRE) ืขืœ ืขืฆื™ื. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ืขืœ ื™ื“ื™
ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O2 ื• -O3.

-ftree-partial-pre
ื”ืคื•ืš ืืช ื‘ื™ื˜ื•ืœ ื™ืชื™ืจื•ืช ื—ืœืงื™ืช (PRE) ืœืื’ืจืกื™ื‘ื™ ื™ื•ืชืจ. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ืขืœ ื™ื“ื™
ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O3.

-ftree-forwprop
ื‘ืฆืข ืจื™ื‘ื•ื™ ืงื“ื™ืžื” ืขืœ ืขืฆื™ื. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•
ื’ื‘ื•ื”.

-ftree-fre
ื‘ืฆืข ื‘ื™ื˜ื•ืœ ื™ืชื™ืจื•ืช ืžืœืื” (FRE) ืขืœ ืขืฆื™ื. ื”ื”ื‘ื“ืœ ื‘ื™ืŸ FRE ืœ
PRE ื”ื•ื ืฉ-FRE ืžืชื™ื™ื—ืก ืจืง ืœื‘ื™ื˜ื•ื™ื™ื ืฉืžื—ื•ืฉื‘ื™ื ื‘ื›ืœ ื”ื ืชื™ื‘ื™ื ื”ืžื•ื‘ื™ืœื™ื ืืœื™ื”ื
ื”ื—ื™ืฉื•ื‘ ื”ืžื™ื•ืชืจ. ื ื™ืชื•ื— ื–ื” ืžื”ื™ืจ ื™ื•ืชืจ ืž-PRE, ืื ื›ื™ ื”ื•ื ื—ื•ืฉืฃ ืคื—ื•ืช
ืคื™ื˜ื•ืจื™ื. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ftree-phiprop
ื‘ืฆืข ื”ื ืคืช ืžืฉืื•ืช ืžืžืฆื‘ื™ืขื™ื ืžื•ืชื ื™ื ืขืœ ืขืฆื™ื. ืžืขื‘ืจ ื–ื” ืžื•ืคืขืœ ืขืœ ื™ื“ื™
ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-fhoist-ืกืžื•ืš-ืขื•ืžืกื™ื
ื”ื ืฃ ืžืฉืื•ืช ื‘ืื•ืคืŸ ืกืคืงื•ืœื˜ื™ื‘ื™ ืžืฉื ื™ ื”ืขื ืคื™ื ืฉืœ ืื-ืื–-ืื—ืจ ืื ื”ืžื˜ืขื ื™ื ื”ื ืž
ืžืงื•ืžื•ืช ืกืžื•ื›ื™ื ื‘ืื•ืชื• ืžื‘ื ื” ื•ืœืืจื›ื™ื˜ืงื˜ื•ืจืช ื”ื™ืขื“ ื™ืฉ ืชื ืื™
ื”ื•ืจืืช ืชื ื•ืขื”. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O2 ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ftree-copy-prop
ื‘ืฆืข ืจื™ื‘ื•ื™ ื”ืขืชืงื•ืช ืขืœ ืขืฆื™ื. ืžืขื‘ืจ ื–ื” ืžื‘ื˜ืœ ืคืขื•ืœื•ืช ื”ืขืชืงื” ืžื™ื•ืชืจื•ืช.
ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ืคื™ืคื-ื˜ื”ื•ืจ-ืงื•ื ืกื˜
ื’ืœื” ืื™ืœื• ืคื•ื ืงืฆื™ื•ืช ื”ืŸ ื˜ื”ื•ืจื•ืช ืื• ืงื‘ื•ืขื•ืช. ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ืคื™ืคื-ื”ืชื™ื™ื—ืกื•ืช
ื’ืœื” ืื™ืœื• ืžืฉืชื ื™ื ืกื˜ื˜ื™ื™ื ืื™ื ื ื‘ื•ืจื—ื™ื ืžื™ื—ื™ื“ืช ื”ื”ื™ื“ื•ืจ. ืžื•ืคืขืœ ืขืœ ื™ื“ื™
ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ืคื™ืคื-pta
ื‘ืฆืข ื ื™ืชื•ื— ืžืฆื‘ื™ืข ื‘ื™ืŸ-ืคืจื•ืฆื“ื•ืจืœื™ ื•ืฉื™ื ื•ื™ ื‘ื™ืŸ-ืคืจื•ืฆื“ื•ืจืœื™ ื•
ื ื™ืชื•ื— ื”ืชื™ื™ื—ืกื•ืช. ืืคืฉืจื•ืช ื–ื• ืขืœื•ืœื” ืœื’ืจื•ื ืœื–ื™ื›ืจื•ืŸ ืžื•ื’ื–ื ื•ืœืฉื™ืžื•ืฉ ื‘ื–ืžืŸ ื”ื™ื“ื•ืจ
ื™ื—ื™ื“ื•ืช ืื•ืกืฃ ื’ื“ื•ืœื•ืช. ื–ื” ืœื ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ื›ืœ ืจืžืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.

-fipa-profile
ื‘ืฆืข ื”ืคืฆืช ืคืจื•ืคื™ืœ ื‘ื™ืŸ-ื”ืœื™ื›ื™ื. ื”ืคื•ื ืงืฆื™ื•ืช ื ืงืจืื•ืช ืจืง ืžืงื•ืจ
ืคื•ื ืงืฆื™ื•ืช ืžืกื•ืžื ื•ืช ื›ืงืจ. ื’ื ืคื•ื ืงืฆื™ื•ืช ืฉื‘ื•ืฆืขื• ืคืขื ืื—ืช (ื›ื’ื•ืŸ "ืงืจ",
"norreturn", ื‘ื ืื™ื ืกื˜ื˜ื™ื™ื ืื• ื”ืจืกื ื™ื) ืžื–ื•ื”ื™ื. ืคื•ื ืงืฆื™ื•ืช ืงืจื•ืช ื•
ืœื•ืœืื” ืคื—ื•ืช ื—ืœืงื™ื ืฉืœ ืคื•ื ืงืฆื™ื•ืช ืฉื‘ื•ืฆืขื• ืคืขื ืื—ืช ืœืื—ืจ ืžื›ืŸ ืžื•ืชืืžื™ื ืœื’ื•ื“ืœ. ืžื•ืคืขืœ ืขืœ ื™ื“ื™
ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-fipa-cp
ื‘ืฆืข ื”ืชืคืฉื˜ื•ืช ืžืชืžื“ืช ื‘ื™ืŸ ืคืจื•ืฆื“ื•ืจืœื™ืช. ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื–ื• ืžื ืชื—ืช ืืช ื”ืชื•ื›ื ื™ืช
ื›ื“ื™ ืœืงื‘ื•ืข ืžืชื™ ื”ืขืจื›ื™ื ื”ืžื•ืขื‘ืจื™ื ืœืคื•ื ืงืฆื™ื•ืช ื”ื ืงื‘ื•ืขื™ื ื•ืœืื—ืจ ืžื›ืŸ ืžื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ื‘ื”ืชืื ืœื›ืš. ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื–ื• ื™ื›ื•ืœื” ืœื”ื’ื“ื™ืœ ืžืฉืžืขื•ืชื™ืช ืืช ื”ื‘ื™ืฆื•ืขื™ื ืื
ืœืืคืœื™ืงืฆื™ื” ื™ืฉ ืงื‘ื•ืขื™ื ืฉื”ื•ืขื‘ืจื• ืœืคื•ื ืงืฆื™ื•ืช. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘
-O2, -ืื•ืก ื• -O3.

-fipa-cp-clone
ื‘ืฆืข ืฉื™ื‘ื•ื˜ ืคื•ื ืงืฆื™ื•ืช ื›ื“ื™ ืœื”ืคื•ืš ืืช ื”ื”ืชืคืฉื˜ื•ืช ื”ืงื‘ื•ืขื” ื‘ื™ืŸ ืคืจื•ืฆื“ื•ืจืœื™ืช ืœื—ื–ืงื” ื™ื•ืชืจ. ืžืชื™
ืžื•ืคืขืœ, ื”ืชืคืฉื˜ื•ืช ืงื‘ื•ืขื” ื‘ื™ืŸ ืคืจื•ืฆื“ื•ืจืœื™ืช ืžื‘ืฆืขืช ืฉื™ื‘ื•ื˜ ืคื•ื ืงืฆื™ื•ืช ื›ืืฉืจ
ื ื™ืชืŸ ืœืงืจื•ื ืœืคื•ื ืงืฆื™ื” ื’ืœื•ื™ื” ื—ื™ืฆื•ื ื™ืช ืขื ืืจื’ื•ืžื ื˜ื™ื ืงื‘ื•ืขื™ื. ื‘ื’ืœืœ ื–ื”
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื™ื›ื•ืœื” ืœื™ืฆื•ืจ ืขื•ืชืงื™ื ืžืจื•ื‘ื™ื ืฉืœ ืคื•ื ืงืฆื™ื•ืช, ื”ื™ื ืขืฉื•ื™ื” ืœื”ื’ื“ื™ืœ ื‘ืื•ืคืŸ ืžืฉืžืขื•ืชื™
ื’ื•ื“ืœ ืงื•ื“ (ืจืื” --param ipcp-unit-growth=ืขืจืš). ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘
-O3.

-ื›ื™ื•ืจ-ftree
ื‘ืฆืข ืชื ื•ืขืช ืื—ืกื•ืŸ ืงื“ื™ืžื” ืขืœ ืขืฆื™ื. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•
ื’ื‘ื•ื”.

-ftree-bit-ccp
ื‘ืฆืข ื”ืชืคืฉื˜ื•ืช ืžืขื˜ ืžื•ืชื ื™ืช ื“ืœื™ืœื” ืขืœ ืขืฆื™ื ื•ื”ืคืฆืช ืžืฆื‘ื™ืข
ืžื™ื“ืข ื™ื™ืฉื•ืจ. ืžืขื‘ืจ ื–ื” ืคื•ืขืœ ืจืง ืขืœ ืžืฉืชื ื™ื ืกืงืœืจื™ื ืžืงื•ืžื™ื™ื ื•ื”ื•ื
ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ. ื–ื” ื“ื•ืจืฉ ืืช ื–ื” -ftree-ccp ืžืื•ืคืฉืจ.

-ftree-ccp
ื‘ืฆืข ืจื™ื‘ื•ื™ ืงื‘ื•ืข ืžื•ืชื ื” ื“ืœื™ืœ (CCP) ืขืœ ืขืฆื™ื. ื”ืžืขื‘ืจ ื”ื–ื” ื‘ืœื‘ื“
ืคื•ืขืœ ืขืœ ืžืฉืชื ื™ื ืกืงืœืจื™ื ืžืงื•ืžื™ื™ื ื•ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘- -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ftree-switch-conversion
ื‘ืฆืข ื”ืžืจื” ืฉืœ ืืชื—ื•ืœื™ื ืคืฉื•ื˜ื™ื ื‘ืžืขื‘ืจ ืœืืชื—ื•ืœื™ื ืž-a
ืžืขืจืš ืกืงืœืืจื™. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O2 ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ftree-ื–ื ื‘-ืžื™ื–ื•ื’
ื—ืคืฉ ืจืฆืคื™ ืงื•ื“ ื–ื”ื™ื. ื›ืืฉืจ ื ืžืฆื, ื”ื—ืœืฃ ืื—ื“ ื‘ืงืคื™ืฆื” ืœืฉื ื™.
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื–ื• ื™ื“ื•ืขื” ื›ืžื™ื–ื•ื’ ื–ื ื‘ ืื• ืงืคื™ืฆื” ืฆื•ืœื‘ืช. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ืขืœ ื™ื“ื™
ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O2 ื•ื’ื‘ื•ื” ื™ื•ืชืจ. ื ื™ืชืŸ ืœื”ื’ื‘ื™ืœ ืืช ื–ืžืŸ ื”ืงื•ืžืคื™ืœืฆื™ื” ื‘ืžืขื‘ืจ ื–ื” ื‘ืืžืฆืขื•ืช
ืžืงืกื™ืžื•ื-ื–ื ื‘-ืžื™ื–ื•ื’-ื”ืฉื•ื•ืื•ืช ืคืจืžื˜ืจ ื•- ืžืงืกื™ืžื•ื-ื–ื ื‘-ืžื™ื–ื•ื’-ืื™ื˜ืจืฆื™ื•ืช ืคึผึธืจึธืžึถื˜ึถืจ.

-ftree-dce
ื‘ืฆืข ื‘ื™ื˜ื•ืœ ืงื•ื“ ืžืช (DCE) ืขืœ ืขืฆื™ื. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O
ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ftree-builtin-call-dce
ื‘ืฆืข ื‘ื™ื˜ื•ืœ ืงื•ื“ ืžืช ืžื•ืชื ื” (DCE) ืขื‘ื•ืจ ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช
ืขืฉื•ื™ ืœื”ื’ื“ื™ืจ "ืฉื’ื™ืื”" ืืš ื—ื•ืฅ ืžืชื•ืคืขื•ืช ืœื•ื•ืื™. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ
at -O2 ื•ืžืขืœื” ืื -ืื•ืก ืœื ืžืฆื•ื™ืŸ ื’ื.

-ftree-dominator-opts
ื‘ืฆืข ืžื’ื•ื•ืŸ ืฉืœ ื ื™ืงื•ื™ื™ื ืกืงืœืจื™ื ืคืฉื•ื˜ื™ื (ื”ืคืฆื” ืงื‘ื•ืขื”/ื”ืขืชืงื”, ื™ืชื™ืจื•ืช
ื—ื™ืกื•ืœ, ื”ืชืคืฉื˜ื•ืช ื˜ื•ื•ื— ื•ืคื™ืฉื•ื˜ ื‘ื™ื˜ื•ื™) ืžื‘ื•ืกืก ืขืœ ื“ื•ืžื™ื ื˜ื•ืจ
ืžืขื‘ืจ ืขืฆื™ื. ื–ื” ืžื‘ืฆืข ื’ื ื”ืฉื—ืœืช ืงืคื™ืฆื•ืช (ื›ื“ื™ ืœื”ืคื—ื™ืช ืงืคื™ืฆื•ืช ืœืงืคื™ืฆื•ืช). ื–ึถื”
ื“ื’ืœ ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ftree-dse
ื‘ืฆืข ื‘ื™ื˜ื•ืœ ื—ื ื•ืช ืžืชื” (DSE) ืขืœ ืขืฆื™ื. ื—ื ื•ืช ืžืชื” ื”ื™ื ื—ื ื•ืช ืœืชื•ืš ื–ื™ื›ืจื•ืŸ
ืžื™ืงื•ื ืฉืžืื•ื—ืจ ื™ื•ืชืจ ืžื•ื—ืœืฃ ืขืœ ื™ื“ื™ ื—ื ื•ืช ืื—ืจืช ืœืœื ืขื•ืžืกื™ื ืžืชืขืจื‘ื™ื. ื‘
ื‘ืžืงืจื” ื–ื” ื ื™ืชืŸ ืœืžื—ื•ืง ืืช ื”ื—ื ื•ืช ื”ืงื•ื“ืžืช. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•
ื’ื‘ื•ื”.

-ftree-ch
ื‘ืฆืข ื”ืขืชืงืช ื›ื•ืชืจื•ืช ืœื•ืœืื” ืขืœ ืขืฆื™ื. ื–ื” ืžื•ืขื™ืœ ืžื›ื™ื•ื•ืŸ ืฉื”ื•ื ืขื•ืœื”
ื”ืืคืงื˜ื™ื‘ื™ื•ืช ืฉืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืชื ื•ืขืช ืงื•ื“. ื–ื” ื’ื ื—ื•ืกืš ืงืคื™ืฆื” ืื—ืช. ื”ื“ื’ืœ ื”ื–ื” ื”ื•ื
ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ. ื–ื” ืœื ืžื•ืคืขืœ ืขื‘ื•ืจ -ืื•ืก, ืžืื– ื–ื” ื‘ื“ืจืš ื›ืœืœ
ืžื’ื“ื™ืœ ืืช ื’ื•ื“ืœ ื”ืงื•ื“.

-ftree-loop-optimize
ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืœื•ืœืื•ืช ืขืœ ืขืฆื™ื. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•
ื’ื‘ื•ื”.

-ftree-ืœื•ืœืื”-ืœื™ื ืืจื™ืช
ื‘ืฆืข ื˜ืจื ืกืคื•ืจืžืฆื™ื•ืช ืฉืœ ื”ื—ืœืคืช ืœื•ืœืื” ืขืœ ืขืฅ. ื›ืžื• -ืคืœื•ืค-ืžื—ืœืฃ. ืœื”ืฉืชืžืฉ
ืฉื™ื ื•ื™ ื”ืงื•ื“ ื”ื–ื”, ื™ืฉ ืœื”ื’ื“ื™ืจ ืืช GCC ืขื --with-ppl ื• --ืขื-ืงืœื•ื’ ืœ
ืืคืฉืจ ืืช ืชืฉืชื™ืช ื”ื˜ืจื ืกืคื•ืจืžืฆื™ื” ืฉืœ ืœื•ืœืืช ื’ืจืคื™ื˜.

-ืคืœื•ืค-ืžื—ืœืฃ
ื‘ืฆืข ื˜ืจื ืกืคื•ืจืžืฆื™ื•ืช ืฉืœ ื”ื—ืœืคืช ืœื•ืœืื•ืช ืขืœ ืœื•ืœืื•ืช. ื”ื—ืœืคืช ืฉืชื™ ืœื•ืœืื•ืช ืžืงื•ื ื ื•ืช
ืžื—ืœื™ืฃ ืืช ื”ืœื•ืœืื•ืช ื”ืคื ื™ืžื™ื•ืช ื•ื”ื—ื™ืฆื•ื ื™ื•ืช. ืœื“ื•ื’ืžื”, ื‘ื”ื™ื ืชืŸ ืœื•ืœืื” ื›ืžื•:

DO J = 1, M
DO I = 1, N
A(J, I) = A(J, I) * C
ืื ื“ื•
ืื ื“ื•

ืžื—ืœืฃ ืœื•ืœืื” ื”ื•ืคืš ืืช ื”ืœื•ืœืื” ื›ืื™ืœื• ื”ื™ื ื ื›ืชื‘ื”:

DO I = 1, N
DO J = 1, M
A(J, I) = A(J, I) * C
ืื ื“ื•
ืื ื“ื•

ืžื” ืฉื™ื›ื•ืœ ืœื”ื™ื•ืช ืžื•ืขื™ืœ ื›ืืฉืจ "N" ื’ื“ื•ืœ ื™ื•ืชืจ ืžื”ืžื˜ืžื•ื ื™ื, ืžื›ื™ื•ื•ืŸ ืฉื‘ืคื•ืจื˜ืจืŸ, ื”
ืืœืžื ื˜ื™ื ืฉืœ ืžืขืจืš ืžืื•ื—ืกื ื™ื ื‘ื–ื™ื›ืจื•ืŸ ื‘ืจืฆื™ืคื•ืช ืœืคื™ ืขืžื•ื“ื”, ื•ื”ืžืงื•ืจ
ืœื•ืœืื” ื—ื•ื–ืจืช ืขืœ ืคื ื™ ืฉื•ืจื•ืช, ื•ืขืœื•ืœื” ืœื™ืฆื•ืจ ื‘ื›ืœ ื’ื™ืฉื” ืคืกืคื•ืก ืžื˜ืžื•ืŸ. ื–ึถื”
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื—ืœื” ืขืœ ื›ืœ ื”ืฉืคื•ืช ื”ื ืชืžื›ื•ืช ืขืœ ื™ื“ื™ GCC ื•ืื™ื ื” ืžื•ื’ื‘ืœืช ืœ
ืคื•ืจื˜ืจืŸ. ื›ื“ื™ ืœื”ืฉืชืžืฉ ื‘ืฉื™ื ื•ื™ ืงื•ื“ ื–ื”, ื™ืฉ ืœื”ื’ื“ื™ืจ ืืช GCC ืขื --with-ppl
ื• --ืขื-ืงืœื•ื’ ื›ื“ื™ ืœืืคืฉืจ ืืช ืชืฉืชื™ืช ื”ื˜ืจื ืกืคื•ืจืžืฆื™ื” ืฉืœ ืœื•ืœืืช ื’ืจืคื™ื˜.

-ืคืœื•ืค-ืจืฆื•ืขื”-ืฉืœื™
ื‘ืฆืข ื˜ืจื ืกืคื•ืจืžืฆื™ื•ืช ืฉืœ ื›ืจื™ื™ืช ืจืฆื•ืขื•ืช ืœื•ืœืื•ืช ืขืœ ืœื•ืœืื•ืช. ื›ืจื™ื™ืช ืจืฆื•ืขื” ืžืคืฆืœืช ืœื•ืœืื” ืœืชื•ืš
ืฉืชื™ ืœื•ืœืื•ืช ืžืงื•ื ื ื•ืช. ืœืœื•ืœืื” ื”ื—ื™ืฆื•ื ื™ืช ื™ืฉ ืฆืขื“ื™ื ื”ืฉื•ื•ื™ื ืœื’ื•ื“ืœ ื”ืจืฆื•ืขื” ื•ื”ืคื ื™ืžื™
ืœืœื•ืœืื” ื™ืฉ ืฆืขื“ื™ื ืฉืœ ื”ืœื•ืœืื” ื”ืžืงื•ืจื™ืช ื‘ืชื•ืš ืจืฆื•ืขื”. ื ื™ืชืŸ ืœืฉื ื•ืช ืืช ืื•ืจืš ื”ืจืฆื•ืขื”
ื‘ืืžืฆืขื•ืช ืœื•ืœืื”-ื’ื•ืฉ-ืืจื™ื—-ื’ื•ื“ืœ ืคึผึธืจึธืžึถื˜ึถืจ. ืœื“ื•ื’ืžื”, ื‘ื”ื™ื ืชืŸ ืœื•ืœืื” ื›ืžื•:

DO I = 1, N
A(I) = A(I) + C
ืื ื“ื•

ื›ืจื™ื™ืช ืจืฆื•ืขื•ืช ืœื•ืœืื” ื”ื•ืคื›ืช ืืช ื”ืœื•ืœืื” ื›ืื™ืœื• ื”ื™ื ื ื›ืชื‘ื”:

DO II = 1, N, 51
DO I = II, min (II + 50, N)
A(I) = A(I) + C
ืื ื“ื•
ืื ื“ื•

ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื–ื• ื—ืœื” ืขืœ ื›ืœ ื”ืฉืคื•ืช ื”ื ืชืžื›ื•ืช ืขืœ ื™ื“ื™ GCC ื•ืื™ื ื” ืžื•ื’ื‘ืœืช ืœ
ืคื•ืจื˜ืจืŸ. ื›ื“ื™ ืœื”ืฉืชืžืฉ ื‘ืฉื™ื ื•ื™ ืงื•ื“ ื–ื”, ื™ืฉ ืœื”ื’ื“ื™ืจ ืืช GCC ืขื --with-ppl
ื• --ืขื-ืงืœื•ื’ ื›ื“ื™ ืœืืคืฉืจ ืืช ืชืฉืชื™ืช ื”ื˜ืจื ืกืคื•ืจืžืฆื™ื” ืฉืœ ืœื•ืœืืช ื’ืจืคื™ื˜.

-ืคืœื•ืค-ื‘ืœื•ืง
ื‘ืฆืข ื˜ืจื ืกืคื•ืจืžืฆื™ื•ืช ืฉืœ ื—ืกื™ืžืช ืœื•ืœืื•ืช ืขืœ ืœื•ืœืื•ืช. ื—ืกื™ืžืช ืจืฆื•ืขืช ืžื•ืงืฉื™ื ื›ืœ ืœื•ืœืื” ื‘
ืงืŸ ืœื•ืœืื” ื›ืš ืฉื’ื™ืฉื•ืช ื”ื–ื™ื›ืจื•ืŸ ืฉืœ ืœื•ืœืื•ืช ื”ืืœืžื ื˜ื™ื ื™ืชืื™ืžื• ื‘ืชื•ืš ืžื˜ืžื•ื ื™ื. ื”
ื ื™ืชืŸ ืœืฉื ื•ืช ืืช ืื•ืจืš ื”ืจืฆื•ืขื” ื‘ืืžืฆืขื•ืช ืœื•ืœืื”-ื’ื•ืฉ-ืืจื™ื—-ื’ื•ื“ืœ ืคึผึธืจึธืžึถื˜ึถืจ. ืœื“ื•ื’ืžื”,
ื ืชื•ืŸ ืœื•ืœืื” ื›ืžื•:

DO I = 1, N
DO J = 1, M
A (j, i) = b (i) + c (j)
ืื ื“ื•
ืื ื“ื•

ื—ืกื™ืžืช ืœื•ืœืื” ื”ื•ืคื›ืช ืืช ื”ืœื•ืœืื” ื›ืื™ืœื• ื”ื™ื ื ื›ืชื‘ื”:

DO II = 1, N, 51
DO JJ = 1, M, 51
DO I = II, min (II + 50, N)
DO J = JJ, min (JJ + 50, M)
A (j, i) = b (i) + c (j)
ืื ื“ื•
ืื ื“ื•
ืื ื“ื•
ืื ื“ื•

ืžื” ืฉื™ื›ื•ืœ ืœื”ื™ื•ืช ืžื•ืขื™ืœ ื›ืืฉืจ "M" ื’ื“ื•ืœ ื™ื•ืชืจ ืžื”ืžื˜ืžื•ื ื™ื, ื‘ื’ืœืœ ื”ืœื•ืœืื” ื”ืคื ื™ืžื™ืช ื‘ื™ื•ืชืจ
ื—ื•ื–ืจ ืขืœ ื›ืžื•ืช ืงื˜ื ื” ื™ื•ืชืจ ืฉืœ ื ืชื•ื ื™ื ืฉื ื™ืชืŸ ืœืฉืžื•ืจ ื‘ืžื˜ืžื•ื ื™ื. ื–ึถื”
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื—ืœื” ืขืœ ื›ืœ ื”ืฉืคื•ืช ื”ื ืชืžื›ื•ืช ืขืœ ื™ื“ื™ GCC ื•ืื™ื ื” ืžื•ื’ื‘ืœืช ืœ
ืคื•ืจื˜ืจืŸ. ื›ื“ื™ ืœื”ืฉืชืžืฉ ื‘ืฉื™ื ื•ื™ ืงื•ื“ ื–ื”, ื™ืฉ ืœื”ื’ื“ื™ืจ ืืช GCC ืขื --with-ppl
ื• --ืขื-ืงืœื•ื’ ื›ื“ื™ ืœืืคืฉืจ ืืช ืชืฉืชื™ืช ื”ื˜ืจื ืกืคื•ืจืžืฆื™ื” ืฉืœ ืœื•ืœืืช ื’ืจืคื™ื˜.

-ื–ื”ื•ืช-fgraphite
ืืคืฉืจ ืืช ืฉื™ื ื•ื™ ื”ื–ื”ื•ืช ืขื‘ื•ืจ ื’ืจืคื™ื˜. ืขื‘ื•ืจ ื›ืœ SCoP ืฉืื ื• ื™ื•ืฆืจื™ื ืืช
ื™ื™ืฆื•ื’ ืจื‘-ื”ื“ืจืœื™ ื•ืœื”ืคื•ืš ืื•ืชื• ื‘ื—ื–ืจื” ืœื’ื™ืžืคืœ. ื‘ืืžืฆืขื•ืช -ื–ื”ื•ืช-fgraphite
ืื ื• ื™ื›ื•ืœื™ื ืœื‘ื“ื•ืง ืืช ื”ืขืœื•ื™ื•ืช ืื• ื”ื™ืชืจื•ื ื•ืช ืฉืœ ื”ื˜ืจื ืกืคื•ืจืžืฆื™ื” ืฉืœ GIMPLE -> GRAPHITE -> GIMPLE.
ื›ืžื” ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืžื™ื ื™ืžืœื™ื•ืช ืžื‘ื•ืฆืขื•ืช ื’ื ืขืœ ื™ื“ื™ ืžื—ื•ืœืœ ื”ืงื•ื“ CLooG, ื›ืžื• ืื™ื ื“ืงืก
ืคื™ืฆื•ืœ ื•ื‘ื™ื˜ื•ืœ ืงื•ื“ ืžืช ื‘ืœื•ืœืื•ืช.

-floop-nest-optimize
ื”ืคืขืœ ืืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื™ืช ืงืŸ ื”ืœื•ืœืื” ืžื‘ื•ืกืก ISL. ื–ื”ื• ืžื™ื™ืขืœ ืงืŸ ื’ื ืจื™ ืžื‘ื•ืกืก ืœื•ืœืื”
ืขืœ ืืœื’ื•ืจื™ืชืžื™ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืคืœื•ื˜ื•. ื”ื•ื ืžื—ืฉื‘ ืžื‘ื ื” ืœื•ืœืื” ื”ืžื•ืชืื ืขื‘ื•ืจื•
ื ืชื•ื ื™ื-ืžืงื‘ื™ืœื™ื•ืช ื•ืžืงื‘ื™ืœื™ื•ืช. ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื ื™ืกื™ื•ื ื™ืช.

-ืคืœื•ืค-ืžืงื‘ื™ืœ-ื”ื›ืœ
ื”ืฉืชืžืฉ ื‘ื ื™ืชื•ื— ื”ืชืœื•ืช ื‘ื ืชื•ื ื™ ื’ืจืคื™ื˜ ื›ื“ื™ ืœื–ื”ื•ืช ืœื•ืœืื•ืช ืฉื ื™ืชืŸ ืœื‘ืฆืข ื‘ืžืงื‘ื™ืœ.
ืขืฉื” ื‘ืžืงื‘ื™ืœ ืืช ื›ืœ ื”ืœื•ืœืื•ืช ืฉื ื™ืชืŸ ืœื ืชื— ื›ืš ืฉืœื ื™ื›ื™ืœื• ืชืœื•ืช ื ื™ืฉืืช ื‘ืœื•ืœืื”
ืžื‘ืœื™ ืœื‘ื“ื•ืง ืฉืžืฉืชืœื ืœื”ืงื‘ื™ืœ ืืช ื”ืœื•ืœืื•ืช.

-fcheck-data-deps
ื”ืฉื•ื•ื” ืืช ื”ืชื•ืฆืื•ืช ืฉืœ ืžืกืคืจ ืžื ืชื—ื™ ืชืœื•ืช ื ืชื•ื ื™ื. ืืคืฉืจื•ืช ื–ื• ืžืฉืžืฉืช ืขื‘ื•ืจ
ืื™ืชื•ืจ ื‘ืื’ื™ื ืฉืœ ืžื ืชื—ื™ ื”ืชืœื•ืช ื‘ื ืชื•ื ื™ื.

-ftree-loop-if-convert
ื ืกื” ืœื”ืคื•ืš ืงืคื™ืฆื•ืช ืžื•ืชื ื•ืช ื‘ืœื•ืœืื•ืช ื”ืคื ื™ืžื™ื•ืช ื‘ื™ื•ืชืจ ืœืœื ืขื ืคื™ื
ืžืงื‘ื™ืœื•ืช. ื”ื›ื•ื•ื ื” ื”ื™ื ืœื”ืกื™ืจ ื–ืจื™ืžืช ื‘ืงืจื” ืžื”ืœื•ืœืื•ืช ื”ืคื ื™ืžื™ื•ืช ื‘ื™ื•ืชืจ ืœืคื™ ื”ืกื“ืจ
ื›ื“ื™ ืœืฉืคืจ ืืช ื”ื™ื›ื•ืœืช ืฉืœ ืžืขื‘ืจ ื”ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ืœื˜ืคืœ ื‘ืœื•ืœืื•ืช ืืœื•. ื–ื”
ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืื ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ืžื•ืคืขืœืช.

-ftree-loop-if-convert-stores
ื ืกื” ื’ื ืื-ืœื”ืžื™ืจ ืงืคื™ืฆื•ืช ืžื•ืชื ื•ืช ื”ืžื›ื™ืœื•ืช ื›ืชื™ื‘ื” ื‘ื–ื™ื›ืจื•ืŸ. ื–ึถื”
ื”ื˜ืจื ืกืคื•ืจืžืฆื™ื” ืขืœื•ืœื” ืœื”ื™ื•ืช ืœื ื‘ื˜ื•ื—ื” ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช ืžืจื•ื‘ื•ืช ืคืชื™ืœื™ื ืžื›ื™ื•ื•ืŸ ืฉื”ื™ื ืžืฉืชื ื” ืžื•ืชื ื™ืช
ื–ื™ื›ืจื•ืŸ ื›ื•ืชื‘ ืœืชื•ืš ื–ื™ื›ืจื•ืŸ ื‘ืœืชื™ ืžื•ืชื ื” ื›ื•ืชื‘. ืœื“ื•ื’ืžื”,

ืขื‘ื•ืจ (i = 0; i < N; i++)
ืื (ืชื ืื™)
A[i] = expr;

ื”ื•ืคืš ืœ

ืขื‘ื•ืจ (i = 0; i < N; i++)
A[i] = ืชื ืื™ ? expr : A[i];

ืขืœื•ืœื™ื ืœื™ื™ืฆืจ ืžื™ืจื•ืฆื™ ื ืชื•ื ื™ื.

-ftree-loop-distribution
ื‘ืฆืข ื”ืคืฆืช ืœื•ืœืื”. ื“ื’ืœ ื–ื” ื™ื›ื•ืœ ืœืฉืคืจ ืืช ื‘ื™ืฆื•ืขื™ ื”ืžื˜ืžื•ืŸ ื‘ื’ื•ืคื™ ืœื•ืœืื” ื’ื“ื•ืœื™ื
ื•ืœืืคืฉืจ ืœื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื ื•ืกืคื•ืช ืฉืœ ืœื•ืœืื”, ื›ืžื• ื”ืงื‘ืœื” ืื• ื•ืงื˜ื•ืจื™ื–ืฆื™ื”
ืžืงื•ื. ืœื“ื•ื’ืžื”, ื”ืœื•ืœืื”

DO I = 1, N
A (i) = b (i) + c
D(I) = E(I) * F
ืื ื“ื•

ื”ื•ืคืš ืœ

DO I = 1, N
A (i) = b (i) + c
ืื ื“ื•
DO I = 1, N
D(I) = E(I) * F
ืื ื“ื•

-ftree-loop-distribute-passtrens
ื‘ืฆืข ื”ืคืฆืช ืœื•ืœืื” ืฉืœ ื“ืคื•ืกื™ื ืฉื ื™ืชืŸ ืœื™ืฆื•ืจ ืงื•ื“ ืขื ืงืจื™ืื•ืช ืœ-a
ืกึดืคึฐืจึดื™ึธื”. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O3.

ื”ืžืขื‘ืจ ื”ื–ื” ืžืคื™ืฅ ืืช ืœื•ืœืื•ืช ื”ืืชื—ื•ืœ ื•ื™ื•ืฆืจ ืงืจื™ืื” ืœืžืžืกื˜ ืืคืก.
ืœื“ื•ื’ืžื”, ื”ืœื•ืœืื”

DO I = 1, N
A(I) = 0
B(I) = A(I) + I
ืื ื“ื•

ื”ื•ืคืš ืœ

DO I = 1, N
A(I) = 0
ืื ื“ื•
DO I = 1, N
B(I) = A(I) + I
ืื ื“ื•

ื•ืœื•ืœืืช ื”ืืชื—ื•ืœ ื”ื•ืคื›ืช ืœืงืจื™ืื” ืœืžืžืกื˜ ืืคืก.

-ftree-loop-im
ื‘ืฆืข ืชื ื•ืขื” ื‘ืœืชื™ ืžืฉืชื ื” ืฉืœ ืœื•ืœืื” ืขืœ ืขืฆื™ื. ืžืขื‘ืจ ื–ื” ืžื–ื™ื– ืจืง ืื™ื ื•ืจื™ืื ื˜ื™ื ืงืฉื™ื
ืœื˜ืคืœ ื‘ืจืžืช RTL (ืงืจื™ืืช ืคื•ื ืงืฆื™ื•ืช, ืคืขื•ืœื•ืช ืฉืžืชืจื—ื‘ื•ืช ืœืจืฆืคื™ื ืœื ื˜ืจื™ื•ื•ื™ืืœื™ื™ื
ืฉืœ ืื™ื ืกื ืก). ืขื -ืœื•ืœืื•ืช funswitch ื–ื” ื’ื ืžื–ื™ื– ืื•ืคืจื ื“ื™ื ืฉืœ ืชื ืื™ื ืฉื›ืŸ
ื‘ืœืชื™ ืžืฉืชื ื” ืžื—ื•ืฅ ืœืœื•ืœืื”, ื›ืš ืฉื ื•ื›ืœ ืœื”ืฉืชืžืฉ ืจืง ื‘ื ื™ืชื•ื— ืื™ ื•ืจื™ืื ื˜ื™ื•ืช ื˜ืจื™ื•ื•ื™ืืœื™ ื‘
ื‘ื™ื˜ื•ืœ ืžื™ืชื•ื’ ืœื•ืœืื”. ื”ื›ืจื˜ื™ืก ื›ื•ืœืœ ื’ื ืชื ื•ืขืช ื—ื ื•ืช.

-ftree-loop-ivcanon
ืฆื•ืจ ืžื•ื ื” ืงื ื•ื ื™ ืœืžืกืคืจ ื”ืื™ื˜ืจืฆื™ื•ืช ื‘ืœื•ืœืื•ืช ืฉืขื‘ื•ืจืŸ ืงื•ื‘ืขื™ื
ืžืกืคืจ ืื™ื˜ืจืฆื™ื•ืช ื“ื•ืจืฉ ื ื™ืชื•ื— ืžืกื•ื‘ืš. ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืžืื•ื—ืจื•ืช ื™ื•ืชืจ ืขืฉื•ื™ื•ืช
ืœืงื‘ื•ืข ืืช ื”ืžืกืคืจ ื‘ืงืœื•ืช. ืฉื™ืžื•ืฉื™ ื‘ืžื™ื•ื—ื“ ื‘ืงืฉืจ ืœืคืจื™ืœื”.

-fivopts
ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืžืฉืชื ื™ ืื™ื ื“ื•ืงืฆื™ื” (ื”ืคื—ืชืช ื—ื•ื–ืง, ืžืฉืชื ื” ืื™ื ื“ื•ืงืฆื™ื”
ืžื™ื–ื•ื’ ื•ื‘ื™ื˜ื•ืœ ืžืฉืชื ื™ ืื™ื ื“ื•ืงืฆื™ื”) ืขืœ ืขืฆื™ื.

-ftree-parallize-loops=n
ืžืงื‘ื™ืœ ืœื•ืœืื•ืช, ื›ืœื•ืžืจ, ืคืฆืœ ืืช ืžืจื—ื‘ ื”ืื™ื˜ืจืฆื™ื” ืฉืœื”ื ื›ื“ื™ ืœืจื•ืฅ ื‘-n ื—ื•ื˜ื™ื. ื–ื”
ืืคืฉืจื™ ืจืง ืขื‘ื•ืจ ืœื•ืœืื•ืช ืฉื”ืื™ื˜ืจืฆื™ื•ืช ืฉืœื”ืŸ ืขืฆืžืื™ื•ืช ื•ื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช ืฉืจื™ืจื•ืชื™ื•ืช
ืกื“ืจ ืžื—ื“ืฉ. ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžืฉืชืœืžืช ืจืง ื‘ืžื›ื•ื ื•ืช ืจื™ื‘ื•ื™ ืžืขื‘ื“ื™ื, ืขื‘ื•ืจ ืœื•ืœืื•ืช
ืฉื”ื ืขืชื™ืจื™ ืžืขื‘ื“, ื•ืœื ืžื•ื’ื‘ืœื™ื, ืœืžืฉืœ ืขืœ ื™ื“ื™ ืจื•ื—ื‘ ืคืก ืฉืœ ื–ื™ื›ืจื•ืŸ. ืืคืฉืจื•ืช ื–ื•
ืžืจืžื– -phthread, ื•ืœื›ืŸ ื”ื•ื ื ืชืžืš ืจืง ืขืœ ื™ืขื“ื™ื ืฉื™ืฉ ืœื”ื ืชืžื™ื›ื” ืขื‘ื•ืจ
-phthread.

-ftree-pta
ื‘ืฆืข ื ื™ืชื•ื— ื ืงื•ื“ื•ืช-ืืœ-ืคื•ื ืงืฆื™ื•ืช ืžืงื•ืžื™ื•ืช ืขืœ ืขืฆื™ื. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ
at -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ftree-sra
ื‘ืฆืข ื”ื—ืœืคื” ืกืงืœืจื™ืช ืฉืœ ืื’ืจื’ื˜ื™ื. ืžืขื‘ืจ ื–ื” ืžื—ืœื™ืฃ ื”ืคื ื™ื•ืช ืœืžื‘ื ื”
ืขื ืกืงืœืจื™ื ื›ื“ื™ ืœืžื ื•ืข ื”ืขื‘ืจืช ืžื‘ื ื™ื ืœื–ื™ื›ืจื•ืŸ ืžื•ืงื“ื ืžื“ื™. ื”ื“ื’ืœ ื”ื–ื” ื”ื•ื
ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ftree-copyrename
ื‘ืฆืข ืฉื™ื ื•ื™ ืฉื ืขื•ืชืง ืขืœ ืขืฆื™ื. ื”ืžืขื‘ืจ ื”ื–ื” ืžื ืกื” ืœืฉื ื•ืช ืืช ืฉื ื”ืžื”ื“ืจ ื–ืžื ื™ ืœ
ืžืฉืชื ื™ื ืื—ืจื™ื ื‘ืžื™ืงื•ืžื™ ื”ืขืชืงื”, ื‘ื“ืจืš ื›ืœืœ ืžื‘ื™ืื™ื ืœืฉืžื•ืช ืžืฉืชื ื™ื ืืฉืจ ื™ื•ืชืจ
ื“ื•ืžื” ืžืื•ื“ ืœืžืฉืชื ื™ื ื”ืžืงื•ืจื™ื™ื. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•
ื’ื‘ื•ื”.

-ftree-coalesce-inlined-vars
ืกืคืจ ืœืžืขื‘ืจ ืฉื ื”ืขื•ืชืง (ืจืื” -ftree-copyrename) ื›ื“ื™ ืœื ืกื•ืช ืœืฉืœื‘ ืžืฉืชืžืฉ ืงื˜ืŸ-
ื’ื ืžืฉืชื ื™ื ืžื•ื’ื“ืจื™ื, ืื‘ืœ ืจืง ืื ื”ื ื”ื™ื• ืžื•ื˜ื‘ืขื™ื ืžืคื•ื ืงืฆื™ื•ืช ืื—ืจื•ืช. ื–ื”
ืฆื•ืจื” ืžื•ื’ื‘ืœืช ื™ื•ืชืจ ืฉืœ -ftree-coalesce-vars. ื–ื” ืขืœื•ืœ ืœื”ื–ื™ืง ืœืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืฉืœ ื›ืืœื”
ืžืฉืชื ื™ื ืžื•ื˜ื‘ืขื™ื, ืื‘ืœ ื–ื” ื™ืฉืžื•ืจ ืžืฉืชื ื™ื ืฉืœ ื”ืคื•ื ืงืฆื™ื” ื”ืžื•ื˜ื‘ืขืช ื‘ื ืคืจื“
ืื—ื“ ืืช ื”ืฉื ื™, ื›ืš ืฉื™ืฉ ืกื™ื›ื•ื™ ื’ื‘ื•ื” ื™ื•ืชืจ ืฉื™ื›ื™ืœื• ืืช ื”ืขืจื›ื™ื ื”ืฆืคื•ื™ื™ื ื‘-a
ืคื’ื™ืฉืช ืื™ืชื•ืจ ื‘ืื’ื™ื. ื–ื• ื”ื™ื™ืชื” ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื‘ื’ืจืกืื•ืช GCC ื™ืฉื ื•ืช ืž-4.7.

-ftree-coalesce-vars
ืกืคืจ ืœืžืขื‘ืจ ืฉื ื”ืขื•ืชืง (ืจืื” -ftree-copyrename) ื›ื“ื™ ืœื ืกื•ืช ืœืฉืœื‘ ืžืฉืชืžืฉ ืงื˜ืŸ-
ื’ื ืžืฉืชื ื™ื ืžื•ื’ื“ืจื™ื, ื‘ืžืงื•ื ืจืง ื–ืžื ื™ ืžื”ื“ืจ. ื–ื” ืขืœื•ืœ ืœื”ื’ื‘ื™ืœ ืžืื•ื“
ื”ื™ื›ื•ืœืช ืœื ืคื•ืช ื‘ืื’ื™ื ื‘ืชื•ื›ื ื™ืช ืžื•ืชืืžืช ืฉื”ื™ื“ื•ืจ ืขื -fno-var-tracking-assignments.
ื‘ืฆื•ืจื” ื”ืฉืœื™ืœื”, ื“ื’ืœ ื–ื” ืžื•ื ืข ื”ืชืœื›ื“ื•ืช SSA ืฉืœ ืžืฉืชื ื™ ืžืฉืชืžืฉ, ื›ื•ืœืœ
ืžืฉื•ื‘ืฆื™ื. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ftree-ter
ื‘ืฆืข ื”ื—ืœืคืช ื‘ื™ื˜ื•ื™ ื–ืžื ื™ืช ื‘ืžื”ืœืš ื”ืฉืœื‘ SSA->ื ื•ืจืžืœื™. ื™ื—ื™ื“
ื–ืžื ื™ ืฉื™ืžื•ืฉ/ื”ื’ื“ืจื” ื™ื—ื™ื“ ืžื•ื—ืœืคื™ื ื‘ืžื™ืงื•ื ื”ืฉื™ืžื•ืฉ ืฉืœื”ื ืขื ื”ื”ื’ื“ืจื” ืฉืœื”ื
ื‘ื™ื˜ื•ื™. ื–ื” ืžื‘ื™ื ืœืงื•ื“ ืฉืื™ื ื• GIMPLE, ืื‘ืœ ื ื•ืชืŸ ืœืžืจื—ื™ื‘ื™ื ื”ืจื‘ื” ื™ื•ืชืจ
ืขืฆื™ื ืžื•ืจื›ื‘ื™ื ืœืขื‘ื•ื“ ืขืœื™ื”ื ื•ื›ืชื•ืฆืื” ืžื›ืš ืœื™ืฆื•ืจ RTL ื˜ื•ื‘ ื™ื•ืชืจ. ื–ื” ืžื•ืคืขืœ ืขืœ ื™ื“ื™
ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ftree-slsr
ื‘ืฆืข ื”ืคื—ืชืช ื—ื•ื–ืง ื‘ืงื• ื™ืฉืจ ืขืœ ืขืฆื™ื. ื–ื” ืžื–ื”ื” ืงืฉื•ืจื™ื
ื‘ื™ื˜ื•ื™ื™ื ื”ื›ื•ืœืœื™ื ื›ืคืœ ื•ืžื—ืœื™ืคื™ื ืื•ืชื ื‘ื—ื™ืฉื•ื‘ื™ื ื–ื•ืœื™ื ื™ื•ืชืจ
ื›ืฉืžืชืืคืฉืจ. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O ื•ื’ื‘ื•ื” ื™ื•ืชืจ.

-ftree-vectorize
ื‘ืฆืข ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ืฉืœ ืœื•ืœืื” ืขืœ ืขืฆื™ื. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O3.

-ftree-slp-ื•ืงื˜ื•ืจื™ื–ื”
ื‘ืฆืข ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ื‘ืกื™ืกื™ืช ืฉืœ ื‘ืœื•ืงื™ื ืขืœ ืขืฆื™ื. ื“ื’ืœ ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O3 ื•
ืžืชื™ -ftree-vectorize ืžืื•ืคืฉืจ.

-fvect-cost-model=ืžื•ื“ืœ
ืฉื ื” ืืช ืžื•ื“ืœ ื”ืขืœื•ืช ื”ืžืฉืžืฉ ืœื•ืงื˜ื•ืจื™ื–ืฆื™ื”. ื” ืžื•ื“ืœ ื”ื˜ื™ืขื•ืŸ ืฆืจื™ืš ืœื”ื™ื•ืช ืื—ื“ ืžื”ื
"ืœืœื ื”ื’ื‘ืœื”", "ื“ื™ื ืžื™" ืื• "ื–ื•ืœ". ืขื ื”ืžื•ื“ืœ "ื‘ืœืชื™ ืžื•ื’ื‘ืœ" ื”ืงื•ื“ ื”ื•ื•ืงื˜ื•ืจื™-
ื”ื”ื ื—ื” ื”ื™ื ืฉื”ื ืชื™ื‘ ืจื•ื•ื—ื™ ื‘ืขื•ื“ ืฉื‘ืžื•ื“ืœ ื”"ื“ื™ื ืžื™" ื™ืฉ ืœื‘ืฆืข ื‘ื“ื™ืงืช ื–ืžืŸ ืจื™ืฆื”
ืฉืžื•ืจ ืขืœ ื ืชื™ื‘ ื”ืงื•ื“ ื”ืงื˜ื•ืจื™ ื›ื“ื™ ืœืืคืฉืจ ืื•ืชื• ืจืง ืขื‘ื•ืจ ืกืคื™ืจื•ืช ืื™ื˜ืจืฆื™ื•ืช ืฉืกื‘ื™ืจ ืœื”ื ื™ื—
ืœื‘ืฆืข ืžื”ืจ ื™ื•ืชืจ ืžืืฉืจ ื‘ืขืช ื‘ื™ืฆื•ืข ื”ืœื•ืœืื” ื”ืกืงืœืจื™ืช ื”ืžืงื•ืจื™ืช. ื”ื“ื’ื ื”"ื–ื•ืœ" ื™ืขืฉื” ื–ืืช
ื”ืฉื‘ืช ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ืฉืœ ืœื•ืœืื•ืช ื›ืืฉืจ ื‘ื™ืฆื•ืข ื–ื” ื™ื”ื™ื” ืขืœื•ืช ืื•ืกืจื ื™ืช, ืœืžืฉืœ
ืขืงื‘ ื‘ื“ื™ืงื•ืช ื–ืžืŸ ืจื™ืฆื” ื ื“ืจืฉื•ืช ืขื‘ื•ืจ ืชืœื•ืช ื ืชื•ื ื™ื ืื• ื™ื™ืฉื•ืจ, ืืš ื—ื•ืฅ ืžื–ื” ืฉื•ื•ื”
ืœืžื•ื“ืœ ื”"ื“ื™ื ืืžื™". ืžื•ื“ืœ ื”ืขืœื•ืช ื”ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืชืœื•ื™ ื‘ื“ื’ืœื™ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืื—ืจื™ื
ื•ื”ื•ื "ื“ื™ื ืžื™" ืื• "ื–ื•ืœ".

-ftree-vrp
ื‘ืฆืข ืจื™ื‘ื•ื™ ื˜ื•ื•ื— ืขืจื›ื™ื ืขืœ ืขืฆื™ื. ื–ื” ื“ื•ืžื” ืœื”ืชืคืฉื˜ื•ืช ื”ืžืชืžื“ืช
ืœืขื‘ื•ืจ, ืื‘ืœ ื‘ืžืงื•ื ืขืจื›ื™ื, ื˜ื•ื•ื—ื™ ืขืจื›ื™ื ืžื•ืคืฆื™ื. ื–ื” ืžืืคืฉืจ ืืช
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืœื”ืกืจืช ื‘ื“ื™ืงื•ืช ื˜ื•ื•ื— ืžื™ื•ืชืจื•ืช ื›ืžื• ื‘ื“ื™ืงื•ืช ืžืื•ื’ื“ื•ืช ืžืขืจืš ื•ืžืฆื‘ื™ืข null
ื”ืžื—ืื•ืช. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ -O2 ื•ื’ื‘ื•ื” ื™ื•ืชืจ. ื—ื™ืกื•ืœ ื‘ื“ื™ืงืช ืžืฆื‘ื™ืข ืืคืก
ื ืขืฉื” ืจืง ืื -fdelete-null-pointer-checks ืžืื•ืคืฉืจ.

-ftracer
ื‘ืฆืข ืฉื›ืคื•ืœ ื–ื ื‘ ื›ื“ื™ ืœื”ื’ื“ื™ืœ ืืช ื’ื•ื“ืœ ื”ืกื•ืคืจื‘ืœื•ืง. ื”ืฉื™ื ื•ื™ ื”ื–ื” ืžืคืฉื˜
ื–ืจื™ืžืช ื”ื‘ืงืจื” ืฉืœ ื”ืคื•ื ืงืฆื™ื” ืžืืคืฉืจืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืื—ืจื•ืช ืœืขืฉื•ืช ืขื‘ื•ื“ื” ื˜ื•ื‘ื” ื™ื•ืชืจ.

-funroll-ืœื•ืœืื•ืช
ืคืชื— ืœื•ืœืื•ืช ืฉื ื™ืชืŸ ืœืงื‘ื•ืข ืืช ืžืกืคืจ ื”ืื™ื˜ืจืฆื™ื•ืช ืฉืœื”ืŸ ื‘ื–ืžืŸ ื”ื”ื™ื“ื•ืจ ืื• ืœืื—ืจ ืžื›ืŸ
ื›ื ื™ืกื” ืœืœื•ืค. -funroll-ืœื•ืœืื•ืช ืžืจืžื– -frerun-cse-after-loop. ืืคืฉืจื•ืช ื–ื• ืขื•ืฉื”
ืงื•ื“ ื’ื“ื•ืœ ื™ื•ืชืจ, ื•ืื•ืœื™ ื™ื’ืจื•ื ืœื• ืœืจื•ืฅ ืžื”ืจ ื™ื•ืชืจ ืื• ืœื.

-funroll-all-loops
ืคืชื— ืืช ื›ืœ ื”ืœื•ืœืื•ืช, ื’ื ืื ืžืกืคืจ ื”ืื™ื˜ืจืฆื™ื•ืช ืฉืœื”ืŸ ืื™ื ื• ื•ื“ืื™ ื›ืืฉืจ ื”ืœื•ืœืื” ื”ื™ื
ื ื›ื ืก. ื–ื” ื‘ื“ืจืš ื›ืœืœ ื’ื•ืจื ืœืชื•ื›ื ื™ื•ืช ืœืคืขื•ืœ ืœืื˜ ื™ื•ืชืจ. -funroll-all-loops ืžืจืžื– ืขืœ
ืื•ืชืŸ ืืคืฉืจื•ื™ื•ืช ื›ืžื• -funroll-ืœื•ืœืื•ืช,

-fsplit-ivs-in-unroller
ืžืืคืฉืจ ื‘ื™ื˜ื•ื™ ืฉืœ ืขืจื›ื™ื ืฉืœ ืžืฉืชื ื™ ืื™ื ื“ื•ืงืฆื™ื” ื‘ืื™ื˜ืจืฆื™ื•ืช ืžืื•ื—ืจื•ืช ื™ื•ืชืจ ืฉืœ
ืœื•ืœืื” ืžื’ื•ืœื’ืœืช ื‘ืืžืฆืขื•ืช ื”ืขืจืš ื‘ืื™ื˜ืจืฆื™ื” ื”ืจืืฉื•ื ื”. ื–ื” ืฉื•ื‘ืจ ืชืœื•ืช ืืจื•ื›ื”
ืจืฉืชื•ืช, ื•ื‘ื›ืš ืœืฉืคืจ ืืช ื”ื™ืขื™ืœื•ืช ืฉืœ ืžืขื‘ืจื™ ื”ืชื–ืžื•ืŸ.

ืฉื™ืœื•ื‘ ืฉืœ -FWeb. ื•-CSE ืœืขืชื™ื ืงืจื•ื‘ื•ืช ืžืกืคื™ืง ื›ื“ื™ ืœื”ืฉื™ื’ ืืช ืื•ืชื• ืืคืงื˜.
ืขื ื–ืืช, ื–ื” ืœื ืืžื™ืŸ ื‘ืžืงืจื™ื ืฉื‘ื”ื ื’ื•ืฃ ื”ืœื•ืœืื” ืžืกื•ื‘ืš ื™ื•ืชืจ ืžืืฉืจ ื
ื‘ืœื•ืง ื‘ืกื™ืกื™ ื™ื—ื™ื“. ื–ื” ื’ื ืœื ืขื•ื‘ื“ ื‘ื›ืœืœ ืขืœ ื›ืžื” ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ื‘ื’ืœืœ
ื”ื’ื‘ืœื•ืช ื‘ื›ืจื˜ื™ืก CSE.

ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-fvariable-expansion-in-unroller
ืขื ืืคืฉืจื•ืช ื–ื•, ื”ืžื”ื“ืจ ื™ื•ืฆืจ ืขื•ืชืงื™ื ืžืจื•ื‘ื™ื ืฉืœ ื›ืžื” ืžืฉืชื ื™ื ืžืงื•ืžื™ื™ื ื›ืืฉืจ
ืคืชื™ื—ืช ืœื•ืœืื”, ืžื” ืฉื™ื›ื•ืœ ืœื’ืจื•ื ืœืงื•ื“ ืžืขื•ืœื”.

-fpartial-inlining
ื—ืœืงื™ื ืžื•ื˜ื‘ืขื™ื ืฉืœ ืคื•ื ืงืฆื™ื•ืช. ืืคืฉืจื•ืช ื–ื• ืžืฉืคื™ืขื” ืจืง ื›ืืฉืจ ื”ื˜ื‘ืขืช ืขืฆืžื” ื”ื™ื
ืžื•ืคืขืœ ืขืœ ื™ื“ื™ -finline-ืคื•ื ืงืฆื™ื•ืช or -finline-ืงื˜ื ื•ืช-ืคื•ื ืงืฆื™ื•ืช ืืคืฉืจื•ื™ื•ืช.

ืžื•ืคืขืœ ื‘ืจืžื” -O2.

-fpredictive-commoning
ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืฉื™ืชื•ืฃ ื—ื–ื•ื™, ื›ืœื•ืžืจ ืฉื™ืžื•ืฉ ื—ื•ื–ืจ ื‘ื—ื™ืฉื•ื‘ื™ื (ื‘ืžื™ื•ื—ื“
ื˜ืขื™ื ื•ืช ื•ืื—ืกื•ืŸ ื–ื™ื›ืจื•ืŸ) ืฉื‘ื•ืฆืขื• ื‘ืื™ื˜ืจืฆื™ื•ืช ืงื•ื“ืžื•ืช ืฉืœ ืœื•ืœืื•ืช.

ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื‘ืจืžื” -O3.

-fprefetch-loop-arrays
ืื ื ืชืžืš ืขืœ ื™ื“ื™ ืžื›ื•ื ืช ื”ื™ืขื“, ืฆื•ืจ ื”ื•ืจืื•ืช ืœืฉืœื™ืคื” ืžืจืืฉ ืฉืœ ื–ื™ื›ืจื•ืŸ
ืฉืคืจ ืืช ื”ื‘ื™ืฆื•ืขื™ื ืฉืœ ืœื•ืœืื•ืช ื”ื ื™ื’ืฉื•ืช ืœืžืขืจื›ื™ื ื’ื“ื•ืœื™ื.

ืืคืฉืจื•ืช ื–ื• ืขืฉื•ื™ื” ืœื™ืฆื•ืจ ืงื•ื“ ื˜ื•ื‘ ื™ื•ืชืจ ืื• ื’ืจื•ืข ื™ื•ืชืจ; ื”ืชื•ืฆืื•ืช ืชืœื•ื™ื•ืช ืžืื•ื“ ื‘
ืžื‘ื ื” ืœื•ืœืื•ืช ื‘ืชื•ืš ืงื•ื“ ื”ืžืงื•ืจ.

ื ื›ื” ื‘ืจืžื” -ืื•ืก.

-fno-ื—ื•ืจ ื”ืฆืฆื”
-fno-ื—ื•ืจ ื”ืฆืฆื”2
ื”ืฉื‘ืช ื›ืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื—ื•ืจื™ ื”ืฆืฆื” ืกืคืฆื™ืคื™ื™ื ืœืžื›ื•ื ื”. ื”ื”ื‘ื“ืœ ื‘ื™ืŸ
-fno-ื—ื•ืจ ื”ืฆืฆื” ื• -fno-ื—ื•ืจ ื”ืฆืฆื”2 ื”ื•ื ื›ื™ืฆื“ ื”ื ืžื™ื•ืฉืžื™ื ื‘ืžื”ื“ืจ; ื›ืžื”
ืžื˜ืจื•ืช ืžืฉืชืžืฉื•ืช ื‘ืื—ืช, ื—ืœืงืŸ ืžืฉืชืžืฉื•ืช ื‘ืฉื ื™, ืžืขื˜ื•ืช ืžืฉืชืžืฉื•ืช ื‘ืฉื ื™ื”ื.

-ื—ื•ืจ ื”ืฆืฆื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. -fpeephole2 ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-fno-ื ื™ื—ื•ืฉ-ืขื ืฃ-ื”ืกืชื‘ืจื•ืช
ืืœ ืชื ื—ืฉ ื”ืกืชื‘ืจื•ื™ื•ืช ื”ืกืชืขืคื•ืช ื‘ืืžืฆืขื•ืช ื”ื™ื•ืจื™ืกื˜ื™ื•ืช.

GCC ืžืฉืชืžืฉ ื‘ื”ื™ื•ืจื™ืกื˜ื™ืงื” ื›ื“ื™ ืœื ื—ืฉ ื”ืกืชื‘ืจื•ื™ื•ืช ืขื ืคื™ื ืื ื”ืŸ ืœื ืžืกื•ืคืงื•ืช ืขืœ ื™ื“ื™
ืžืฉื•ื‘ ืขืœ ืคืจื•ืคื™ืœ (-fprofile-arcs). ื”ื™ื•ืจื™ืกื˜ื™ื•ืช ืืœื• ืžื‘ื•ืกืกื•ืช ืขืœ ื–ืจื™ืžืช ื”ื‘ืงืจื”
ื’ืจึธืฃ. ืื ื›ืžื” ื”ืกืชื‘ืจื•ื™ื•ืช ืขื ืฃ ืžืฆื•ื™ื ื•ืช ืขืœ ื™ื“ื™ __builtin_expect, ืื– ื”
ื”ื™ื•ืจื™ืกื˜ื™ื•ืช ืžืฉืžืฉื•ืช ืœื ื™ื—ื•ืฉ ื”ืกืชื‘ืจื•ื™ื•ืช ื”ืกืชืขืคื•ืช ืขื‘ื•ืจ ืฉืืจ ื–ืจื™ืžืช ื”ื‘ืงืจื”
ื’ืจืฃ, ืœื•ืงื— ืืช __builtin_expect ืžื™ื“ืข ื‘ื—ืฉื‘ื•ืŸ. ื™ื—ืกื™ ื”ื’ื•ืžืœื™ืŸ ื‘ื™ืŸ ื”
ื”ื™ื•ืจื™ืกื˜ื™ืงื” ื• __builtin_expect ื™ื›ื•ืœ ืœื”ื™ื•ืช ืžื•ืจื›ื‘, ื•ื‘ืžืงืจื™ื ืžืกื•ื™ืžื™ื, ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™
ืœื”ืฉื‘ื™ืช ืืช ื”ื”ื™ื•ืจื™ืกื˜ื™ืงื” ื›ืš ืฉื”ื”ืฉืคืขื•ืช ืฉืœ __builtin_expect ืงืœ ื™ื•ืชืจ
ืžื‘ื™ื ื”.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ื ื™ื—ื•ืฉ-ืขื ืฃ-ื”ืกืชื‘ืจื•ืช ื‘ืจืžื•ืช -O, -O2, -O3, -ืื•ืก.

-Freord-ื‘ืœื•ืงื™ื
ืกื“ืจ ืžื—ื“ืฉ ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื ื‘ืคื•ื ืงืฆื™ื™ืช ื”ืงื•ืžืคื™ืœืฆื™ื” ืขืœ ืžื ืช ืœืฆืžืฆื ืืช ืžืกืคืจ ื”ื ืœืงื—ื™ื
ืกื ื™ืคื™ื ื•ืœืฉืคืจ ืืช ื™ื™ืฉื•ื‘ ื”ืงื•ื“.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3.

-ืœืื—ืจ ืกื“ืจ-ื‘ืœื•ืงื™ื-ื•-ืžื—ื™ืฆื”
ื‘ื ื•ืกืฃ ืœืกื™ื“ื•ืจ ืžื—ื“ืฉ ืฉืœ ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื ื‘ืคื•ื ืงืฆื™ื™ืช ื”ืงื•ืžืคื™ืœืฆื™ื”, ืขืœ ืžื ืช ืœืฆืžืฆื
ืžืกืคืจ ื”ืขื ืคื™ื ืฉื ืœืงื—ื•, ืžื—ื™ืฆื•ืช ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื ื—ืžื™ื ื•ืงืจื™ื ืœื—ืœืงื™ื ื ืคืจื“ื™ื
ืฉืœ ืงื‘ืฆื™ ื”-Assembly ื•-.o, ื›ื“ื™ ืœืฉืคืจ ืืช ื‘ื™ืฆื•ืขื™ ื”ื”ื—ืœืคื” ื•ื”ืžื˜ืžื•ืŸ.

ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื–ื• ื›ื‘ื•ื™ื” ืื•ื˜ื•ืžื˜ื™ืช ื‘ื ื•ื›ื—ื•ืช ื˜ื™ืคื•ืœ ื‘ื—ืจื™ื’ื™ื,
ืขื‘ื•ืจ ืงื˜ืขื™ linkonce, ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืขื ืชื›ื•ื ืช ืงื˜ืข ืžื•ื’ื“ืจืช ืขืœ ื™ื“ื™ ืžืฉืชืžืฉ ื•ืขืœ ื›ืœ ืื—ื“
ืืจื›ื™ื˜ืงื˜ื•ืจื” ืฉืื™ื ื” ืชื•ืžื›ืช ื‘ืงื˜ืขื™ื ื‘ืขืœื™ ืฉื.

-ืคืงื•ื“ืช-ืคื•ื ืงืฆื™ื•ืช
ืกื“ืจ ืžื—ื“ืฉ ืคื•ื ืงืฆื™ื•ืช ื‘ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜ ืขืœ ืžื ืช ืœืฉืคืจ ืืช ืžืงื•ืžื™ื•ืช ื”ืงื•ื“. ื–ื”
ืžื™ื•ืฉื ืขืœ ื™ื“ื™ ืฉื™ืžื•ืฉ ื‘ืชืชื™ ืกืขื™ืคื™ื ืžื™ื•ื—ื“ื™ื ".text.hot" ืขื‘ื•ืจ ื”ื‘ื™ืฆื•ืขื™ื ื”ืชื›ื•ืคื™ื ื‘ื™ื•ืชืจ
functions ื•-".text.unlikely" ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืœื ืกื‘ื™ืจื•ืช ืฉื‘ื•ืฆืขื•. ื”ื”ื–ืžื ื” ืžื—ื“ืฉ ืžืชื‘ืฆืขืช ืขืœ ื™ื“ื™
ื”-linker ื›ืš ืฉืคื•ืจืžื˜ ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜ ื—ื™ื™ื‘ ืœืชืžื•ืš ื‘ืงื˜ืขื™ื ื‘ืขืœื™ ืฉื ื•ื”-linker ื—ื™ื™ื‘ ืœืžืงื
ืื•ืชื ื‘ืฆื•ืจื” ืกื‘ื™ืจื”.

ื›ืžื• ื›ืŸ, ืžืฉื•ื‘ ืขืœ ื”ืคืจื•ืคื™ืœ ื—ื™ื™ื‘ ืœื”ื™ื•ืช ื–ืžื™ืŸ ื›ื“ื™ ืœื”ืคื•ืš ืืคืฉืจื•ืช ื–ื• ืœืืคืงื˜ื™ื‘ื™ืช. ืœึดืจึฐืื•ึนืช
-fprofile-arcs ืœืงื‘ืœืช ืคืจื˜ื™ื.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-fstrict-aliasing
ืืคืฉืจ ืœืžื”ื“ืจ ืœื”ื ื™ื— ืืช ื›ืœืœื™ ื”ื›ื™ื ื•ื™ ื”ืžื—ืžื™ืจื™ื ื‘ื™ื•ืชืจ ื”ื—ืœื™ื ืขืœ ื”ืฉืคื”
ื”ื•ืœืงื˜. ืขื‘ื•ืจ C (ื•++C), ื–ื” ืžืคืขื™ืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ืžื‘ื•ืกืกื•ืช ืขืœ ืกื•ื’ ืฉืœ
ื‘ื™ื˜ื•ื™ื™ื. ื‘ืคืจื˜, ืžื ื™ื—ื™ื ื›ื™ ื—ืคืฅ ืžืกื•ื’ ืื—ื“ ืœืขื•ืœื ืœื ื™ืชื’ื•ืจืจ ื‘-
ื›ืชื•ื‘ืช ื–ื”ื” ืœืื•ื‘ื™ื™ืงื˜ ืžืกื•ื’ ืื—ืจ, ืืœื ืื ื”ืกื•ื’ื™ื ื›ืžืขื˜ ื–ื”ื™ื.
ืœื“ื•ื’ืžื”, "int unsigned" ื™ื›ื•ืœ ืœื›ื™ื ื•ื™ "int", ืืš ืœื "void*" ืื• "double". ื
ืกื•ื’ ื”ืชื•ื•ื™ื ื™ื›ื•ืœ ืœื›ื ื•ืช ื›ืœ ืกื•ื’ ืื—ืจ.

ืฉื™ืžื• ืœื‘ ื‘ืžื™ื•ื—ื“ ืœืงื•ื“ ื›ื–ื”:

union a_union {
int i;
ื›ืคื•ืœ ื“;
};

int f() {
ืื™ื’ื•ื“ ื_ืื™ื’ื•ื“ ื˜;
td = 3.0;
ื”ื—ื–ืจ ื˜ื™;
}

ืชืจื’ื•ืœ ื”ืงืจื™ืื” ืžื—ื‘ืจ ืื™ื’ื•ื“ ืฉื•ื ื” ืžื–ื” ื”ืื—ืจื•ืŸ
ื ื›ืชื‘ ืืœ (ื”ื ืงืจื "ื˜ื™ื™ืค-punning") ื ืคื•ืฅ. ืืคื™ืœื• ืขื -fstrict-aliasing, ื”ืงืœื“-
ืžื•ืชืจ ืœืคืขื ื—, ื‘ืชื ืื™ ืฉื”ื’ื™ืฉื” ืœื–ื™ื›ืจื•ืŸ ืžืชื‘ืฆืขืช ื“ืจืš ืกื•ื’ ื”ืื™ื—ื•ื“. ืื– ื”
ื”ืงื•ื“ ืœืžืขืœื” ืขื•ื‘ื“ ื›ืฆืคื•ื™. ืขื ื–ืืช, ื™ื™ืชื›ืŸ ืฉืงื•ื“ ื–ื” ืื™ื ื•:

int f() {
ืื™ื’ื•ื“ ื_ืื™ื’ื•ื“ ื˜;
int* ip;
td = 3.0;
ip = &t.i;
ื”ื—ื–ืจ *ip;
}

ื‘ืื•ืคืŸ ื“ื•ืžื”, ื’ืฉ ืขืœ ื™ื“ื™ ืœืงื™ื—ืช ื”ื›ืชื•ื‘ืช, ื”ื˜ืœืช ื”ืžืฆื‘ื™ืข ืฉื ื•ืฆืจ ื•
ืœื”ืจื—ืงืช ื”ืชื•ืฆืื” ื™ืฉ ื”ืชื ื”ื’ื•ืช ืœื ืžื•ื’ื“ืจืช, ื’ื ืื ืฆื•ื•ืช ื”ืฉื—ืงื ื™ื ืžืฉืชืžืฉ ื‘ืกื•ื’ ืื™ื—ื•ื“,
ืœืžืฉืœ:

int f() {
ื›ืคื•ืœ d = 3.0;
return ((union a_union *) &d)->i;
}

ื”ืฉืžื™ื™ื -fstrict-aliasing ื”ืืคืฉืจื•ืช ืžื•ืคืขืœืช ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-ืคืจืงื˜-ื”ืฆืคื”
ืืคืฉืจ ืœืžื”ื“ืจ ืœื”ื ื™ื— ื›ืœืœื™ ื’ืœื™ืฉื” ืงืคื“ื ื™ื™ื ื‘ื—ืชื™ืžื”, ื‘ื”ืชืื ืœืฉืคื”
ื”ื•ืœืงื˜. ืขื‘ื•ืจ C (ื•-C++) ื–ื” ืื•ืžืจ ืฉื”ืฆืคืช ื›ืืฉืจ ืขื•ืฉื™ื ื—ืฉื‘ื•ืŸ ืขื
ื”ืžืกืคืจื™ื ื”ื—ืชื•ืžื™ื ืื™ื ื ืžื•ื’ื“ืจื™ื, ืžื” ืฉืื•ืžืจ ืฉื”ืžื”ื“ืจ ืขืฉื•ื™ ืœื”ื ื™ื— ืฉืœื
ืœึดืงึฐืจื•ึนืช. ื–ื” ืžืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉื•ื ื•ืช. ืœื“ื•ื’ืžื”, ื”ืžื”ื“ืจ ืžื ื™ื— ื–ืืช
ื‘ื™ื˜ื•ื™ ื›ืžื• "i + 10 > i" ื ื›ื•ืŸ ืชืžื™ื“ ืœืกื™ืžืŸ "i". ื”ื ื—ื” ื–ื• ื”ื™ื
ืชืงืฃ ืจืง ืื ื’ืœื™ืฉื” ื—ืชื•ืžื” ืื™ื ื” ืžื•ื’ื“ืจืช, ืฉื›ืŸ ื”ื‘ื™ื˜ื•ื™ ื”ื•ื ืฉืงืจ ืื "i + 10"
ืขื•ืœื” ืขืœ ื’ื“ื•ืชื™ื• ื‘ืขืช ืฉื™ืžื•ืฉ ื‘ื—ืฉื‘ื•ืŸ ืžืฉืœื™ื ืฉื ื™ื™ื. ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ื‘ืชื•ืงืฃ ื›ืœ
ื ืกื” ืœืงื‘ื•ืข ืื ื™ืฉ ืœื›ืชื•ื‘ ืคืขื•ืœื” ืขืœ ื’ืœื™ืฉืช ืžืกืคืจื™ื ื—ืชื•ืžื™ื
ื‘ื–ื”ื™ืจื•ืช ื›ื“ื™ ืœื ืœื›ืœื•ืœ ืœืžืขืฉื” ื”ืฆืคืช ื™ืชืจ.

ืืคืฉืจื•ืช ื–ื• ื’ื ืžืืคืฉืจืช ืœืžื”ื“ืจ ืœื”ื ื™ื— ืกืžื ื˜ื™ืงื” ืงืคื“ื ื™ืช ืฉืœ ืžืฆื‘ื™ืข: ื ืชื•ืŸ ื
ืžืฆื‘ื™ืข ืœืื•ื‘ื™ื™ืงื˜, ืื ื”ื•ืกืคืช ื”ื™ืกื˜ ืœืžืฆื‘ื™ืข ื–ื” ืื™ื ื• ืžื™ื™ืฆืจ ืžืฆื‘ื™ืข
ืœืื•ืชื• ืื•ื‘ื™ื™ืงื˜, ื”ืชื•ืกืคืช ืื™ื ื” ืžื•ื’ื“ืจืช. ื–ื” ืžืืคืฉืจ ืœืžื”ื“ืจ ืœื”ืกื™ืง
ืฉ"p + u > p" ื ื›ื•ืŸ ืชืžื™ื“ ืขื‘ื•ืจ ืžืฆื‘ื™ืข "p" ื•ืžืกืคืจ ืฉืœื ืœืœื ืกื™ืžืŸ "u". ื–ึถื”
ื”ื”ื ื—ื” ืชืงืคื” ืจืง ืžื›ื™ื•ื•ืŸ ืฉื”ืžืฆื‘ื™ืข ืื™ื ื• ืžื•ื’ื“ืจ, ื›ืคื™ ืฉื”ื•ื
false ืื "p + u" ืขื•ืœื” ืขืœ ื’ื“ื•ืชื™ื• ื‘ืืžืฆืขื•ืช ืืจื™ืชืžื˜ื™ืงื” ืžืฉืœื™ืžื” ืฉื ื™ื™ื.

ืจืื” ื’ื -fwrapv ืื•ึนืคึผึฐืฆึดื™ึธื”. ื‘ืืžืฆืขื•ืช -fwrapv ืคื™ืจื•ืฉื• ืฉื”ื’ืœื™ืฉื” ื‘ืกื™ืžืŸ ืžืกืคืจ ืฉืœื ื”ื•ื
ืžื•ื’ื“ืจ ื‘ืžืœื•ืื•: ื–ื” ืขื•ื˜ืฃ. ืžืชื™ -fwrapv ืžืฉืžืฉ, ืื™ืŸ ื”ื‘ื“ืœ ื‘ื™ืŸ
-ืคืจืงื˜-ื”ืฆืคื” ื• -fno-strict-overflow ืขื‘ื•ืจ ืžืกืคืจื™ื ืฉืœืžื™ื. ืขื -fwrapv ืกื•ื’ื™ื ืžืกื•ื™ืžื™ื
ื”ืฆืคื” ืžื•ืชืจืช. ืœื“ื•ื’ืžื”, ืื ื”ืžื”ื“ืจ ืžืงื‘ืœ ื”ืฆืคื” ื‘ืขืช ื‘ื™ืฆื•ืข
ืืจื™ืชืžื˜ื™ืงื” ืขืœ ืงื‘ื•ืขื™ื, ืขื“ื™ื™ืŸ ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืขืจืš ื”ื•ืฆืฃ ืขื -fwrapv, ืื‘ืœ ืœื
ืื—ืจืช.

ื”ืฉืžื™ื™ื -ืคืจืงื˜-ื”ืฆืคื” ื”ืืคืฉืจื•ืช ืžื•ืคืขืœืช ื‘ืจืžื•ืช -O2, -O3, -ืื•ืก.

-falign-ืคื•ื ืงืฆื™ื•ืช
-falign-functions=n
ื™ื™ืฉืจ ืืช ืชื—ื™ืœืช ื”ืคื•ื ืงืฆื™ื•ืช ืœืขื•ืฆืžื” ื”ื‘ืื” ืฉืœ ืฉื ื™ื™ื ื”ื’ื“ื•ืœ ืž n, ื“ื™ืœื•ื’ ืขื“ n
ื‘ืชื™ื. ืœื“ื•ื’ืžื”, -falign-functions=32 ืžื™ื™ืฉืจ ืคื•ื ืงืฆื™ื•ืช ืœ-32 ื”ื‘ืชื™ื ื”ื‘ืื™ื
ื’ื‘ื•ืœ, ืื‘ืœ -falign-functions=24 ืžืชื™ื™ืฉืจ ืœื’ื‘ื•ืœ ื”ื‘ื ืฉืœ 32 ื‘ืชื™ื ืจืง ืื ื–ื”
ื ื™ืชืŸ ืœืขืฉื•ืช ืขืœ ื™ื“ื™ ื“ื™ืœื•ื’ ืขืœ 23 ื‘ืชื™ื ืื• ืคื—ื•ืช.

-fno-align-functions ื• -falign-functions=1 ืžืงื‘ื™ืœื™ื ื•ืžืชื›ื•ื•ื ื™ื ืฉืžืชืคืงื“ื™ื
ืื™ื ื ืžื™ื•ืฉืจื™ื.

ื—ืœืง ืžื”ืžืจื›ื™ื‘ื™ื ืชื•ืžื›ื™ื ื‘ื“ื’ืœ ื–ื” ืจืง ื›ืืฉืจ n ื”ื•ื ื—ื–ืงื” ืฉืœ ืฉื ื™ื™ื; ื‘ืžืงืจื” ื›ื–ื”, ื–ื” ื›ืŸ
ืจื•ื›ื–ื•.

If n ืœื ืฆื•ื™ืŸ ืื• ืฉื”ื•ื ืืคืก, ื”ืฉืชืžืฉ ื‘ื‘ืจื™ืจืช ืžื—ื“ืœ ืชืœื•ื™ืช ืžื›ื•ื ื”.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3.

-falign-ืชื•ื•ื™ื•ืช
-falign-labels=n
ื™ื™ืฉืจ ืืช ื›ืœ ื™ืขื“ื™ ื”ืขื ืฃ ืœื’ื‘ื•ืœ ืฉืœ ืฉื ื™ื™ื, ื“ื™ืœื•ื’ ืขื“ n ื‘ืชื™ื ื›ืžื•
-falign-ืคื•ื ืงืฆื™ื•ืช. ืืคืฉืจื•ืช ื–ื• ื™ื›ื•ืœื” ื‘ืงืœื•ืช ืœื”ืคื•ืš ืืช ื”ืงื•ื“ ืœืื˜ ื™ื•ืชืจ, ืžื›ื™ื•ื•ืŸ ืฉื”ื™ื ื—ื™ื™ื‘ืช ืœื”ื›ื ืก
ืคืขื•ืœื•ืช ื“ืžื” ืœืžื•ืขื“ ื”ื’ืขื” ืœื™ืขื“ ื”ืขื ืฃ ื‘ื–ืจื™ืžื” ื”ืจื’ื™ืœื” ืฉืœ ื”ืงื•ื“.

-fno-align-labels ื• -falign-labels=1 ืฉื•ื•ืช ืขืจืš ื•ืžืฉืžืขื•ืชื ืฉื”ืชื•ื•ื™ื•ืช ืื™ื ืŸ
ืžื™ื•ืฉืจ.

If -falign-ืœื•ืœืื•ืช or -falign-ืงืคื™ืฆื•ืช ืื ื›ืŸ, ื™ืฉื™ืžื™ื ื•ื”ื ื’ื“ื•ืœื™ื ืžื”ืขืจืš ื”ื–ื”
ื”ืขืจื›ื™ื ืฉืœื”ื ืžืฉืžืฉื™ื ื‘ืžืงื•ื ื–ืืช.

If n ืœื ืฆื•ื™ืŸ ืื• ืฉื”ื•ื ืืคืก, ื”ืฉืชืžืฉ ื‘ื‘ืจื™ืจืช ืžื—ื“ืœ ืชืœื•ื™ืช ืžื›ื•ื ื” ืฉืกื‘ื™ืจ ืžืื•ื“
ืœื”ื™ื•ืช 1, ื›ืœื•ืžืจ ืื™ืŸ ื™ื™ืฉื•ืจ.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3.

-falign-ืœื•ืœืื•ืช
-falign-loops=n
ื™ื™ืฉืจ ืœื•ืœืื•ืช ืœื’ื‘ื•ืœ ืฉืœ ืขื•ืฆืžื” ืฉืœ ืฉื ื™ื™ื, ื“ื™ืœื•ื’ ืขื“ n ื‘ืชื™ื ื›ืžื• -falign-ืคื•ื ืงืฆื™ื•ืช.
ืื ื”ืœื•ืœืื•ืช ืžื‘ื•ืฆืขื•ืช ืคืขืžื™ื ืจื‘ื•ืช, ื–ื” ืžืคืฆื” ืขืœ ื›ืœ ื‘ื™ืฆื•ืข ืฉืœ ื”ื“ืžื”
ืคืขื•ืœื•ืช.

-fno-align-ืœื•ืœืื•ืช ื• -falign-loops=1 ืฉื•ื•ืช ืขืจืš ื•ืžืชื›ื•ื•ืŸ ืฉืœื•ืœืื•ืช ืœื
ืžื™ื•ืฉืจ.

If n ืœื ืฆื•ื™ืŸ ืื• ืฉื”ื•ื ืืคืก, ื”ืฉืชืžืฉ ื‘ื‘ืจื™ืจืช ืžื—ื“ืœ ืชืœื•ื™ืช ืžื›ื•ื ื”.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3.

-falign-ืงืคื™ืฆื•ืช
-falign-jumps=n
ื™ื™ืฉืจ ืžื˜ืจื•ืช ื”ืกืชืขืคื•ืช ืœื’ื‘ื•ืœ ืฉืœ ืฉื ื™ื™ื, ืขื‘ื•ืจ ืžื˜ืจื•ืช ื”ืกืชืขืคื•ืช ืฉื‘ื”ืŸ ื”ืžื˜ืจื•ืช
ื ื™ืชืŸ ืœื”ื’ื™ืข ืจืง ืขืœ ื™ื“ื™ ืงืคื™ืฆื”, ื“ื™ืœื•ื’ ืขื“ n ื‘ืชื™ื ื›ืžื• -falign-ืคื•ื ืงืฆื™ื•ืช,
ื‘ืžืงืจื” ื–ื”, ืื™ืŸ ืฆื•ืจืš ืœื‘ืฆืข ืคืขื•ืœื•ืช ื“ืžื”.

-fno-align-jumps ื• -falign-jumps=1 ืฉื•ื•ืช ืขืจืš ื•ืžืชื›ื•ื•ืŸ ืฉืœื•ืœืื•ืช ืœื
ืžื™ื•ืฉืจ.

If n ืœื ืฆื•ื™ืŸ ืื• ืฉื”ื•ื ืืคืก, ื”ืฉืชืžืฉ ื‘ื‘ืจื™ืจืช ืžื—ื“ืœ ืชืœื•ื™ืช ืžื›ื•ื ื”.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O2, -O3.

-ื›ื™ืฃ-ื‘ื›ืœ ืคืขื
ืืคืฉืจื•ืช ื–ื• ื ื•ืชืจื” ืžื˜ืขืžื™ ืชืื™ืžื•ืช. -ื›ื™ืฃ-ื‘ื›ืœ ืคืขื ืื™ืŸ ื”ืฉืคืขื”, ื‘ืขื•ื“
-fno-unit-ื‘ื›ืœ ืคืขื ืžืจืžื– -fno-toplevel-ืกื“ืจ ืžื—ื“ืฉ ื• -fno-ื—ืชืš-ืขื•ื’ื ื™ื.

ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-fno-toplevel-ืกื“ืจ ืžื—ื“ืฉ
ืืœ ืชืกื“ืจ ืžื—ื“ืฉ ืคื•ื ืงืฆื™ื•ืช ื‘ืจืžื” ื”ืขืœื™ื•ื ื”, ืžืฉืชื ื™ื ื•ื”ืฆื”ืจื•ืช "asm". ืคืœื˜ ืื•ืชื ืคื ื™ืžื”
ื‘ืื•ืชื• ืกื“ืจ ืฉื”ื ืžื•ืคื™ืขื™ื ื‘ืงื•ื‘ืฅ ื”ืงืœื˜. ื›ืืฉืจ ืžืฉืชืžืฉื™ื ื‘ืืคืฉืจื•ืช ื–ื•,
ืžืฉืชื ื™ื ืกื˜ื˜ื™ื™ื ืœืœื ื”ืคื ื™ื” ืื™ื ื ืžื•ืกืจื™ื. ืืคืฉืจื•ืช ื–ื• ื ื•ืขื“ื” ืœืชืžื•ืš
ืงื•ื“ ืงื™ื™ื ื”ืžืกืชืžืš ืขืœ ื”ื–ืžื ื” ืžืกื•ื™ืžืช. ืขื‘ื•ืจ ืงื•ื“ ื—ื“ืฉ, ืขื“ื™ืฃ ืœื”ืฉืชืžืฉ
ืชื›ื•ื ื•ืช.

ืžื•ืคืขืœ ื‘ืจืžื” -O0. ื›ืืฉืจ ืžื•ืฉื‘ืช ื‘ืื•ืคืŸ ืžืคื•ืจืฉ, ื–ื” ื’ื ืžืจืžื– -fno-ื—ืชืš-ืขื•ื’ื ื™ื,
ืืฉืจ ืžื•ืคืขืœ ืื—ืจืช ื‘ -O0 ืขืœ ื›ืžื” ืžื˜ืจื•ืช.

-FWeb.
ื‘ื•ื ื” ืจืฉืชื•ืช ื›ืคื™ ืฉืžืฉืชืžืฉื™ื ื‘ื”ืŸ ื‘ื“ืจืš ื›ืœืœ ืœืžื˜ืจื•ืช ื”ืงืฆืืช ืจื™ืฉื•ื ื•ืžืงืฆื” ื›ืœ ืจืฉืช
ืจื™ืฉื•ื ืคืกืื•ื“ื• ื‘ื•ื“ื“. ื–ื” ืžืืคืฉืจ ืœืžืขื‘ืจ ื”ืงืฆืืช ื”ืจื™ืฉื•ื ืœืคืขื•ืœ
ืคืกืื•ื“ื• ื™ืฉื™ืจื•ืช, ืื‘ืœ ื’ื ืžื—ื–ืง ื›ืžื” ืžืขื‘ืจื™ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืื—ืจื™ื, ื›ื’ื•ืŸ CSE,
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื™ืช ืœื•ืœืื•ืช ื•ืžืกื™ืจ ืงื•ื“ ืžืช ื˜ืจื™ื•ื•ื™ืืœื™. ืขื ื–ืืช, ื–ื” ื™ื›ื•ืœ ืœืขืฉื•ืช ืื™ืชื•ืจ ื‘ืื’ื™ื
ื‘ืœืชื™ ืืคืฉืจื™, ืžื›ื™ื•ื•ืŸ ืฉืžืฉืชื ื™ื ืื™ื ื ื ืฉืืจื™ื ืขื•ื“ ื‘"ืจื™ืฉื•ื ื‘ื™ืชื™".

ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื -funroll-ืœื•ืœืื•ืช.

-ื”ืชื•ื›ื ื™ืช ืฉืœืžื”
ื ื ื™ื— ืฉื™ื—ื™ื“ืช ื”ื”ื™ื“ื•ืจ ื”ื ื•ื›ื—ื™ืช ืžื™ื™ืฆื’ืช ืืช ื›ืœ ื”ืชื•ื›ื ื™ืช ื”ื ืขืจื›ื™ื.
ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ื•ื”ืžืฉืชื ื™ื ื”ืฆื™ื‘ื•ืจื™ื™ื ืœืžืขื˜ "ืจืืฉื™" ื•ืืœื” ืฉืžื•ื–ื’ื• ืขืœ ื™ื“ื™
ื”ืชื›ื•ื ื” "externally_visible" ื”ื•ืคื›ื•ืช ืœืคื•ื ืงืฆื™ื•ืช ืกื˜ื˜ื™ื•ืช ื•ืœืžืขืฉื” ืขื•ื‘ืจื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ื‘ืฆื•ืจื” ืื’ืจืกื™ื‘ื™ืช ื™ื•ืชืจ ืขืœ ื™ื“ื™ ืžื™ื™ืขืœื™ื ื‘ื™ืŸ-ื”ืœื™ื›ื™ื.

ืื™ืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื‘ืฉื™ืœื•ื‘ ืขื "-flto". ื‘ืžืงื•ื ืœื”ืกืชืžืš ืขืœ ื
ืชื•ืกืฃ ืžืงืฉืจ ืืžื•ืจ ืœืกืคืง ืžื™ื“ืข ื‘ื˜ื•ื— ื•ืžื“ื•ื™ืง ื™ื•ืชืจ.

-flto[=n]
ืืคืฉืจื•ืช ื–ื• ืžืคืขื™ืœื” ืืช ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื”ืกื˜ื ื“ืจื˜ื™ืช ืฉืœ ื–ืžืŸ ืงื™ืฉื•ืจ. ื›ืืฉืจ ืžื•ืคืขืœ ืขื ืงื•ื“ ื”ืžืงื•ืจ, ื–ื”
ื™ื•ืฆืจ ืืช GIMPLE (ืื—ื“ ืžื”ื™ื™ืฆื•ื’ื™ื ื”ืคื ื™ืžื™ื™ื ืฉืœ GCC) ื•ื›ื•ืชื‘ ืื•ืชื• ืœ-ELF ื”ืžื™ื•ื—ื“
ืžืงื˜ืขื™ื ื‘ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜ื™ื. ื›ืืฉืจ ืงื‘ืฆื™ ื”ืื•ื‘ื™ื™ืงื˜ ืžืงื•ืฉืจื™ื ื™ื—ื“, ื›ืœ ื”
ื’ื•ืคื™ ืคื•ื ืงืฆื™ื” ื ืงืจืื™ื ืžืงื˜ืขื™ ELF ืืœื” ื•ืžื•ืฆื’ื™ื ื›ืื™ืœื• ื”ื™ื•
ื—ืœืง ืžืื•ืชื” ื™ื—ื™ื“ืช ืชืจื’ื•ื.

ื›ื“ื™ ืœื”ืฉืชืžืฉ ื‘ื›ืœื™ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื–ืžืŸ ืงื™ืฉื•ืจ, -flto ื™ืฉ ืœืฆื™ื™ืŸ ื‘ื–ืžืŸ ื”ื”ื™ื“ื•ืจ ื•ื‘ืžื”ืœื›ื•
ื”ืงื™ืฉื•ืจ ื”ืื—ืจื•ืŸ. ืœื“ื•ื’ืžื”:

gcc -c -O2 -flto foo.c
gcc -c -O2 -flto bar.c
gcc -o myprog -flto -O2 foo.o bar.o

ืฉืชื™ ื”ืคื ื™ื•ืช ื”ืจืืฉื•ื ื•ืช ืœ-GCC ืฉื•ืžืจื•ืช ื™ื™ืฆื•ื’ ืงื•ื“ ื‘ืชื™ื ืฉืœ GIMPLE ื‘ืžื™ื•ื—ื“
ื—ืœืงื™ ELF ื‘ืคื ื™ื foo.o ื• bar.o. ื”ื”ื–ืžื ื” ื”ืกื•ืคื™ืช ืงื•ืจืืช ืืช ืงื•ื“ ื”ื‘ื™ื˜ื™ื ืฉืœ GIMPLE
ื”ื—ืœ ืž- foo.o ื• bar.o, ืžืžื–ื’ ืืช ืฉื ื™ ื”ืงื‘ืฆื™ื ืœืชืžื•ื ื” ืคื ื™ืžื™ืช ืื—ืช ื•ืžื‘ืฆืข ืงื•ืžืคื™ืœืฆื™ื”
ื”ืชื•ืฆืื” ื›ืจื’ื™ืœ. ืžืื– ืฉื ื™ื”ื foo.o ื• bar.o ืžืชืžื–ื’ื™ื ืœืชืžื•ื ื” ืื—ืช, ื–ื”
ื’ื•ืจื ืœื›ืœ ื”ื ื™ืชื•ื—ื™ื ื”ื‘ื™ืŸ-ื”ืœื™ื›ื™ื ื•ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื‘-GCC ืœืขื‘ื•ื“ ืขืœ ืคื ื™
ืฉื ื™ ืงื‘ืฆื™ื ื›ืื™ืœื• ื”ื™ื• ืื—ื“ ืื—ื“. ื–ื” ืื•ืžืจ, ืœืžืฉืœ, ืฉื”ืื™ื ืœื™ื ืจ ื”ื•ื
ืžืกื•ื’ืœ ืœื”ื˜ืžื™ืข ืคื•ื ืงืฆื™ื•ืช ื‘ bar.o ืœืชื•ืš ืคื•ื ืงืฆื™ื•ืช ื‘ foo.o ื•ืœื”ื™ืคืš.

ื“ืจืš ื ื•ืกืคืช (ืคืฉื•ื˜ื” ื™ื•ืชืจ) ืœืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื–ืžืŸ ืงื™ืฉื•ืจ ื”ื™ื:

gcc -o myprog -flto -O2 foo.c bar.c

ื”ืืžื•ืจ ืœืขื™ืœ ื™ื•ืฆืจ bytecode ืขื‘ื•ืจ foo.c ื• ื‘ืจ.ื’, ืžืžื–ื’ ืื•ืชื ื™ื—ื“ ืœื™ื—ื™ื“
ื™ื™ืฆื•ื’ GIMPLE ื•ืžื™ื™ืขืœ ืื•ืชื ื›ืจื’ื™ืœ ืœื”ืคืงื” myprog.

ื”ื“ื‘ืจ ื”ื™ื—ื™ื“ ืฉื—ืฉื•ื‘ ืœื–ื›ื•ืจ ื”ื•ื ืฉื›ื“ื™ ืœืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ื–ืžืŸ ืงื™ืฉื•ืจ
-flto ื™ืฉ ืœื”ืขื‘ื™ืจ ืืช ื”ื“ื’ืœ ื’ื ืœืคืงื•ื“ืช ื”ื”ื™ื“ื•ืจ ื•ื’ื ืœืคืงื•ื“ื•ืช ื”ืงื™ืฉื•ืจ.

ื›ื“ื™ ืœื”ืคื•ืš ืืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื™ืช ื”ืชื•ื›ื ื™ืช ื”ืฉืœืžื” ืœืืคืงื˜ื™ื‘ื™ืช, ื™ืฉ ืฆื•ืจืš ืœื‘ืฆืข ืฉืœื ืžืกื•ื™ื
ื”ื ื—ื•ืช ื”ืชื•ื›ื ื™ืช. ื”ืžื”ื“ืจ ืฆืจื™ืš ืœื“ืขืช ืžื” ื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช ืคื•ื ืงืฆื™ื•ืช ื•ืžืฉืชื ื™ื
ื ื’ื™ืฉื™ื ืขืœ ื™ื“ื™ ืกืคืจื™ื•ืช ื•ื–ืžืŸ ืจื™ืฆื” ืžื—ื•ืฅ ืœื™ื—ื™ื“ื” ื”ืžื•ืชืืžืช ืœื–ืžืŸ ืงื™ืฉื•ืจ. ืžืชื™
ื ืชืžืš ืขืœ ื™ื“ื™ ื”ืžืงืฉืจ, ืชื•ืกืฃ ื”ืžืงืฉืจ (ืจืื” -ืชื•ืกืฃ-ืžืงืฉืจ-fuse) ืขื•ื‘ืจ
ืžื™ื“ืข ืœืžื”ื“ืจ ืขืœ ืกืžืœื™ื ืžืฉื•ืžืฉื™ื ื•ื ืจืื™ื ื›ืœืคื™ ื—ื•ืฅ. ื›ืืฉืจ
ืชื•ืกืฃ ืžืงืฉืจ ืื™ื ื• ื–ืžื™ืŸ, -ื”ืชื•ื›ื ื™ืช ืฉืœืžื” ื™ืฉ ืœื”ืฉืชืžืฉ ื›ื“ื™ ืœืืคืฉืจ ืืช ื”ืžื”ื“ืจ
ืœื”ื ื™ื— ื”ื ื—ื•ืช ืืœื•, ืžื” ืฉืžื•ื‘ื™ืœ ืœื”ื—ืœื˜ื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืื’ืจืกื™ื‘ื™ื•ืช ื™ื•ืชืจ.

ืฉื™ืžื• ืœื‘ ืฉื›ืืฉืจ ืงื•ื‘ืฅ ืžื•ืจื›ื‘ ืขื -flto, ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜ ืฉื ื•ืฆืจ ื’ื“ื•ืœ ืž-
ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ืจื’ื™ืœ ืžื›ื™ื•ื•ืŸ ืฉื”ื•ื ืžื›ื™ืœ GIMPLE bytecodes ื•ืืช ื”ืงื•ื“ ื”ืกื•ืคื™ ื”ืจื’ื™ืœ.
ื”ืžืฉืžืขื•ืช ื”ื™ื ืฉื ื™ืชืŸ ืœืงืฉืจ ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ืขื ืžื™ื“ืข LTO ื›ืื•ื‘ื™ื™ืงื˜ ืจื’ื™ืœ
ืงื‘ืฆื™ื; ืื -flto ืœื ืžื•ืขื‘ืจ ืœืžืงืฉืจ, ืื™ืŸ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื‘ื™ืŸ-ื”ืœื™ื›ื™ื
ื”ื•ื—ืœ.

ื‘ื ื•ืกืฃ, ื“ื’ืœื™ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื”ืžืฉืžืฉื™ื ืœื”ื™ื“ื•ืจ ืงื‘ืฆื™ื ื‘ื•ื“ื“ื™ื ืื™ื ื
ืงืฉื•ืจ ื‘ื”ื›ืจื— ืœืืœื” ื”ืžืฉืžืฉื™ื ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ. ืœื“ื•ื’ืžื”,

gcc -c -O0 -flto foo.c
gcc -c -O0 -flto bar.c
gcc -o myprog -flto -O3 foo.o bar.o

ื–ื” ืžื™ื™ืฆืจ ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ื‘ื•ื“ื“ื™ื ืขื ืงื•ื“ ืืกืžื‘ืœืจ ืœื ืžื•ืชืื, ืื‘ืœ ื”
ื‘ื™ื ืืจื™ ื”ืžืชืงื‘ืœ myprog ืžื•ืชืื ื‘ -O3. ืื, ื‘ืžืงื•ื ื–ืืช, ื”ื‘ื™ื ืืจื™ ื”ืกื•ืคื™ ื”ื•ื
ื ื•ืฆืจ ื‘ืœื™ -flto, ืœืื—ืจ ืžื›ืŸ myprog ืื™ื ื• ืžื•ืชืื.

ื‘ืขืช ื”ืคืงืช ื”ื‘ื™ื ืืจื™ ื”ืกื•ืคื™ ืขื -flto, GCC ืžื—ื™ืœ ืจืง ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ื–ืžืŸ ืงื™ืฉื•ืจ
ืœืงื‘ืฆื™ื ื”ืžื›ื™ืœื™ื bytecode. ืœื›ืŸ, ืืชื” ื™ื›ื•ืœ ืœืขืจื‘ื‘ ื•ืœื”ืชืื™ื ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜
ื•ืกืคืจื™ื•ืช ืขื GIMPLE bytecodes ื•ืงื•ื“ ืื•ื‘ื™ื™ืงื˜ ืกื•ืคื™. GCC ื‘ื•ื—ืจ ืื•ื˜ื•ืžื˜ื™ืช
ืื™ืœื• ืงื‘ืฆื™ื ืœื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื‘ืžืฆื‘ LTO ื•ืื™ื–ื” ืงื‘ืฆื™ื ืœืงืฉืจ ืœืœื ื”ืžืฉืš
ืžืขื‘ื“.

ื™ืฉื ื ื›ืžื” ื“ื’ืœื™ ื™ืฆื™ืจืช ืงื•ื“ ืฉื ืฉืžืจื• ืขืœ ื™ื“ื™ GCC ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“ื™ ื‘ืชื™ื, ื›ืžื•
ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ื”ื ื‘ืฉืœื‘ ื”ืงื™ืฉื•ืจ ื”ืื—ืจื•ืŸ. ื ื›ื•ืŸ ืœืขื›ืฉื™ื•, ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช
ื ืฉืžืจื™ื ื‘ืงื‘ืฆื™ bytecode ืฉืœ GIMPLE: -fPIC, -ื ืคื•ืฅ ื•ื›ืœ -m ื“ื’ืœื™ ืžื˜ืจื”.

ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ, ืืคืฉืจื•ื™ื•ืช ืืœื• ื ืงืจืื•ืช ื•ืžื™ื•ืฉืžื•ืช ืžื—ื“ืฉ. ืฉื™ืžื• ืœื‘ ืฉื”ื ื•ื›ื—ื™
ื”ื™ื™ืฉื•ื ืื™ื ื• ืขื•ืฉื” ื ื™ืกื™ื•ืŸ ืœื–ื”ื•ืช ืขืจื›ื™ื ืกื•ืชืจื™ื ืขื‘ื•ืจ ืืคืฉืจื•ื™ื•ืช ืืœื”. ืื
ืœืงื‘ืฆื™ื ืฉื•ื ื™ื ื™ืฉ ืขืจื›ื™ ืืคืฉืจื•ื™ื•ืช ืกื•ืชืจื™ื (ืœืžืฉืœ, ืงื•ื‘ืฅ ืื—ื“ ืžื•ืจื›ื‘ ืขื -fPIC
ื•ืื—ืจ ืœื), ื”ืžื”ื“ืจ ืคืฉื•ื˜ ืžืฉืชืžืฉ ื‘ืขืจืš ื”ืื—ืจื•ืŸ ืฉื ืงืจื ืžื”-bytecode
ืงื‘ืฆื™ื. ืžื•ืžืœืฅ, ืื ื›ืŸ, ืœื”ืจื›ื™ื‘ ืืช ื›ืœ ื”ืงื‘ืฆื™ื ื”ืžืฉืชืชืคื™ื ื‘-
ืื•ืชื• ืงื™ืฉื•ืจ ืขื ืื•ืชืŸ ืืคืฉืจื•ื™ื•ืช.

ืื LTO ื ืชืงืœ ื‘ืื•ื‘ื™ื™ืงื˜ื™ื ืขื ื”ืฆืžื“ื” C ืฉื”ื•ื›ืจื–ื” ืขื ืกื•ื’ื™ื ืœื ืชื•ืืžื™ื ื‘ื ืคืจื“
ื™ื—ื™ื“ื•ืช ืชืจื’ื•ื ืฉื™ืฉ ืœืงืฉืจ ื™ื—ื“ (ื”ืชื ื”ื’ื•ืช ืœื ืžื•ื’ื“ืจืช ืœืคื™ ISO C99
6.2.7), ืขืฉื•ื™ื” ืœื”ื™ื ืชืŸ ืื‘ื—ื ื” ืœื ืงื˜ืœื ื™ืช. ื”ื”ืชื ื”ื’ื•ืช ืขื“ื™ื™ืŸ ืœื ืžื•ื’ื“ืจืช ื‘ืจื™ืฆื”
ื”ื–ืžืŸ.

ืชื›ื•ื ื” ื ื•ืกืคืช ืฉืœ LTO ื”ื™ื ืฉื ื™ืชืŸ ืœื™ื™ืฉื ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื‘ื™ืŸ-ื”ืœื™ื›ื™ื
ืขืœ ืงื‘ืฆื™ื ืฉื ื›ืชื‘ื• ื‘ืฉืคื•ืช ืฉื•ื ื•ืช. ื–ื” ื“ื•ืจืฉ ืชืžื™ื›ื” ื‘ื—ื–ื™ืช ื”ืฉืคื”
ืกื•ึนืฃ. ื ื›ื•ืŸ ืœืขื›ืฉื™ื•, ื”ืงืฆื” ื”ืงื“ืžื™ C, C++ ื•-Fortran ืžืกื•ื’ืœื™ื ืœืคืœื•ื˜ GIMPLE
bytecodes, ืื– ืžืฉื”ื• ื›ื–ื” ืืžื•ืจ ืœืขื‘ื•ื“:

gcc -c -flto foo.c
g++ -c -flto bar.cc
gfortran -c -flto baz.f90
g++ -o myprog -flto -O3 foo.o bar.o baz.o -lgfortran

ืฉื™ืžื• ืœื‘ ืฉื”ืงื™ืฉื•ืจ ื”ืกื•ืคื™ ื ืขืฉื” ืขื g ++ ื›ื“ื™ ืœืงื‘ืœ ืืช ืกืคืจื™ื•ืช ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ C++ ื•
-ืœื’ืคื•ืจื˜ืจืŸ ื ื•ืกืฃ ื›ื“ื™ ืœืงื‘ืœ ืืช ืกืคืจื™ื•ืช ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ Fortran. ื‘ืื•ืคืŸ ื›ืœืœื™, ื‘ืขืช ืขืจื‘ื•ื‘
ืฉืคื•ืช ื‘ืžืฆื‘ LTO, ืขืœื™ืš ืœื”ืฉืชืžืฉ ื‘ืื•ืชื ืืคืฉืจื•ื™ื•ืช ืคืงื•ื“ืช ืงื™ืฉื•ืจ ื›ืžื• ื‘ืขืช ืขืจื‘ื•ื‘
ืฉืคื•ืช ื‘ืื•ืกืฃ ืจื’ื™ืœ (ืฉืื™ื ื ื• LTO); ื›ืœ ืžื” ืฉืืชื” ืฆืจื™ืš ืœื”ื•ืกื™ืฃ ื”ื•ื -flto ืœื›ืœ
ืงื•ืžืคื™ืœ ื•ืงืฉืจ ืคืงื•ื“ื•ืช.

ืื ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ื”ืžื›ื™ืœื™ื GIMPLE bytecode ืžืื•ื—ืกื ื™ื ื‘ืืจื›ื™ื•ืŸ ืฉืœ ืกืคืจื™ื™ื”, ื ื ื™ื—
libfoo.a, ืืคืฉืจ ืœื—ืœืฅ ื•ืœื”ืฉืชืžืฉ ื‘ื”ื ื‘ืงื™ืฉื•ืจ LTO ืื ืืชื” ืžืฉืชืžืฉ ื‘-
ืžืงืฉืจ ืขื ืชืžื™ื›ื” ื‘ืคืœืื’ื™ืŸ. ื›ื“ื™ ืœื”ืคืขื™ืœ ืชื›ื•ื ื” ื–ื•, ื”ืฉืชืžืฉ ื‘ื“ื’ืœ -ืชื•ืกืฃ-ืžืงืฉืจ-fuse
ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ:

gcc -o myprog -O2 -flto -fuse-linker-plugin ao bo -lfoo

ื›ืืฉืจ ืชื•ืกืฃ ื”ืงื™ืฉื•ืจ ืžื•ืคืขืœ, ื”ืžืงืฉืจ ืžื—ืœืฅ ืžื”ื ืืช ืงื‘ืฆื™ ื”-GIMPLE ื”ื“ืจื•ืฉื™ื
libfoo.a ื•ืžืขื‘ื™ืจ ืื•ืชื ืœ-GCC ื”ืคื•ืขืœ ื›ื“ื™ ืœื”ืคื•ืš ืื•ืชื ืœื—ืœืง ืžื”ืžืฆื˜ื‘ืจ
ืชืžื•ื ืช GIMPLE ืœืžื™ื˜ื•ื‘.

ืื ืื™ื ืš ืžืฉืชืžืฉ ื‘ืงื™ืฉื•ืจ ืขื ืชืžื™ื›ื” ื‘ืคืœืื’ื™ืŸ ื•/ืื• ืœื ืžืคืขื™ืœ ืืช ื”ืžืงืฉืจ
ืชื•ืกืฃ, ื•ืื– ื”ืื•ื‘ื™ื™ืงื˜ื™ื ื‘ืคื ื™ื libfoo.a ื ืฉืœืคื™ื ื•ืžืงื•ืฉืจื™ื ื›ืจื’ื™ืœ, ืื‘ืœ ื”ื
ืืœ ืชืฉืชืชืฃ ื‘ืชื”ืœื™ืš ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ LTO.

ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ื–ืžืŸ ืงื™ืฉื•ืจ ืื™ื ืŸ ืžืฆืจื™ื›ื•ืช ื ื•ื›ื—ื•ืช ืฉืœ ื”ืชื•ื›ื ื™ืช ื›ื•ืœื” ื›ื“ื™ ืœืคืขื•ืœ.
ืื ื”ืชื•ื›ื ื™ืช ืœื ื“ื•ืจืฉืช ื™ื™ืฆื•ื ืฉืœ ืกืžืœื™ื, ืืคืฉืจ ืœืฉืœื‘
-flto ื• -ื”ืชื•ื›ื ื™ืช ืฉืœืžื” ื›ื“ื™ ืœืืคืฉืจ ืœืžื™ื˜ื•ื‘ื™ื ื”ื‘ื™ืŸ-ื”ืœื™ื›ื™ื ืœื”ืฉืชืžืฉ ื™ื•ืชืจ
ื”ื ื—ื•ืช ืื’ืจืกื™ื‘ื™ื•ืช ืฉืขืฉื•ื™ื•ืช ืœื”ื•ื‘ื™ืœ ืœืฉื™ืคื•ืจ ื”ื–ื“ืžื ื•ื™ื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”. ืฉื™ืžื•ืฉ ื‘
-ื”ืชื•ื›ื ื™ืช ืฉืœืžื” ืื™ืŸ ืฆื•ืจืš ื›ืืฉืจ ืชื•ืกืฃ ืงื™ืฉื•ืจ ืคืขื™ืœ (ืจืื” -ืชื•ืกืฃ-ืžืงืฉืจ-fuse).

ื”ื™ื™ืฉื•ื ื”ื ื•ื›ื—ื™ ืฉืœ LTO ืื™ื ื• ืขื•ืฉื” ื ื™ืกื™ื•ืŸ ืœื™ืฆื•ืจ bytecode ื›ืœื•ืžืจ
ื ื™ื™ื“ ื‘ื™ืŸ ืกื•ื’ื™ื ืฉื•ื ื™ื ืฉืœ ืžืืจื—ื™ื. ืงื•ื‘ืฆื™ ื”-bytecode ื”ื ืขื ื’ืจืกืื•ืช ื•ื™ืฉ
ื”ื•ื ื‘ื“ื™ืงืช ื’ืจืกืื•ืช ืงืคื“ื ื™ืช, ื›ืš ืฉืงื•ื‘ืฆื™ bytecode ืฉื ื•ืฆืจื• ื‘ื’ืจืกื” ืื—ืช ืฉืœ GCC ืœื ื™ืขืฉื• ื–ืืช
ืœืขื‘ื•ื“ ืขื ื’ืจืกื” ื™ืฉื ื”/ื—ื“ืฉื” ื™ื•ืชืจ ืฉืœ GCC.

ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื–ืžืŸ ืงื™ืฉื•ืจ ืœื ืขื•ื‘ื“ืช ื˜ื•ื‘ ืขื ื™ืฆื™ืจืช ืžื™ื“ืข ื‘ืื’ื™ื.
ืฉื™ืœื•ื‘ -flto ืขื -g ื›ืจื’ืข ื ื™ืกื™ื•ื ื™ ื•ืฆืคื•ื™ ืœื™ื™ืฆืจ ืฉื’ื•ื™
ืชื•ืฆืื•ืช.

ืื ืชืฆื™ื™ืŸ ืืช ื”ืื•ืคืฆื™ื•ื ืœื™ n, ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื•ื™ืฆื™ืจืช ื”ืงื•ื“ ืฉื ืขืฉื• ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ
ืžื‘ื•ืฆืข ื‘ืžืงื‘ื™ืœ ื‘ืืžืฆืขื•ืช n ืขื‘ื•ื“ื•ืช ืžืงื‘ื™ืœื•ืช ืขืœ ื™ื“ื™ ืฉื™ืžื•ืฉ ื‘-installed ืœืขืฉื•ืช ืชื›ื ื™ืช.
ืžืฉืชื ื” ื”ืกื‘ื™ื‘ื” MAKE ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื›ื“ื™ ืœืขืงื•ืฃ ืืช ื”ืชื•ื›ื ื™ืช ืฉื‘ื” ื ืขืฉื” ืฉื™ืžื•ืฉ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ืขืจืš ืขื‘ื•ืจ n ื”ื•ื 1.

ืืชื” ื™ื›ื•ืœ ื’ื ืœืฆื™ื™ืŸ -flto=ืฉืจืช ืขื‘ื•ื“ื” ืœื”ืฉืชืžืฉ ื‘ืžืฆื‘ ืฉืจืช ื”ืขื‘ื•ื“ื” ืฉืœ GNU make ื›ื“ื™ ืœืงื‘ื•ืข
ืžืกืคืจ ื”ืžืฉืจื•ืช ื”ืžืงื‘ื™ืœื•ืช. ื–ื” ืฉื™ืžื•ืฉื™ ื›ืืฉืจ ื”-Makefile ื”ืงื•ืจื ืœ-GCC ื›ื‘ืจ ื ืžืฆื
ื‘ื™ืฆื•ืข ื‘ืžืงื‘ื™ืœ. ืขืœื™ืš ืœื”ืงื“ื™ื ืืช ื + ืœืžืชื›ื•ืŸ ื”ืคืงื•ื“ื” ื‘ื”ื•ืจื”
Makefile ื›ื“ื™ ืฉื–ื” ื™ืขื‘ื•ื“. ืืคืฉืจื•ืช ื–ื• ื›ื ืจืื” ืขื•ื‘ื“ืช ืจืง ืื MAKE ื”ื•ื ืžืชื•ืฆืจืช ื’ื ื•.

ืืคืฉืจื•ืช ื–ื• ืžื•ืฉื‘ืชืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-flto-partition=ALG
ืฆื™ื™ืŸ ืืช ืืœื’ื•ืจื™ืชื ื”ื—ืœื•ืงื” ื”ืžืฉืžืฉ ืืช ื›ืœื™ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื–ืžืŸ ืงื™ืฉื•ืจ. ื”ืขืจืš ื”ื•ื
ืื• "1to1" ื›ื“ื™ ืœืฆื™ื™ืŸ ื—ืœื•ืงื” ืœืฉื™ืงื•ืฃ ืงื‘ืฆื™ ื”ืžืงื•ืจ ื”ืžืงื•ืจื™ื™ื ืื•
"ืžืื•ื–ืŸ" ื›ื“ื™ ืœืฆื™ื™ืŸ ื—ืœื•ืงื” ืœื ืชื—ื™ื ื‘ื’ื•ื“ืœ ืฉื•ื•ื” (ื‘ื›ืœ ืคืขื ืฉืืคืฉืจ) ืื•
"ืžืงืกื™ืžื•ื" ื›ื“ื™ ืœื™ืฆื•ืจ ืžื—ื™ืฆื” ื—ื“ืฉื” ืขื‘ื•ืจ ื›ืœ ืกืžืœ ื‘ืžื™ื“ืช ื”ืืคืฉืจ. ืฆื™ื•ืŸ "ืœืœื" ื‘ืชื•ืจ
ืืœื’ื•ืจื™ืชื ืžืฉื‘ื™ืช ืœื—ืœื•ื˜ื™ืŸ ืืช ื”ื—ืœื•ืงื” ื•ื”ื–ืจื™ืžื”. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื
"ืžึฐืื•ึผื–ึธืŸ". ื‘ืขื•ื“ ืฉ-"1to1" ื™ื›ื•ืœ ืœืฉืžืฉ ื›ืคืชืจื•ืŸ ืขื•ืงืฃ ืœืกื™ื“ื•ืจ ืงื•ื“ื™ื ืฉื•ื ื™ื
ื‘ืขื™ื•ืช, ื”ืžื—ื™ืฆื” "ืžืงืกื™ืžื•ื" ืžื™ื•ืขื“ืช ืœื‘ื“ื™ืงื” ืคื ื™ืžื™ืช ื‘ืœื‘ื“.

-flto-compression-level=n
ืืคืฉืจื•ืช ื–ื• ืžืฆื™ื™ื ืช ืืช ืจืžืช ื”ื“ื—ื™ืกื” ื”ืžืฉืžืฉืช ืขื‘ื•ืจ ืฉืคืช ื‘ื™ื ื™ื™ื ื›ืชื•ื‘ื”
ืœืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ LTO, ื•ื”ื•ื ื‘ืขืœ ืžืฉืžืขื•ืช ืจืง ื‘ืฉื™ืœื•ื‘ ืขื ืžืฆื‘ LTO (-flto).
ืขืจื›ื™ื ื—ื•ืงื™ื™ื ื”ื 0 (ืœืœื ื“ื—ื™ืกื”) ืขื“ 9 (ื“ื—ื™ืกื” ืžืงืกื™ืžืœื™ืช). ืขืจื›ื™ื ืžื—ื•ืฅ ืœื–ื”
ื”ื˜ื•ื•ื— ืžื•ืฆืžื“ ืœ-0 ืื• 9. ืื ื”ืืคืฉืจื•ืช ืœื ื ื™ืชื ืช, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืžืื•ื–ื ืช
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื”ื’ื“ืจืช ื”ื“ื—ื™ืกื”.

-flto-ื“ื•ื—
ืžื“ืคื™ืก ื“ื•ื— ืขื ืคืจื˜ื™ื ืคื ื™ืžื™ื™ื ืขืœ ืคืขื•ืœืชื• ืฉืœ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื™ืช ื–ืžืŸ ื”ืงื™ืฉื•ืจ. ื”
ื”ืชื•ื›ืŸ ืฉืœ ื“ื•ื— ื–ื” ืžืฉืชื ื” ืžื’ืจืกื” ืœื’ืจืกื”. ื–ื” ืืžื•ืจ ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ ืœ-GCC
ืžืคืชื—ื™ื ื‘ืขืช ืขื™ื‘ื•ื“ ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ื‘ืžืฆื‘ LTO (via -flto).

ืžื•ืฉื‘ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืชื•ืกืฃ-ืžืงืฉืจ-fuse
ืžืืคืฉืจ ืฉื™ืžื•ืฉ ื‘ืชื•ืกืฃ ืงื™ืฉื•ืจ ื‘ืžื”ืœืš ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื–ืžืŸ ืงื™ืฉื•ืจ. ืืคืฉืจื•ืช ื–ื• ืžืกืชืžื›ืช
ืขืœ ืชืžื™ื›ื” ื‘ืคืœืื’ื™ืŸ ื‘-linker, ืฉื–ืžื™ืŸ ื‘ื–ื”ื‘ ืื• ื‘-GNU ld 2.21 ืื•
ื—ื“ืฉ ื™ื•ืชืจ.

ืืคืฉืจื•ืช ื–ื• ืžืืคืฉืจืช ื—ื™ืœื•ืฅ ืฉืœ ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ืขื ืงื•ื“ ื‘ืชื™ื GIMPLE ืžื—ื•ืฅ ืœืกืคืจื™ื™ื”
ืึทืจึฐื›ึดื™ื•ึนืŸ. ื–ื” ืžืฉืคืจ ืืช ืื™ื›ื•ืช ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืขืœ ื™ื“ื™ ื—ืฉื™ืคืช ืงื•ื“ ื ื•ืกืฃ ืœืงื™ืฉื•ืจ-
ืžื™ื™ืขืœ ื–ืžืŸ. ืžื™ื“ืข ื–ื” ืžืคืจื˜ ืœืื™ืœื• ืกืžืœื™ื ื ื™ืชืŸ ืœื’ืฉืช ื—ื™ืฆื•ื ื™ืช
(ืขืœ ื™ื“ื™ ืื•ื‘ื™ื™ืงื˜ ืฉืื™ื ื• LTO ืื• ื‘ืžื”ืœืš ืงื™ืฉื•ืจ ื“ื™ื ืžื™). ื›ืชื•ืฆืื” ืžื›ืš ืฉื™ืคื•ืจื™ื ื‘ืื™ื›ื•ืช ื”ืงื•ื“ ืขืœ
ืงื‘ืฆื™ื ื‘ื™ื ืืจื™ื™ื (ื•ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ื”ืžืฉืชืžืฉื•ืช ื‘ื—ืฉื™ืคื” ื ืกืชืจืช) ื“ื•ืžื™ื ืœ
"-fhole-program". ืœึดืจึฐืื•ึนืช -flto ืœืชื™ืื•ืจ ื”ื”ืฉืคืขื” ืฉืœ ื“ื’ืœ ื–ื” ื•ื›ื™ืฆื“ ืœืขืฉื•ืช ื–ืืช
ืชืฉืชืžืฉ ื‘ื–ื”.

ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ ืชืžื™ื›ืช LTO ื‘-GCC ืžื•ืคืขืœืช ื•-GCC ื”ื™ื™ืชื”
ืžื•ื’ื“ืจ ืœืฉื™ืžื•ืฉ ืขื ืงื™ืฉื•ืจ ืชื•ืžืš ืชื•ืกืคื™ื (GNU ld 2.21 ืื• ื—ื“ืฉ ื™ื•ืชืจ ืื• ื–ื”ื‘).

-ffat-lto-objects
ืื•ื‘ื™ื™ืงื˜ื™ LTO ืฉืžื ื™ื ื”ื ืงื•ื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ื”ืžื›ื™ืœื™ื ื’ื ืืช ืฉืคืช ื”ื‘ื™ื ื™ื™ื ื•ื’ื ืืช
ืงื•ื“ ืคืจื™ื˜. ื–ื” ื”ื•ืคืš ืื•ืชื ืœืฉื™ืžื•ืฉื™ื ื’ื ืœืงื™ืฉื•ืจ LTO ื•ื’ื ืœืงื™ืฉื•ืจ ืจื’ื™ืœ. ื–ึถื”
ืืคืฉืจื•ืช ื™ืขื™ืœื” ืจืง ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืขื -flto ื•ืžืชืขืœืžื™ื ืžืžื ื• ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ.

-fno-fat-lto-objects ืžืฉืคืจ ืืช ื–ืžืŸ ื”ืงื•ืžืคื™ืœืฆื™ื” ืขืœ ืคื ื™ LTO ืจื’ื™ืœ, ืืš ื“ื•ืจืฉ ืืช
ืฉืจืฉืจืช ื›ืœื™ื ืžืœืื” ื›ื“ื™ ืœื”ื™ื•ืช ืžื•ื“ืข ืœ-LTO. ื–ื” ื“ื•ืจืฉ ืžืงืฉืจ ืขื ืชืžื™ื›ื” ื‘ืคืœืื’ื™ืŸ ืžืงืฉืจ
ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ื ืœื™ื•ืช ื‘ืกื™ืกื™ืช. ื‘ื ื•ืกืฃ, nm, ar ื• ranlib ืฆืจื™ืš ืœืชืžื•ืš ื‘ืžืงืฉืจ
ืชื•ืกืคื™ื ื›ื“ื™ ืœืืคืฉืจ ืกื‘ื™ื‘ืช ื‘ื ื™ื™ื” ืžืœืื” (ืฉื™ื›ื•ืœื” ืœื‘ื ื•ืช ืกื˜ื˜ื™
ืกืคืจื™ื•ืช ื•ื›ื•'). GCC ืžืกืคืงืช ืืช gcc-ar, gcc-nm, gcc-ranlib ืขื˜ื™ืคื•ืช ืœื”ืขื‘ื™ืจ ืืช
ืืคืฉืจื•ื™ื•ืช ื ื›ื•ื ื•ืช ืœื›ืœื™ื ืืœื”. ืขื LTO ืœืœื ืฉื•ืžืŸ ื™ืฉ ืœืฉื ื•ืช ืงื‘ืฆื™ makefile ืœืฉื™ืžื•ืฉ
ืื•ืชื.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ffat-lto-objects ืื‘ืœ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื–ื• ื ื•ืขื“ื” ืœื”ืฉืชื ื•ืช ื‘ืขืชื™ื“
ืžืฉืชื—ืจืจ ื›ืืฉืจ ืกื‘ื™ื‘ื•ืช ื”ืชื•ืžื›ื•ืช ื‘ืคืœืื’ื™ืŸ ืงื™ืฉื•ืจ ื”ื•ืคื›ื•ืช ื ืคื•ืฆื•ืช ื™ื•ืชืจ.

-fcompare-elim
ืœืื—ืจ ื”ืงืฆืืช ืจื™ืฉื•ื ื•ืคื™ืฆื•ืœ ื”ื•ืจืื•ืช ื”ืงืฆืื” ืœืื—ืจ ื”ืจื™ืฉื•ื, ื–ื”ื”
ื”ื•ืจืื•ืช ืืจื™ืชืžื˜ื™ื•ืช ืฉืžื—ืฉื‘ื•ืช ื“ื’ืœื™ ืžืขื‘ื“ ื‘ื“ื•ืžื” ืœืคืขื•ืœืช ื”ืฉื•ื•ืื”
ืขืœ ืกืžืš ื”ื—ืฉื‘ื•ืŸ ื”ื–ื”. ืื ืืคืฉืจ, ื‘ื˜ืœ ืืช ืคืขื•ืœืช ื”ื”ืฉื•ื•ืื” ื”ืžืคื•ืจืฉืช.

ืžืขื‘ืจ ื–ื” ื—ืœ ืจืง ืขืœ ื™ืขื“ื™ื ืžืกื•ื™ืžื™ื ืฉืื™ื ื ื™ื›ื•ืœื™ื ืœื™ื™ืฆื’ ื‘ืžืคื•ืจืฉ ืืช
ืคืขื•ืœืช ื”ืฉื•ื•ืื” ืœืคื ื™ ื”ืฉืœืžืช ื”ืงืฆืืช ื”ืจืฉื•ืžื•ืช.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O, -O2, -O3, -ืื•ืก.

-fuse-ld=bfd
ื”ืฉืชืžืฉ bfd ืžืงืฉืจ ื‘ืžืงื•ื ืžืงืฉืจ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-fuse-ld=ื–ื”ื‘
ื”ืฉืชืžืฉ ื–ื”ื‘ ืžืงืฉืจ ื‘ืžืงื•ื ืžืงืฉืจ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-fcprop-registers
ืœืื—ืจ ื”ืงืฆืืช ืจื™ืฉื•ื ื•ืคื™ืฆื•ืœ ื”ื•ืจืื•ืช ื”ืงืฆืืช ืจื™ืฉื•ื, ื‘ืฆืข
ืžืขื‘ืจ ืœื”ืคืฆืช ื”ืขืชืงื” ื›ื“ื™ ืœื ืกื•ืช ืœื”ืคื—ื™ืช ืืช ื”ืชืœื•ืช ื‘ืชื–ืžื•ืŸ ื•ืžื“ื™ ืคืขื
ืœื—ืกืœ ืืช ื”ืขื•ืชืง.

ืžื•ืคืขืœ ื‘ืจืžื•ืช -O, -O2, -O3, -ืื•ืก.

-fprofile-ืชื™ืงื•ืŸ
ืคืจื•ืคื™ืœื™ื ืฉื ืืกืคื• ื‘ืืžืฆืขื•ืช ืžื›ืฉื™ืจ ื‘ื™ื ืืจื™ ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช ืžืจื•ื‘ื•ืช ื”ืœื™ื›ื™ื ืขืฉื•ื™ื™ื ืœื”ื™ื•ืช
ืœื ืขืงื‘ื™ ื‘ื’ืœืœ ืขื“ื›ื•ื ื™ ืžื•ื ื” ืฉื”ื•ื—ืžืฆื•. ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžืฆื•ื™ื ืช, GCC ืžืฉืชืžืฉ
ื”ื™ื•ืจื™ืกื˜ื™ื•ืช ื›ื“ื™ ืœืชืงืŸ ืื• ืœื”ื—ืœื™ืง ื—ื•ืกืจ ืขืงื‘ื™ื•ืช ื›ืืœื”. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ืคื•ืœื˜
ื”ื•ื“ืขืช ืฉื’ื™ืื” ื›ืืฉืจ ืžื–ื•ื”ื” ืคืจื•ืคื™ืœ ืœื ืขืงื‘ื™.

-fprofile-dir=ื ืชื™ื‘
ื”ื’ื“ืจ ืืช ื”ืกืคืจื™ื™ื” ืœื—ื™ืคื•ืฉ ืงื‘ืฆื™ ื ืชื•ื ื™ ื”ืคืจื•ืคื™ืœ ืฉื‘ื”ื ื ืชื™ื‘. ืืคืฉืจื•ืช ื–ื•
ืžืฉืคื™ืข ืจืง ืขืœ ื ืชื•ื ื™ ื”ืคืจื•ืคื™ืœ ืฉื ื•ืฆืจื• ืขืœ ื™ื“ื™ -fprofile-generate, -ื”ื›ื™ืกื•ื™ ื”ื’ื‘ื•ื” ื‘ื™ื•ืชืจ,
-fprofile-arcs ื•ื‘ืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™ -fprofile-ืฉื™ืžื•ืฉ ื• -fืขื ืฃ-ื”ืกืชื‘ืจื•ื™ื•ืช ื•ืงืฉื•ืจื™ื ืืœื™ื•
ืืคืฉืจื•ื™ื•ืช. ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื ืชื™ื‘ื™ื ืžื•ื—ืœื˜ื™ื ื•ื™ื—ืกื™ื™ื ื›ืื—ื“. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ืžืฉืชืžืฉ ื‘-
ื”ืกืคืจื™ื™ื” ื”ื ื•ื›ื—ื™ืช ื› ื ืชื™ื‘, ืœืคื™ื›ืš ืงื•ื‘ืฅ ื ืชื•ื ื™ ื”ืคืจื•ืคื™ืœ ืžื•ืคื™ืข ื‘ืื•ืชื” ืกืคืจื™ื™ื” ื›ืžื•
ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜.

-fprofile-generate
-fprofile-generate=ื ืชื™ื‘
ืืคืฉืจ ืืคืฉืจื•ื™ื•ืช ื”ืžืฉืžืฉื•ืช ื‘ื“ืจืš ื›ืœืœ ืขื‘ื•ืจ ื™ื™ืฉื•ื ืžื›ืฉื•ืจ ื›ื“ื™ ืœื™ื™ืฆืจ ืคืจื•ืคื™ืœ ืฉื™ืžื•ืฉื™
ืœื”ื™ื“ื•ืจ ืžื—ื“ืฉ ืžืื•ื—ืจ ื™ื•ืชืจ ืขื ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืžื‘ื•ืกืกืช ืžืฉื•ื‘ ืคืจื•ืคื™ืœ. ืืชื” ื—ื™ื™ื‘ ืœื”ืฉืชืžืฉ
-fprofile-generate ื”ืŸ ื‘ืขืช โ€‹โ€‹ื”ื™ื“ื•ืจ ื•ื”ืŸ ื‘ืขืช โ€‹โ€‹ืงื™ืฉื•ืจ ื”ืชื•ื›ื ื™ืช ืฉืœืš.

ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช ืžื•ืคืขืœื•ืช: "-fprofile-arcs", "-fprofile-values", "-fvpt".

If ื ืชื™ื‘ ืžืฆื•ื™ืŸ, GCC ืžืกืชื›ืœ ืขืœ ื ืชื™ื‘ ื›ื“ื™ ืœืžืฆื•ื ืืช ืงื‘ืฆื™ ื ืชื•ื ื™ ื”ืžืฉื•ื‘ ืฉืœ ื”ืคืจื•ืคื™ืœ.
ืœึดืจึฐืื•ึนืช -fprofile-dir.

-fprofile-ืฉื™ืžื•ืฉ
-fprofile-use=ื ืชื™ื‘
ืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืžื›ื•ื•ื ื•ืช ืžืฉื•ื‘ ืคืจื•ืคื™ืœ, ื•ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืจื•ื•ื—ื™ื•ืช ื‘ื“ืจืš ื›ืœืœ
ืจืง ืขื ืžืฉื•ื‘ ืคืจื•ืคื™ืœ ื–ืžื™ืŸ.

ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช ืžื•ืคืขืœื•ืช: "-fbranch-probabilities", "-fvpt",
"-funroll-loops", "-fpeel-loops", "-ftracer", "-ftree-vectorize",
"ftree-loop-distribute-patterns"

ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ืคื•ืœื˜ ื”ื•ื“ืขืช ืฉื’ื™ืื” ืื โ€‹โ€‹ืคืจื•ืคื™ืœื™ ื”ืžืฉื•ื‘ ืื™ื ื ืชื•ืืžื™ื ืืช
ืงื•ื“ ืžืงื•ืจ. ื ื™ืชืŸ ืœื”ืคื•ืš ืฉื’ื™ืื” ื–ื• ืœืื–ื”ืจื” ืขืœ ื™ื“ื™ ืฉื™ืžื•ืฉ -ืื™-ื”ืชืืžื” ืฉืœ ื›ื™ืกื•ื™.
ืฉื™ื ืœื‘ ืฉื–ื” ืขืœื•ืœ ืœื’ืจื•ื ืœืงื•ื“ ืฉืขื‘ืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื’ืจื•ืขื”.

If ื ืชื™ื‘ ืžืฆื•ื™ืŸ, GCC ืžืกืชื›ืœ ืขืœ ื ืชื™ื‘ ื›ื“ื™ ืœืžืฆื•ื ืืช ืงื‘ืฆื™ ื ืชื•ื ื™ ื”ืžืฉื•ื‘ ืฉืœ ื”ืคืจื•ืคื™ืœ.
ืœึดืจึฐืื•ึนืช -fprofile-dir.

ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช ืฉื•ืœื˜ื•ืช ื‘ื”ืชื ื”ื’ื•ืช ื”ืžื”ื“ืจ ืœื’ื‘ื™ ืืจื™ืชืžื˜ื™ืงื” ืฉืœ ื ืงื•ื“ื” ืฆืคื”.
ืืคืฉืจื•ื™ื•ืช ืืœื” ืžื—ืœื™ืคื•ืช ื‘ื™ืŸ ืžื”ื™ืจื•ืช ืœื ื›ื•ื ื•ืช. ื”ื›ืœ ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืžื•ืคืขืœ ื‘ืžื™ื•ื—ื“.

-ffloat-store
ืืœ ืชืื—ืกืŸ ืžืฉืชื ื™ ื ืงื•ื“ื” ืฆืคื” ื‘ืจื’ื™ืกื˜ืจื™ื, ื•ืชืขื›ื‘ ืืคืฉืจื•ื™ื•ืช ืื—ืจื•ืช
ืขืฉื•ื™ ืœืฉื ื•ืช ืื ืขืจืš ื ืงื•ื“ื” ืฆืคื” ื ืœืงื— ืžืื•ื’ืจ ืื• ื–ื™ื›ืจื•ืŸ.

ืืคืฉืจื•ืช ื–ื• ืžื•ื ืขืช ื“ื™ื•ืง ืขื•ื“ืฃ ืœื ืจืฆื•ื™ ื‘ืžื›ื•ื ื•ืช ื›ื’ื•ืŸ 68000 where
ื”ืจื’ื™ืกื˜ืจื™ื ื”ืฆืคื™ื (ืฉืœ ื”-68881) ืฉื•ืžืจื™ื ืขืœ ื“ื™ื•ืง ืจื‘ ื™ื•ืชืจ ืžืžื” ืฉ"ื›ืคื•ืœ" ืืžื•ืจ ืœื”ื™ื•ืช
ื™ืฉ. ื‘ืื•ืคืŸ ื“ื•ืžื” ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช x86. ืขื‘ื•ืจ ืจื•ื‘ ื”ืชื•ื›ื ื™ื•ืช, ื“ื™ื•ืง ืขื•ื“ืฃ
ืขื•ืฉื” ืจืง ื˜ื•ื‘, ืื‘ืœ ื›ืžื” ืชื•ื›ื ื™ื•ืช ืžืกืชืžื›ื•ืช ืขืœ ื”ื”ื’ื“ืจื” ื”ืžื“ื•ื™ืงืช ืฉืœ IEEE ืฆืฃ
ื ึฐืงื•ึผื“ึธื”. ืœื”ืฉืชืžืฉ -ffloat-store ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช ื›ืืœื”, ืœืื—ืจ ืฉื™ื ื•ื™ื ื›ื“ื™ ืœืื—ืกืŸ ืืช ื›ื•ืœื
ื—ื™ืฉื•ื‘ื™ ื‘ื™ื ื™ื™ื ืจืœื•ื•ื ื˜ื™ื™ื ืœืžืฉืชื ื™ื.

-fexcess-precision=ืกื’ื ื•ืŸ
ืืคืฉืจื•ืช ื–ื• ืžืืคืฉืจืช ืฉืœื™ื˜ื” ื ื•ืกืคืช ืขืœ ื“ื™ื•ืง ืขื•ื“ืฃ ื‘ืžื›ื•ื ื•ืช ื‘ื”ืŸ ืฆืคื•ืช-
ืœืจื’ื™ืกื˜ืจื™ื ืฉืœ ื ืงื•ื“ื•ืช ื™ืฉ ื“ื™ื•ืง ืจื‘ ื™ื•ืชืจ ืžื”ืกื•ื’ื™ื "ืฆืคื™ื" ื•"ื›ืคื•ืœื™ื" ืฉืœ IEEE ื•ื”-
ื”ืžืขื‘ื“ ืื™ื ื• ืชื•ืžืš ื‘ืคืขื•ืœื•ืช ืขื™ื’ื•ืœ ืœืกื•ื’ื™ื ืืœื”. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ,
-fexcess-precision=ืžื”ื™ืจ ื‘ืชื•ืงืฃ; ื–ื” ืื•ืžืจ ืฉื”ืคืขื•ืœื•ืช ืžืชื‘ืฆืขื•ืช ื‘
ืืช ื”ื“ื™ื•ืง ืฉืœ ื”ืจื’ื™ืกื˜ืจื™ื ื•ืฉื”ื•ื ื‘ืœืชื™ ืฆืคื•ื™ ื‘ืขืช ืขื™ื’ื•ืœ ืœืกื•ื’ื™ื
ื”ืžืฆื•ื™ืŸ ื‘ืงื•ื“ ื”ืžืงื•ืจ ืžืชืจื—ืฉ. ื‘ืขืช ื”ื™ื“ื•ืจ C, if
-fexcess-precision=ืกื˜ื ื“ืจื˜ื™ ืžืฆื•ื™ืŸ ืื– ื“ื™ื•ืง ืขื•ื“ืฃ ืขื•ืงื‘ ืื—ืจ ื”ื›ืœืœื™ื
ื”ืžืฆื•ื™ืŸ ื‘-ISO C99; ื‘ืคืจื˜, ื’ื ื”ืฉื—ืงื ื™ื ื•ื’ื ื”ื”ืงืฆืื•ืช ื’ื•ืจืžื™ื ืœืขืจื›ื™ื ืœื”ื™ื•ืช
ืžืขื•ื’ืœื™ื ืœืกื•ื’ื™ื ื”ืกืžื ื˜ื™ื™ื ืฉืœื”ื (ืื™ืœื• -ffloat-store ืžืฉืคื™ืข ืจืง ืขืœ ืžื˜ืœื•ืช).
ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ C ืื ืืคืฉืจื•ืช ื”ืชืืžื” ืงืคื“ื ื™ืช ื›ื’ื•ืŸ
-std=c99 ืžืฉืžืฉ.

-fexcess-precision=ืกื˜ื ื“ืจื˜ื™ ืื™ื ื• ืžื™ื•ืฉื ืขื‘ื•ืจ ืฉืคื•ืช ืื—ืจื•ืช ืžืœื‘ื“ C, ื•ืื™ืŸ ืœื•
ื”ืฉืคืขื” ืื -ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math or -ืžื”ื™ืจ-ืžืชืžื˜ื™ืงื” ืžืฆื•ื™ืŸ. ื‘-x86, ื–ื”
ื’ื ืื™ืŸ ื”ืฉืคืขื” ืื -mfpmath = sse or -mfpmath=sse+387 ืฆื•ื™ืŸ; ื‘ืงื•ื“ื
ื‘ืžืงืจื”, ืกืžื ื˜ื™ืงื” ืฉืœ IEEE ื—ืœื” ืœืœื ื“ื™ื•ืง ื™ืชืจ, ื•ื‘ืื—ืจื•ืŸ, ืขื™ื’ื•ืœ ื”ื•ื
ื‘ืœืชื™ ืฆืคื•ื™.

-ืžื”ื™ืจ-ืžืชืžื˜ื™ืงื”
ืกื˜ื™ื -fno-math-errno, -ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math, -ืกื•ืคื™ืช-ืžืชืžื˜ื™ืงื”-ื‘ืœื‘ื“,
-fno-ืขื’ืœ-ืžืชืžื˜ื™ืงื”, -fno-signaling-nans ื• -fcx-ื˜ื•ื•ื— ืžื•ื’ื‘ืœ.

ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช ืœื”ื’ื“ืจืช ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“ "__FAST_MATH__".

ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ ืืฃ ืื—ื“ -O ืืคืฉืจื•ืช ื—ื•ืฅ ืžื–ื” -ืื•ืคืกื˜ ืžื›ื™ื•ื•ืŸ ืฉื–ื” ื™ื›ื•ืœ ืœื’ืจื•ื
ืคืœื˜ ืฉื’ื•ื™ ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช ื”ืชืœื•ื™ื•ืช ื‘ื™ื™ืฉื•ื ืžื“ื•ื™ืง ืฉืœ IEEE ืื• ISO
ื›ืœืœื™ื/ืžืคืจื˜ื™ื ืœืคื•ื ืงืฆื™ื•ืช ืžืชืžื˜ื™ื•ืช. ืขื ื–ืืช, ื–ื” ืขืฉื•ื™ ืœื”ื ื™ื‘ ืงื•ื“ ืžื”ื™ืจ ื™ื•ืชืจ ืขื‘ื•ืจ
ืชื•ื›ื ื™ื•ืช ืฉืื™ื ืŸ ื“ื•ืจืฉื•ืช ืืช ื”ืขืจื‘ื•ื™ื•ืช ืฉืœ ืžืคืจื˜ื™ื ืืœื”.

-fno-math-errno
ืืœ ืชื’ื“ื™ืจ "errno" ืœืื—ืจ ืงืจื™ืื” ืœืคื•ื ืงืฆื™ื•ืช ืžืชืžื˜ื™ื•ืช ืฉืžื‘ื•ืฆืขื•ืช ืขื ืกื™ื ื’ืœ
ื”ื•ืจืื”, ืœืžืฉืœ, "sqrt". ืชื•ื›ื ื™ืช ื”ืžืกืชืžื›ืช ืขืœ ื—ืจื™ื’ื™ื ืฉืœ IEEE ืœืฉื’ื™ืื•ืช ืžืชืžื˜ื™ืงื”
ื˜ื™ืคื•ืœ ืขืฉื•ื™ ืœืจืฆื•ืช ืœื”ืฉืชืžืฉ ื‘ื“ื’ืœ ื–ื” ืœืžื”ื™ืจื•ืช ืชื•ืš ืฉืžื™ืจื” ืขืœ ืืจื™ืชืžื˜ื™ืงื” ืฉืœ IEEE
ืชืื™ืžื•ืช.

ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ ืืฃ ืื—ื“ -O ืืคืฉืจื•ืช ืžื›ื™ื•ื•ืŸ ืฉื”ื™ื ืขืœื•ืœื” ืœื’ืจื•ื ืœืคืœื˜ ืฉื’ื•ื™
ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช ื”ืชืœื•ื™ื•ืช ื‘ื™ื™ืฉื•ื ืžื“ื•ื™ืง ืฉืœ IEEE ืื• ISO
ื›ืœืœื™ื/ืžืคืจื˜ื™ื ืœืคื•ื ืงืฆื™ื•ืช ืžืชืžื˜ื™ื•ืช. ืขื ื–ืืช, ื–ื” ืขืฉื•ื™ ืœื”ื ื™ื‘ ืงื•ื“ ืžื”ื™ืจ ื™ื•ืชืจ ืขื‘ื•ืจ
ืชื•ื›ื ื™ื•ืช ืฉืื™ื ืŸ ื“ื•ืจืฉื•ืช ืืช ื”ืขืจื‘ื•ื™ื•ืช ืฉืœ ืžืคืจื˜ื™ื ืืœื”.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fmath-errno.

ื‘ืžืขืจื›ื•ืช ื“ืืจื•ื•ื™ืŸ, ืกืคืจื™ื™ืช ื”ืžืชืžื˜ื™ืงื” ืืฃ ืคืขื ืœื ืžื’ื“ื™ืจื” "ืฉื’ื™ืื”". ืœื›ืŸ ืื™ืŸ ืกื™ื‘ื”
ืฉื”ืžื”ื“ืจ ื™ืฉืงื•ืœ ืืช ื”ืืคืฉืจื•ืช ืฉื”ื•ื ืขืฉื•ื™, ื• -fno-math-errno ื”ืื ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math
ืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืขื‘ื•ืจ ืืจื™ืชืžื˜ื™ืงื” ืฉืœ ื ืงื•ื“ื” ืฆืคื” ืฉ(ื) ืžื ื™ื—ื™ื ืฉืืจื’ื•ืžื ื˜ื™ื ื•
ื”ืชื•ืฆืื•ืช ืชืงืคื•ืช ื•(ื‘) ืขืฉื•ื™ื•ืช ืœื”ืคืจ ืืช ืชืงื ื™ IEEE ืื• ANSI. ื‘ืฉื™ืžื•ืฉ ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ,
ื”ื•ื ืขืฉื•ื™ ืœื›ืœื•ืœ ืกืคืจื™ื•ืช ืื• ืงื‘ืฆื™ ื”ืคืขืœื” ื”ืžืฉื ื™ื ืืช ืžื™ืœืช ื”ื‘ืงืจื” ืฉืœ FPU ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืื•
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื“ื•ืžื•ืช ืื—ืจื•ืช.

ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ ืืฃ ืื—ื“ -O ืืคืฉืจื•ืช ืžื›ื™ื•ื•ืŸ ืฉื”ื™ื ืขืœื•ืœื” ืœื’ืจื•ื ืœืคืœื˜ ืฉื’ื•ื™
ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช ื”ืชืœื•ื™ื•ืช ื‘ื™ื™ืฉื•ื ืžื“ื•ื™ืง ืฉืœ IEEE ืื• ISO
ื›ืœืœื™ื/ืžืคืจื˜ื™ื ืœืคื•ื ืงืฆื™ื•ืช ืžืชืžื˜ื™ื•ืช. ืขื ื–ืืช, ื–ื” ืขืฉื•ื™ ืœื”ื ื™ื‘ ืงื•ื“ ืžื”ื™ืจ ื™ื•ืชืจ ืขื‘ื•ืจ
ืชื•ื›ื ื™ื•ืช ืฉืื™ื ืŸ ื“ื•ืจืฉื•ืช ืืช ื”ืขืจื‘ื•ื™ื•ืช ืฉืœ ืžืคืจื˜ื™ื ืืœื”. ืžืืคืฉืจ
-fno-ืกื™ืžืŸ-ืืคืกื™ื, -fno-ืžืœื›ื•ื“ืช-ืžืชืžื˜ื™ืงื”, -ืืกื•ืฆื™ืื˜ื™ื‘ื™ืช-ืžืชืžื˜ื™ืงื” ื• -ืชื“ืžื™ืชื™-ืžืชืžื˜ื™ืงื”.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fno-unsafe-math-optimizations.

-ืืกื•ืฆื™ืื˜ื™ื‘ื™ืช-ืžืชืžื˜ื™ืงื”
ืืคืฉืจ ืฉื™ื•ืš ืžื—ื“ืฉ ืฉืœ ืื•ืคืจื ื“ื™ื ื‘ืกื“ืจื•ืช ืฉืœ ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”. ื–ึถื”
ืžืคืจ ืืช ืชืงืŸ ืฉืคืช ISO C ื•-C++ ืขืœ ื™ื“ื™ ืฉื™ื ื•ื™ ืื•ืœื™ ืชื•ืฆืืช ื”ื—ื™ืฉื•ื‘.
ื”ืขืจื”: ื”ื–ืžื ื” ืžื—ื“ืฉ ืขืฉื•ื™ื” ืœืฉื ื•ืช ืืช ืกื™ืžืŸ ื”ืืคืก ื•ื›ืŸ ืœื”ืชืขืœื ืž-NaNs ื•ืœื‘ืœื•ื ืื•
ืœื™ืฆื•ืจ ื–ืจื™ืžืช ื™ืชืจ ืื• ื”ืฆืคื” (ื•ืœื›ืŸ ืœื ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื• ืขืœ ืงื•ื“ ืฉืžืกืชืžืš ืขืœ ืขื™ื’ื•ืœ
ื”ืชื ื”ื’ื•ืช ื›ืžื• "(x + 2**52) - 2**52". ืขืฉื•ื™ ื’ื ืœืกื“ืจ ืžื—ื“ืฉ ื”ืฉื•ื•ืื•ืช ื ืงื•ื“ื•ืช ืฆืคื” ื•
ืœื›ืŸ ืœื ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื• ื›ืืฉืจ ื ื“ืจืฉื•ืช ื”ืฉื•ื•ืื•ืช ืžืกื•ื“ืจื•ืช. ืืคืฉืจื•ืช ื–ื• ื“ื•ืจืฉืช ื–ืืช
ืฉื ื™ื”ื -fno-ืกื™ืžืŸ-ืืคืกื™ื ื• -fno-ืžืœื›ื•ื“ืช-ืžืชืžื˜ื™ืงื” ืœื”ื™ื•ืช ื‘ืชื•ืงืฃ. ื™ืชืจ ืขืœ ื›ืŸ, ื–ื” ืœื ืขื•ืฉื”
ื”ืจื‘ื” ื”ื’ื™ื•ืŸ ืขื -ื—ื™ืฉื•ื‘-ืžืชืžื˜ื™ืงื”. ืขื‘ื•ืจ Fortran ื”ืืคืฉืจื•ืช ืžื•ืคืขืœืช ืื•ื˜ื•ืžื˜ื™ืช ื›ืืฉืจ
ืฉื ื™ื”ื -fno-ืกื™ืžืŸ-ืืคืกื™ื ื• -fno-ืžืœื›ื•ื“ืช-ืžืชืžื˜ื™ืงื” ื‘ืชื•ืงืฃ.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fno-ืืกื•ืฆื™ืื˜ื™ื‘ื™-ืžืชืžื˜ื™ืงื”.

-ืชื“ืžื™ืชื™-ืžืชืžื˜ื™ืงื”
ืืคืฉืจ ืœื”ืฉืชืžืฉ ื‘ื”ื“ื“ื™ื•ืช ืฉืœ ืขืจืš ื‘ืžืงื•ื ืœื—ืœืง ื‘ืขืจืš ืื ื–ื”
ืžืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช. ืœื“ื•ื’ืžื”, ื ื™ืชืŸ ืœื”ื—ืœื™ืฃ ืืช "x / y" ื‘-"x * (1/y)", ื›ืœื•ืžืจ
ืฉื™ืžื•ืฉื™ ืื "(1/y)" ื›ืคื•ืฃ ืœื‘ื™ื˜ื•ืœ ื‘ื™ื˜ื•ื™ ืžืฉื ื” ื ืคื•ืฅ. ืฉื™ืžื• ืœื‘ ืฉื–ื”
ืžืื‘ื“ ื“ื™ื•ืง ื•ืžื’ื“ื™ืœ ืืช ืžืกืคืจ ื”ืคืœื•ืคื™ื ื”ืคื•ืขืœื™ื ืขืœ ื”ืขืจืš.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fno-ื”ื“ื“ื™ื•ืช-ืžืชืžื˜ื™ืงื”.

-ืกื•ืคื™ืช-ืžืชืžื˜ื™ืงื”-ื‘ืœื‘ื“
ืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืขื‘ื•ืจ ืืจื™ืชืžื˜ื™ืงื” ืฉืœ ื ืงื•ื“ื” ืฆืคื” ื”ืžื ื™ื—ื•ืช ื›ื™ ืืจื’ื•ืžื ื˜ื™ื ื•
ื”ืชื•ืฆืื•ืช ืื™ื ืŸ NaNs ืื• +-Infs.

ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืžื•ืคืขืœืช ืขืœ ื™ื“ื™ ืืฃ ืื—ื“ -O ืืคืฉืจื•ืช ืžื›ื™ื•ื•ืŸ ืฉื”ื™ื ืขืœื•ืœื” ืœื’ืจื•ื ืœืคืœื˜ ืฉื’ื•ื™
ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช ื”ืชืœื•ื™ื•ืช ื‘ื™ื™ืฉื•ื ืžื“ื•ื™ืง ืฉืœ IEEE ืื• ISO
ื›ืœืœื™ื/ืžืคืจื˜ื™ื ืœืคื•ื ืงืฆื™ื•ืช ืžืชืžื˜ื™ื•ืช. ืขื ื–ืืช, ื–ื” ืขืฉื•ื™ ืœื”ื ื™ื‘ ืงื•ื“ ืžื”ื™ืจ ื™ื•ืชืจ ืขื‘ื•ืจ
ืชื•ื›ื ื™ื•ืช ืฉืื™ื ืŸ ื“ื•ืจืฉื•ืช ืืช ื”ืขืจื‘ื•ื™ื•ืช ืฉืœ ืžืคืจื˜ื™ื ืืœื”.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fno-finite-ืžืชืžื˜ื™ืงื”-ื‘ืœื‘ื“.

-fno-ืกื™ืžืŸ-ืืคืกื™ื
ืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืขื‘ื•ืจ ืืจื™ืชืžื˜ื™ืงื” ืฉืœ ื ืงื•ื“ื” ืฆืคื” ืฉืžืชืขืœืžืช ืžื”ืกื™ืžืŸ ืฉืœ ืืคืก.
ืืจื™ืชืžื˜ื™ืงื” IEEE ืžืฆื™ื™ื ืช ืืช ื”ื”ืชื ื”ื’ื•ืช ืฉืœ ืขืจื›ื™ +0.0 ื•-0.0 ื‘ืจื•ืจื™ื, ืืฉืจ ืœืื—ืจ ืžื›ืŸ
ืื•ืกืจ ืขืœ ืคื™ืฉื•ื˜ ืฉืœ ื‘ื™ื˜ื•ื™ื™ื ื›ื’ื•ืŸ x+0.0 ืื• 0.0*x (ืืคื™ืœื• ืขื
-ืกื•ืคื™ืช-ืžืชืžื˜ื™ืงื”-ื‘ืœื‘ื“). ืืคืฉืจื•ืช ื–ื• ืžืจืžื–ืช ืฉื”ืกื™ืžืŸ ืฉืœ ืชื•ืฆืืช ืืคืก ืื™ื ื•
ืžืฉืžืขื•ืชื™.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fsigned-ืืคืกื™ื.

-fno-ืžืœื›ื•ื“ืช-ืžืชืžื˜ื™ืงื”
ื”ื™ื“ื•ืจ ืงื•ื“ ื‘ื”ื ื—ื” ืฉืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื” ืื™ื ืŸ ื™ื›ื•ืœื•ืช ืœื™ืฆื•ืจ ื’ืœื•ื™ื•ืช ืœืžืฉืชืžืฉ
ืžืœื›ื•ื“ื•ืช. ืžืœื›ื•ื“ื•ืช ืืœื• ื›ื•ืœืœื•ืช ื—ืœื•ืงื” ื‘ืืคืก, ื”ืฆืคื”, ื–ืจื™ืžืช ื™ืชืจ, ืชื•ืฆืื” ืœื ืžื“ื•ื™ืงืช ื•
ืคืขื•ืœื” ืœื ื—ื•ืงื™ืช. ืืคืฉืจื•ืช ื–ื• ื“ื•ืจืฉืช ื–ืืช -fno-signaling-nans ืœื”ื™ื•ืช ื‘ืชื•ืงืฃ.
ื”ื’ื“ืจืช ืืคืฉืจื•ืช ื–ื• ืขืฉื•ื™ื” ืœืืคืฉืจ ืงื•ื“ ืžื”ื™ืจ ื™ื•ืชืจ ืื ืžืกืชืžื›ื™ื ืขืœ ืืจื™ืชืžื˜ื™ืงื” IEEE "ืœืœื ื”ืคืกืงื”",
ืœืžืฉืœ.

ืืฃ ืื—ื“ ืœื ืฆืจื™ืš ืœื”ืคืขื™ืœ ืืคืฉืจื•ืช ื–ื• -O ืืคืฉืจื•ืช ืžื›ื™ื•ื•ืŸ ืฉื”ื™ื ื™ื›ื•ืœื” ืœื’ืจื•ื
ืคืœื˜ ืฉื’ื•ื™ ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช ื”ืชืœื•ื™ื•ืช ื‘ื™ื™ืฉื•ื ืžื“ื•ื™ืง ืฉืœ IEEE ืื• ISO
ื›ืœืœื™ื/ืžืคืจื˜ื™ื ืœืคื•ื ืงืฆื™ื•ืช ืžืชืžื˜ื™ื•ืช.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ftrapping-ืžืชืžื˜ื™ืงื”.

-ื—ื™ืฉื•ื‘-ืžืชืžื˜ื™ืงื”
ื”ืฉื‘ืช ื˜ืจื ืกืคื•ืจืžืฆื™ื•ืช ื•ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ืžื ื™ื—ื•ืช ืขื™ื’ื•ืœ ื ืงื•ื“ื” ืฆืคื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ
ื”ืชื ื”ื’ื•ืช. ื–ื” ืžืขื•ื’ืœ ืœืืคืก ืขื‘ื•ืจ ื›ืœ ื”ื”ืžืจื•ืช ืžื ืงื•ื“ื” ืฆืคื” ืœืžืกืคืจ ืฉืœื, ื•ื›ืŸ
ืขื’ื•ืœ ืœืงืจื•ื‘ ืขื‘ื•ืจ ื›ืœ ื”ื—ืชื›ื™ื ื”ืืจื™ืชืžื˜ื™ื™ื ื”ืื—ืจื™ื. ืืคืฉืจื•ืช ื–ื• ืฆืจื™ื›ื” ืœื”ื™ื•ืช
ืฉืฆื•ื™ืŸ ืขื‘ื•ืจ ืชื•ื›ื ื™ื•ืช ืฉืžืฉื ื•ืช ืืช ืžืฆื‘ ืขื™ื’ื•ืœ FP ื‘ืื•ืคืŸ ื“ื™ื ืžื™, ืื• ืฉืื•ืœื™ ื›ืŸ
ืžื‘ื•ืฆืข ืขื ืžืฆื‘ ืขื™ื’ื•ืœ ืฉืื™ื ื• ื‘ืจื™ืจืช ืžื—ื“ืœ. ืืคืฉืจื•ืช ื–ื• ืžืฉื‘ื™ืชื” ืงื™ืคื•ืœ ืžืชืžื™ื“ ืฉืœ
ื‘ื™ื˜ื•ื™ื™ ื ืงื•ื“ื” ืฆืคื” ื‘ื–ืžืŸ ื”ื™ื“ื•ืจ (ืฉืขืฉื•ื™ ืœื”ื™ื•ืช ืžื•ืฉืคืข ืžืžืฆื‘ ืขื™ื’ื•ืœ)
ื•ืชืžื•ืจื•ืช ืืจื™ืชืžื˜ื™ื•ืช ืฉืื™ื ืŸ ื‘ื˜ื•ื—ื•ืช ื‘ื ื•ื›ื—ื•ืช ืชืœื•ื™ื™ ืกื™ืžืŸ
ืžืฆื‘ื™ ืขื™ื’ื•ืœ.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fno-ืขื’ืœ-ืžืชืžื˜ื™ืงื”.

ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื ื™ืกื™ื•ื ื™ืช ื•ืื™ื ื” ืžื‘ื˜ื™ื—ื” ื›ืจื’ืข ืœื”ืฉื‘ื™ืช ืืช ื›ืœ GCC
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ืžื•ืฉืคืขื•ืช ืžืžืฆื‘ ืขื™ื’ื•ืœ. ื’ืจืกืื•ืช ืขืชื™ื“ื™ื•ืช ืฉืœ GCC ืขืฉื•ื™ื•ืช ืœืกืคืง
ืฉืœื™ื˜ื” ืขื“ื™ื ื” ื™ื•ืชืจ ื‘ื”ื’ื“ืจื” ื–ื• ื‘ืืžืฆืขื•ืช ื”ืคืจื’ืžื” "FENV_ACCESS" ืฉืœ C99. ืฉื•ืจืช ื”ืคืงื•ื“ื” ื”ื–ื•
ื”ืืคืฉืจื•ืช ืชืฉืžืฉ ื›ื“ื™ ืœืฆื™ื™ืŸ ืืช ืžืฆื‘ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ "FENV_ACCESS".

-fsignaling-nans
ื”ื™ื“ื•ืจ ืงื•ื“ ื‘ื”ื ื—ื” ืฉ-NANs ืื™ืชื•ืช IEEE ืขืฉื•ื™ื™ื ืœื™ืฆื•ืจ ืžืœื›ื•ื“ื•ืช ื’ืœื•ื™ื•ืช ืœืžืฉืชืžืฉ ื‘ืžื”ืœืš
ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”. ื”ื’ื“ืจืช ืืคืฉืจื•ืช ื–ื• ืžืฉื‘ื™ืชื” ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืขืฉื•ื™ื•ืช ืœื”ืฉืชื ื•ืช
ืžืกืคืจ ื”ื—ืจื™ื’ื™ื ื”ื ืจืื™ื ืขื ืื™ืชื•ืช NaNs. ืืคืฉืจื•ืช ื–ื• ืžืจืžื–ืช
-ftrapping-ืžืชืžื˜ื™ืงื”.

ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช ืœื”ื’ื“ืจืช ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“ "__SUPPORT_SNAN__".

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fno-signaling-nans.

ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื ื™ืกื™ื•ื ื™ืช ื•ืื™ื ื” ืžื‘ื˜ื™ื—ื” ื›ืจื’ืข ืœื”ืฉื‘ื™ืช ืืช ื›ืœ GCC
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ืžืฉืคื™ืขื•ืช ืขืœ ื”ืชื ื”ื’ื•ืช NaN ืื™ืชื•ืช.

-ื“ื™ื•ืง-ืงื‘ื•ืข-ื™ื—ื™ื“
ื”ืชื™ื™ื—ืก ืœืงื‘ื•ืขื™ ื ืงื•ื“ื” ืฆืคื” ื›ืขืœ ื“ื™ื•ืง ื™ื—ื™ื“ ื‘ืžืงื•ื ื”ืžืจื” ืžืจื•ืžื–ืช
ืื•ืชื ืœืงื‘ื•ืขื™ื ื‘ืขืœื™ ื“ื™ื•ืง ื›ืคื•ืœ.

-fcx-ื˜ื•ื•ื— ืžื•ื’ื‘ืœ
ื›ืืฉืจ ืžื•ืคืขืœืช, ืืคืฉืจื•ืช ื–ื• ืžืฆื™ื™ื ืช ื›ื™ ืื™ืŸ ืฆื•ืจืš ื‘ืฉืœื‘ ื”ืคื—ืชืช ื˜ื•ื•ื— ื›ืืฉืจ
ื‘ื™ืฆื•ืข ื—ืœื•ืงื” ืžื•ืจื›ื‘ืช. ื›ืžื• ื›ืŸ, ืื™ืŸ ื‘ื“ื™ืงื” ื”ืื ื”ืชื•ืฆืื” ืฉืœ ื
ื›ืคืœ ืื• ื—ื™ืœื•ืง ืžื•ืจื›ื‘ื™ื ื”ื "NaN + I*NaN", ืชื•ืš ื ื™ืกื™ื•ืŸ ืœื”ืฆื™ืœ ืืช
ื”ืžืฆื‘ ื‘ืžืงืจื” ื›ื–ื”. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fno-cx-ื˜ื•ื•ื— ืžื•ื’ื‘ืœ, ืืš ืžื•ืคืขืœ ืขืœ ื™ื“ื™
-ืžื”ื™ืจ-ืžืชืžื˜ื™ืงื”.

ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ื‘ื”ื’ื“ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ืคืจื’ืžืช ISO C99 "CX_LIMITED_RANGE".
ืขื ื–ืืช, ื”ืืคืฉืจื•ืช ื—ืœื” ืขืœ ื›ืœ ื”ืฉืคื•ืช.

-fcx-fortran-rules
ื›ืคืœ ื•ื—ื™ืœื•ืง ืžื•ืจื›ื‘ื™ื ืคื•ืขืœื™ื ืœืคื™ ื›ืœืœื™ Fortran. ื”ืคื—ืชืช ื˜ื•ื•ื— ื ืขืฉื™ืช ื›
ื—ืœืง ืžื—ืœื•ืงื” ืžื•ืจื›ื‘ืช, ืื‘ืœ ืื™ืŸ ื‘ื“ื™ืงื” ืื ื”ืชื•ืฆืื” ืฉืœ ืงื•ืžืคืœืงืก
ื”ื›ืคืœ ืื• ื”ื—ืœื•ืงื” ื”ื "NaN + I*NaN", ืชื•ืš ื ื™ืกื™ื•ืŸ ืœื”ืฆื™ืœ ืืช ื”ืžืฆื‘
ื‘ืžืงืจื” ื”ื–ื”.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -fno-cx-fortran-rules.

ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช ืฉื•ืœื˜ื•ืช ื‘ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืขืฉื•ื™ื•ืช ืœืฉืคืจ ืืช ื”ื‘ื™ืฆื•ืขื™ื, ืื‘ืœ ืœื
ืžื•ืคืขืœ ืขืœ ื™ื“ื™ ื›ืœ ืื—ื“ -O ืืคืฉืจื•ื™ื•ืช. ื—ืœืง ื–ื” ื›ื•ืœืœ ืืคืฉืจื•ื™ื•ืช ื ื™ืกื™ื•ื ื™ื•ืช ืฉืขืฉื•ื™ื•ืช ืœื™ื™ืฆืจ
ืงื•ื“ ืฉื‘ื•ืจ.

-fืขื ืฃ-ื”ืกืชื‘ืจื•ื™ื•ืช
ืœืื—ืจ ื”ืคืขืœืช ืชื•ื›ื ื™ืช ื”ื™ื“ื•ืจ ืขื -fprofile-arcs, ืืชื” ื™ื›ื•ืœ ืœื”ืจื›ื™ื‘ ืื•ืชื• ื‘ืคืขื ื”ืฉื ื™ื™ื”
ื‘ืืžืฆืขื•ืช -fืขื ืฃ-ื”ืกืชื‘ืจื•ื™ื•ืช, ื›ื“ื™ ืœืฉืคืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืขืœ ืกืžืš ืžืกืคืจ ื”ืคืขืžื™ื
ื›ืœ ืกื ื™ืฃ ื ืœืงื—. ื›ืืฉืจ ืชื•ื›ื ื™ืช ื”ื™ื“ื•ืจ ืขื -fprofile-arcs ื™ื•ืฆื, ื–ื” ื—ื•ืกืš
ื‘ื™ืฆื•ืข arc ืกื•ืคืจ ืœืงื•ื‘ืฅ ืฉื ืงืจื sourcename.gcda ืขื‘ื•ืจ ื›ืœ ืงื•ื‘ืฅ ืžืงื•ืจ. ื”
ื”ืžื™ื“ืข ื‘ืงื•ื‘ืฅ ื”ื ืชื•ื ื™ื ื”ื–ื” ืชืœื•ื™ ืžืื•ื“ ื‘ืžื‘ื ื” ืฉืœ ื”ืงื•ื‘ืฅ ืฉื ื•ืฆืจ
ืงื•ื“, ืœื›ืŸ ืขืœื™ืš ืœื”ืฉืชืžืฉ ื‘ืื•ืชื• ืงื•ื“ ืžืงื•ืจ ื•ื‘ืื•ืชืŸ ืืคืฉืจื•ื™ื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืขื‘ื•ืจ ืฉื ื™ื”ื
ืื•ืกืคื™ื.

ืขื -fืขื ืฃ-ื”ืกืชื‘ืจื•ื™ื•ืช, GCC ืฉื ื REG_BR_PROB ื”ืขืจื” ืขืœ ื›ืœ ืื—ื“ JUMP_INSN ื•
CALL_INSN. ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื”ื ื›ื“ื™ ืœืฉืคืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”. ื ื›ื•ืŸ ืœืขื›ืฉื™ื•, ื”ื ืžืฉืžืฉื™ื ืจืง
ื‘ืžืงื•ื ืื—ื“: ื‘ reorg.c., ื‘ืžืงื•ื ืœื ื—ืฉ ืœืื™ื–ื” ื ืชื™ื‘ ื™ืฉ ืกื‘ื™ืจื•ืช ื’ื‘ื•ื”ื” ืœืกื ื™ืฃ
ืœืงื—ืช, ืืช REG_BR_PROB ืขืจื›ื™ื ืžืฉืžืฉื™ื ื›ื“ื™ ืœืงื‘ื•ืข ื‘ื“ื™ื•ืง ืื™ื–ื” ื ืชื™ื‘ ื ืœืงื— ื™ื•ืชืจ
ืœืขืชื™ื ืงืจื•ื‘ื•ืช.

-fprofile-values
ืื ืžืฉืœื‘ื™ื ืขื -fprofile-arcs, ื”ื•ื ืžื•ืกื™ืฃ ืงื•ื“ ื›ืš ืฉื™ืฉ ื ืชื•ื ื™ื ืขืœ ืขืจื›ื™ื ืฉืœ
ื‘ื™ื˜ื•ื™ื™ื ื‘ืชื•ื›ื ื™ืช ื ืืกืคื™ื.

ืขื -fืขื ืฃ-ื”ืกืชื‘ืจื•ื™ื•ืช, ื”ื•ื ืงื•ืจื ื‘ื—ื–ืจื” ืืช ื”ื ืชื•ื ื™ื ืฉื ืืกืคื• ืžืขืจื›ื™ ื”ืคืจื•ืคื™ืœ ืฉืœ
ื‘ื™ื˜ื•ื™ื™ื ืœืฉื™ืžื•ืฉ ื‘ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช.

ืžื•ืคืขืœ ืขื -fprofile-generate ื• -fprofile-ืฉื™ืžื•ืฉ.

-fvpt
ืื ืžืฉืœื‘ื™ื ืขื -fprofile-arcs, ืืคืฉืจื•ืช ื–ื• ืžื•ืจื” ืœืžื”ื“ืจ ืœื”ื•ืกื™ืฃ ืœื• ืงื•ื“
ืœืืกื•ืฃ ืžื™ื“ืข ืขืœ ืขืจื›ื™ ื‘ื™ื˜ื•ื™ื™ื.

ืขื -fืขื ืฃ-ื”ืกืชื‘ืจื•ื™ื•ืช, ื”ื•ื ืงื•ืจื ื‘ื—ื–ืจื” ืืช ื”ื ืชื•ื ื™ื ืฉื ืืกืคื• ื•ืœืžืขืฉื” ืžื‘ืฆืข ืืช
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ืžื‘ื•ืกืกื•ืช ืขืœื™ื”ื. ื ื›ื•ืŸ ืœืขื›ืฉื™ื• ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื›ื•ืœืœื•ืช ื”ืชืžื—ื•ืช ืฉืœ
ืคืขื•ืœื•ืช ื—ืœื•ืงื” ืชื•ืš ืฉื™ืžื•ืฉ ื‘ื™ื“ืข ืขืœ ืขืจื›ื• ืฉืœ ื”ืžื›ื ื”.

-frename-registers
ื ืกื” ืœืžื ื•ืข ืชืœื•ืช ื›ื•ื–ื‘ืช ื‘ืงื•ื“ ืžืชื•ื–ืžืŸ ืขืœ ื™ื“ื™ ืฉื™ืžื•ืฉ ื‘ืจื™ืฉื•ืžื™ื ืฉื ื•ืชืจื•
ื ื’ืžืจ ืœืื—ืจ ื”ืงืฆืืช ื”ืคื ืงืก. ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื–ื• ืžื™ื˜ื™ื‘ื” ื‘ืขื™ืงืจ ืขื ื”ืžืขื‘ื“ื™ื ื‘ื”ืจื‘ื”
ืฉืœ ืจื™ืฉื•ืžื™ื. ื‘ื”ืชืื ืœืคื•ืจืžื˜ ืžื™ื“ืข ื ื™ืคื•ื™ ื”ื‘ืื’ื™ื ืฉืื•ืžืฅ ืขืœ ื™ื“ื™ ื”ื™ืขื“,
ืขื ื–ืืช, ื–ื” ื™ื›ื•ืœ ืœื”ืคื•ืš ืืช ื ื™ืคื•ื™ ื”ื‘ืื’ื™ื ืœื‘ืœืชื™ ืืคืฉืจื™, ืžื›ื™ื•ื•ืŸ ืฉืžืฉืชื ื™ื ืื™ื ื ื ืฉืืจื™ื ืขื•ื“ ื‘"ื‘ื™ืช
ื”ื™ืจืฉื".

ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื -funroll-ืœื•ืœืื•ืช ื• -fpeel-ืœื•ืœืื•ืช.

-ftracer
ื‘ืฆืข ืฉื›ืคื•ืœ ื–ื ื‘ ื›ื“ื™ ืœื”ื’ื“ื™ืœ ืืช ื’ื•ื“ืœ ื”ืกื•ืคืจื‘ืœื•ืง. ื”ืฉื™ื ื•ื™ ื”ื–ื” ืžืคืฉื˜
ื–ืจื™ืžืช ื”ื‘ืงืจื” ืฉืœ ื”ืคื•ื ืงืฆื™ื” ืžืืคืฉืจืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืื—ืจื•ืช ืœืขืฉื•ืช ืขื‘ื•ื“ื” ื˜ื•ื‘ื” ื™ื•ืชืจ.

ืžื•ืคืขืœ ืขื -fprofile-ืฉื™ืžื•ืฉ.

-funroll-ืœื•ืœืื•ืช
ืคืชื— ืœื•ืœืื•ืช ืฉื ื™ืชืŸ ืœืงื‘ื•ืข ืืช ืžืกืคืจ ื”ืื™ื˜ืจืฆื™ื•ืช ืฉืœื”ืŸ ื‘ื–ืžืŸ ื”ื”ื™ื“ื•ืจ ืื• ืœืื—ืจ ืžื›ืŸ
ื›ื ื™ืกื” ืœืœื•ืค. -funroll-ืœื•ืœืื•ืช ืžืจืžื– -frerun-cse-after-loop, -FWeb. ื•
-frename-registers. ื–ื” ื’ื ืžืคืขื™ืœ ืงื™ืœื•ืฃ ืœื•ืœืื” ืžืœื (ื›ืœื•ืžืจ ื”ืกืจื” ืžืœืื” ืฉืœ
ืœื•ืœืื•ืช ืขื ืžืกืคืจ ืงื‘ื•ืข ืงื˜ืŸ ืฉืœ ืื™ื˜ืจืฆื™ื•ืช). ืืคืฉืจื•ืช ื–ื• ื”ื•ืคื›ืช ืืช ื”ืงื•ื“ ืœื’ื“ื•ืœ ื™ื•ืชืจ, ื•
ืขืฉื•ื™ ืœื’ืจื•ื ืœื• ืœืจื•ืฅ ืžื”ืจ ื™ื•ืชืจ ืื• ืœื.

ืžื•ืคืขืœ ืขื -fprofile-ืฉื™ืžื•ืฉ.

-funroll-all-loops
ืคืชื— ืืช ื›ืœ ื”ืœื•ืœืื•ืช, ื’ื ืื ืžืกืคืจ ื”ืื™ื˜ืจืฆื™ื•ืช ืฉืœื”ืŸ ืื™ื ื• ื•ื“ืื™ ื›ืืฉืจ ื”ืœื•ืœืื” ื”ื™ื
ื ื›ื ืก. ื–ื” ื‘ื“ืจืš ื›ืœืœ ื’ื•ืจื ืœืชื•ื›ื ื™ื•ืช ืœืคืขื•ืœ ืœืื˜ ื™ื•ืชืจ. -funroll-all-loops ืžืจืžื– ืขืœ
ืื•ืชืŸ ืืคืฉืจื•ื™ื•ืช ื›ืžื• -funroll-ืœื•ืœืื•ืช.

-fpeel-ืœื•ืœืื•ืช
ืžืงืœืคืช ืœื•ืœืื•ืช ืฉื™ืฉ ืœื”ืŸ ืžืกืคื™ืง ืžื™ื“ืข ืฉื”ืŸ ืœื ืžืชื’ืœื’ืœื•ืช ื”ืจื‘ื” (ืž
ืžืฉื•ื‘ ืขืœ ื”ืคืจื•ืคื™ืœ). ื–ื” ื’ื ืžืคืขื™ืœ ืงื™ืœื•ืฃ ืœื•ืœืื” ืžืœื (ื›ืœื•ืžืจ ื”ืกืจื” ืžืœืื” ืฉืœ
ืœื•ืœืื•ืช ืขื ืžืกืคืจ ืงื‘ื•ืข ืงื˜ืŸ ืฉืœ ืื™ื˜ืจืฆื™ื•ืช).

ืžื•ืคืขืœ ืขื -fprofile-ืฉื™ืžื•ืฉ.

-fmove-loop-invariants
ืžืืคืฉืจ ืืช ืžืขื‘ืจ ื”ืชื ื•ืขื” ื”ื‘ืœืชื™ ืžืฉืชื ื” ืฉืœ ื”ืœื•ืœืื” ื‘ืžื™ื˜ื•ื‘ ื”ืœื•ืœืื” ืฉืœ RTL. ืžื•ืคืขืœ ื‘ืจืžื”
-O1

-ืœื•ืœืื•ืช funswitch
ื”ื–ื– ืขื ืคื™ื ืขื ืชื ืื™ื ื‘ืœืชื™ ืžืฉืชื ื” ืฉืœ ืœื•ืœืื” ืžื—ื•ืฅ ืœืœื•ืœืื”, ืขื ื›ืคื™ืœื•ื™ื•ืช ืฉืœ ื”-
ืœื•ืœืื” ื‘ืฉื ื™ ื”ืขื ืคื™ื (ืฉื•ื ื” ื‘ื”ืชืื ืœืชื•ืฆืื” ืฉืœ ื”ืžืฆื‘).

-ืคืคื•ื ืงืฆื™ื”-ืกืขื™ืคื™ื
-fdata-sections
ื”ืฆื‘ ื›ืœ ืคื•ื ืงืฆื™ื” ืื• ืคืจื™ื˜ ื ืชื•ื ื™ื ื‘ืงื˜ืข ืžืฉืœื• ื‘ืงื•ื‘ืฅ ื”ืคืœื˜ ืื ื”ื™ืขื“
ืชื•ืžืš ื‘ืกืขื™ืคื™ื ืฉืจื™ืจื•ืชื™ื™ื. ืฉื ื”ืคื•ื ืงืฆื™ื” ืื• ืฉื ืคืจื™ื˜ ื”ื ืชื•ื ื™ื
ืงื•ื‘ืข ืืช ืฉื ื”ืžืงื˜ืข ื‘ืงื•ื‘ืฅ ื”ืคืœื˜.

ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ื™ื•ืช ืืœื” ื‘ืžืขืจื›ื•ืช ืฉื‘ื”ืŸ ื”ืžืงืฉืจ ื™ื›ื•ืœ ืœื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืœืฉื™ืคื•ืจ
ืžืงื•ื ื”ืชื™ื™ื—ืกื•ืช ื‘ืžืจื—ื‘ ื”ื”ื“ืจื›ื”. ืจื•ื‘ ื”ืžืขืจื›ื•ืช ืžืฉืชืžืฉื•ืช ื‘ืื•ื‘ื™ื™ืงื˜ ELF
ืœืžืขื‘ื“ื™ ืคื•ืจืžื˜ ื•-SPARC ื”ืžืจื™ืฆื™ื ืืช Solaris 2 ื™ืฉ ืงื™ืฉื•ืจื™ื ืขื ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื›ืืœื”.
ื™ื™ืชื›ืŸ ืฉืœ-AIX ื™ื”ื™ื• ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืืœื” ื‘ืขืชื™ื“.

ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ื™ื•ืช ืืœื” ืจืง ื›ืืฉืจ ื™ืฉ ื™ืชืจื•ื ื•ืช ืžืฉืžืขื•ืชื™ื™ื ืžื›ืš. ื›ืืฉืจ ืืชื”
ืฆื™ื™ืŸ ืืช ื”ืืคืฉืจื•ื™ื•ืช ื”ืœืœื•, ื”ืืกืžื‘ืœืจ ื•ื”ืžืงืฉืจ ื™ื•ืฆืจื™ื ืื•ื‘ื™ื™ืงื˜ ื’ื“ื•ืœ ื™ื•ืชืจ ื•ืงื•ื‘ืฅ ื”ืคืขืœื”
ืงื‘ืฆื™ื ื•ื”ื ื’ื ืื™ื˜ื™ื™ื ื™ื•ืชืจ. ืื™ื ืš ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘-"gprof" ื‘ื›ืœ ื”ืžืขืจื›ื•ืช ืื ืืชื” ืžืฆื™ื™ืŸ ื–ืืช
ืืคืฉืจื•ืช, ื•ื™ื™ืชื›ืŸ ืฉืชื”ื™ื” ืœืš ื‘ืขื™ื•ืช ืขื ืื™ืชื•ืจ ื‘ืื’ื™ื ืื ืชืฆื™ื™ืŸ ื’ื ืืคืฉืจื•ืช ื–ื• ื•ื’ื
-g.

-fbranch-target-load-optimize
ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืขื•ืžืก ืจืฉื ื™ืขื“ ืขื ืฃ ืœืคื ื™ ื”ืฉืจืฉื•ืจ ืฉืœ ืคืจื•ืœื•ื’/ืืคื™ืœื•ื’.
ื”ืฉื™ืžื•ืฉ ื‘ืื•ื’ืจื™ ืžื˜ืจื” ื‘ื“ืจืš ื›ืœืœ ื™ื›ื•ืœ ืœื”ื™ื—ืฉืฃ ืจืง ื‘ืžื”ืœืš ื˜ืขื™ื ื” ืžื—ื“ืฉ, ื•ื‘ื›ืš ืœื”ืจื™ื
ื˜ืขื™ื ื” ืžื—ื•ืฅ ืœืœื•ืœืื•ืช ื•ื‘ื™ืฆื•ืข ืชื–ืžื•ืŸ ื‘ื™ืŸ-ื‘ืœื•ืง ืžืฆืจื™ืš ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื ืคืจื“ืช
ืœึทืขึฒื‘ื•ึนืจ.

-fbranch-target-load-optimize2
ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืขื•ืžืก ืจืฉื ื™ืขื“ ืขื ืฃ ืœืื—ืจ ื”ืฉืจืฉื•ืจ ืฉืœ ืคืจื•ืœื•ื’/ืืคื™ืœื•ื’.

-fbtr-bb-ื‘ืœืขื“ื™
ื‘ืขืช ื‘ื™ืฆื•ืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืขื•ืžืก ืฉืœ ื™ืขื“ ืขื ืฃ, ืืœ ืชืขืฉื” ืฉื™ืžื•ืฉ ื—ื•ื–ืจ ื‘ื™ืขื“ ืขื ืฃ
ื ืจืฉื ื‘ืชื•ืš ื›ืœ ื‘ืœื•ืง ื‘ืกื™ืกื™.

-ืžื’ืŸ ืžื—ืกื ื™ืช
ืฉืœื— ืงื•ื“ ื ื•ืกืฃ ื›ื“ื™ ืœื‘ื“ื•ืง ืžืฆืคื™ ื—ื™ืฅ, ื›ื’ื•ืŸ ื”ืชืงืคื•ืช ืžื—ืกื ื™ื•ืช. ื–ึถื”
ื ืขืฉื” ืขืœ ื™ื“ื™ ื”ื•ืกืคืช ืžืฉืชื ื” ืฉื•ืžืจ ืœืคื•ื ืงืฆื™ื•ืช ืขื ืื•ื‘ื™ื™ืงื˜ื™ื ืคื’ื™ืขื™ื. ื–ึถื”
ื›ื•ืœืœ ืคื•ื ืงืฆื™ื•ืช ื”ืงื•ืจืื•ืช "alloca", ื•ืคื•ื ืงืฆื™ื•ืช ืขื ืžืื’ืจื™ื ื’ื“ื•ืœื™ื ืž-8 ื‘ืชื™ื.
ื”ืฉื•ืžืจื™ื ืžืื•ืชื—ืœื™ื ื›ืืฉืจ ื ื›ื ืกื™ื ืœืคื•ื ืงืฆื™ื” ื•ืœืื—ืจ ืžื›ืŸ ื‘ื•ื“ืงื™ื ื›ืืฉืจ
ื”ืคื•ื ืงืฆื™ื” ื™ื•ืฆืืช. ืื ื‘ื“ื™ืงืช ื”ืฉืžื™ืจื” ื ื›ืฉืœืช, ืžื•ื“ืคืกืช ื”ื•ื“ืขืช ืฉื’ื™ืื” ื•ื”ืชื•ื›ื ื™ืช
ื™ืฆื™ืื•ืช.

ื”ืขืจื”: ื‘-Ubuntu 6.10 ื•ื‘ื’ื™ืจืกืื•ืช ืžืื•ื—ืจื•ืช ื™ื•ืชืจ ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ C, C++,
ObjC, ObjC++, ืื ืืฃ ืื—ื“ ืžื”ื -fno-ืžื—ืกื ื™ืช-ืžื’ืŸ, -ื ื•ืกื˜ื“ืœื™ื‘, ื•ืœื -ืขื•ืžื“ ื‘ืคื ื™ ืขืฆืžื• ื™ืฉ ืœื•
ืžืฆืืชื™.

-fstack-protector-all
ื›ืžื• -ืžื’ืŸ ืžื—ืกื ื™ืช ืืœื ืฉื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ืžื•ื’ื ื•ืช.

-fsection-ืขื•ื’ื ื™ื
ื ืกื” ืœื”ืคื—ื™ืช ืืช ืžืกืคืจ ื—ื™ืฉื•ื‘ื™ ื”ื›ืชื•ื‘ื•ืช ื”ืกืžืœื™ื•ืช ื‘ืืžืฆืขื•ืช "ืขื•ื’ืŸ" ืžืฉื•ืชืฃ
ืกืžืœื™ื ื›ื“ื™ ืœื˜ืคืœ ื‘ืื•ื‘ื™ื™ืงื˜ื™ื ืงืจื•ื‘ื™ื. ืฉื™ื ื•ื™ ื–ื” ื™ื›ื•ืœ ืœืขื–ื•ืจ ืœื”ืคื—ื™ืช ืืช ื”ืžืกืคืจ
ืฉืœ ืขืจื›ื™ GOT ื•ื’ื™ืฉื” ืฉืœ GOT ื‘ื›ืžื” ื™ืขื“ื™ื.

ืœื“ื•ื’ืžื”, ื™ื™ืฉื•ื ื”ืคื•ื ืงืฆื™ื” ื”ื‘ืื” "foo":

ืกื˜ื˜ื™ int a, b, c;
int foo (void) { return a + b + c; }

ื‘ื“ืจืš ื›ืœืœ ืžื—ืฉื‘ ืืช ื”ื›ืชื•ื‘ื•ืช ืฉืœ ื›ืœ ืฉืœื•ืฉืช ื”ืžืฉืชื ื™ื, ืื‘ืœ ืื ืืชื” ืงื•ืžืคื™ืœ ืืช ื–ื” ืขื
-fsection-ืขื•ื’ื ื™ื, ื”ื•ื ื ื™ื’ืฉ ืœืžืฉืชื ื™ื ืžื ืงื•ื“ืช ืขื•ื’ืŸ ืžืฉื•ืชืคืช ื‘ืžืงื•ื ื–ืืช. ื”
ื”ืืคืงื˜ ื“ื•ืžื” ืœืคืกืื•ื“ื•ืงื•ื“ ื”ื‘ื (ืฉืื™ื ื ื• C ื—ื•ืงื™):

int foo (ื‘ื˜ืœ)
{
ืจืฉื•ื int *xr = &x;
ื”ื—ื–ืจ xr[&a - &x] + xr[&b - &x] + xr[&c - &x];
}

ืœื ื›ืœ ื”ื™ืขื“ื™ื ืชื•ืžื›ื™ื ื‘ืืคืฉืจื•ืช ื–ื•.

--param ืฉื=ืขืจืš
ื‘ืžืงื•ืžื•ืช ืžืกื•ื™ืžื™ื, GCC ืžืฉืชืžืฉ ื‘ืงื‘ื•ืขื™ื ืฉื•ื ื™ื ื›ื“ื™ ืœืฉืœื•ื˜ ื‘ื›ืžื•ืช ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ื ืขืฉื”. ืœื“ื•ื’ืžื”, GCC ืื™ื ื• ืžื›ื™ืœ ืคื•ื ืงืฆื™ื•ืช ืžื•ื˜ื‘ืขื•ืช ื”ืžื›ื™ืœื•ืช ื™ื•ืชืจ ืžืคืจื˜ ืžืกื•ื™ื
ืžืกืคืจ ื”ื•ืจืื•ืช. ืืชื” ื™ื›ื•ืœ ืœืฉืœื•ื˜ ื‘ื—ืœืง ืžื”ืงื‘ื•ืขื™ื ื”ืืœื” ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”
ื‘ืืžืฆืขื•ืช --param ืื•ึนืคึผึฐืฆึดื™ึธื”.

ื”ืฉืžื•ืช ืฉืœ ืคืจืžื˜ืจื™ื ืกืคืฆื™ืคื™ื™ื, ื•ืžืฉืžืขื•ืช ื”ืขืจื›ื™ื, ืงืฉื•ืจื™ื ืœ-
ื”ื—ืœืงื™ื ื”ืคื ื™ืžื™ื™ื ืฉืœ ื”ืžื”ื“ืจ, ื•ื›ืคื•ืคื™ื ืœืฉื™ื ื•ื™ื™ื ืœืœื ื”ื•ื“ืขื” ืžื•ืงื“ืžืช ื‘ืขืชื™ื“
ืžืฉื—ืจืจ.

ื‘ื›ืœ ืžืงืจื”, ื” ืขืจืš ื”ื•ื ืžืกืคืจ ืฉืœื. ื”ื‘ื—ื™ืจื•ืช ื”ืžื•ืชืจื•ืช ืขื‘ื•ืจ ืฉื ื”ื:

ืชื•ืฆืื” ืฆืคื•ื™ื”-ืขื ืฃ
ื›ืืฉืจ ื”ืขื ืฃ ืฆืคื•ื™ ืœื”ื™ืœืงื— ื‘ืกื‘ื™ืจื•ืช ื ืžื•ื›ื” ืžืกืฃ ื–ื”
(ื‘ืื—ื•ื–ื™ื), ืื– ื–ื” ื ื—ืฉื‘ ื›ืฆืคื•ื™ ื”ื™ื˜ื‘. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 10.

ืžืงืกื™ืžื•ื-ืงืคื™ืฆื”-ืงืฆื•ื•ืช
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืงืฆื•ื•ืช ื ื›ื ืกื™ื ืฉื™ืฉ ืœืงื—ืช ื‘ื—ืฉื‘ื•ืŸ ืขื‘ื•ืจ ืงืคื™ืฆื” ืฆื•ืœื‘ืช. ื”ืืœื’ื•ืจื™ืชื
ื‘ืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™ -ืงืคื™ืฆื” ืฆื•ืœื‘ืช ื”ื•ื O(N^2) ื‘ืžืกืคืจ ื”ืงืฆื•ื•ืช ื”ื ื›ื ืกื™ื ืœื›ืœ ื‘ืœื•ืง.
ื”ื’ื“ืœืช ืขืจื›ื™ื ืคื™ืจื•ืฉื” ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืื’ืจืกื™ื‘ื™ืช ื™ื•ืชืจ, ืžื” ืฉื”ื•ืคืš ืืช ื–ืžืŸ ื”ื”ื™ื“ื•ืจ
ืœื”ื’ื“ื™ืœ ืขื ื›ื ืจืื” ืฉื™ืคื•ืจ ืงื˜ืŸ ื‘ื’ื•ื“ืœ ื”ื”ืคืขืœื”.

min-crossjump-ins
ื”ืžืกืคืจ ื”ืžื™ื ื™ืžืœื™ ืฉืœ ื”ื•ืจืื•ืช ืฉื™ืฉ ืœื”ืชืื™ื ื‘ืกื•ืฃ ืฉื ื™ ื‘ืœื•ืงื™ื
ืœืคื ื™ ืฉืžื‘ืฆืขื™ื ืขืœื™ื”ื ืงืคื™ืฆื•ืช ืฆื•ืœื‘ื•ืช. ืขืจืš ื–ื” ืžืชืขืœื ื‘ืžืงืจื”
ืฉื‘ื• ื›ืœ ื”ื”ื•ืจืื•ืช ื‘ื‘ืœื•ืง ืฉืžืžื ื• ืžืงืคืฆื™ื ืžื•ืชืืžื•ืช. ื”
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 5.

max-grow-copy-bb-insns
ืžืงื“ื ื”ื”ืจื—ื‘ื” ื”ืžืงืกื™ืžืœื™ ืฉืœ ื’ื•ื“ืœ ื”ืงื•ื“ ื‘ืขืช ื”ืขืชืงืช ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื ื‘ืžืงื•ื
ืงืคื™ืฆื”. ื”ื”ืจื—ื‘ื” ื”ื™ื ื‘ื™ื—ืก ืœื”ื•ืจืืช ืงืคื™ืฆื”. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื
8.

max-goto-duplication-insns
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื•ืจืื•ืช ืœืฉื›ืคื•ืœ ืœื‘ืœื•ืง ืฉืงื•ืคืฅ ืœ-a
goto ืžื—ื•ืฉื‘. ื›ื“ื™ ืœื”ื™ืžื ืข ืžื”ืชื ื”ื’ื•ืช O(N^2) ื‘ืžืกืคืจ ืžืขื‘ืจื™ื, ื’ื•ืจืžื™ื GCC
ื’ื•ื˜ื•ืก ืžื—ื•ืฉื‘ื™ื ื‘ืฉืœื‘ ืžื•ืงื“ื ื‘ืชื”ืœื™ืš ื”ืงื•ืžืคื™ืœืฆื™ื”, ื•ืžื‘ื˜ืœ ืื•ืชื ืขื“ ืžืื•ื—ืจ
ืืคืฉืจื™. ืจืง ืงืคื™ืฆื•ืช ืžื—ื•ืฉื‘ื•ืช ื‘ืกื•ืฃ ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื ืขื ืœื ื™ื•ืชืจ ืžืžืงืกื™ืžื•ื-
goto-duplication-inss ืื™ื ื ืžื•ืฉืคืขื™ื. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 8.

max-delay-slot-insn-search
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื•ืจืื•ืช ืฉื™ืฉ ืœืงื—ืช ื‘ื—ืฉื‘ื•ืŸ ื›ืฉืžื—ืคืฉื™ื ื”ื•ืจืื”
ืœืžืœื ืžืฉื‘ืฆืช ืขื™ื›ื•ื‘. ืื ื™ืฉ ื™ื•ืชืจ ืžืžืกืคืจ ืฉืจื™ืจื•ืชื™ ื–ื” ืฉืœ ื”ื•ืจืื•ืช
ื—ื™ืกื›ื•ืŸ, ื”ื—ื™ืกื›ื•ืŸ ื‘ื–ืžืŸ ืžื™ืœื•ื™ ืžืฉื‘ืฆืช ื”ื”ืฉื”ื™ื” ื”ื•ื ืžื™ื ื™ืžืœื™, ืื– ืชืคืกื™ืง
ืžื—ืคืฉ. ื”ื’ื“ืœืช ืขืจื›ื™ื ืคื™ืจื•ืฉื” ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืื’ืจืกื™ื‘ื™ืช ื™ื•ืชืจ, ืžื” ืฉื”ื•ืคืš ืืช
ืขืœื™ื™ื” ื‘ื–ืžืŸ ื”ืงื•ืžืคื™ืœืฆื™ื” ืขื ื›ื ืจืื” ืฉื™ืคื•ืจ ืงื˜ืŸ ื‘ื–ืžืŸ ื”ื‘ื™ืฆื•ืข.

max-delay-slot-live-search
ื›ืืฉืจ ืžื ืกื™ื ืœืžืœื ืžืฉื‘ืฆื•ืช ืขื™ื›ื•ื‘, ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื•ืจืื•ืช ืฉื™ืฉ ืœืงื—ืช ื‘ื—ืฉื‘ื•ืŸ
ื›ืืฉืจ ืžื—ืคืฉื™ื ื‘ืœื•ืง ืขื ืžื™ื“ืข ืจื™ืฉื•ื ื—ื™ ื—ื•ืงื™. ืžื’ื‘ื™ืจื™ื ืืช ื–ื”
ืขืจืš ืฉื ื‘ื—ืจ ื‘ืื•ืคืŸ ืฉืจื™ืจื•ืชื™ ืคื™ืจื•ืฉื• ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืื’ืจืกื™ื‘ื™ืช ื™ื•ืชืจ, ื”ื’ื“ืœืช ื”ืขืจืš
ื–ืžืŸ ื”ื™ื“ื•ืจ. ื™ืฉ ืœื”ืกื™ืจ ืคืจืžื˜ืจ ื–ื” ื›ืืฉืจ ืงื•ื“ ื—ืจื™ืฅ ื”ื”ืฉื”ื™ื” ื”ื•ื
ื ื›ืชื‘ ืžื—ื“ืฉ ื›ื“ื™ ืœืฉืžื•ืจ ืขืœ ื’ืจืฃ ื–ืจื™ืžืช ื”ื‘ืงืจื”.

max-gcse-memory
ื”ื›ืžื•ืช ื”ืžืงืกื™ืžืœื™ืช ื”ืžืฉื•ืขืจืช ืฉืœ ื–ื™ื›ืจื•ืŸ ืฉื ื™ืชืŸ ืœื”ืงืฆื•ืช ืขืœ ืžื ืช ืœื‘ืฆืข
ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื”ืขื•ืœืžื™ืช ืฉืœ ื—ื™ืกื•ืœ ืชืช ื”ื‘ื™ื˜ื•ื™ื™ื ื”ื ืคื•ืฆื™ื. ืื ื™ื•ืชืจ ื–ื™ื›ืจื•ืŸ ืžืืฉืจ
ืฉืฆื•ื™ืŸ ื ื“ืจืฉ, ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืœื ืžืชื‘ืฆืขืช.

ืžืงืกื™ืžื•ื-gcse-ื”ื›ื ืกื”-ื™ื—ืก
ืื ื”ื™ื—ืก ื‘ื™ืŸ ื”ื•ืกืคืช ื‘ื™ื˜ื•ื™ ืœืžื—ื™ืงื•ืช ื’ื“ื•ืœ ืžื”ืขืจืš ื”ื–ื” ืขื‘ื•ืจ
ื›ืœ ื‘ื™ื˜ื•ื™, ืื– RTL PRE ืžื•ืกื™ืฃ ืื• ืžืกื™ืจ ืืช ื”ื‘ื™ื˜ื•ื™ ื•ื‘ื›ืš ืขื•ื–ื‘
ื—ื™ืฉื•ื‘ื™ื ืžื™ื•ืชืจื™ื ื—ืœืงื™ืช ื‘ื–ืจื ื”ื”ื•ืจืื•ืช. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื
20.

ืžืงืกื™ืžื•ื-ื‘ื”ืžืชื ื”-ืจืฉื™ืžื”-ืื•ืจืš
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืชื–ืžื•ืŸ ืชืœื•ื™ื•ืช ืชืœื•ื™ื•ืช ืžืืคืฉืจ ืœืคื ื™ ืฉื˜ื™ืคืช ื”-
ื”ืžืฆื‘ ื”ื ื•ื›ื—ื™ ื•ืžืชื—ื™ืœ ืžื—ื“ืฉ. ืคื•ื ืงืฆื™ื•ืช ื’ื“ื•ืœื•ืช ืขื ืžืขื˜ ืกื ื™ืคื™ื ืื• ืฉื™ื—ื•ืช ื™ื›ื•ืœื•ืช
ืœื™ืฆื•ืจ ืจืฉื™ืžื•ืช ื’ื“ื•ืœื•ืช ืžื“ื™ ืืฉืจ ืฆื•ืจื›ื•ืช ื–ื™ื›ืจื•ืŸ ื•ืžืฉืื‘ื™ื ืœืœื ืฆื•ืจืš.

max-modulo-backtrack-tritts
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื ื™ืกื™ื•ื ื•ืช ืžืกืœื•ืœ ืื—ื•ืจื” ืฉื”ืžืชื–ืžืŸ ืฆืจื™ืš ืœื‘ืฆืข ื›ืืฉืจ ืžื•ื“ื•ืœื•
ืชื–ืžื•ืŸ ืœื•ืœืื”. ืขืจื›ื™ื ื’ื“ื•ืœื™ื ื™ื•ืชืจ ื™ื›ื•ืœื™ื ืœื”ื’ื“ื™ืœ ื‘ืื•ืคืŸ ืืงืกืคื•ื ื ืฆื™ืืœื™ ืืช ื–ืžืŸ ื”ื”ื™ื“ื•ืจ.

max-inline-insns-ืกื™ื ื’ืœ
ืžืกืคืจ ืคืจืžื˜ืจื™ื ืฉื•ืœื˜ื™ื ื‘-inliner ืฉืœ ื”ืขืฅ ื”ืžืฉืžืฉ ื‘-GCC. ืžืกืคืจ ื–ื” ืงื•ื‘ืข ืืช
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื•ืจืื•ืช (ื ืกืคืจื•ืช ื‘ื™ื™ืฆื•ื’ ื”ืคื ื™ืžื™ ืฉืœ GCC) ื‘-a
ืคื•ื ืงืฆื™ื” ื™ื—ื™ื“ื” ืฉื”-inliner ืฉืœ ื”ืขืฅ ืžื—ืฉื™ื‘ ืœ-inliner. ื–ื” ืจืง ืžืฉืคื™ืข
ืคื•ื ืงืฆื™ื•ืช ืฉื”ื•ื›ืจื–ื• ื‘ืฉื•ืจื” ื•ืฉื™ื˜ื•ืช ืžื™ื•ืฉืžื•ืช ื‘ื”ืฆื”ืจืช ืžื—ืœืงื” (C++).
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 400.

max-inline-insns-auto
ื›ืืฉืจ ืืชื” ืžืฉืชืžืฉ ื‘ -finline-ืคื•ื ืงืฆื™ื•ืช (ื›ืœื•ืœ ื‘ -O3), ื”ืจื‘ื” ืคื•ื ืงืฆื™ื•ืช ืฉื™ืขืฉื• ื–ืืช
ืื—ืจืช ืœื ื™ื™ื—ืฉื‘ื• ืœื”ื˜ืžืขื” ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ ื ื—ืงืจื™ื. ืœ
ื”ืคื•ื ืงืฆื™ื•ืช ื”ืœืœื•, ืžื’ื‘ืœื” ืฉื•ื ื” (ืžื’ื‘ื™ืœื” ื™ื•ืชืจ) ื‘ื”ืฉื•ื•ืื” ืœืคื•ื ืงืฆื™ื•ืช
ื ื™ืชืŸ ืœื”ื—ื™ืœ ืืช ื”ืžื•ืฆื”ืจ ืžื•ื˜ื‘ืข. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 40.

inline-min-speedup
ื›ืืฉืจ ืฉื™ืคื•ืจ ื”ื‘ื™ืฆื•ืขื™ื ื”ืžืฉื•ืขืจ ืฉืœ ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ ื”ืžืชืงืฉืจ + ื”ืžืชืงืฉืจ ื—ื•ืจื’ ืžื–ื”
threshold (ื‘ืงื“ืžื”), ื”ืคื•ื ืงืฆื™ื” ื™ื›ื•ืœื” ืœื”ื™ื•ืช ืžื•ื˜ื‘ืขืช ืœืœื ืงืฉืจ ืœื”ื’ื‘ืœื” ืขืœ
--param max-inline-insns-ืกื™ื ื’ืœ ื• --param max-inline-insns-auto.

ืคื•ื ืงืฆื™ื•ืช ื’ื“ื•ืœื•ืช
ื”ื’ื‘ื•ืœ ื”ืžืฆื™ื™ืŸ ืคื•ื ืงืฆื™ื•ืช ื’ื“ื•ืœื•ืช ื‘ืืžืช. ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ื’ื“ื•ืœื•ืช ืžื”ืžื’ื‘ืœื” ื”ื–ื•
ืœืื—ืจ ื”ื”ื˜ื‘ืขื”, ื”ื”ื˜ื‘ืขื” ืžื•ื’ื‘ืœืช ืขืœ ื™ื“ื™ --param ื’ื“ื•ืœ-ืคื•ื ืงืฆื™ื”-ืฆืžื™ื—ื”. ื–ึถื”
ื”ืคืจืžื˜ืจ ืฉื™ืžื•ืฉื™ ื‘ืขื™ืงืจ ื›ื“ื™ ืœืžื ื•ืข ื–ืžืŸ ืงื•ืžืคื™ืœืฆื™ื” ืงื™ืฆื•ื ื™ ืฉื ื’ืจื ืขืœ ื™ื“ื™ ืื™-
ืืœื’ื•ืจื™ืชืžื™ื ืœื™ื ื™ืืจื™ื™ื ื”ืžืฉืžืฉื™ื ืืช ื”ืงืฆื” ื”ืื—ื•ืจื™. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 2700.

ื’ื“ื•ืœ-ืคื•ื ืงืฆื™ื”-ืฆืžื™ื—ื”
ืžืฆื™ื™ืŸ ืืช ื”ืฆืžื™ื—ื” ื”ืžืงืกื™ืžืœื™ืช ืฉืœ ืคื•ื ืงืฆื™ื” ื’ื“ื•ืœื” ื”ื ื’ืจืžืช ืขืœ ื™ื“ื™ ืฉื™ืœื•ื‘ ื‘ืื—ื•ื–ื™ื. ื”
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 100 ืžื” ืฉืžื’ื‘ื™ืœ ืืช ืฆืžื™ื—ืช ื”ืคื•ื ืงืฆื™ื•ืช ื”ื’ื“ื•ืœื•ืช ืœืคื™ 2.0 ืžื”ืžืงื•ืจ
ื’ื•ื“ืœ.

ื™ื—ื™ื“ื•ืช ื’ื“ื•ืœื•ืช
ื”ืžื’ื‘ืœื” ื”ืžืฆื™ื™ื ืช ื™ื—ื™ื“ืช ืชืจื’ื•ื ื’ื“ื•ืœื”. ืฆืžื™ื—ื” ื”ื ื’ืจืžืช ืžืฉื™ืœื•ื‘ ืฉืœ ื™ื—ื™ื“ื•ืช
ื’ื“ื•ืœ ืžื”ื’ื‘ื•ืœ ื”ื–ื” ืžื•ื’ื‘ืœ ืขืœ ื™ื“ื™ --param ื’ื™ื“ื•ืœ ื™ื—ื™ื“ื” ืžื•ื˜ื‘ืข. ืœื™ื—ื™ื“ื•ืช ืงื˜ื ื•ืช
ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ืฆืžื•ื“ ืžื“ื™. ืœื“ื•ื’ืžื”, ืฉืงื•ืœ ื™ื—ื™ื“ื” ื”ืžื•ืจื›ื‘ืช ืžืคื•ื ืงืฆื™ื” A
ื–ื” ืžื•ื˜ื‘ืข ื•-B ืฉืจืง ืงื•ืจื ืœ-A ืฉืœื•ืฉ ืคืขืžื™ื. ืื B ืงื˜ืŸ ื‘ื™ื—ืก ืœ-A,
ื”ื’ื™ื“ื•ืœ ื‘ื™ื—ื™ื“ื” ื”ื•ื 300\% ื•ื‘ื›ืœ ื–ืืช ืฉื™ื‘ื•ืฅ ื›ื–ื” ืฉืคื•ื™ ืžืื•ื“. ืœื’ื“ื•ืœื™ื ืžืื•ื“
ื™ื—ื™ื“ื•ืช ื”ืžื•ืจื›ื‘ื•ืช ืžืคื•ื ืงืฆื™ื•ืช ืงื˜ื ื•ืช ืฉืื™ื ืŸ ื ื™ืชื ื•ืช ืœืฉื•ืจื”, ืœืขื•ืžืช ื–ืืช, ื”ืฆืžื™ื—ื” ื”ื›ื•ืœืœืช ืฉืœ ื”ื™ื—ื™ื“ื”
ื™ืฉ ืฆื•ืจืš ื‘-limit ื›ื“ื™ ืœืžื ื•ืข ื”ืชืคื•ืฆืฆื•ืช ืืงืกืคื•ื ื ืฆื™ืืœื™ืช ืฉืœ ื’ื•ื“ืœ ื”ืงื•ื“. ื›ืš ืœืงื˜ื ื™ื ื™ื•ืชืจ
ื™ื—ื™ื“ื•ืช, ื”ื’ื•ื“ืœ ื’ื“ืœ ืœ --param ื™ื—ื™ื“ื•ืช ื’ื“ื•ืœื•ืช ืœืคื ื™ ื”ื—ืœืช --param
ื’ื™ื“ื•ืœ ื™ื—ื™ื“ื” ืžื•ื˜ื‘ืข. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 10000.

ื’ื™ื“ื•ืœ ื™ื—ื™ื“ื” ืžื•ื˜ื‘ืข
ืžืฆื™ื™ืŸ ืืช ื”ืฆืžื™ื—ื” ื”ื›ื•ืœืœืช ื”ืžืงืกื™ืžืœื™ืช ืฉืœ ื™ื—ื™ื“ืช ื”ืงื•ืžืคื™ืœืฆื™ื” ื”ื ื’ืจืžืช ืขืœ ื™ื“ื™ inlining. ื”
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 30 ืžื” ืฉืžื’ื‘ื™ืœ ืืช ืฆืžื™ื—ืช ื”ื™ื—ื™ื“ื” ืœืคื™ 1.3 ืžื”ื’ื•ื“ืœ ื”ืžืงื•ืจื™.

ipcp-unit-growth
ืžืฆื™ื™ืŸ ืืช ื”ืฆืžื™ื—ื” ื”ื›ื•ืœืœืช ื”ืžืงืกื™ืžืœื™ืช ืฉืœ ื™ื—ื™ื“ืช ื”ื”ื™ื“ื•ืจ ื”ื ื’ืจืžืช ืขืœ ื™ื“ื™ ืชื”ืœื™ื›ื™ื ื‘ื™ืŸ-ืคืจื•ืฆื“ื•ืจืœื™ื™ื
ื”ืชืคืฉื˜ื•ืช ืžืชืžื“ืช. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 10 ื”ืžื’ื‘ื™ืœ ืืช ืฆืžื™ื—ืช ื”ื™ื—ื™ื“ื” ืœ-1.1
ืคืขืžื™ื ืžื”ื’ื•ื“ืœ ื”ืžืงื•ืจื™.

ืžืกื’ืจืช-ืžื—ืกื ื™ืช ื’ื“ื•ืœื”
ื”ืžื’ื‘ืœื” ื”ืžืฆื™ื™ื ืช ืžืกื’ืจื•ืช ืžื—ืกื ื™ื•ืช ื’ื“ื•ืœื•ืช. ืชื•ืš ื›ื“ื™ ื”ื˜ื‘ืขืช ื”ืืœื’ื•ืจื™ืชื ืžื ืกื”
ื›ื“ื™ ืœื ืœืขื‘ื•ืจ ืืช ื”ื’ื‘ื•ืœ ื”ื–ื” ื™ื•ืชืจ ืžื“ื™. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 256 ื‘ืชื™ื.

ื’ื“ื•ืœ-ืžื—ืกื ื™ืช-ืคืจื™ื™ื-ืฆืžื™ื—ื”
ืžืฆื™ื™ืŸ ืืช ื”ืฆืžื™ื—ื” ื”ืžืงืกื™ืžืœื™ืช ืฉืœ ืžืกื’ืจื•ืช ืžื—ืกื ื™ื•ืช ื’ื“ื•ืœื•ืช ื”ื ื’ืจืžืช ืขืœ ื™ื“ื™ ื”ื˜ื‘ืขื” ื‘ืื—ื•ื–ื™ื.
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 1000 ืฉืžื’ื‘ื™ืœ ืืช ืฆืžื™ื—ืช ื”ืคืจื™ื™ืžื™ื ืฉืœ ืขืจื™ืžื” ื’ื“ื•ืœื” ืœืคื™ 11
ื’ื•ื“ืœ ืžืงื•ืจื™.

max-inline-insns-ืจืงื•ืจืกื™ื‘ื™
ืžืงืกื™ืžื•ื-ืงื•-ืงื•-ืื™ื ืก-ืจืงื•ืจืกื‘ื™-ืื•ื˜ื•
ืžืฆื™ื™ืŸ ืืช ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื•ืจืื•ืช ืขื•ืชืง ืœื ืžืงื•ื•ืŸ ืฉืœ ืงื•ื‘ืฅ ืขืฆืžื™
ืคื•ื ืงืฆื™ื” ืจืงื•ืจืกื™ื‘ื™ืช ืžื•ื˜ื‘ืขืช ื™ื›ื•ืœื” ืœืฆืžื•ื— ืœืชื•ืš ืขืœ ื™ื“ื™ ื‘ื™ืฆื•ืข ืžืฉื•ืœื‘ ืจืงื•ืจืกื™ื‘ื™.

ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืฉื”ื•ื›ืจื–ื• ื‘ืชื•ืš ืฉื•ืจื”, --param max-inline-insns-ืจืงื•ืจืกื™ื‘ื™ ื ืœืงื— ืœืชื•ื›ื•
ื—ึถืฉืึฐื‘ึผื•ึนืŸ. ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืฉืœื ื”ื•ื›ืจื–ื• ื‘ืฉื•ืจื”, ื”ื˜ื‘ืขื” ืจืงื•ืจืกื™ื‘ื™ืช ืžืชืจื—ืฉืช ืจืง ื›ืืฉืจ
-finline-ืคื•ื ืงืฆื™ื•ืช (ื›ืœื•ืœ ื‘ -O3) ืžื•ืคืขืœ ื• --param max-inline-insns-
ืจืงื•ืจืกื™ื‘ื™-ืื•ื˜ื•ืžื˜ื™ ืžืฉืžืฉ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 450.

ืžืงืกื™ืžื•ื-inline-ืจืงื•ืจืกื™ื‘ื™-ืขื•ืžืง
max-inline-recursive-depth-auto
ืžืฆื™ื™ืŸ ืืช ืขื•ืžืง ื”ืจืงื•ืจืกื™ื” ื”ืžืงืกื™ืžืœื™ ื”ืžืฉืžืฉ ืœื”ื˜ืžืขื” ืจืงื•ืจืกื™ื‘ื™ืช.

ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืฉื”ื•ื›ืจื–ื• ื‘ืชื•ืš ืฉื•ืจื”, --param ืžืงืกื™ืžื•ื-inline-ืจืงื•ืจืกื™ื‘ื™-ืขื•ืžืง ื ืœืงื— ืœืชื•ื›ื•
ื—ึถืฉืึฐื‘ึผื•ึนืŸ. ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืฉืœื ื”ื•ื›ืจื–ื• ื‘ืฉื•ืจื”, ื”ื˜ื‘ืขื” ืจืงื•ืจืกื™ื‘ื™ืช ืžืชืจื—ืฉืช ืจืง ื›ืืฉืจ
-finline-ืคื•ื ืงืฆื™ื•ืช (ื›ืœื•ืœ ื‘ -O3) ืžื•ืคืขืœ ื• --param max-inline-recursive-
ืขื•ืžืง ืื•ื˜ื•ืžื˜ื™ ืžืฉืžืฉ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 8.

min-inline-recursive-probability
ื”ื˜ื‘ืขื” ืจืงื•ืจืกื™ื‘ื™ืช ืจื•ื•ื—ื™ืช ืจืง ืœืชืคืงื•ื“ ืฉื™ืฉ ืœื• ืจืงื•ืจืกื™ื” ืขืžื•ืงื”
ืžืžื•ืฆืข ื•ื™ื›ื•ืœ ืœืคื’ื•ืข ื‘ืชืคืงื•ื“ ื‘ืขืœ ืขื•ืžืง ืจืงื•ืจืกื™ื” ืงื˜ืŸ ืขืœ ื™ื“ื™ ื”ื’ื“ืœืช ื”-
ื’ื•ื“ืœ ืคืจื•ืœื•ื’ ืื• ืžื•ืจื›ื‘ื•ืช ืฉืœ ื’ื•ืฃ ื”ืคื•ื ืงืฆื™ื” ืœืžื™ื™ืขืœ ืื—ืจื™ื.

ื›ืืฉืจ ืžืฉื•ื‘ ืคืจื•ืคื™ืœ ื–ืžื™ืŸ (ืจืื” -fprofile-generate) ื”ืจืงื•ืจืกื™ื” ื‘ืคื•ืขืœ
ื ื™ืชืŸ ืœื ื—ืฉ ืขื•ืžืง ืžืชื•ืš ื”ืกืชื‘ืจื•ืช ืฉื”ืคื•ื ืงืฆื™ื” ื—ื•ื–ืจืช ืขืœ ืขืฆืžื” ื‘ืืžืฆืขื•ืช ืงืจื™ืื” ื ืชื•ื ื”
ื‘ื™ื˜ื•ื™. ืคืจืžื˜ืจ ื–ื” ืžื’ื‘ื™ืœ ืืช ื”-inlining ืจืง ืœื‘ื™ื˜ื•ื™ื™ ืงืจื™ืื” ืฉืœื”ื
ื”ื”ืกืชื‘ืจื•ืช ื—ื•ืจื’ืช ืžื”ืกืฃ ื”ื ืชื•ืŸ (ื‘ืื—ื•ื–ื™ื). ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 10.

ืžื•ืงื“ื-inlining-ins
ืฆื™ื™ืŸ ืฆืžื™ื—ื” ืฉื”-inliner ื”ืžื•ืงื“ื ื™ื›ื•ืœ ืœืขืฉื•ืช. ืœืžืขืฉื” ื–ื” ืžื’ื“ื™ืœ ืืช ื”ื›ืžื•ืช
ืฉืœ ื”ื˜ื‘ืขื” ืœืงื•ื“ ืขื ืขื•ื ืฉ ื”ืคืฉื˜ื” ื’ื“ื•ืœ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 10.

max-early-inliner-iterations
max-early-inliner-iterations
ืžื’ื‘ืœืช ืื™ื˜ืจืฆื™ื•ืช ืฉืœ ื”-inliner ื”ืžื•ืงื“ื. ื–ื” ื‘ืขืฆื ืžื’ื‘ื™ืœ ืืช ื”ืžืกืคืจ ืฉืœ
ืงืจื™ืื•ืช ืขืงื™ืคื•ืช ืžืงื•ื ื ื•ืช ืฉื”-inliner ื”ืžื•ืงื“ื ื™ื›ื•ืœ ืœืคืชื•ืจ. ืฉืจืฉืจืื•ืช ืขืžื•ืงื•ืช ื™ื•ืชืจ ืขื“ื™ื™ืŸ
ืžื˜ื•ืคืœ ืขืœ ื™ื“ื™ ื”ื˜ืžืขื” ืžืื•ื—ืจืช.

comdat-ืฉื™ืชื•ืฃ-ื”ืกืชื‘ืจื•ืช
comdat-ืฉื™ืชื•ืฃ-ื”ืกืชื‘ืจื•ืช
ื”ื”ืกืชื‘ืจื•ืช (ื‘ืื—ื•ื–ื™ื) ืฉืคื•ื ืงืฆื™ื™ืช C++ ืžื•ื˜ื‘ืขืช ืขื ื ืจืื•ืช comdat ื”ื™ื
ืžืฉื•ืชืฃ ืขืœ ืคื ื™ ืžืกืคืจ ื™ื—ื™ื“ื•ืช ืื•ืกืฃ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 20.

min-vect-loop-bound
ื”ืžืกืคืจ ื”ืžื™ื ื™ืžืœื™ ืฉืœ ืื™ื˜ืจืฆื™ื•ืช ืฉืžืชื—ืชืŸ ืœื•ืœืื•ืช ืื™ื ืŸ ืžืงื•ื‘ืœื•ืช
-ftree-vectorize ืžืฉืžืฉ. ืžืกืคืจ ื”ืื™ื˜ืจืฆื™ื•ืช ืœืื—ืจ ื”ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ืฆืจื™ืš
ืœื”ื™ื•ืช ื’ื“ื•ืœ ืžื”ืขืจืš ืฉืฆื•ื™ืŸ ืขืœ ื™ื“ื™ ืืคืฉืจื•ืช ื–ื• ื›ื“ื™ ืœืืคืฉืจ ื•ืงื˜ื•ืจื™ื–ืฆื™ื”. ื”
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 0.

gcse-cost-distance-ratio
ื’ื•ืจื ืงื ื” ืžื™ื“ื” ื‘ื—ื™ืฉื•ื‘ ื”ืžืจื—ืง ื”ืžืจื‘ื™ ืฉื ื™ืชืŸ ืœื”ื–ื™ื– ื‘ื™ื˜ื•ื™ ืœืคื™ื•
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ GCSE. ื–ื” ื ืชืžืš ื›ืจื’ืข ืจืง ื‘ื›ืจื˜ื™ืก ื”ื”ื ืคื” ื‘ืงื•ื“.
ื›ื›ืœ ืฉื”ื™ื—ืก ื’ื“ื•ืœ ื™ื•ืชืจ, ื›ืš ื”ื ืคืช ืงื•ื“ ืื’ืจืกื™ื‘ื™ืช ื™ื•ืชืจ ืขื ืคืฉื•ื˜ื”
ื‘ื™ื˜ื•ื™ื™ื, ื›ืœื•ืžืจ, ื”ื‘ื™ื˜ื•ื™ื™ื ืฉืขืœื• ืคื—ื•ืช ืž gcse-unrestricted-
ืขืœื•ืช. ืฆื™ื•ืŸ 0 ืžืฉื‘ื™ืช ืืช ื”ื”ื ืคื” ืฉืœ ื‘ื™ื˜ื•ื™ื™ื ืคืฉื•ื˜ื™ื. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื
10.

gcse-unrestricted-cost
ืขืœื•ืช, ื ืžื“ื“ืช ื‘ืื•ืคืŸ ื’ืก ื›ืขืœื•ืช ืฉืœ ื”ื•ืจืืช ืžื›ื•ื ื” ื˜ื™ืคื•ืกื™ืช ื™ื—ื™ื“ื”, ื‘
ืื™ืœื• ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ GCSE ืœื ืžื’ื‘ื™ืœื•ืช ืืช ื”ืžืจื—ืง ืฉื‘ื™ื˜ื•ื™ ื™ื›ื•ืœ ืœืขื‘ื•ืจ.
ื–ื” ื ืชืžืš ื›ืจื’ืข ืจืง ื‘ื›ืจื˜ื™ืก ื”ื”ื ืคื” ื‘ืงื•ื“. ื›ื›ืœ ืฉื”ืขืœื•ืช ื ืžื•ื›ื” ื™ื•ืชืจ,
ื”ืจืžืช ืงื•ื“ ืื’ืจืกื™ื‘ื™ืช ื™ื•ืชืจ. ืฆื™ื•ืŸ 0 ืžืืคืฉืจ ืœื›ืœ ื”ื‘ื™ื˜ื•ื™ื™ื ืœืขืฉื•ืช ื–ืืช
ืœื ืกื•ืข ืžืจื—ืงื™ื ื‘ืœืชื™ ืžื•ื’ื‘ืœื™ื. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 3.

ืžืงืกื™ืžื•ื-ื”ืจืžื”-ืขื•ืžืง
ืขื•ืžืง ื”ื—ื™ืคื•ืฉ ื‘ืขืฅ ื”ืฉื•ืœื˜ ืื—ืจ ื‘ื™ื˜ื•ื™ื™ื ืœื”ื ืคื”. ื–ื” ืžืฉืžืฉ
ื›ื“ื™ ืœื”ื™ืžื ืข ืžื”ืชื ื”ื’ื•ืช ืจื™ื‘ื•ืขื™ืช ื‘ืืœื’ื•ืจื™ืชื ื”ื”ืจืžื”. ื”ืขืจืš ืฉืœ 0 ืื™ื ื• ืžื’ื‘ื™ืœ
ื‘ื—ื™ืคื•ืฉ, ืืš ืขืฉื•ื™ ืœื”ืื˜ ืืช ื”ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืคื•ื ืงืฆื™ื•ืช ืขื ืง. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื”ื•ื 30.

ืžืงืกื™ืžื•ื-ื–ื ื‘-ืžื™ื–ื•ื’-ื”ืฉื•ื•ืื•ืช
ื”ื›ืžื•ืช ื”ืžืงืกื™ืžืœื™ืช ืฉืœ bbs ื“ื•ืžื™ื ืœื”ืฉื•ื•ืื” ืขื bb. ื–ื” ืžืฉืžืฉ ื›ื“ื™ ืœื”ื™ืžื ืข
ื”ืชื ื”ื’ื•ืช ืจื™ื‘ื•ืขื™ืช ื‘ืžื™ื–ื•ื’ ื–ื ื‘ ืขืฆื™ื. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 10.

ืžืงืกื™ืžื•ื-ื–ื ื‘-ืžื™ื–ื•ื’-ืื™ื˜ืจืฆื™ื•ืช
ื”ื›ืžื•ืช ื”ืžืงืกื™ืžืœื™ืช ืฉืœ ืื™ื˜ืจืฆื™ื•ืช ืฉืœ ืžืขื‘ืจ ืขืœ ื”ืคื•ื ืงืฆื™ื”. ื–ื” ืจื’ื™ืœ
ื”ื’ื‘ืœืช ื–ืžืŸ ื”ื™ื“ื•ืจ ื‘ืžื™ื–ื•ื’ ื–ื ื‘ ืขืฅ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 2.

max-unrolled-insns
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื•ืจืื•ืช ืฉื™ื™ืชื›ืŸ ืฉื™ื”ื™ื” ืฆื•ืจืš ืœืคืจื•ืก ืœื•ืœืื”. ืื ืœื•ืœืื”
ืžืชื’ืœื’ืœ, ืคืจืžื˜ืจ ื–ื” ืงื•ื‘ืข ื’ื ื›ืžื” ืคืขืžื™ื ื”ื•ื ืงื•ื“ ื”ืœื•ืœืื”
ื ืคืจืฉ.

max-average-unrolled-insns
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื•ืจืื•ืช ืžื•ื˜ื•ืช ืขืœ ื™ื“ื™ ื”ืกืชื‘ืจื•ื™ื•ืช ืœื‘ื™ืฆื•ืขืŸ ื›ื™
ื™ื™ืชื›ืŸ ืฉื™ื”ื™ื” ืฆื•ืจืš ืœืคืชื•ื— ืœื•ืœืื”. ืื ืžืชื’ืœื’ืœืช ืœื•ืœืื”, ืคืจืžื˜ืจ ื–ื” ื’ื
ืงื•ื‘ืข ื›ืžื” ืคืขืžื™ื ืงื•ื“ ื”ืœื•ืœืื” ื™ื™ืคืชื—.

ืžืงืกื™ืžื•ื ื–ืžื ื™ ืคืชื™ื—ื”
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืคืชื™ื—ืช ืœื•ืœืื” ื‘ื•ื“ื“ืช.

max-peeled-ins
ื”ืžืกืคืจ ื”ืžืงืกื™ืžืœื™ ืฉืœ ื”ื•ืจืื•ืช ืฉื™ื™ืชื›ืŸ ืฉื™ื”ื™ื” ืฆื•ืจืš ืœืงืœืฃ ืœื•ืœืื”. ืื ืœื•ืœืื”
ืžืงื•ืœืฃ, ืคืจืžื˜ืจ ื–ื” ืงื•ื‘ืข ื’ื ื›ืžื” ืคืขืžื™ื ืงื•ื“ ื”ืœื•ืœืื” ืžืงื•ืœืฃ.

ืžืงืกื™ืžื•ื-ืงืœื™ืคื”-ื–ืžื ื™
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืงื™ืœื•ืคื™ื ืฉืœ ืœื•ืœืื” ื‘ื•ื“ื“ืช.

ืžืงืกื™ืžื•ื-ืคื™ืœ-ืขื ืคื™ื
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืขื ืคื™ื ืขืœ ื”ืฉื‘ื™ืœ ื”ื—ื ื“ืจืš ื”ืจืฆืฃ ื”ืžืงื•ืœืฃ.

ืžืงืกื™ืžื•ื-ืžืงื•ืœืคื™ื-ืœื’ืžืจื™-insns
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืื™ื ืกื ืก ืฉืœ ืœื•ืœืื” ืžืงื•ืœืฃ ืœื—ืœื•ื˜ื™ืŸ.

ืžืงืกื™ืžื•ื-ื–ืžื ื™-ืงืœื™ืคื”-ืœื’ืžืจื™
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืื™ื˜ืจืฆื™ื•ืช ืฉืœ ืœื•ืœืื” ืฉื™ืชืื™ื ืœืงื™ืœื•ืฃ ืžืœื.

ืžืงืกื™ืžื•ื-ืœื’ืžืจื™-ืงืœื•ืฃ-ืœื•ืœืื”-ืขื•ืžืง-ืงืŸ
ื”ืขื•ืžืง ื”ืžืจื‘ื™ ืฉืœ ืงืŸ ืœื•ืœืื” ื”ืžืชืื™ื ืœืงื™ืœื•ืฃ ืžืœื.

max-unswitch-insns
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืื™ื ืกื ืก ืฉืœ ืœื•ืœืื” ืœื ืžืฉืชื ื”.

ืจืžื” ืžืงืกื™ืžืœื™ืช ืฉืœ ื‘ื™ื˜ื•ืœ ืžืชื’
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืกื ื™ืคื™ื ืœืœื ืžื™ืชื•ื’ ื‘ืœื•ืœืื” ืื—ืช.

ืœื ื™ืงืจ
ื”ืขืœื•ืช ื”ืžื™ื ื™ืžืœื™ืช ืฉืœ ื‘ื™ื˜ื•ื™ ื™ืงืจ ื‘ืชื ื•ืขื” ื‘ืœืชื™ ืžืฉืชื ื” ืฉืœ ื”ืœื•ืœืื”.

iv-ืฉืงื•ืœ-ื›ืœ-ืžื•ืขืžื“ื™ื-ื›ื‘ื•ืœื™ื
ืงืฉื•ืจ ืœืžืกืคืจ ืžื•ืขืžื“ื™ื ืœืžืฉืชื ื™ ืื™ื ื“ื•ืงืฆื™ื”, ืžืชื—ืชื™ื”ื ื›ืœ ื”ืžื•ืขืžื“ื™ื
ื ื—ืฉื‘ื™ื ืขื‘ื•ืจ ื›ืœ ืฉื™ืžื•ืฉ ื‘ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืžืฉืชื ื™ ืื™ื ื“ื•ืงืฆื™ื”. ืื ื™ืฉ
ื™ื•ืชืจ ืžื•ืขืžื“ื™ื ืžื–ื”, ืจืง ื”ืจืœื•ื•ื ื˜ื™ื™ื ื‘ื™ื•ืชืจ ื ื—ืฉื‘ื™ื ืœื”ื™ืžื ืขื•ืช
ืžื•ืจื›ื‘ื•ืช ื–ืžืŸ ืจื™ื‘ื•ืขื™ืช.

iv-max-considered-uses
ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ืžืฉืชื ื™ ื”ืื™ื ื“ื•ืงืฆื™ื” ืžื•ื•ืชืจื•ืช ืขืœ ืœื•ืœืื•ืช ื”ืžื›ื™ืœื•ืช ื™ื•ืชืจ ืื™ื ื“ื•ืงืฆื™ื”
ืฉื™ืžื•ืฉื™ื ืžืฉืชื ื™ื.

iv-ืชืžื™ื“-ื’ื–ื-ืงื ื“-ืกื˜-ืงืฉื•ืจ
ืื ืžืกืคืจ ื”ืžื•ืขืžื“ื™ื ื‘ืงื‘ื•ืฆื” ืงื˜ืŸ ืžื”ืขืจืš ื”ื–ื”, ื ืกื” ืชืžื™ื“
ื”ืกืจ ivs ืžื™ื•ืชืจื™ื ืžื”ืกื˜ ื‘ืขืช ื”ื•ืกืคืช ืื—ื“ ื—ื“ืฉ.

scev-max-expr-size
ืงืฉื•ืจ ืœื’ื•ื“ืœ ื”ื‘ื™ื˜ื•ื™ื™ื ื”ืžืฉืžืฉื™ื ื‘ื ืชื— ื”ืื‘ื•ืœื•ืฆื™ื•ืช ื”ืกืงืœืจื™ื•ืช. ื’ึธื“ื•ึนืœ
ื‘ื™ื˜ื•ื™ื™ื ืžืื˜ื™ื ืืช ื”ื ืชื—.

SCEV-MAX-EXPR-COMPLEXITY
ืงืฉื•ืจ ืœืžื•ืจื›ื‘ื•ืช ื”ื‘ื™ื˜ื•ื™ื™ื ื‘ืžื ืชื— ื”ืื‘ื•ืœื•ืฆื™ื•ืช ื”ืกืงืœืจื™ื•ืช.
ื‘ื™ื˜ื•ื™ื™ื ืžื•ืจื›ื‘ื™ื ืžืื˜ื™ื ืืช ื”ื ืชื—.

ืื•ืžื’ื”-ืžืงืก-ื•ื•ืืจืก
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืžืฉืชื ื™ื ื‘ืžืขืจื›ืช ืื™ืœื•ืฆื™ ืื•ืžื’ื”. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื”ื•ื 128.

ืื•ืžื’ื”-max-geqs
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืื™-ืฉื•ื•ื™ื•ืŸ ื‘ืžืขืจื›ืช ืื™ืœื•ืฆื™ ืื•ืžื’ื”. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื”ืขืจืš ื”ื•ื 256.

ืื•ืžื’ื”-ืžืงืก-eqs
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืฉื•ื•ื™ื•ืŸ ื‘ืžืขืจื›ืช ืื™ืœื•ืฆื™ ืื•ืžื’ื”. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื”ื•ื 128.

ืื•ืžื’ื”-ืžืงืก-ื›ืจื˜ื™ืกื™ ืคืจื
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืžืฉืชื ื™ ืชื•ื•ื™ื ื›ืœืœื™ื™ื ืฉืคื•ืชืจ ืื•ืžื’ื” ืžืกื•ื’ืœ ืœื”ื›ื ื™ืก.
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 18.

ืื•ืžื’ื”-hash-table-size
ื’ื•ื“ืœ ื˜ื‘ืœืช ื”ื’ื™ื‘ื•ื‘ ื‘ืคื•ืชืจ ืื•ืžื’ื”. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 550.

ืžืคืชื—ื•ืช ืื•ืžื’ื”-ืžืงืก
ื”ืžืกืคืจ ื”ืžืงืกื™ืžืœื™ ืฉืœ ืžืคืชื—ื•ืช ื‘ืฉื™ืžื•ืฉ ืคื•ืชืจ ืื•ืžื’ื”. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 500.

ืื•ืžื’ื”-ืœื—ืกืœ-ืื™ืœื•ืฆื™ื-ืžื™ื•ืชืจื™ื
ื›ืืฉืจ ืžื•ื’ื“ืจ ืœ-1, ื”ืฉืชืžืฉ ื‘ืฉื™ื˜ื•ืช ื™ืงืจื•ืช ื›ื“ื™ ืœื‘ื˜ืœ ืืช ื›ืœ ื”ืื™ืœื•ืฆื™ื ื”ืžื™ื•ืชืจื™ื. ื”
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 0.

vect-max-version-for-alignment-checks
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื‘ื“ื™ืงื•ืช ื–ืžืŸ ืจื™ืฆื” ืฉื ื™ืชืŸ ืœื‘ืฆืข ื‘ืขืช ื‘ื™ืฆื•ืข ืœื•ืœืื”
ื ื™ื”ื•ืœ ื’ืจืกืื•ืช ืœื™ื™ืฉื•ืจ ื‘ื•ืงื˜ื•ืจื™ื™ื–ืจ.

vect-max-version-for-alias-checks
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื‘ื“ื™ืงื•ืช ื–ืžืŸ ืจื™ืฆื” ืฉื ื™ืชืŸ ืœื‘ืฆืข ื‘ืขืช ื‘ื™ืฆื•ืข ืœื•ืœืื”
ื’ืจืกืื•ืช ืขื‘ื•ืจ ื›ื™ื ื•ื™ ื‘-Vectorizer.

vect-max-peeling-for-alignment
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืงื™ืœื•ืคื™ ืœื•ืœืื•ืช ื›ื“ื™ ืœืฉืคืจ ืืช ื™ื™ืฉื•ืจ ื”ื’ื™ืฉื” ืœื•ืงื˜ื•ืจื™ื™ื–ืจ. ืขืจืš
-1 ืคื™ืจื•ืฉื• 'ืœืœื ื’ื‘ื•ืœ'.

ืžืงืกื™ืžื•ื ืื™ื˜ืจืฆื™ื•ืช ืœืžืขืงื‘
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืื™ื˜ืจืฆื™ื•ืช ืฉืœ ืœื•ืœืื”, ืืœื’ื•ืจื™ืชื ื”ื›ื•ื— ื”ื’ืก ืœื ื™ืชื•ื—
ืฉืœ ืžืกืคืจ ื”ืื™ื˜ืจืฆื™ื•ืช ืฉืœ ื”ืœื•ืœืื” ืžื ืกื” ืœื”ืขืจื™ืš.

hot-bb-count-ws-permille
ืกืคื™ืจืช ืคืจื•ืคื™ืœ ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ืช ื ื—ืฉื‘ืช ื—ืžื” ืื ื”ื™ื ืชื•ืจืžืช ืœื ืชื•ืŸ
ืคืจืžื™ืœื’' (ื›ืœื•ืžืจ 0...1000) ืฉืœ ื›ืœ ื”ื‘ื™ืฆื•ืข ื”ืฆื“ื•ื“ื™ืช.

hot-bb-frequency-fraction
ื‘ื—ืจ ื—ืœืง ืžืชื“ื™ืจื•ืช ื‘ืœื•ืง ื”ื›ื ื™ืกื” ืฉืœ ื‘ื™ืฆื•ืข ื‘ืœื•ืง ื‘ืกื™ืกื™
ืคื•ื ืงืฆื™ื” ื‘ื”ื™ื ืชืŸ ื‘ืœื•ืง ื‘ืกื™ืกื™ ืฆืจื™ืš ืœื”ื™ื—ืฉื‘ ื—ื.

ืžืงืกื™ืžื•ื-ื—ื–ื•ื™-ืื™ื˜ืจืฆื™ื•ืช
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืื™ื˜ืจืฆื™ื•ืช ืœื•ืœืื” ืฉืื ื• ื—ื•ื–ื™ื ื‘ืื•ืคืŸ ืกื˜ื˜ื™. ื–ื” ืฉื™ืžื•ืฉื™ ื‘
ืžืงืจื™ื ืฉื‘ื”ื ืคื•ื ืงืฆื™ื” ืžื›ื™ืœื” ืœื•ืœืื” ื‘ื•ื“ื“ืช ืขื ื›ืจื™ื›ื” ื™ื“ื•ืขื” ื•ืขื•ื“ ืœื•ืœืื”
ืขื ื›ืจื™ื›ื” ืœื ื™ื“ื•ืขื”. ื”ืžืกืคืจ ื”ื™ื“ื•ืข ืฉืœ ืื™ื˜ืจืฆื™ื•ืช ืฆืคื•ื™ ื›ื”ืœื›ื”, ื‘ืขื•ื“
ื”ืžืกืคืจ ื”ืœื ื™ื“ื•ืข ืฉืœ ืื™ื˜ืจืฆื™ื•ืช ืžืžื•ืฆืข ืœ-10 ื‘ืขืจืš. ื–ื” ืื•ืžืจ ืฉื”ืœื•ืœืื”
ืœืœื ื’ื‘ื•ืœื•ืช ื ืจืื” ืงืจ ื‘ืื•ืคืŸ ืžืœืื›ื•ืชื™ ื‘ื™ื—ืก ืœืฉื ื™.

ื™ื™ืฉื•ืจ-ืกืฃ
ื‘ื—ืจ ื—ืœืง ืžื”ืชื“ื™ืจื•ืช ื”ืžืงืกื™ืžืœื™ืช ืฉืœ ื‘ื™ืฆื•ืขื™ื ืฉืœ ื‘ืœื•ืง ื‘ืกื™ืกื™ ื‘-a
ืคื•ื ืงืฆื™ื” ืœื™ื™ืฉื•ืจ ื”ื‘ืœื•ืง ื”ื‘ืกื™ืกื™.

align-loop-iterations
ืœื•ืœืื” ืฉืฆืคื•ื™ื” ืœื—ื–ื•ืจ ืขืœ ืœืคื—ื•ืช ืืช ืžืกืคืจ ื”ืื™ื˜ืจืฆื™ื•ืช ืฉื ื‘ื—ืจ ืžื™ื•ืฉืจืช.

ื›ื™ืกื•ื™-ื“ื™ื ืžื™-ื ื•ืชื‘
tracer-dynamic-coverage-feedback
ืขืจืš ื–ื” ืžืฉืžืฉ ืœื”ื’ื‘ืœืช ื™ืฆื™ืจืช ืกื•ืคืจื‘ืœื•ืง ืœืื—ืจ ื”ืื—ื•ื– ื”ื ืชื•ืŸ ืฉืœ
ื”ื•ืจืื•ืช ืฉื‘ื•ืฆืขื• ืžื›ื•ืกื•ืช. ื–ื” ืžื’ื‘ื™ืœ ื”ืจื—ื‘ืช ื’ื•ื“ืœ ืงื•ื“ ืžื™ื•ืชืจืช.

ื”ืฉืžื™ื™ื tracer-dynamic-coverage-feedback ืžืฉืžืฉ ืจืง ื›ืืฉืจ ืžืฉื•ื‘ ืคืจื•ืคื™ืœ ื”ื•ื
ื–ืžื™ืŸ. ื”ืคืจื•ืคื™ืœื™ื ื”ืืžื™ืชื™ื™ื (ื‘ื ื™ื’ื•ื“ ืœืื•ืžื“ื ื™ื ืกื˜ื˜ื™ื™ื) ื”ื ืจื‘ื™ื
ืคื—ื•ืช ืžืื•ื–ืŸ ืžื” ืฉืžืืคืฉืจ ืœืกืฃ ืœื”ื™ื•ืช ืขืจืš ื’ื“ื•ืœ ื™ื•ืชืจ.

tracer-max-code-growth
ืขืฆื•ืจ ืืช ืฉื›ืคื•ืœ ื”ื–ื ื‘ ืœืื—ืจ ืฉื’ื™ื“ื•ืœ ื”ืงื•ื“ ื”ื’ื™ืข ืœืื—ื•ื– ื ืชื•ืŸ. ื–ื”
ื’ื‘ื•ืœ ืžืœืื›ื•ืชื™ ืœืžื“ื™, ืžื›ื™ื•ื•ืŸ ืฉืจื•ื‘ ื”ื›ืคื™ืœื•ื™ื•ืช ื ืžื—ืงื•ืช ืžืื•ื—ืจ ื™ื•ืชืจ ื‘ื”ืฆืœื‘ื”
ืงื•ืคืฅ, ื›ืš ืฉื”ื•ื ืขืฉื•ื™ ืœื”ื™ื•ืช ืžื•ื’ื“ืจ ืœืขืจื›ื™ื ื’ื‘ื•ื”ื™ื ื‘ื”ืจื‘ื” ืžื”ื’ื™ื“ื•ืœ ื”ืจืฆื•ื™ ื‘ืงื•ื“.

tracer-min-branch ratio
ืขืฆื•ืจ ืฆืžื™ื—ื” ื”ืคื•ื›ื” ื›ืืฉืจ ื”ื”ืกืชื‘ืจื•ืช ื”ื”ืคื•ื›ื” ืœืงืฆื” ื”ื˜ื•ื‘ ื‘ื™ื•ืชืจ ืงื˜ื ื” ืžื–ื”
ืกืฃ (ื‘ืื—ื•ื–ื™ื).

tracer-min-branch ratio
tracer-min-branch-ratio-feedback
ืขืฆื•ืจ ืืช ื”ืฆืžื™ื—ื” ืงื“ื™ืžื” ืื ืœืงืฆื” ื”ื˜ื•ื‘ ื‘ื™ื•ืชืจ ื™ืฉ ื”ืกืชื‘ืจื•ืช ื ืžื•ื›ื” ืžืกืฃ ื–ื”.

ื“ื•ืžื” ืœ ื›ื™ืกื•ื™-ื“ื™ื ืžื™-ื ื•ืชื‘ ืงื™ื™ืžื™ื ืฉื ื™ ืขืจื›ื™ื, ืื—ื“ ืœื”ื™ื“ื•ืจ
ืขื‘ื•ืจ ืžืฉื•ื‘ ืคืจื•ืคื™ืœ ื•ืื—ื“ ืขื‘ื•ืจ ื”ื™ื“ื•ืจ ืœืœื. ื”ืขืจืš ืขื‘ื•ืจ ืงื•ืžืคื™ืœืฆื™ื”
ืขื ืžืฉื•ื‘ ืคืจื•ืคื™ืœ ืฆืจื™ืš ืœื”ื™ื•ืช ืฉืžืจื ื™ ื™ื•ืชืจ (ื’ื‘ื•ื” ื™ื•ืชืจ) ื›ื“ื™ ืœื‘ืฆืข
ื ื•ืชื‘ ื™ืขื™ืœ.

ืžืงืกื™ืžื•ื-cse-ื ืชื™ื‘-ืื•ืจืš
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื—ืกื™ืžื•ืช ื‘ืกื™ืกื™ื•ืช ื‘ื ืชื™ื‘ ืฉ-CSE ืžื—ืฉื™ื‘. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 10.

max-cse-insns
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื•ืจืื•ืช ืฉ-CSE ืžืขื‘ื“ื•ืช ืœืคื ื™ ื”ืฉื˜ื™ืคื”. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
1000.

ggc-min-expand
GCC ืžืฉืชืžืฉืช ื‘ืื•ืกืฃ ืืฉืคื” ื›ื“ื™ ืœื ื”ืœ ืืช ื”ืงืฆืืช ื”ื–ื™ื›ืจื•ืŸ ืฉืœื”. ื”ืคืจืžื˜ืจ ื”ื–ื”
ืžืฆื™ื™ืŸ ืืช ื”ืื—ื•ื– ื”ืžื™ื ื™ืžืœื™ ืฉื‘ื• ืฆืจื™ืš ืœื”ื™ื•ืช ืขืจื™ืžืช ืืกืคืŸ ื”ืืฉืคื”
ืžื•ืชืจ ืœื”ืจื—ื™ื‘ ื‘ื™ืŸ ื”ืื•ืกืคื™ื. ื›ื•ื•ื ื•ืŸ ื–ื” ืขืฉื•ื™ ืœืฉืคืจ ืืช ืžื”ื™ืจื•ืช ื”ื”ื™ื“ื•ืจ;
ืื™ืŸ ืœื• ื”ืฉืคืขื” ืขืœ ื™ืฆื™ืจืช ืงื•ื“.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 30% + 70% * (RAM/1GB) ืขื ื’ื‘ื•ืœ ืขืœื™ื•ืŸ ืฉืœ 100% ื›ืืฉืจ RAM >= 1GB.
ืื "getrlimit" ื–ืžื™ืŸ, ื”ืžื•ืฉื’ "RAM" ื”ื•ื ื”ืงื˜ืŸ ื‘ื™ื•ืชืจ ืžื‘ื™ืŸ ื–ื™ื›ืจื•ืŸ RAM ื•
"RLIMIT_DATA" ืื• "RLIMIT_AS". ืื GCC ืื™ื ื• ืžืกื•ื’ืœ ืœื—ืฉื‘ ื–ื™ื›ืจื•ืŸ RAM ืขืœ ืžืกื•ื™ื™ื
ืคืœื˜ืคื•ืจืžื”, ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื’ื‘ื•ืœ ื”ืชื—ืชื•ืŸ ืฉืœ 30%. ื”ื’ื“ืจืช ืคืจืžื˜ืจ ื–ื” ื• ggc-min-
ื’ื•ื“ืœ ืขืจื™ืžื” ืœืืคืก ื’ื•ืจื ืœืื™ืกื•ืฃ ืžืœื ืœื”ืชืจื—ืฉ ื‘ื›ืœ ื”ื–ื“ืžื ื•ืช. ื–ื”
ืื™ื˜ื™ ืžืื•ื“, ืื‘ืœ ื™ื›ื•ืœ ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ ืœื ื™ืคื•ื™ ื‘ืื’ื™ื.

ggc-min-heapsize
ื’ื•ื“ืœ ืžื™ื ื™ืžืœื™ ืฉืœ ืขืจื™ืžืช ื”ืืฉืคื” ืœืคื ื™ ืฉื”ื•ื ืžืชื—ื™ืœ ืœื˜ืจื•ื— ืœืืกื•ืฃ
ืึทืฉืืคึผึธื”. ื”ืื™ืกื•ืฃ ื”ืจืืฉื•ืŸ ืžืชืจื—ืฉ ืœืื—ืจ ืฉื”ืขืจื™ืžื” ืžืชืจื—ื‘ืช ื‘ ggc-min-expand%
ืžืขื‘ืจ ggc-min-heapsize. ืฉื•ื‘, ื›ื•ื•ื ื•ืŸ ื–ื” ืขืฉื•ื™ ืœืฉืคืจ ืืช ืžื”ื™ืจื•ืช ื”ื”ื™ื“ื•ืจ, ื•ื›ืŸ
ืื™ืŸ ื”ืฉืคืขื” ืขืœ ื™ืฆื™ืจืช ืงื•ื“.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ื”ืงื˜ืŸ ืžื‘ื™ืŸ RAM/8, RLIMIT_RSS, ืื• ืžื’ื‘ืœื” ืฉืžื ืกื” ืœื”ื‘ื˜ื™ื—
ืฉืœื ื—ื•ืจื’ื™ื ืž-RLIMIT_DATA ืื• RLIMIT_AS, ืื‘ืœ ืขื ื’ื‘ื•ืœ ืชื—ืชื•ืŸ ืฉืœ 4096
(ืืจื‘ืขื” ืžื’ื”-ื‘ื™ื™ื˜) ื•ื’ื‘ื•ืœ ืขืœื™ื•ืŸ ืฉืœ 131072 (128 ืžื’ื”-ื‘ื™ื™ื˜). ืื GCC ืื™ื ื• ืžืกื•ื’ืœ
ื›ื“ื™ ืœื—ืฉื‘ ื–ื™ื›ืจื•ืŸ RAM ื‘ืคืœื˜ืคื•ืจืžื” ืžืกื•ื™ืžืช, ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื’ื‘ื•ืœ ื”ืชื—ืชื•ืŸ. ืžื’ื“ื™ืจ ืืช ื–ื”
ืคืจืžื˜ืจ ื’ื“ื•ืœ ืžืื•ื“ ืžืฉื‘ื™ืช ืœืžืขืฉื” ืืช ืื™ืกื•ืฃ ื”ืืฉืคื”. ืžื’ื“ื™ืจ ืืช ื–ื”
ืคืจืžื˜ืจ ื•- ggc-min-expand ืœืืคืก ื’ื•ืจื ืœืื™ืกื•ืฃ ืžืœื ืœื”ืชืจื—ืฉ ื‘ื›ืœ
ื”ื–ื“ืžื ื•ืช.

max-reload-search-insns
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื˜ืขื™ื ืช ื”ื•ืจืื•ืช ื—ื•ื–ืจืช ืฆืจื™ืš ืœื”ืกืชื›ืœ ืื—ื•ืจื” ืขื‘ื•ืจ ืฉื•ื•ื” ืขืจืš
ื”ื™ืจืฉื. ื”ื’ื“ืœืช ืขืจื›ื™ื ืคื™ืจื•ืฉื” ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืื’ืจืกื™ื‘ื™ืช ื™ื•ืชืจ, ืžื” ืฉื”ื•ืคืš ืืช
ื–ืžืŸ ื”ืงื•ืžืคื™ืœืฆื™ื” ื’ื“ืœ ืขื ื›ื ืจืื” ื‘ื™ืฆื•ืขื™ื ืžืขื˜ ื˜ื•ื‘ื™ื ื™ื•ืชืจ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื”ืขืจืš ื”ื•ื 100.

max-cselib-memory-locations
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืžื™ืงื•ืžื™ ื–ื™ื›ืจื•ืŸ ืฆืจื™ืš ืœืงื—ืช ื‘ื—ืฉื‘ื•ืŸ cselib.
ื”ื’ื“ืœืช ืขืจื›ื™ื ืคื™ืจื•ืฉื” ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืื’ืจืกื™ื‘ื™ืช ื™ื•ืชืจ, ืžื” ืฉื”ื•ืคืš ืืช ื–ืžืŸ ื”ื”ื™ื“ื•ืจ
ืœื”ื’ื“ื™ืœ ืขื ื›ื ืจืื” ื‘ื™ืฆื•ืขื™ื ืžืขื˜ ื˜ื•ื‘ื™ื ื™ื•ืชืจ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 500.

ืกื“ืจ ืžื—ื“ืฉ-ื‘ืœื•ืงื™ื-ื›ืคื™ืœ
ืกื“ืจ ืžื—ื“ืฉ-ื—ื•ืกื-ื›ืคื•ืœ-ืžืฉื•ื‘
ืžืฉืžืฉ ืืช ื”ืžืขื‘ืจ ื”ื‘ืกื™ืกื™ ืœืกื“ืจ ืžื—ื“ืฉ ื‘ืœื•ืง ื›ื“ื™ ืœื”ื—ืœื™ื˜ ืื ืœื”ืฉืชืžืฉ ืœืœื ืชื ืื™
ืœื”ืกื ื™ืฃ ืื• ืœืฉื›ืคืœ ืืช ื”ืงื•ื“ ื‘ื™ืขื“ ืฉืœื•. ื”ืงื•ื“ ืžืฉื•ื›ืคืœ ื›ืืฉืจ ื”ื•ื
ื”ื’ื•ื“ืœ ื”ืžืฉื•ืขืจ ืงื˜ืŸ ืžื”ืขืจืš ื”ื–ื” ื›ืคื•ืœ ื”ื’ื•ื“ืœ ื”ืžืฉื•ืขืจ ืฉืœ
ืงืคื™ืฆื” ืœืœื ืชื ืื™ ื‘ื ืงื•ื“ื•ืช ื”ื—ืžื•ืช ืฉืœ ื”ืชื•ื›ื ื™ืช.

ื”ืฉืžื™ื™ื ืกื“ืจ ืžื—ื“ืฉ-ื—ืกื•ื-ื›ืคื•ืœ-ืžืฉื•ื‘ ืžืฉืžืฉ ืจืง ื›ืืฉืจ ืžืฉื•ื‘ ืคืจื•ืคื™ืœ ื”ื•ื
ื–ืžื™ืŸ. ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ืžื•ื’ื“ืจ ืœืขืจื›ื™ื ื’ื‘ื•ื”ื™ื ื™ื•ืชืจ ืžืืฉืจ ืกื“ืจ ืžื—ื“ืฉ-ื—ืกื•ื-ื›ืคื™ืœ since
ื”ืžื™ื“ืข ืขืœ ื”ื ืงื•ื“ื•ืช ื”ื—ืžื•ืช ืžื“ื•ื™ืง ื™ื•ืชืจ.

ืžืงืกื™ืžื•ื-ืžื•ื›ื ื™ื-ืžื•ื›ื ื™ื
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื•ืจืื•ืช ืžื•ื›ื ื•ืช ืœื”ื ืคืงื” ืฆืจื™ืš ื”ืžืชื–ืžืŸ
ืœืฉืงื•ืœ ื‘ื›ืœ ื–ืžืŸ ื ืชื•ืŸ ื‘ืžื”ืœืš ื”ืžืขื‘ืจ ื”ืจืืฉื•ืŸ ืœืชื–ืžื•ืŸ. ื”ื’ื“ืœืช ืขืจื›ื™ื
ืžืชื›ื•ื•ืŸ ืœื—ื™ืคื•ืฉื™ื ื™ืกื•ื“ื™ื™ื ื™ื•ืชืจ, ืžื” ืฉื’ื•ืจื ืœื–ืžืŸ ื”ืงื•ืžืคื™ืœืฆื™ื” ืœื”ื’ื“ื™ืœ ืขื ื›ื ืจืื”
ืชื•ืขืœืช ืงื˜ื ื”. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 100.

max-sched-region-blocks
ื”ืžืกืคืจ ื”ืžืงืกื™ืžืœื™ ืฉืœ ื‘ืœื•ืงื™ื ื‘ืื–ื•ืจ ืฉื™ืฉ ืœืงื—ืช ื‘ื—ืฉื‘ื•ืŸ ืขื‘ื•ืจ interblock
ืชื–ืžื•ืŸ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 10.

ื—ืกื™ืžื•ืช ืžืงืกื™ืžื•ื-ืงืคื™ื™ืŸ-ืื–ื•ืจ
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื‘ืœื•ืงื™ื ื‘ืื–ื•ืจ ืฉื™ืฉ ืœืงื—ืช ื‘ื—ืฉื‘ื•ืŸ ืขื‘ื•ืจ ืฆื ืจืช ื‘
ืžืชื–ืžืŸ ืกืœืงื˜ื™ื‘ื™. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 15.

max-sched-region-insns
ื”ืžืกืคืจ ื”ืžืงืกื™ืžืœื™ ืฉืœ ืื™ื ืกื ืก ื‘ืื–ื•ืจ ืฉื™ืฉ ืœืงื—ืช ื‘ื—ืฉื‘ื•ืŸ ืขื‘ื•ืจ interblock
ืชื–ืžื•ืŸ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 100.

max-pipeline-region-insns
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืžื‘ื ื™ื ื‘ืื–ื•ืจ ืฉื™ืฉ ืœืงื—ืช ื‘ื—ืฉื‘ื•ืŸ ืขื‘ื•ืจ ืฆื ืจืช ื‘-
ืžืชื–ืžืŸ ืกืœืงื˜ื™ื‘ื™. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 200.

ืžื™ื ื™ืžื•ื-spec-prob
ื”ื”ืกืชื‘ืจื•ืช ื”ืžื™ื ื™ืžืœื™ืช (ื‘ืื—ื•ื–ื™ื) ืœื”ื’ื™ืข ืœื‘ืœื•ืง ืžืงื•ืจ ืขื‘ื•ืจ interblock
ืชื–ืžื•ืŸ ืกืคืงื•ืœื˜ื™ื‘ื™. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 40.

max-sched-extend-regions-iters
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืื™ื˜ืจืฆื™ื•ืช ื“ืจืš CFG ืœื”ืจื—ื‘ืช ืื–ื•ืจื™ื. ืขืจืš ืฉืœ 0 (ื”
ื‘ืจื™ืจืช ืžื—ื“ืœ) ืžืฉื‘ื™ืช ืชื•ืกืคื™ ืื–ื•ืจ.

max-sched-insn-conflict-delay
ืขื™ื›ื•ื‘ ื”ืกื›ืกื•ืš ื”ืžืงืกื™ืžืœื™ ืขื‘ื•ืจ ืื™ื ืกื ืก ืฉื™ื™ื—ืฉื‘ ืœืชื ื•ืขื” ืกืคืงื•ืœื˜ื™ื‘ื™ืช.
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 3.

sched-spec-prob-cutoff
ื”ื”ืกืชื‘ืจื•ืช ื”ืžื™ื ื™ืžืœื™ืช ืœื”ืฆืœื—ืช ืกืคืงื•ืœืฆื™ื•ืช (ื‘ืื—ื•ื–ื™ื), ื›ืš ืฉื”ืกืคืงื•ืœืฆื™ื•ืช
insns ืžืชื•ื›ื ื ื™ื. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 40.

sched-spec-state-edge-prob-cutoff
ื”ื”ืกืชื‘ืจื•ืช ื”ืžื™ื ื™ืžืœื™ืช ืฉืฆืจื™ื›ื” ืœื”ื™ื•ืช ืœืงืฆื” ื›ื“ื™ ืฉื”ืžืชื–ืžืŸ ื™ืฉืžื•ืจ ืืช ืžืฆื‘ื•
ืžืขื‘ืจ ืœื–ื”. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 10.

sched-mem-true-dep-cost
ืžืจื—ืง ืžื™ื ื™ืžืœื™ (ื‘ืžื—ื–ื•ืจื™ CPU) ื‘ื™ืŸ ื—ื ื•ืช ืœื˜ืขื™ื ื” ื”ืžื™ืงื•ื“ ืœืื•ืชื• ื–ื™ื›ืจื•ืŸ
ืžื™ืงื•ืžื™ื. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 1.

selsched-max-lookahead
ื”ื’ื•ื“ืœ ื”ืžืจื‘ื™ ืฉืœ ื—ืœื•ืŸ ื”ื”ืกืชื›ืœื•ืช ืฉืœ ืชื–ืžื•ืŸ ืกืœืงื˜ื™ื‘ื™. ื–ื” ืขื•ืžืง
ืฉืœ ื—ื™ืคื•ืฉ ืื—ืจ ื”ื•ืจืื•ืช ื–ืžื™ื ื•ืช. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 50.

selsched-max-sched-times
ืžืกืคืจ ื”ืคืขืžื™ื ื”ืžืจื‘ื™ ืฉืžืชื•ื–ืžื ืช ื”ื•ืจืื” ื‘ืžื”ืœืš ืกืœืงื˜ื™ื‘ื™
ืชื–ืžื•ืŸ. ื–ื•ื”ื™ ื”ืžื’ื‘ืœื” ืขืœ ืžืกืคืจ ื”ืื™ื˜ืจืฆื™ื•ืช ืฉื‘ืืžืฆืขื•ืชืŸ
ื”ื”ื•ืจืื” ืขืฉื•ื™ื” ืœื”ื™ื•ืช ืฆื ืจืช. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 2.

selsched-max-insns-to-rename
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื”ื•ืจืื•ืช ื”ื˜ื•ื‘ื•ืช ื‘ื™ื•ืชืจ ื‘ืจืฉื™ืžื” ื”ืžื•ื›ื ื•ืช ืฉื ื—ืฉื‘ื•ืช ืขื‘ื•ืจืŸ
ืฉื™ื ื•ื™ ืฉื ื‘ืžืชื–ืžืŸ ื”ืกืœืงื˜ื™ื‘ื™. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 2.

sms-min-sc
ื”ืขืจืš ื”ืžื™ื ื™ืžืœื™ ืฉืœ ืกืคื™ืจืช ื”ืฉืœื‘ื™ื ืฉืžืชื–ืžืŸ ื”-swing modulo ื™ื•ืฆืจ. ื”
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 2.

max-last-value-rtl
ื”ื’ื•ื“ืœ ื”ืžืจื‘ื™ ื ืžื“ื“ ื›ืžืกืคืจ RTLs ืฉื ื™ืชืŸ ืœื”ืงืœื™ื˜ ื‘ื‘ื™ื˜ื•ื™
ื‘ืฉื™ืœื•ื‘ ืขื‘ื•ืจ ืคืกืื•ื“ื• ืื•ื’ืจ ื‘ืชื•ืจ ื”ืขืจืš ื”ืื—ืจื•ืŸ ื”ื™ื“ื•ืข ืฉืœ ืื•ืชื• ืื•ื’ืจ. ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 10000.

ืžื’ื‘ืœืช ืฉื™ืชื•ืฃ ืฉืœื
ืงื‘ื•ืขื™ื ืฉืœืžื™ื ืงื˜ื ื™ื ื™ื›ื•ืœื™ื ืœื”ืฉืชืžืฉ ื‘ืžื‘ื ื” ื ืชื•ื ื™ื ืžืฉื•ืชืฃ, ืœื”ืคื—ื™ืช ืืช ื”ืงื•ืžืคื™ื™ืœืจ
ืฉื™ืžื•ืฉ ื‘ื–ื™ื›ืจื•ืŸ ื•ื”ื’ื‘ืจืช ืžื”ื™ืจื•ืชื•. ื–ื” ืžื’ื“ื™ืจ ืืช ื”ืขืจืš ื”ืžืจื‘ื™ ืฉืœ ืžืฉื•ืชืฃ
ืงื‘ื•ืข ืžืกืคืจ ืฉืœื. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 256.

ssp-buffer-size
ื”ื’ื•ื“ืœ ื”ืžื™ื ื™ืžืœื™ ืฉืœ ืžืื’ืจื™ื (ื›ืœื•ืžืจ ืžืขืจื›ื™ื) ืฉืžืงื‘ืœื™ื ื”ื’ื ืช ืžื—ืกื ื™ืช
ืžืชื™ -fstack-ื”ื’ื ื” ืžืฉืžืฉ.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื–ื• ืœืคื ื™ ืื•ื‘ื•ื ื˜ื• 10.10 ื”ื™ื™ืชื” "8". ื›ืจื’ืข ื–ื” "4", ื›ื“ื™ ืœื”ื’ื“ื™ืœ ืืช
ืžืกืคืจ ื”ืคื•ื ืงืฆื™ื•ืช ื”ืžื•ื’ื ื•ืช ืขืœ ื™ื“ื™ ืžื’ืŸ ื”ืขืจื™ืžื”.

max-jump-thread-dplication-stmts
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ืฆื”ืจื•ืช ื”ืžื•ืชืจ ื‘ื‘ืœื•ืง ืฉื™ืฉ ืœืฉื›ืคืœ ื›ืืฉืจ
ืงืคื™ืฆื•ืช ื”ืฉื—ืœื”.

max-fields-for-field-sensitive
ืžืกืคืจ ืžืจื‘ื™ ืฉืœ ืฉื“ื•ืช ื‘ืžื‘ื ื” ืฉื˜ื•ืคืœ ื‘ืื•ืคืŸ ืจื’ื™ืฉ ืœืฉื“ื” ื‘ืžื”ืœืš
ื ื™ืชื•ื— ืžืฆื‘ื™ืข. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืืคืก ืขื‘ื•ืจ -O0 ื• -O1, ื• 100 ืขื‘ื•ืจ -ืื•ืก, -O2, ื•
-O3.

ืื—ื–ื•ืจ ืžืจืืฉ
ื”ืขืจื›ื” ืฉืœ ืžืกืคืจ ื”ื”ื•ืจืื•ืช ื”ืžืžื•ืฆืข ืฉืžืชื‘ืฆืขื•ืช ืœืคื ื™ ื”ืฉืœื™ืคื” ืžืจืืฉ
ืžืกื™ื™ื. ื”ืžืจื—ืง ืฉื ืืกืฃ ืžืจืืฉ ื”ื•ื ืคืจื•ืคื•ืจืฆื™ื•ื ืœื™ ืœืงื‘ื•ืข ื–ื”.
ื”ื’ื“ืœืช ืžืกืคืจ ื–ื” ืขืฉื•ื™ื” ื’ื ืœื”ื•ื‘ื™ืœ ืœืฉืœื™ืคื” ืžืจืืฉ ืฉืœ ืคื—ื•ืช ื–ืจืžื™ื (ืจืื”
ืกื™ืžื•ืœื˜ื ื™-preetches).

ืกื™ืžื•ืœื˜ื ื™-preetches
ืžืกืคืจ ืžืงืกื™ืžืœื™ ืฉืœ ืฉืœื™ืคื•ืช ืžื•ืงื“ืžื•ืช ืฉื™ื›ื•ืœื•ืช ืœืคืขื•ืœ ื‘ื•-ื–ืžื ื™ืช.

l1-cache-line-size
ื’ื•ื“ืœ ืฉื•ืจืช ื”ืžื˜ืžื•ืŸ ื‘ืžื˜ืžื•ืŸ L1, ื‘ื‘ืชื™ื.

ื’ื•ื“ืœ ืžื˜ืžื•ืŸ l1
ื’ื•ื“ืœ ืžื˜ืžื•ืŸ L1, ื‘ืงื™ืœื•-ื‘ื™ื™ื˜.

ื’ื•ื“ืœ ืžื˜ืžื•ืŸ l2
ื’ื•ื“ืœ ืžื˜ืžื•ืŸ L2, ื‘ืงื™ืœื•-ื‘ื™ื™ื˜.

min-insn-to-pretch-ratio
ื”ื™ื—ืก ื”ืžื™ื ื™ืžืœื™ ื‘ื™ืŸ ืžืกืคืจ ื”ื”ื•ืจืื•ืช ืœืžืกืคืจ ื”ืฉืœื™ืคื•ืช ื”ืžื•ืงื“ืžื•ืช
ื›ื“ื™ ืœืืคืฉืจ ืฉืœื™ืคื” ืžื•ืงื“ืžืช ื‘ืœื•ืœืื”.

prefetch-min-insn-to-mem-ratio
ื”ื™ื—ืก ื”ืžื™ื ื™ืžืœื™ ื‘ื™ืŸ ืžืกืคืจ ื”ื”ื•ืจืื•ืช ืœืžืกืคืจ ื”ื–ื™ื›ืจื•ืŸ
ื”ืคื ื™ื•ืช ื›ื“ื™ ืœืืคืฉืจ ืฉืœื™ืคื” ืžื•ืงื“ืžืช ื‘ืœื•ืœืื”.

ืฉื™ืžื•ืฉ-ืงื ื•ื ื™ื™ื-ื˜ื™ืคื•ืกื™ื
ื”ืื ื”ืžื”ื“ืจ ืฆืจื™ืš ืœื”ืฉืชืžืฉ ื‘ืžืขืจื›ืช ืžืกื•ื’ "ืงื ื•ื ื™". ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื–ื”
ืฆืจื™ืš ืœื”ื™ื•ืช ืชืžื™ื“ 1, ืฉืžืฉืชืžืฉ ื‘ืžื ื’ื ื•ืŸ ืคื ื™ืžื™ ื™ืขื™ืœ ื™ื•ืชืจ ืœื”ืฉื•ื•ืื”
ืกื•ื’ื™ื ื‘-C++ ื•-Objective-C++. ืขื ื–ืืช, ืื ื‘ืื’ื™ื ื‘ืžืขืจื›ืช ื”ืกื•ื’ ื”ืงื ื•ื ื™ ื”ื
ื’ื•ืจื ืœื›ืฉืœื™ ืงื•ืžืคื™ืœืฆื™ื”, ื”ื’ื“ืจ ืขืจืš ื–ื” ืœ-0 ื›ื“ื™ ืœื”ืฉื‘ื™ืช ืกื•ื’ื™ื ืงื ื•ื ื™ื™ื.

switch-conversion-max-branch ratio
ื”ืžืจืช ืืชื—ื•ืœ ืžืชื’ ืžืกืจื‘ืช ืœื™ืฆื•ืจ ืžืขืจื›ื™ื ืฉื’ื“ื•ืœื™ื ืž-
switch-conversion-max-branch ratio ื›ืคื•ืœ ืžืžืกืคืจ ื”ืกื ื™ืคื™ื ื‘ืžืชื’.

ืžืงืกื™ืžื•ื-ื—ืœืงื™-ืื ื˜ื™ืง-ืื•ืจืš
ืื•ืจืš ืžืงืกื™ืžืœื™ ืฉืœ ื”ืกื˜ ื”ืื ื˜ื™ ื”ื—ืœืงื™ ืฉื—ื•ืฉื‘ ื‘ืžื”ืœืš ื—ืœืงื™ ื”ืขืฅ
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื—ื™ืกื•ืœ ื™ืชื™ืจื•ืช (-ftree-pre) ื‘ืขืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื‘- -O3 ื•ืžืขืœ.
ืขื‘ื•ืจ ืกื•ื’ื™ื ืžืกื•ื™ืžื™ื ืฉืœ ืงื•ื“ ืžืงื•ืจ, ื‘ื™ื˜ื•ืœ ื™ืชื™ืจื•ืช ื—ืœืงื™ืช ืžืฉื•ืคืจืช
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื™ื›ื•ืœื” ืœื‘ืจื•ื—, ื•ืœืฆืจื•ืš ืืช ื›ืœ ื”ื–ื™ื›ืจื•ืŸ ื”ื–ืžื™ืŸ ื‘ืžืืจื—
ืžึฐื›ื•ึนื ึธื”. ืคืจืžื˜ืจ ื–ื” ืžื’ื“ื™ืจ ืžื’ื‘ืœื” ืขืœ ืื•ืจืš ื”ืกื˜ื™ื ื”ืžื—ื•ืฉื‘ื™ื,
ืžื” ืฉืžื•ื ืข ืืช ื”ืชื ื”ื’ื•ืช ื”ื‘ืจื™ื—ื”. ื”ื’ื“ืจืช ืขืจืš ืฉืœ 0 ืขื‘ื•ืจ ืคืจืžื˜ืจ ื–ื”
ืžืืคืฉืจ ืื•ืจืš ืกื˜ ื‘ืœืชื™ ืžื•ื’ื‘ืœ.

sccvn-max-scc-size
ื’ื•ื“ืœ ืžืงืกื™ืžืœื™ ืฉืœ ืจื›ื™ื‘ ืžื—ื•ื‘ืจ ื—ื–ืง (SCC) ื‘ืžื”ืœืš ืขื™ื‘ื•ื“ SCCVN. ืื
ืžื’ื‘ืœื” ื–ื• ื ืคื’ืขื”, ืขื™ื‘ื•ื“ SCCVN ืขื‘ื•ืจ ื›ืœ ื”ืคื•ื ืงืฆื™ื” ืœื ื ืขืฉื” ื•
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื‘ื”ืชืื ืœื›ืš ืžื•ืฉื‘ืชื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ืžืงืกื™ืžืœื™ืช ืฉืœ ื’ื•ื“ืœ SCC ื”ื™ื
10000.

scccvn-max-alias-queries-per-access
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืฉืื™ืœืชื•ืช alias-oracle ืฉืื ื• ืžื‘ืฆืขื™ื ื‘ืขืช ื—ื™ืคื•ืฉ ื™ืชื™ืจื•ืช
ืขื‘ื•ืจ ืžื˜ืขื ื™ื ื•ื—ื ื•ื™ื•ืช. ืื ืžื’ื‘ืœื” ื–ื• ื ืคื’ืขืช ื”ื—ื™ืคื•ืฉ ืžื‘ื•ื˜ืœ ื•ื”ื˜ืขื™ื ื” ืื•
ื”ื—ื ื•ืช ืื™ื ื” ื ื—ืฉื‘ืช ืžื™ื•ืชืจืช. ืžืกืคืจ ื”ืฉืื™ืœืชื•ืช ื”ื•ื ืืœื’ื•ืจื™ืชืžื™
ืžื•ื’ื‘ืœ ืœืžืกืคืจ ื”ื—ื ื•ื™ื•ืช ื‘ื›ืœ ื”ื ืชื™ื‘ื™ื ืžื”ื˜ืขื™ื ื” ื•ืขื“ ื›ื ื™ืกืช ื”ืคื•ื ืงืฆื™ื”.
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ื”ืžืกืคืจ ื”ืžืงืกื™ืžืœื™ ืฉืœ ืฉืื™ืœืชื•ืช ื”ื•ื 1000.

ira-max-loops-num
IRA ืžืฉืชืžืฉ ื‘ื”ืงืฆืืช ืจื™ืฉื•ื ืื–ื•ืจื™ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ืื ืคื•ื ืงืฆื™ื” ืžื›ื™ืœื” ื™ื•ืชืจ
ืœื•ืœืื•ืช ืžืืฉืจ ื”ืžืกืคืจ ืฉื ื™ืชืŸ ืขืœ ื™ื“ื™ ืคืจืžื˜ืจ ื–ื”, ืจืง ืœื›ืœ ื”ื™ื•ืชืจ ื”ืžืกืคืจ ื”ื ืชื•ืŸ ืฉืœ
ื”ืœื•ืœืื•ืช ื”ืžื‘ื•ืฆืขื•ืช ื‘ืชื“ื™ืจื•ืช ื”ื’ื‘ื•ื”ื” ื‘ื™ื•ืชืจ ื™ื•ืฆืจื•ืช ืื–ื•ืจื™ื ืœื”ืงืฆืืช ืจื™ืฉื•ื ืื–ื•ืจื™.
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ื”ืคืจืžื˜ืจ ื”ื•ื 100.

ira-max-conflict-table-size
ืœืžืจื•ืช ืฉ-IRA ืžืฉืชืžืฉ ื‘ืืœื’ื•ืจื™ืชื ืžืชื•ื—ื›ื ื›ื“ื™ ืœื“ื—ื•ืก ืืช ื˜ื‘ืœืช ื”ืงื•ื ืคืœื™ืงื˜, ื”-
ื”ื˜ื‘ืœื” ืขื“ื™ื™ืŸ ื™ื›ื•ืœื” ืœื“ืจื•ืฉ ื›ืžื•ื™ื•ืช ืžื•ื’ื–ืžื•ืช ืฉืœ ื–ื™ื›ืจื•ืŸ ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืขื ืง. ืื ื”
ื˜ื‘ืœืช ื”ืชื ื’ืฉื•ืช ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื” ื™ื›ื•ืœื” ืœื”ื™ื•ืช ื™ื•ืชืจ ืžื”ื’ื•ื“ืœ ื‘-MB ืฉื ื™ืชืŸ ืขืœ ื™ื“ื™ ื–ื”
ืคืจืžื˜ืจ, ืžืงืฆื” ื”ืื•ื’ืจ ืžืฉืชืžืฉ ื‘ืžืงื•ื ื–ืืช ื‘- ืžื”ื™ืจ ื™ื•ืชืจ, ืคืฉื•ื˜ ื™ื•ืชืจ ื•ื ืžื•ืš ื™ื•ืชืจ
ืืœื’ื•ืจื™ืชื ืื™ื›ื•ืชื™ ืฉืื™ื ื• ื“ื•ืจืฉ ื‘ื ื™ื™ืช ื˜ื‘ืœืช ื”ืชื ื’ืฉื•ืช ืคืกืื•ื“ื•-ืจื™ืฉื•ื.
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ื”ืคืจืžื˜ืจ ื”ื•ื 2000.

ira-loop-reserved-regs
ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘-IRA ื›ื“ื™ ืœื”ืขืจื™ืš ืœื—ืฅ ืจื™ืฉื•ื ืžื“ื•ื™ืง ื™ื•ืชืจ ื‘ืœื•ืœืื•ืช ืœืงื‘ืœืช ื”ื—ืœื˜ื•ืช
ื›ื“ื™ ืœื”ื–ื™ื– ืื™ื ื•ืจื™ืื ื˜ื™ื ืฉืœ ืœื•ืœืื” (ืจืื” -O3). ืžืกืคืจ ื”ืจืฉืžื™ื ื”ื–ืžื™ื ื™ื ืฉืžื•ืจื™ื ืขื‘ื•ืจ
ื›ืžื” ืžื˜ืจื•ืช ืื—ืจื•ืช ื ื™ืชื ื•ืช ืขืœ ื™ื“ื™ ืคืจืžื˜ืจ ื–ื”. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ื”-
ื”ืคืจืžื˜ืจ ื”ื•ื 2, ืฉื”ื•ื ื”ืžืกืคืจ ื”ืžื™ื ื™ืžืœื™ ืฉืœ ืจื’ื™ืกื˜ืจื™ื ื”ื“ืจื•ืฉื™ื ืœื˜ื™ืคื•ืก
ื”ื•ืจืื•ืช. ืขืจืš ื–ื” ื”ื•ื ื”ื˜ื•ื‘ ื‘ื™ื•ืชืจ ืฉื ืžืฆื ืžื ื™ืกื•ื™ื™ื ืจื‘ื™ื.

loop-invariant-max-bbs-in-loop
ืชื ื•ืขื” ื‘ืœืชื™ ืžืฉืชื ื” ืฉืœ ืœื•ืœืื” ื™ื›ื•ืœื” ืœื”ื™ื•ืช ื™ืงืจื” ืžืื•ื“, ื”ืŸ ื‘ื–ืžืŸ ื”ืงื•ืžืคื™ืœืฆื™ื” ื•ื”ืŸ ื‘ื–ืžืŸ
ื›ืžื•ืช ื”ื–ื™ื›ืจื•ืŸ ื”ื“ืจื•ืฉ ืœื–ืžืŸ ืงื•ืžืคื™ืœืฆื™ื”, ืขื ืœื•ืœืื•ืช ื’ื“ื•ืœื•ืช ืžืื•ื“. ืœื•ืœืื•ืช ืขื ืขื•ื“
ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื ืžืืฉืจ ืคืจืžื˜ืจ ื–ื” ืœื ื™ื”ื™ื• ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืชื ื•ืขื” ื‘ืœืชื™ ืžืฉืชื ื” ื‘ืœื•ืœืื”
ื‘ื•ืฆืข ืขืœื™ื”ื. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ื”ืคืจืžื˜ืจ ื”ื•ื 1000 ืขื‘ื•ืจ -O1 ื• 10000
ืœ -O2 ื•ืžืขืœ.

loop-max-datarefs-for-datadeps
ื‘ื ื™ื™ืช ื ืชื•ื ื™ื ืชืœื•ื™ื™ื ื”ื™ื ื™ืงืจื” ืขื‘ื•ืจ ืœื•ืœืื•ืช ื’ื“ื•ืœื•ืช ืžืื•ื“. ื”ืคืจืžื˜ืจ ื”ื–ื”
ืžื’ื‘ื™ืœ ืืช ืžืกืคืจ ื”ืคื ื™ื•ืช ืœื ืชื•ื ื™ื ื‘ืœื•ืœืื•ืช ืฉื ื—ืฉื‘ื•ืช ืœื ืชื•ื ื™ื
ื ื™ืชื•ื— ืชืœื•ืช. ืœื•ืœืื•ืช ื’ื“ื•ืœื•ืช ืืœื” ืื™ื ืŸ ืžื˜ื•ืคืœื•ืช ืขืœ ื™ื“ื™ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ืžืฉืชืžืฉื•ืช
ืชืœื•ืช ื‘ื ืชื•ื ื™ ืœื•ืœืื”. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 1000.

ืžืงืกื™ืžื•ื-vartrack-size
ืžื’ื“ื™ืจ ืืช ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื—ืจื™ืฆื™ ื˜ื‘ืœืช hash ืœืฉื™ืžื•ืฉ ื‘ืžื”ืœืš ื–ืจื™ืžืช ื ืชื•ื ื™ื ืžืฉืชื ื” ืฉืœ ืžืขืงื‘
ื ื™ืชื•ื— ืฉืœ ื›ืœ ืคื•ื ืงืฆื™ื”. ืื ื—ืจื™ื’ื” ืžื”ืžื’ื‘ืœื” ื”ื–ื• ืขื ืžืขืงื‘ ืžืฉืชื ื” ื‘
ื”ืงืฆืื•ืช ืžื•ืคืขืœื•ืช, ื ื™ืชื•ื— ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื” ื–ื• ื ื•ืกื” ืฉื•ื‘ ื‘ืœืขื“ื™ื”, ืœืื—ืจ
ื”ืกืจืช ื›ืœ ื”-debug insns ืžื”ืคื•ื ืงืฆื™ื”. ืื ื—ืจื™ื’ื” ืžื”ืžื’ื‘ืœื” ื’ื ื‘ืœื™
debug insns, ื ื™ืชื•ื— ืžืขืงื‘ var ืžื•ืฉื‘ืช ืœื—ืœื•ื˜ื™ืŸ ืขื‘ื•ืจ ื”ืคื•ื ืงืฆื™ื”.
ื”ื’ื“ืจืช ื”ืคืจืžื˜ืจ ืœืืคืก ื”ื•ืคื›ืช ืื•ืชื• ืœื‘ืœืชื™ ืžื•ื’ื‘ืœ.

max-vartrack-expr-depth
ืžื’ื“ื™ืจ ืžืกืคืจ ืžืจื‘ื™ ืฉืœ ืจืžื•ืช ืจืงื•ืจืกื™ื” ื‘ืขืช ื ื™ืกื™ื•ืŸ ืœืžืคื•ืช ืฉืžื•ืช ืžืฉืชื ื™ื ืื•
ื ื™ืคื•ื™ ื‘ืื’ื™ื ื–ืžื ื™ื™ื ืœื‘ื™ื˜ื•ื™ื™ ืขืจืš. ื–ื” ืžื—ืœื™ืฃ ืืช ื–ืžืŸ ื”ืงื•ืžืคื™ืœืฆื™ื” ืœื™ื•ืชืจ
ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืžืœื. ืื ื–ื” ืžื•ื’ื“ืจ ื ืžื•ืš ืžื“ื™, ื‘ื™ื˜ื•ื™ื™ ืขืจืš ืฉื”ื
ื–ืžื™ืŸ ื•ื™ื›ื•ืœ ืœื”ื™ื•ืช ืžื™ื•ืฆื’ ื‘ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืขืœื•ืœ ื‘ืกื•ืคื• ืฉืœ ื“ื‘ืจ ืœื ืœื”ื™ื•ืช ื‘ืฉื™ืžื•ืฉ;
ื”ื’ื“ืจื” ื–ื• ื’ื‘ื•ื”ื” ื™ื•ืชืจ ืขืฉื•ื™ื” ืœืืคืฉืจ ืœืžื”ื“ืจ ืœืžืฆื•ื ื‘ืื’ื™ื ืžื•ืจื›ื‘ื™ื ื™ื•ืชืจ
ื‘ื™ื˜ื•ื™ื™ื, ืืš ื”ืฉื™ืžื•ืฉ ื‘ื–ืžืŸ ืงื•ืžืคื™ืœืฆื™ื” ื•ื–ื™ื›ืจื•ืŸ ืขืฉื•ื™ ืœื’ื“ื•ืœ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 12.

min-nondebug-insn-uid
ื”ืฉืชืžืฉ ื‘-uids ืฉืžืชื—ื™ืœ ื‘ืคืจืžื˜ืจ ื–ื” ืขื‘ื•ืจ insns ืœืœื ื‘ืื’ื™ื. ื”ื˜ื•ื•ื— ืžืชื—ืช ืœ-
ื”ืคืจืžื˜ืจ ืฉืžื•ืจ ื‘ืื•ืคืŸ ื‘ืœืขื“ื™ ืขื‘ื•ืจ ืจื›ื™ื‘ื™ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืฉื ื•ืฆืจื• ืขืœ ื™ื“ื™
-fvar-tracking-assignments, ืื‘ืœ ืชื•ืกืคื™ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืขืฉื•ื™ื™ื ืœืงื‘ืœ UID (ืœื ื—ื•ืคืคื™ื) ืœืžืขืœื”
ื–ื” ืื ื”ื˜ื•ื•ื— ื”ืฉืžื•ืจ ืžื•ืฆื”.

ipa-sra-ptr-growth factor
IPA-SRA ืžื—ืœื™ืฃ ืžืฆื‘ื™ืข ืœืฆื‘ื™ืจื” ื‘ืคืจืžื˜ืจ ื—ื“ืฉ ืื—ื“ ืื• ื™ื•ืชืจ ื‘ืœื‘ื“
ื›ืืฉืจ ื”ื’ื•ื“ืœ ื”ืžืฆื˜ื‘ืจ ืฉืœื”ื ืงื˜ืŸ ืื• ืฉื•ื•ื” ืœ ipa-sra-ptr-growth factor ืคืขืžื™ื
ื’ื•ื“ืœ ืคืจืžื˜ืจ ื”ืžืฆื‘ื™ืข ื”ืžืงื•ืจื™.

tm-max-aggregate-size
ื‘ืขืช ื™ืฆื™ืจืช ืขื•ืชืงื™ื ืฉืœ ืžืฉืชื ื™ื ืžืงื•ืžื™ื™ื ื‘ื˜ืจื ื–ืงืฆื™ื”, ืคืจืžื˜ืจ ื–ื”
ืžืฆื™ื™ืŸ ืืช ื”ื’ื•ื“ืœ ื‘ื‘ื™ื™ื˜ื™ื ืฉืœืื—ืจื™ื• ื ืฉืžืจื™ื ืžืฉืชื ื™ื ืขื ื”ืจื™ืฉื•ื
ืžืชืคืงื“ ื‘ื ื™ื’ื•ื“ ืœืฉืžื™ืจื”/ืฉื—ื–ื•ืจ ืฉืœ ืฆืžื“ื™ ืจืฆืฃ ืงื•ื“. ืืคืฉืจื•ืช ื–ื• ื‘ืœื‘ื“
ื—ืœ ื‘ืขืช ื”ืฉื™ืžื•ืฉ -fgnu-tm.

graphite-max-nb-scop-params
ื›ื“ื™ ืœื”ื™ืžื ืข ืžื”ืฉืคืขื•ืช ืืงืกืคื•ื ื ืฆื™ืืœื™ื•ืช ื‘ื˜ืจื ืกืคื•ืจืžืฆื™ื” ืฉืœ ืœื•ืœืืช ื’ืจืคื™ื˜, ื”ืžืกืคืจ ืฉืœ
ืคืจืžื˜ืจื™ื ื‘ื—ืœืง ื‘ืงืจื” ืกื˜ื˜ื™ืช (SCoP) ืžื•ื’ื‘ืœื™ื. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 10
ืคืจืžื˜ืจื™ื. ืžืฉืชื ื” ืฉืขืจื›ื• ืื™ื ื• ื™ื“ื•ืข ื‘ื–ืžืŸ ื”ื”ื™ื“ื•ืจ ื•ืžื•ื’ื“ืจ
ืžื—ื•ืฅ ืœ-SCoP ื”ื•ื ืคืจืžื˜ืจ ืฉืœ ื”-SCoP.

ื’ืจืคื™ื˜-ืžืงืก- BBS-punction
ื›ื“ื™ ืœืžื ื•ืข ื”ืฉืคืขื•ืช ืืงืกืคื•ื ื ืฆื™ืืœื™ื•ืช ื‘ื–ื™ื”ื•ื™ ืฉืœ SCoPs, ื’ื•ื“ืœ ื”ืคื•ื ืงืฆื™ื•ืช
ืžื ื•ืชื— ืขืœ ื™ื“ื™ ื’ืจืคื™ื˜ ืžื•ื’ื‘ืœ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 100 ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื.

ืœื•ืœืื”-ื’ื•ืฉ-ืืจื™ื—-ื’ื•ื“ืœ
ื—ืกื™ืžืช ืœื•ืœืื•ืช ืื• ืจืฆื•ืขืช ื˜ืจื ืกืคื•ืจืžืฆื™ื•ืช ืฉืœ ื›ืจื™ื™ื”, ืžื•ืคืขืœืช ืขื -ืคืœื•ืค-ื‘ืœื•ืง or
-ืคืœื•ืค-ืจืฆื•ืขื”-ืฉืœื™, ืคืฉื˜ ืืช ืฉืœื™ ื›ืœ ืœื•ืœืื” ื‘ืงืŸ ื”ืœื•ืœืื” ื‘ืžืกืคืจ ื ืชื•ืŸ ืฉืœ
ืื™ื˜ืจืฆื™ื•ืช. ื ื™ืชืŸ ืœืฉื ื•ืช ืืช ืื•ืจืš ื”ืจืฆื•ืขื” ื‘ืืžืฆืขื•ืช ืœื•ืœืื”-ื’ื•ืฉ-ืืจื™ื—-ื’ื•ื“ืœ
ืคึผึธืจึธืžึถื˜ึถืจ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 51 ื—ื–ืจื•ืช.

ipa-cp-value-list-size
IPA-CP ืžื ืกื” ืœืขืงื•ื‘ ืื—ืจ ื›ืœ ื”ืขืจื›ื™ื ื•ื”ืกื•ื’ื™ื ื”ืืคืฉืจื™ื™ื ืฉื”ื•ืขื‘ืจื• ืœืคื•ื ืงืฆื™ื”
ืคืจืžื˜ืจ ืขืœ ืžื ืช ืœื”ืคื™ืฅ ืื•ืชื ื•ืœื‘ืฆืข ื“ื” ื•ื™ืจื˜ื•ืืœื™ื–ืฆื™ื”. ipa-cp-value-
ื’ื•ื“ืœ ืจืฉื™ืžื” ื”ื•ื ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืขืจื›ื™ื ื•ืกื•ื’ื™ื ืฉื”ื•ื ืžืื—ืกืŸ ืœื›ืœ ืจืฉืžื™ ืื—ื“
ืคืจืžื˜ืจ ืฉืœ ืคื•ื ืงืฆื™ื”.

lto-ืžื—ื™ืฆื•ืช
ืฆื™ื™ืŸ ืืช ื”ืžืกืคืจ ื”ืจืฆื•ื™ ืฉืœ ืžื—ื™ืฆื•ืช ืฉื ื•ืฆืจื• ื‘ืžื”ืœืš ื”ื™ื“ื•ืจ WHOPR. ื”
ืžืกืคืจ ื”ืžื—ื™ืฆื•ืช ืฆืจื™ืš ืœืขืœื•ืช ืขืœ ืžืกืคืจ ื”ืžืขื‘ื“ื™ื ื”ืžืฉืžืฉื™ื ืœื”ื™ื“ื•ืจ. ื”
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 32.

lto-minpartition
ื’ื•ื“ืœ ืžื—ื™ืฆื” ืžื™ื ื™ืžืœื™ืช ืขื‘ื•ืจ WHOPR (ื‘ื”ื•ืจืื•ืช ืžืฉื•ืขืจื•ืช). ื–ื” ืžื•ื ืข
ื”ื•ืฆืื•ืช ืฉืœ ืคื™ืฆื•ืœ ืชื•ื›ื ื™ื•ืช ืงื˜ื ื•ืช ืžืื•ื“ ืœื™ื•ืชืจ ืžื“ื™ ืžื—ื™ืฆื•ืช.

cxx-max-namespaces-for-diagnostic-help
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืžืจื—ื‘ื™ ืฉืžื•ืช ืฉื™ืฉ ืœื”ืชื™ื™ืขืฅ ื‘ื”ื ืœืงื‘ืœืช ื”ืฆืขื•ืช ื‘ืขืช ื—ื™ืคื•ืฉ ืฉืžื•ืช ื‘-C++
ื ื›ืฉืœ ืขื‘ื•ืจ ืžื–ื”ื”. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 1000.

ื›ื™ื•ืจ-ืชื“ืจ-ืกืฃ
ืชื“ื™ืจื•ืช ื”ื‘ื™ืฆื•ืข ื”ื™ื—ืกื™ืช ื”ืžืงืกื™ืžืœื™ืช (ื‘ืื—ื•ื–ื™ื) ืฉืœ ื‘ืœื•ืง ื”ื™ืขื“
ื‘ื™ื—ืก ืœื—ืกื™ืžื” ื”ืžืงื•ืจื™ืช ืฉืœ ื”ืฆื”ืจื” ื›ื“ื™ ืœืืคืฉืจ ืฉืงื™ืขืช ื”ืฆื”ืจื” ืฉืœ ื
ื”ึทืฆื”ึธืจึธื”. ืžืกืคืจื™ื ื’ื“ื•ืœื™ื ื™ื•ืชืจ ืžื‘ื™ืื™ื ืœืฉืงื™ืขืช ืืžื™ืจื” ืื’ืจืกื™ื‘ื™ืช ื™ื•ืชืจ. ื”
ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 75. ื”ืชืืžื” ื—ื™ื•ื‘ื™ืช ืงื˜ื ื” ืžื•ื—ืœืช ืขืœ ื”ืฆื”ืจื•ืช ืขื
ืื•ืคืจื ื“ื™ื ื–ื™ื›ืจื•ืŸ ื›ืคื™ ืฉื”ื ืืคื™ืœื• ื™ื•ืชืจ ืจื•ื•ื—ื™ื™ื ืื– ืœืฉืงื•ืข.

max-stores-to-sink
ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื–ื•ื’ื•ืช ื—ื ื•ื™ื•ืช ืžื•ืชื ื•ืช ืฉื ื™ืชืŸ ืœืฉืงื•ืข. ื”ื’ื“ืจ ืœ-0 ืื
ืื• ื•ืงื˜ื•ืจื™ื–ืฆื™ื” (-ftree-vectorize) ืื• ืื-ื”ืžืจื” (-ftree-loop-if-convert)
ืžื•ืฉื‘ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 2.

ืืคืฉืจ-ื˜ืขื™ื ืช-ืžื™ืจื•ืฆื™ื-ื ืชื•ื ื™ื
ืืคืฉืจ ืœืžื™ื˜ื•ื‘ื™ื ืœื”ืฆื™ื’ ืžื™ืจื•ืฆื™ ื ืชื•ื ื™ื ื—ื“ืฉื™ื ืขืœ ืขื•ืžืกื™ื. ื”ื’ื“ืจ ืœ-1 ื›ื“ื™ ืœืืคืฉืจ,
ืื—ืจืช ืœ-0. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืืœื ืื ื›ืŸ ื ืงื‘ืขื” ื‘ืื•ืคืŸ ืžืจื•ืžื– ืขืœ ื™ื“ื™ ื”-
-fmemory-model= ืื•ึนืคึผึฐืฆึดื™ึธื”.

ืืคืฉืจ-ืžื—ืกืŸ-ื ืชื•ื ื™ื-ืžื™ืจื•ืฆื™
ืืคืฉืจ ืœืžื™ื˜ื•ื‘ื™ื ืœื”ืฆื™ื’ ืžื™ืจื•ืฆื™ ื ืชื•ื ื™ื ื—ื“ืฉื™ื ื‘ื—ื ื•ื™ื•ืช. ื”ื’ื“ืจ ืœ-1 ื›ื“ื™ ืœืืคืฉืจ,
ืื—ืจืช ืœ-0. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืืœื ืื ื›ืŸ ื ืงื‘ืขื” ื‘ืื•ืคืŸ ืžืจื•ืžื– ืขืœ ื™ื“ื™ ื”-
-fmemory-model= ืื•ึนืคึผึฐืฆึดื™ึธื”.

ืืคืฉืจ-ืืจื•ื–-ื˜ืขื™ื ื”-ืžื™ืจื•ืฆื™ ื ืชื•ื ื™ื
ืืคืฉืจ ืœืžื™ื˜ื•ื‘ื™ื ืœื”ืฆื™ื’ ืžื™ืจื•ืฆื™ ื ืชื•ื ื™ื ื—ื“ืฉื™ื ืขืœ ืขื•ืžืกื™ ื ืชื•ื ื™ื ืฆืคื•ืคื™ื. ื”ื’ื“ืจ ืœ-1 ืœ
ืœืืคืฉืจ, ืื—ืจืช ืœ-0. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืืœื ืื ื›ืŸ ืžื•ื’ื“ืจืช ื‘ืื•ืคืŸ ืžืจื•ืžื– ืขืœ ื™ื“ื™
ืžื” ื”ื™ื -fmemory-model= ืื•ึนืคึผึฐืฆึดื™ึธื”.

ืืคืฉืจ-ืืจื•ื–-ืžืจื•ืฆื™ื-ื ืชื•ื ื™ื
ืืคืฉืจ ืœืžื™ื˜ื•ื‘ื™ื ืœื”ืฆื™ื’ ืžื™ืจื•ืฆื™ ื ืชื•ื ื™ื ื—ื“ืฉื™ื ื‘ื—ื ื•ื™ื•ืช ื ืชื•ื ื™ื ืขืžื•ืกื•ืช. ื”ื’ื“ืจ ืœ-1 ืœ
ืœืืคืฉืจ, ืื—ืจืช ืœ-0. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืืœื ืื ื›ืŸ ืžื•ื’ื“ืจืช ื‘ืื•ืคืŸ ืžืจื•ืžื– ืขืœ ื™ื“ื™
ืžื” ื”ื™ื -fmemory-model= ืื•ึนืคึผึฐืฆึดื™ึธื”.

ืžืงืจื”-ืขืจื›ื™-ืกืฃ
ื”ืžืกืคืจ ื”ืงื˜ืŸ ื‘ื™ื•ืชืจ ืฉืœ ืขืจื›ื™ื ืฉื•ื ื™ื ืฉืขื‘ื•ืจื ืขื“ื™ืฃ ืœื”ืฉืชืžืฉ ื‘ื˜ื‘ืœืช ืงืคื™ืฆื”
ื‘ืžืงื•ื ืขืฅ ืฉืœ ืขื ืคื™ื ืžื•ืชื ื™ื. ืื ื”ืขืจืš ื”ื•ื 0, ื”ืฉืชืžืฉ ื‘ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ
ื”ืžื›ื•ื ื”. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 0.

ืขืฅ-reassoc-width
ื”ื’ื“ืจ ืืช ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ื”ื•ืจืื•ืช ืฉื™ื‘ื•ืฆืขื• ื‘ืžืงื‘ื™ืœ ื‘ืขืฅ ื”ืžืฉื•ื™ืš ืžื—ื“ืฉ.
ืคืจืžื˜ืจ ื–ื” ืขื•ืงืฃ ื”ื™ื•ืจื™ืกื˜ื™ืงื•ืช ืชืœื•ื™ื•ืช ื™ืขื“ ื”ืžืฉืžืฉื•ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืื ืื™ืŸ
ืขืจืš ืืคืก.

ืชื–ืžื•ืŸ-ืœื—ืฅ-ืืœื’ื•ืจื™ืชื
ื‘ื—ืจ ื‘ื™ืŸ ืฉื ื™ ื”ื”ื˜ืžืขื•ืช ื”ื–ืžื™ื ื•ืช ืฉืœ -fsched-ืœื—ืฅ. ืืœื’ื•ืจื™ืชื 1
ื”ื•ื ื”ื™ื™ืฉื•ื ื”ืžืงื•ืจื™ ื•ื”ืกื‘ื™ืจื•ืช ื”ื’ื‘ื•ื”ื” ื™ื•ืชืจ ืœืžื ื•ืข ื”ื•ืจืื•ืช ืž
ืžืกื•ื“ืจ ืžื—ื“ืฉ. ืืœื’ื•ืจื™ืชื 2 ืชื•ื›ื ืŸ ืœื”ื™ื•ืช ืคืฉืจื” ื‘ื™ืŸ
ื’ื™ืฉื” ืฉืžืจื ื™ืช ื™ื—ืกื™ืช ืฉื ื ืงื˜ื” ืขืœ ื™ื“ื™ ืืœื’ื•ืจื™ืชื 1 ื•ืชื•ืงืคื ื™ืช ืœืžื“ื™
ื’ื™ืฉื” ืฉื ื ืงื˜ื” ืขืœ ื™ื“ื™ ืžืชื–ืžืŸ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ. ื–ื” ืžืกืชืžืš ื™ื•ืชืจ ืขืœ ื›ืš ืฉื™ืฉ ื
ืงื•ื‘ืฅ ืจื™ืฉื•ื ืจื’ื™ืœ ื•ืฉื™ืขื•ืจื™ ืœื—ืฅ ืื•ื’ืจ ืžื“ื•ื™ืงื™ื. ืœึดืจึฐืื•ึนืช ื—ื™ืคื”-ืฉื“.ื’
ื‘ืžืงื•ืจื•ืช GCC ืœืคืจื˜ื™ื ื ื•ืกืคื™ื.

ื‘ื—ื™ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืชืœื•ื™ื” ื‘ื™ืขื“.

max-slsr-cand-scan
ื”ื’ื“ืจ ืืช ื”ืžืกืคืจ ื”ืžืจื‘ื™ ืฉืœ ืžื•ืขืžื“ื™ื ืงื™ื™ืžื™ื ืฉื™ื™ืฉืงืœื• ื‘ืขืช ื—ื™ืคื•ืฉ
ื‘ืกื™ืก ืœืžื•ืขืžื“ ื—ื“ืฉ ืœื”ืคื—ืชืช ื—ื•ื–ืง ื‘ืงื• ื™ืฉืจ.

ืืคืฉืจื•ื™ื•ืช ืฉืœื™ื˜ื” ืžื” ื”ื™ื Preprocessor
ืืคืฉืจื•ื™ื•ืช ืืœื” ืฉื•ืœื˜ื•ืช ื‘ืžืขื‘ื“ ื”ืงื“ื C, ื”ืžื•ืคืขืœ ืขืœ ื›ืœ ืงื•ื‘ืฅ ืžืงื•ืจ C ืœืคื ื™ ื”ืžืฆื™ืื•ืช
ื”ึทื”ื“ึธืจึธื”.

ืื ืืชื” ืžืฉืชืžืฉ -E ืืคืฉืจื•ืช, ืฉื•ื ื“ื‘ืจ ืœื ื ืขืฉื” ืžืœื‘ื“ ืขื™ื‘ื•ื“ ืžืงื“ื™ื. ื—ืœืง ืžื”ืืคืฉืจื•ื™ื•ืช ื”ืœืœื•
ื”ื’ื™ื•ื ื™ ืจืง ื™ื—ื“ ืขื -E ืžื›ื™ื•ื•ืŸ ืฉื”ื ื’ื•ืจืžื™ื ืœืคืœื˜ ื”ืคืจื”-ืžืขื‘ื“ ืœื”ื™ื•ืช
ืœื ืžืชืื™ื ืœื”ื™ื“ื•ืจ ื‘ืคื•ืขืœ.

-Wp,ืื•ึนืคึผึฐืฆึดื™ึธื”
ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ -Wp,ืื•ึนืคึผึฐืฆึดื™ึธื” ืœืขืงื•ืฃ ืืช ืžื ื”ืœ ื”ื”ื“ืจ ื•ืœืขื‘ื•ืจ ืื•ึนืคึผึฐืฆึดื™ึธื” ื™ืฉื™ืจื•ืช ื“ืจืš
ืœืžืขื‘ื“ ื”ืžืงื“ื™ื. ืื ืื•ึนืคึผึฐืฆึดื™ึธื” ืžื›ื™ืœ ืคืกื™ืงื™ื, ื”ื•ื ืžื—ื•ืœืง ืœืืคืฉืจื•ื™ื•ืช ืžืจื•ื‘ื•ืช ื‘
ื”ืคืกื™ืงื™ื. ืขื ื–ืืช, ืืคืฉืจื•ื™ื•ืช ืจื‘ื•ืช ืžืฉืชื ื•ืช, ืžืชื•ืจื’ืžื•ืช ืื• ืžืชืคืจืฉื•ืช ืขืœ ื™ื“ื™
ืžื ื”ืœ ื”ืชืงืŸ ืžื”ื“ืจ ืœืคื ื™ ืฉื”ื•ืขื‘ืจ ืœืžืขื‘ื“ ื”ืคืจื”, ื• -Wp ืขื•ืงืฃ ื‘ื›ื•ื—
ื”ืฉืœื‘ ื”ื–ื”. ื”ืžืžืฉืง ื”ื™ืฉื™ืจ ืฉืœ ื”ืžืขื‘ื“ ืžืจืืฉ ืื™ื ื• ืžืชื•ืขื“ ื•ื ืชื•ืŸ ืœ
ืœืฉื ื•ืช, ืื– ื‘ืžื™ื“ืช ื”ืืคืฉืจ ื›ื“ืื™ ืœื”ื™ืžื ืข ืžืฉื™ืžื•ืฉ -Wp ื•ืœืชืช ืœื ื”ื’ ืœื˜ืคืœ ื‘
ืืคืฉืจื•ื™ื•ืช ื‘ืžืงื•ื.

-Xpreprocessor ืื•ึนืคึผึฐืฆึดื™ึธื”
ืœืขื‘ื•ืจ ืื•ึนืคึผึฐืฆึดื™ึธื” ื›ืื•ืคืฆื™ื” ืœืžืขื‘ื“ ื”ืงื“ื. ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื–ื” ื›ื“ื™ ืœืกืคืง ืžืขืจื›ืช-
ืืคืฉืจื•ื™ื•ืช ืงื“ื-ืžืขื‘ื“ ืกืคืฆื™ืคื™ื•ืช ืฉ-GCC ืœื ืžื–ื”ื”.

ืื ืืชื” ืจื•ืฆื” ืœื”ืขื‘ื™ืจ ืืคืฉืจื•ืช ืฉื“ื•ืจืฉืช ืืจื’ื•ืžื ื˜, ืขืœื™ืš ืœื”ืฉืชืžืฉ -Xpreprocessor
ืคืขืžื™ื™ื, ืคืขื ืื—ืช ืขื‘ื•ืจ ื”ืืคืฉืจื•ืช ื•ืคืขื ืขื‘ื•ืจ ื”ื˜ื™ืขื•ืŸ.

-no-integrated-cpp
ื‘ืฆืข ืขื™ื‘ื•ื“ ืžืงื“ื™ื ื›ืžืขื‘ืจ ื ืคืจื“ ืœืคื ื™ ื”ื™ื“ื•ืจ. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ืคื•ืขืœ
ืขื™ื‘ื•ื“ ืžืงื“ื™ื ื›ื—ืœืง ืžืฉื•ืœื‘ ืฉืœ ืืกื™ืžื•ืŸ ืงืœื˜ ื•ื ื™ืชื•ื—. ืื ืืคืฉืจื•ืช ื–ื•
ืžืกื•ืคืง, ืงืฆื” ื”ืฉืคื” ื”ืžืชืื™ื (cc1, cc1plus, ืื• cc1obj ืขื‘ื•ืจ C, C++,
ื•-Objective-C, ื‘ื”ืชืืžื”) ืžื•ืคืขืœ ื‘ืžืงื•ื ืคืขืžื™ื™ื, ืคืขื ืื—ืช ืœืขื™ื‘ื•ื“ ืžืงื“ื™ื ื‘ืœื‘ื“
ื•ืคืขื ืื—ืช ืขื‘ื•ืจ ื”ื™ื“ื•ืจ ื‘ืคื•ืขืœ ืฉืœ ื”ืงืœื˜ ื”ืžืขื•ื‘ื“ ืžืจืืฉ. ืืคืฉืจื•ืช ื–ื• ืขืฉื•ื™ื” ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ืช
ื‘ืฉื™ืชื•ืฃ ืขื -B or -ืขึฒื˜ึดื™ืคึธื” ืืคืฉืจื•ื™ื•ืช ืœืฆื™ื•ืŸ ืžืขื‘ื“ ืžืงื“ื™ื ื—ืœื•ืคื™ ืื•
ืœื‘ืฆืข ืขื™ื‘ื•ื“ ื ื•ืกืฃ ืฉืœ ืžืงื•ืจ ื”ืชื•ื›ื ื™ืช ื‘ื™ืŸ ืขื™ื‘ื•ื“ ืžืงื“ื™ื ืจื’ื™ืœ ืœื‘ื™ืŸ
ื”ึทื”ื“ึธืจึธื”.

-D ืฉื
ื”ื’ื“ื™ืจื• ืžืจืืฉ ืฉื ื›ืžืืงืจื•, ืขื ื”ื’ื“ืจื” 1.

-D ืฉื=ื”ื’ื“ืจื”
ื”ืชื•ื›ืŸ ืฉืœ ื”ื’ื“ืจื” ืžืกื•ืžื ื™ื ื•ืžืขื•ื‘ื“ื™ื ื›ืื™ืœื• ื”ื•ืคื™ืขื• ื‘ืžื”ืœืš
ืชืจื’ื•ื ืฉืœื‘ ืฉืœื™ืฉื™ ื‘ื #define ื”ื•ึนืจึธืึธื”. ื‘ืคืจื˜, ื”ื”ื’ื“ืจื” ืชื”ื™ื”
ืงื˜ื•ืข ืขืœ ื™ื“ื™ ืชื•ื•ื™ื ืžืฉื•ื‘ืฆื™ื ื‘ืฉื•ืจื” ื—ื“ืฉื”.

ืื ืืชื” ืžืคืขื™ืœ ืืช ื”ืžืขื‘ื“ ืžืจืืฉ ืžืชื•ื›ื ื™ืช ืžืขื˜ืคืช ืื• ื“ืžื•ื™ืช ืžืขื˜ืคืช, ื™ื™ืชื›ืŸ ืฉืชืฆื˜ืจืš
ืœื”ืฉืชืžืฉ ื‘ืชื—ื‘ื™ืจ ื”ืฆื™ื˜ื•ื˜ื™ื ืฉืœ ื”ืžืขื˜ืคืช ื›ื“ื™ ืœื”ื’ืŸ ืขืœ ืชื•ื•ื™ื ื›ื’ื•ืŸ ืจื•ื•ื—ื™ื ืฉื™ืฉ ืœื”ื ื
ืžืฉืžืขื•ืช ื‘ืชื—ื‘ื™ืจ ื”ืžืขื˜ืคืช.

ืื ื‘ืจืฆื•ื ืš ืœื”ื’ื“ื™ืจ ืžืืงืจื• ื“ืžื•ื™ ืคื•ื ืงืฆื™ื” ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”, ื›ืชื•ื‘ ืืช ื”ืืจื’ื•ืžื ื˜ ืฉืœื•
ืจืฉื™ืžื” ืขื ืกื•ื’ืจื™ื™ื ืžืกื‘ื™ื‘ ืœืคื ื™ ืกื™ืžืŸ ื”ืฉื•ื•ื™ื•ืŸ (ืื ื™ืฉ). ืกื•ื’ืจื™ื™ื ื”ื
ืžืฉืžืขื•ืชื™ ืœืจื•ื‘ ื”ืคื’ื–ื™ื, ืื– ืชืฆื˜ืจืš ืœืฆื˜ื˜ ืืช ื”ืืคืฉืจื•ืช. ืขื sh ื• CSH,
-ื“'ืฉื(ืืจื’ื•ื ื™ื...)=ื”ื’ื“ืจื”' ื™ืฆื™ืจื•ืช.

-D ื• -U ื”ืืคืฉืจื•ื™ื•ืช ืžืขื•ื‘ื“ื•ืช ืœืคื™ ื”ืกื“ืจ ืฉื”ืŸ ื ื™ืชื ื•ืช ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”. ืืช ื›ืœ
-ืื™ืžืืงืจื• ืคื™ืœื” ื• -ืœึดื›ืœื•ึนืœ ืคื™ืœื” ื”ืืคืฉืจื•ื™ื•ืช ืžืขื•ื‘ื“ื•ืช ืื—ืจื™ ื”ื›ืœ -D ื• -U ืืคืฉืจื•ื™ื•ืช.

-U ืฉื
ื‘ื˜ืœ ื›ืœ ื”ื’ื“ืจื” ืงื•ื“ืžืช ืฉืœ ืฉื, ืžื•ื‘ื ื” ืื• ืžืกื•ืคืง ืขื ื -D ืื•ึนืคึผึฐืฆึดื™ึธื”.

-undef
ืืœ ืชื’ื“ื™ืจ ืžืจืืฉ ืคืงื•ื“ื•ืช ืžืืงืจื• ืกืคืฆื™ืคื™ื•ืช ืœืžืขืจื›ืช ืื• GCC ืกืคืฆื™ืคื™ื•ืช. ื”ืชืงืŸ ืฉื”ื•ื’ื“ืจ ืžืจืืฉ
ืคืงื•ื“ื•ืช ืžืืงืจื• ื ืฉืืจื•ืช ืžื•ื’ื“ืจื•ืช.

-I dir
ื”ื•ืกืฃ ืืช ื”ืกืคืจื™ื™ื” dir ืœืจืฉื™ืžืช ื”ืกืคืจื™ื•ืช ืฉื™ืฉ ืœื—ืคืฉ ืื—ืจ ืงื•ื‘ืฆื™ ื›ื•ืชืจื•ืช.
ืžื“ืจื™ื›ื™ื ื‘ืฉื ืขืœ ื™ื“ื™ -I ืžื—ืคืฉื™ื ืœืคื ื™ ืฉื”ืžืขืจื›ืช ื”ืจื’ื™ืœื” ื›ื•ืœืœืช ืกืคืจื™ื•ืช.
ืื ื”ืกืคืจื™ื™ื” dir ื”ื™ื ืžืขืจื›ืช ืกื˜ื ื“ืจื˜ื™ืช ื›ื•ืœืœ ืกืคืจื™ื™ื”, ื”ืชืขืœืžื•ืช ืžื”ืืคืฉืจื•ืช
ื•ื“ื ืฉืกื“ืจ ื”ื—ื™ืคื•ืฉ ื”ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ ืกืคืจื™ื•ืช ืžืขืจื›ืช ื•ื”ื˜ื™ืคื•ืœ ื”ืžื™ื•ื—ื“
ืฉืœ ื›ื•ืชืจื•ืช ื”ืžืขืจื›ืช ืื™ื ืŸ ืžื•ื‘ืกื•ืช. ืื dir ืžืชื—ื™ืœ ื‘-"=", ื•ืื– ื”-"=" ื™ื”ื™ื”
ืžื•ื—ืœืฃ ื‘ืงื™ื“ื•ืžืช ื”-sysroot; ืœึดืจึฐืื•ึนืช --sysroot ื• -isysroot.

-o ืคื™ืœื”
ื›ืชื•ื‘ ืคืœื˜ ืœ ืคื™ืœื”. ื–ื” ืื•ืชื• ื“ื‘ืจ ื›ืžื• ืœืฆื™ื™ืŸ ืคื™ืœื” ื‘ืชื•ืจ ืื™ ื”ืื•ืคืฆื™ื” ื”ืฉื ื™ื™ื”
ื•ื™ื›ื•ื— ืœ cpp. gcc ื™ืฉ ืคืจืฉื ื•ืช ืฉื•ื ื” ืœื˜ื™ืขื•ืŸ ืฉื ื™ ืฉืœ ืื™-ืื•ืคืฆื™ื”,
ืื– ืืชื” ื—ื™ื™ื‘ ืœื”ืฉืชืžืฉ -o ื›ื“ื™ ืœืฆื™ื™ืŸ ืืช ืงื•ื‘ืฅ ื”ืคืœื˜.

- ืงื™ืจ
ืžืคืขื™ืœ ืืช ื›ืœ ื”ืื–ื”ืจื•ืช ื”ืื•ืคืฆื™ื•ื ืœื™ื•ืช ื”ืจืฆื•ื™ื•ืช ืขื‘ื•ืจ ืงื•ื“ ืจื’ื™ืœ. ื›ืจื’ืข ื–ื”
is -ื”ืขืจื”, -ืชืจืฉื™ืžื™ื, -ื•ืžื•ืœื˜ื™ืงืืจ ื•ืื–ื”ืจื” ืขืœ ืงื™ื“ื•ื ืžืกืคืจ ืฉืœื ื”ื’ื•ืจื ืœ-a
ืฉื™ื ื•ื™ ืกื™ืžืŸ ื‘ื‘ื™ื˜ื•ื™ื™ "#if". ืฉื™ืžื• ืœื‘ ืฉืจื‘ื•ืช ืžื”ืื–ื”ืจื•ืช ืฉืœ ื”ืžืขื‘ื“
ืคื•ืขืœื™ื ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื•ืื™ืŸ ืœื”ื ืืคืฉืจื•ื™ื•ืช ืœืฉืœื•ื˜ ื‘ื”ื.

-ื”ืขืจื”
-ื”ืขืจื•ืช
ืื–ื”ืจื” ื‘ื›ืœ ืคืขื ืฉืจืฆืฃ ื”ืชื—ืœื” ืฉืœ ื”ืขืจื•ืช /* ืžื•ืคื™ืข ื‘ /* ื”ืขืจื”, ืื• ื‘ื›ืœ ืคืขื ื
backslash-newline ืžื•ืคื™ืข ื‘-a // ืชื’ื•ื‘ื”. (ืœืฉืชื™ ื”ืฆื•ืจื•ืช ื™ืฉ ืืช ืื•ืชื” ื”ืฉืคืขื”.)

-ืชืจืฉื™ืžื™ื
ืจื•ื‘ ื”ื˜ืจื™ื’ืจืคื™ื ื‘ื”ืขืจื•ืช ืื™ื ื ื™ื›ื•ืœื™ื ืœื”ืฉืคื™ืข ืขืœ ืžืฉืžืขื•ืช ื”ืชื•ื›ื ื™ืช. ืขื ื–ืืช, ื
ื˜ืจื™ื’ืจืฃ ืฉื™ื”ื•ื•ื” ืงื• ื—ื“ืฉ ื ืžืœื˜ (??/ ื‘ืกื•ืฃ ืฉื•ืจื”) ื™ื›ื•ืœ, ืขืœ ื™ื“ื™
ืฉื™ื ื•ื™ ื”ืžืงื•ื ืฉื‘ื• ื”ื”ืขืจื” ืžืชื—ื™ืœื” ืื• ืžืกืชื™ื™ืžืช. ืœื›ืŸ, ืจืง ื˜ืจื™ื’ืจืคื™ื ืฉื™ื™ื•ื•ืฆืจื•
ืฉื•ืจื•ืช ื—ื“ืฉื•ืช ืฉื ืžืœื˜ื• ืžื™ื™ืฆืจื•ืช ืื–ื”ืจื•ืช ื‘ืชื•ืš ืชื’ื•ื‘ื”.

ืืคืฉืจื•ืช ื–ื• ืžืฉืชืžืขืช ืž - ืงื™ืจ. ืื - ืงื™ืจ ืœื ื ื™ืชื ืช, ืืคืฉืจื•ืช ื–ื• ืขื“ื™ื™ืŸ ืžื•ืคืขืœืช
ืืœื ืื ื˜ืจื™ื’ืจืคื™ื ืžื•ืคืขืœื™ื. ื›ื“ื™ ืœืงื‘ืœ ื”ืžืจืช ื˜ืจื™ื’ืจืฃ ืœืœื ืื–ื”ืจื•ืช, ืื‘ืœ ืงื‘ืœ
ื”ืื—ืจื™ื - ืงื™ืจ ืื–ื”ืจื•ืช, ืฉื™ืžื•ืฉ -ื˜ืจื™ื’ืจืคื™ื - ืงื™ืจ -ืœื-ื˜ืจื™ื’ืจืคื™ื.

-ืžืกื•ืจืชื™
ื”ื–ื”ื™ืจ ืœื’ื‘ื™ ืžื‘ื ื™ื ืžืกื•ื™ืžื™ื ืฉืžืชื ื”ื’ื™ื ืื—ืจืช ื‘ืžืกื•ืจืชื™ ื•ื‘-ISO C. ื›ืžื• ื›ืŸ
ืœื”ื–ื”ื™ืจ ืžืคื ื™ ืžื‘ื ื™ ISO C ืฉืื™ืŸ ืœื”ื ืžืงื‘ื™ืœื” C ืžืกื•ืจืชื™ืช, ื•ื‘ืขื™ื™ืชื™ื™ื
ืžื‘ื ื™ื ืฉื™ืฉ ืœื”ื™ืžื ืข ืžื”ื.

-ื•ื•ื ื“ืฃ
ืื–ื”ืจื” ื‘ื›ืœ ืคืขื ืฉื ืชืงืœ ื‘ืžื–ื”ื” ืฉืื™ื ื• ืžืืงืจื• ื‘- #ืื ื”ื•ืจืื”,
ืžื—ื•ืฅ ืœ ืžื•ื’ื“ืจ. ืžื–ื”ื™ื ื›ืืœื” ืžื•ื—ืœืคื™ื ื‘ืืคืก.

-Wunused-macros
ื”ืชืจื™ืข ืขืœ ืคืงื•ื“ื•ืช ืžืืงืจื• ื”ืžื•ื’ื“ืจื•ืช ื‘ืงื•ื‘ืฅ ื”ืจืืฉื™ ืฉืื™ื ืŸ ื‘ืฉื™ืžื•ืฉ. ืžืืงืจื• ื”ื•ื ืžึฐืฉืื•ึผืžึธืฉื ืื ื–ื”
ื”ื•ืจื—ื‘ ืื• ื ื‘ื“ืง ืขืœ ืงื™ื•ืžื• ืœืคื—ื•ืช ืคืขื ืื—ืช. ื”ืžืขื‘ื“ ื”ืžืงื“ื™ื ื™ืชืจื™ืข ื’ื ืื
ื”ืžืืงืจื• ืœื ื”ื™ื” ื‘ืฉื™ืžื•ืฉ ื‘ื–ืžืŸ ืฉื”ื•ื ื”ื•ื’ื“ืจ ืžื—ื“ืฉ ืื• ืœื ืžื•ื’ื“ืจ.

ืคืงื•ื“ื•ืช ืžืืงืจื• ืžื•ื‘ื ื•ืช, ืคืงื•ื“ื•ืช ืžืืงืจื• ื”ืžื•ื’ื“ืจื•ืช ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื” ื•ืคืงื•ื“ื•ืช ืžืืงืจื• ื”ืžื•ื’ื“ืจื•ืช ื‘- include
ืœื ืžื•ื–ื”ืจื™ื ืœื’ื‘ื™ ืงื‘ืฆื™ื.

ื”ืขืจื”: ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืคื•ืขืœ ื‘ืžืืงืจื•, ืื‘ืœ ื ืขืฉื” ื‘ื• ืฉื™ืžื•ืฉ ืจืง ื‘ืœื•ืงื™ื ืžื•ืชื ื™ื ืฉื“ื™ืœื’ืชื ืขืœื™ื•, ืื–
CPP ื™ื“ื•ื•ื— ืขืœ ื–ื” ื›ืœื ื‘ืฉื™ืžื•ืฉ. ื›ื“ื™ ืœื”ื™ืžื ืข ืžื”ืื–ื”ืจื” ื‘ืžืงืจื” ื›ื–ื”, ื™ื™ืชื›ืŸ ืฉืชืฉืชืคืจ
ืืช ื”ื™ืงืฃ ื”ื”ื’ื“ืจื” ืฉืœ ื”ืžืืงืจื• ืขืœ ื™ื“ื™, ืœืžืฉืœ, ื”ืขื‘ืจืชื• ืœืชื•ืš ื”ืจืืฉื•ืŸ ืฉื“ื™ืœื’ ืขืœื™ื•
ืœึทื—ืกื•ึนื. ืœื—ืœื•ืคื™ืŸ, ืืชื” ื™ื›ื•ืœ ืœืกืคืง ืฉื™ืžื•ืฉ ื“ืžื” ืขื ืžืฉื”ื• ื›ืžื•:

#ืื ื”ื•ื’ื“ืจื”_ืžืืงืจื•_ื’ื•ืจื_ื”ืื–ื”ืจื”
#endif

-ืชื•ื•ื™ื•ืช-Wendif
ื”ืชืจื™ืข ื‘ื›ืœ ืคืขื ืฉ #else ืื• #endif ื•ืื—ืจื™ื”ื ื˜ืงืกื˜. ื–ื” ืงื•ืจื” ื‘ื“ืจืš ื›ืœืœ ื‘
ืงื•ื“ ื”ื˜ื•ืคืก

#ืื FOO
...
#ืื—ืจืช FOO
...
#endif FOO

ื”-"FOO" ื”ืฉื ื™ ื•ื”ืฉืœื™ืฉื™ ืฆืจื™ื›ื•ืช ืœื”ื™ื•ืช ื‘ืชื’ื•ื‘ื•ืช, ืืš ืœืจื•ื‘ ืื™ื ืŸ ื‘ืชื•ื›ื ื™ื•ืช ื™ืฉื ื•ืช ื™ื•ืชืจ.
ืื–ื”ืจื” ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืฉื’ื™ืื”
ื”ืคื•ืš ืืช ื›ืœ ื”ืื–ื”ืจื•ืช ืœืฉื’ื™ืื•ืช ืงืฉื•ืช. ืงื•ื“ ื”ืžืงื•ืจ ืฉืžืคืขื™ืœ ืื–ื”ืจื•ืช ื™ื”ื™ื”
ื ื“ื—ื”.

-ื›ื•ืชืจื•ืช Wsystem
ืคืจืกื ืื–ื”ืจื•ืช ืขื‘ื•ืจ ืงื•ื“ ื‘ื›ื•ืชืจื•ืช ื”ืžืขืจื›ืช. ืืœื” ื‘ื“ืจืš ื›ืœืœ ืœื ืžื•ืขื™ืœื™ื ื‘ืžืฆื™ืืช
ื‘ืื’ื™ื ื‘ืงื•ื“ ืฉืœืš, ื•ืœื›ืŸ ืžื“ื•ื›ืื™ื. ืื ืืชื” ืื—ืจืื™ ืขืœ ื”ืžืขืจื›ืช
ื”ืกืคืจื™ื™ื”, ืื•ืœื™ ืชืจืฆื” ืœืจืื•ืช ืื•ืชื.

-w ื“ื—ืง ืืช ื›ืœ ื”ืื–ื”ืจื•ืช, ื›ื•ืœืœ ืืœื• ืฉ-GNU CPP ืžื ืคื™ืง ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืงึทืคึผึฐื“ึธื ึดื™
ื”ื ืคืง ืืช ื›ืœ ื”ืื‘ื—ื•ื ื™ื ื”ื—ื•ื‘ื” ื”ืžืคื•ืจื˜ื™ื ื‘ืชืงืŸ C. ื—ืœืงื ื ืฉืืจื•
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืžื›ื™ื•ื•ืŸ ืฉื”ื ืžื•ืคืขืœื™ื ืœืขืชื™ื ืงืจื•ื‘ื•ืช ื‘ืงื•ื“ ืœื ืžื–ื™ืง.

-ืคื“ื ื˜ื™ื•ืช-ื˜ืขื•ื™ื•ืช
ื”ื ืคืง ืืช ื›ืœ ื”ืื‘ื—ื•ืŸ ื”ื—ื•ื‘ื”, ื•ื”ืคื•ืš ืืช ื›ืœ ื”ืื‘ื—ื•ืŸ ื”ื—ื•ื‘ื” ืœืฉื’ื™ืื•ืช.
ื–ื” ื›ื•ืœืœ ืื‘ื—ื•ืŸ ื—ื•ื‘ื” ืฉ-GCC ืžื ืคื™ืง ื‘ืœืขื“ื™ื• -ืงึทืคึผึฐื“ึธื ึดื™ ืืœื ืžืชื™ื™ื—ืก ื›ืžื•
ืื–ื”ืจื•ืช.

-M ื‘ืžืงื•ื ืœื”ื•ืฆื™ื ืืช ื”ืชื•ืฆืื” ืฉืœ ืขื™ื‘ื•ื“ ืžืงื“ื™ื, ืคืœื˜ ื›ืœืœ ืžืชืื™ื ืœืขืฉื•ืช
ืชื™ืื•ืจ ื”ืชืœื•ืช ืฉืœ ืงื•ื‘ืฅ ื”ืžืงื•ืจ ื”ืจืืฉื™. ื”ืžืขื‘ื“ ื”ืžืงื“ื™ื ืžื•ืฆื™ื ืื—ื“
ืœืขืฉื•ืช ื›ืœืœ ื”ืžื›ื™ืœ ืืช ืฉื ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜ ืขื‘ื•ืจ ืื•ืชื• ืงื•ื‘ืฅ ืžืงื•ืจ, ื ืงื•ื“ืชื™ื™ื ื•ื”ืฉืžื•ืช
ืฉืœ ื›ืœ ื”ืงื‘ืฆื™ื ื”ื›ืœื•ืœื™ื, ื›ื•ืœืœ ืืœื” ืฉืžื’ื™ืขื™ื -ืœึดื›ืœื•ึนืœ or -ืื™ืžืืงืจื• ื”ืคืงื•ื“ื”
ืืคืฉืจื•ื™ื•ืช ืงื•.

ืืœื ืื ืฆื•ื™ืŸ ื‘ืžืคื•ืจืฉ (ืขื -MT or -MQ), ืฉื ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜ ืžื•ืจื›ื‘ ืžื”-
ืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ ืขื ื›ืœ ืกื™ื•ืžืช ืฉื”ื•ื—ืœืคื” ื‘ืกื™ื•ืžืช ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ื•ื‘ืกื™ื•ืžืช ื›ืœืฉื”ื™
ื—ืœืงื™ ื”ืกืคืจื™ื™ื” ื”ืžื•ื‘ื™ืœื™ื ื”ื•ืกืจื•. ืื ื™ืฉ ื”ืจื‘ื” ืงื‘ืฆื™ื ื›ืœื•ืœื™ื ืื– ื”ื›ืœืœ ื”ื•ื
ืœืคืฆืœ ืœืžืกืคืจ ืฉื•ืจื•ืช ื‘ืืžืฆืขื•ืช \-ืฉื•ืจื” ื—ื“ืฉื”. ืœื›ืœืœ ืื™ืŸ ืคืงื•ื“ื•ืช.

ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืžื“ื›ืืช ืืช ืคืœื˜ ื ื™ืคื•ื™ ื”ื‘ืื’ื™ื ืฉืœ ื”ืคืจื”-ืžืขื‘ื“, ื›ื’ื•ืŸ -dM. ืœื”ืชื—ืžืง
ืขืจื‘ื•ื‘ ืคืœื˜ ื ื™ืคื•ื™ ื‘ืื’ื™ื ื›ื–ื” ืขื ื›ืœืœื™ ื”ืชืœื•ืช, ืขืœื™ืš ืœืฆื™ื™ืŸ ื‘ืžืคื•ืจืฉ ืืช
ืงื•ื‘ืฅ ืคืœื˜ ืชืœื•ืช ืขื -MF, ืื• ื”ืฉืชืžืฉ ื‘ืžืฉืชื ื” ืกื‘ื™ื‘ื” ื›ืžื•
DEPENDENCIES_OUTPUT. ืคืœื˜ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืขื“ื™ื™ืŸ ื™ื™ืฉืœื— ืœื–ืจื ื”ืคืœื˜ ื”ืจื’ื™ืœ ื›
ืจื’ื™ืœ.

ื—ื•ืœืฃ -M ืœื ื”ื’ ืžืจืžื– -E, ื•ืžื“ื›ื ืื–ื”ืจื•ืช ืขื ืžืจื•ืžื– -w.

-ืžืž ื›ืžื• -M ืื‘ืœ ืืœ ืชื–ื›ื™ืจ ืงื‘ืฆื™ ื›ื•ืชืจื•ืช ืฉื ืžืฆืื™ื ื‘ืกืคืจื™ื•ืช ื›ื•ืชืจื•ืช ืฉืœ ื”ืžืขืจื›ืช,
ื•ื’ื ืœื ืงื‘ืฆื™ ื›ื•ืชืจื•ืช ื”ื ื›ืœืœื™ื, ื‘ืžื™ืฉืจื™ืŸ ืื• ื‘ืขืงื™ืคื™ืŸ, ืžื›ื•ืชืจืช ื›ื–ื•.

ื–ื” ืžืจืžื– ื›ื™ ื”ื‘ื—ื™ืจื” ืฉืœ ืกื•ื’ืจื™ื™ื ื–ื•ื•ื™ืช ืื• ืžืจื›ืื•ืช ื›ืคื•ืœื•ืช ื‘ #include
ื”ื”ื ื—ื™ื” ื›ืฉืœืขืฆืžื” ืื™ื ื” ืงื•ื‘ืขืช ืื ื”ื›ื•ืชืจืช ื”ื–ื• ืชื•ืคื™ืข ื‘ -ืžืž
ืคืœื˜ ืชืœื•ืช. ื–ื”ื• ืฉื™ื ื•ื™ ืงืœ ื‘ืกืžื ื˜ื™ืงื” ืžื’ืจืกืื•ืช GCC 3.0 ื•
ืžื•ืงื“ื ื™ื•ืชืจ.

-MF ืคื™ืœื”
ื‘ืขืช ืฉื™ืžื•ืฉ ืขื -M or -ืžืž, ืžืฆื™ื™ืŸ ืงื•ื‘ืฅ ืœื›ืชื•ื‘ ืืœื™ื• ืืช ื”ืชืœื•ืช. ืื ืœื -MF
ืžืชื’ ื ืชื•ืŸ ืฉื”ืงื“ื-ืžืขื‘ื“ ืฉื•ืœื— ืืช ื”ื›ืœืœื™ื ืœืื•ืชื• ืžืงื•ื ืฉื”ื•ื ื”ื™ื” ืฉื•ืœื—
ืคืœื˜ ืžืขื•ื‘ื“ ืžืจืืฉ.

ื‘ืฉื™ืžื•ืฉ ืขื ืืคืฉืจื•ื™ื•ืช ื”ื ื”ื’ -MD or -MMD, -MF ืขื•ืงืฃ ืืช ืชืœื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ืงื•ื‘ืฅ ืคืœื˜.

-MG ื‘ืฉื™ืœื•ื‘ ืขื ืืคืฉืจื•ืช ื›ื’ื•ืŸ -M ืžื‘ืงืฉ ื™ืฆื™ืจืช ืชืœื•ืช, -MG ืžื ื™ื—
ืงื‘ืฆื™ ื›ื•ืชืจืช ื—ืกืจื™ื ื”ื ืงื‘ืฆื™ื ืฉื ื•ืฆืจื• ื•ืžื•ืกื™ืคื™ื ืื•ืชื ืœืจืฉื™ืžืช ื”ืชืœื•ืช ืœืœื
ื”ืขืœืืช ืฉื’ื™ืื”. ืฉื ืงื•ื‘ืฅ ื”ืชืœื•ืช ื ืœืงื— ื™ืฉื™ืจื•ืช ืžื”-"#include"
ื”ื ื—ื™ื” ืžื‘ืœื™ ืœื”ืงื“ื™ื ืฉื•ื ื ืชื™ื‘. -MG ื’ื ืžื“ื›ื ืคืœื˜ ืžืขื•ื‘ื“ ืžืจืืฉ, ื›ืžื• ื
ืงื•ื‘ืฅ ื›ื•ืชืจืช ื—ืกืจ ื”ื•ืคืš ืืช ื–ื” ืœื—ืกืจ ืชื•ืขืœืช.

ืชื›ื•ื ื” ื–ื• ืžืฉืžืฉืช ืœืขื“ื›ื•ืŸ ืื•ื˜ื•ืžื˜ื™ ืฉืœ ืงื‘ืฆื™ makefile.

-MP ืืคืฉืจื•ืช ื–ื• ืžื•ืจื” ืœ-CPP ืœื”ื•ืกื™ืฃ ื™ืขื“ ืžื–ื•ื™ืฃ ืขื‘ื•ืจ ื›ืœ ืชืœื•ืช ืžืœื‘ื“ ื”-
ื”ืงื•ื‘ืฅ ื”ืจืืฉื™, ืžื” ืฉื’ื•ืจื ืœื›ืœ ืื—ื“ ืœื”ื™ื•ืช ืชืœื•ื™ ื‘ื›ืœื•ื. ื—ื•ืงื™ ื”ื“ืžื” ื”ืืœื” ืขื•ืงืคื™ื ืฉื’ื™ืื•ืช
ืœืขืฉื•ืช ื ื•ืชืŸ ืื ืชืกื™ืจ ืงื‘ืฆื™ ื›ื•ืชืจืช ืžื‘ืœื™ ืœืขื“ื›ืŸ ืืช ืงื•ื‘ืฅ Makefile ืœื”ืชืื™ื.

ื–ื”ื• ืคืœื˜ ื˜ื™ืคื•ืกื™:

test.o: test.c test.h

test.h:

-MT ื™ืขื“
ืฉื ื” ืืช ื™ืขื“ ื”ื›ืœืœ ื”ื ืคืœื˜ ืขืœ ื™ื“ื™ ื™ืฆื™ืจืช ืชืœื•ืช. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ CPP ืœื•ืงื—
ืฉื ืงื•ื‘ืฅ ื”ืงืœื˜ ื”ืจืืฉื™, ืžื•ื—ืง ื›ืœ ืจื›ื™ื‘ื™ ืกืคืจื™ื™ื” ื•ื›ืœ ืกื™ื•ืžืช ืงื•ื‘ืฅ
ื›ืžื• .c, ื•ืžื•ืกื™ืฃ ืืช ืกื™ื•ืžืช ื”ืื•ื‘ื™ื™ืงื˜ ื”ืจื’ื™ืœื” ืฉืœ ื”ืคืœื˜ืคื•ืจืžื”. ื”ืชื•ืฆืื” ื”ื™ื ื”ืžื˜ืจื”.

An -MT option ืชื’ื“ื™ืจ ืืช ื”ื™ืขื“ ืœื”ื™ื•ืช ื‘ื“ื™ื•ืง ื”ืžื—ืจื•ื–ืช ืฉืชืฆื™ื™ืŸ. ืื ืืชื” ืจื•ืฆื”
ืžืกืคืจ ื™ืขื“ื™ื, ืืชื” ื™ื›ื•ืœ ืœืฆื™ื™ืŸ ืื•ืชื ื›ืืจื’ื•ืžื ื˜ ื™ื—ื™ื“ -MT, ืื• ื”ืฉืชืžืฉ ื‘ืžืกืคืจ
-MT ืืคืฉืจื•ื™ื•ืช.

ืœื“ื•ื’ืžื”, -MT '$(objpfx)foo.o' ืขืฉื•ื™ ืœืชืช

$(objpfx)foo.o: foo.c

-MQ ื™ืขื“
ื›ืžื• -MT, ืื‘ืœ ื–ื” ืžืฆื˜ื˜ ื›ืœ ืชื•ื•ื™ื ืฉื”ื ืžื™ื•ื—ื“ื™ื ืœื™ืฆื™ืจื”.
-MQ '$(objpfx)foo.o' ื ื•ืชืŸ

$$(objpfx)foo.o: foo.c

ื™ืขื“ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืžืฆื•ื˜ื˜ ื‘ืื•ืคืŸ ืื•ื˜ื•ืžื˜ื™, ื›ืื™ืœื• ื”ื•ื ื ื™ืชืŸ ืขื -MQ.

-MD -MD ืฉื•ื•ื” -M -MF ืคื™ืœื”ื—ื•ืฅ ืžื–ื” -E ืื™ื ื• ืžืฉืชืžืข. ื”ื ื”ื’
ืงื•ื‘ืข ืคื™ืœื” ื‘ื”ืชื‘ืกืก ืขืœ ื”ืื ื -o ื ื™ืชื ืช ืืคืฉืจื•ืช. ืื ื›ืŸ, ื”ื ื”ื’ ืžืฉืชืžืฉ ื‘ื•
ื˜ื™ืขื•ืŸ ืื‘ืœ ืขื ืกื™ื•ืžืช ืฉืœ .d, ืื—ืจืช ื–ื” ืœื•ืงื— ืืช ื”ืฉื ืฉืœ ืงื•ื‘ืฅ ื”ืงืœื˜,
ืžืกื™ืจ ื›ืœ ืจื›ื™ื‘ื™ ืกืคืจื™ื™ื” ื•ืกื™ื•ืžืช, ื•ืžื—ื™ืœ ื .d ืกื™ื•ืžืช.

If -MD ืžืฉืžืฉ ื‘ืฉื™ืœื•ื‘ ืขื -E, ื›ืœ -o ืžืชื’ ืžื•ื‘ืŸ ื›ื“ื™ ืœืฆื™ื™ืŸ ืืช
ืงื•ื‘ืฅ ืคืœื˜ ืชืœื•ืช, ืืš ืื ื ืขืฉื” ื‘ื• ืฉื™ืžื•ืฉ ืœืœื -E, ื›ืœ ืื—ื“ -o ืžื•ื‘ืŸ ืœืฆื™ื™ืŸ ื
ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ื”ืžื˜ืจื”.

ื”ืฉืืœื” ื”ื™ื ืื™ืš? -E ืื™ื ื• ืžืฉืชืžืข, -MD ื™ื›ื•ืœ ืœืฉืžืฉ ืœื™ืฆื™ืจืช ืงื•ื‘ืฅ ืคืœื˜ ืชืœื•ืช ื‘ืชื•ืจ ื
ืชื•ืคืขืช ืœื•ื•ืื™ ืฉืœ ืชื”ืœื™ืš ื”ืงื•ืžืคื™ืœืฆื™ื”.

-MMD
ื›ืžื• -MD ืžืœื‘ื“ ืœืฆื™ื™ืŸ ืจืง ืงื‘ืฆื™ ื›ื•ืชืจื•ืช ืฉืœ ืžืฉืชืžืฉ, ืœื ืงื•ื‘ืฆื™ ื›ื•ืชืจื•ืช ืฉืœ ืžืขืจื›ืช.

-fpch-deps
ื‘ืขืช ืฉื™ืžื•ืฉ ื‘ื›ื•ืชืจื•ืช ืžื”ื•ื“ืจื•ืช ืžืจืืฉ, ื“ื’ืœ ื–ื” ื™ื’ืจื•ื ืœื“ื’ืœื™ ืคืœื˜ ื”ืชืœื•ืช
ืจืฉื•ื ื’ื ืืช ื”ืงื‘ืฆื™ื ืžื”ืชืœื•ืช ืฉืœ ื”ื›ื•ืชืจืช ื”ืžื”ื•ื“ืจืช ืžืจืืฉ. ืื ืœื ืฆื•ื™ืŸ ื‘ืœื‘ื“
ื”ื›ื•ืชืจืช ืฉื”ื•ื’ื“ืจื” ืžืจืืฉ ืชื•ืคื™ืข ื‘ืจืฉื™ืžื” ื•ืœื ื”ืงื‘ืฆื™ื ืฉืฉื™ืžืฉื• ืœื™ืฆื™ืจืชื”
ืžื›ื™ื•ื•ืŸ ืฉืœื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืงื‘ืฆื™ื ื”ืืœื” ื›ืืฉืจ ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื›ื•ืชืจืช ืžื”ื•ื“ืจืช ืžืจืืฉ.

-fpch-preprocess
ืืคืฉืจื•ืช ื–ื• ืžืืคืฉืจืช ืฉื™ืžื•ืฉ ื‘ื›ื•ืชืจืช ืžื”ื•ื“ืจืช ืžืจืืฉ ื™ื—ื“ ืขื -E. ื–ื” ืžื›ื ื™ืก ืžื™ื•ื—ื“
"#pragma", "#pragma GCC pch_preprocess "ืฉื ืงื•ื‘ืฅ"" ื‘ืคืœื˜ ื›ื“ื™ ืœืกืžืŸ ืืช ื”ืžืงื•ื
ื”ื™ื›ืŸ ื ืžืฆืื” ื”ื›ื•ืชืจืช ื”ืžื•ืจื›ื‘ืช ืžืจืืฉ, ื•ืฉืœื” ืฉื ื”ืงื•ื‘ืฅ. ื›ืืฉืจ -ืžืขื•ื‘ื“ ืžืจืืฉ ื”ื•ื ื‘
ื”ืฉืชืžืฉ, GCC ืžื–ื”ื” ืืช ื”-"#pragma" ื”ื–ื” ื•ื˜ื•ืขืŸ ืืช ื”-PCH.

ืืคืฉืจื•ืช ื–ื• ื›ื‘ื•ื™ื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืžื›ื™ื•ื•ืŸ ืฉื”ืคืœื˜ ื”ืžืขื•ื‘ื“ ืžืจืืฉ ื”ืžืชืงื‘ืœ ื”ื•ื ืจืง
ืžืชืื™ื ื‘ืืžืช ื›ืงืœื˜ ืœ-GCC. ื”ื•ื ืžื•ืคืขืœ ืขืœ ื™ื“ื™ -ื—ื™ืกื›ื•ืŸ-ื˜ืžืค'.

ืืชื” ืœื ืฆืจื™ืš ืœื›ืชื•ื‘ ืืช ื”-"#pragma" ื”ื–ื” ื‘ืงื•ื“ ืžืฉืœืš, ืื‘ืœ ื–ื” ื‘ื˜ื•ื— ืœืขืจื•ืš ืืช
ืฉื ืงื•ื‘ืฅ ืื ืงื•ื‘ืฅ PCH ื–ืžื™ืŸ ื‘ืžื™ืงื•ื ืื—ืจ. ื™ื™ืชื›ืŸ ืฉืฉื ื”ืงื•ื‘ืฅ ื”ื•ื
ืžื•ื—ืœื˜ ืื• ืฉื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ื™ื—ืกื™ ืœืกืคืจื™ื™ื” ื”ื ื•ื›ื—ื™ืช ืฉืœ GCC.

-x c
-x c ++
-x ืžื˜ืจื”-ื’
-x assembler-with-cpp
ืฆื™ื™ืŸ ืืช ืฉืคืช ื”ืžืงื•ืจ: C, C++, Objective-C ืื• assembly. ืื™ืŸ ืœื–ื” ืฉื•ื ืงืฉืจ
ืขื ื”ืชืืžื” ืœืชืงื ื™ื ืื• ื”ืจื—ื‘ื•ืช; ื–ื” ืจืง ื‘ื•ื—ืจ ืœืื™ื–ื” ืชื—ื‘ื™ืจ ื‘ืกื™ืก
ืœึฐืฆึทืคึผื•ึนืช. ืื ืœื ืชื™ืชืŸ ืืฃ ืื—ืช ืžื”ืืคืฉืจื•ื™ื•ืช ื”ืœืœื•, cpp ื™ื’ื–ื•ืจ ืืช ื”ืฉืคื” ืžื”-
ืกื™ื•ืžืช ืงื•ื‘ืฅ ื”ืžืงื•ืจ: .c, . DC, .m, ืื• .S. ื›ืžื” ื”ืจื—ื‘ื•ืช ื ืคื•ืฆื•ืช ืื—ืจื•ืช ืขื‘ื•ืจ
ื’ื C++ ื•-assembly ืžื•ื›ืจื™ื. ืื cpp ืœื ืžื–ื”ื” ืืช ื”ืชื•ืกืฃ, ื–ื”
ื™ืชื™ื™ื—ืก ืœืงื•ื‘ืฅ ื›-C; ื–ื”ื• ื”ืžืฆื‘ ื”ื’ื ืจื™ ื‘ื™ื•ืชืจ.

ื”ืขืจื”: ื’ืจืกืื•ืช ืงื•ื“ืžื•ืช ืฉืœ cpp ื”ืชืงื‘ืœื• ื -ืœืื ื’ ืืคืฉืจื•ืช ืฉื‘ื—ืจื” ื”ืŸ ืืช
ื”ืฉืคื” ื•ืจืžืช ื”ืชืื™ืžื•ืช ืœืชืงื ื™ื. ืืคืฉืจื•ืช ื–ื• ื”ื•ืกืจื”, ื‘ื’ืœืœ
ื–ื” ืžืชื ื’ืฉ ืขื -l ืื•ึนืคึผึฐืฆึดื™ึธื”.

-std=ืชึถืงึถืŸ
-ืื ืกื™
ืฆื™ื™ืŸ ืืช ื”ืชืงืŸ ืฉืืœื™ื• ื”ืงื•ื“ ืฆืจื™ืš ืœื”ืชืื™ื. ื›ืจื’ืข CPP ื™ื•ื“ืข ืขืœ C
ื•ืชืงื ื™ C++; ืื—ืจื™ื ืขืฉื•ื™ื™ื ืœื”ืชื•ื•ืกืฃ ื‘ืขืชื™ื“.

ืชึถืงึถืŸ ื™ื›ื•ืœ ืœื”ื™ื•ืช ืื—ื“ ืž:

"c90"
"c89"
"iso9899:1990"
ืชืงืŸ ISO C ืžืฉื ืช 1990. c90 ื”ื•ื ื”ืงื™ืฆื•ืจ ื”ืžืงื•ื‘ืœ ืœื’ืจืกื” ื–ื• ืฉืœ
ื”ืกื˜ื ื“ืจื˜.

ื”ืฉืžื™ื™ื -ืื ืกื™ ื”ืื•ืคืฆื™ื” ืฉื•ื•ื” ืœ -std=c90.

"iso9899:199409"
ืชืงืŸ 1990 C, ื›ืคื™ ืฉืชื•ืงืŸ ื‘-1994.

"iso9899:1999"
"c99"
"iso9899:199x"
"c9x"
ืชืงืŸ ISO C ื”ืžืชื•ืงืŸ, ืฉืคื•ืจืกื ื‘ื“ืฆืžื‘ืจ 1999. ืœืคื ื™ ื”ืคืจืกื•ื, ื–ื”
ื”ื™ื” ื™ื“ื•ืข ื‘ืฉื C9X.

"iso9899:2011"
"c11"
"c1x"
ืชืงืŸ ISO C ื”ืžืชื•ืงืŸ, ืฉืคื•ืจืกื ื‘ื“ืฆืžื‘ืจ 2011. ืœืคื ื™ ื”ืคืจืกื•ื, ื–ื”
ื”ื™ื” ื™ื“ื•ืข ื‘ืฉื C1X.

"gnu90"
"gnu89"
ืชืงืŸ 1990 C ื‘ืชื•ืกืคืช ื”ืจื—ื‘ื•ืช GNU. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

"gnu99"
"gnu9x"
ืชืงืŸ C 1999 ื‘ืชื•ืกืคืช ื”ืจื—ื‘ื•ืช ืฉืœ GNU.

"gnu11"
"gnu1x"
ืชืงืŸ C 2011 ื‘ืชื•ืกืคืช ื”ืจื—ื‘ื•ืช ืฉืœ GNU.

"c++98"
ืชืงืŸ ISO C++ ืžืฉื ืช 1998 ื‘ืชื•ืกืคืช ืชื™ืงื•ื ื™ื.

"gnu++98"
ื–ื”ื” ืœ 98. std = c ++ ื‘ืชื•ืกืคืช ื”ืจื—ื‘ื•ืช ืฉืœ GNU. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืงื•ื“ C++.

-ืื ื™- ืคืฆืœ ืืช ื ืชื™ื‘ ื”ื›ืœื•ืœ. ื›ืœ ืกืคืจื™ื•ืช ืฉืฆื•ื™ื ื• ืขื -I ืืคืฉืจื•ื™ื•ืช ืœืคื ื™ -ืื ื™- ื™ืฉ ืœื•
ื—ื™ืคืฉื• ืจืง ื›ื•ืชืจื•ืช ืฉื”ืชื‘ืงืฉื• ืขื "#include"ืงื•ึนื‘ึถืฅ""; ืœื ืžื—ืคืฉื™ื ืื•ืชื
"#ืœึดื›ืœื•ึนืœืงื•ื‘ืฅ>". ืื ืฆื•ื™ื ื• ืกืคืจื™ื•ืช ื ื•ืกืคื•ืช ืขื -I ืืคืฉืจื•ื™ื•ืช ืœืื—ืจ ื”
-ืื ื™-, ื”ืžื“ืจื™ื›ื™ื ื”ืืœื” ืžื—ืคืฉื™ื ืืช ื›ื•ืœื #include ื”ื•ืจืื•ืช.

ื‘ื ื•ืกืฃ, -ืื ื™- ืžืขื›ื‘ ืืช ื”ืฉื™ืžื•ืฉ ื‘ืกืคืจื™ื™ื” ืฉืœ ืกืคืจื™ื™ืช ื”ืงื‘ืฆื™ื ื”ื ื•ื›ื—ื™ืช ื›
ืกืคืจื™ื™ืช ื”ื—ื™ืคื•ืฉ ื”ืจืืฉื•ื ื” ืขื‘ื•ืจ "#include"ืงื•ึนื‘ึถืฅ"". ืืคืฉืจื•ืช ื–ื• ื”ื•ืฆืื” ืžืฉื™ืžื•ืฉ.

-ื ื•ืกื˜ื“ื™ื ืง
ืืœ ืชื—ืคืฉ ื‘ืกืคืจื™ื•ืช ื”ืžืขืจื›ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ืขื‘ื•ืจ ืงื‘ืฆื™ ื›ื•ืชืจื•ืช. ืจืง ื”ืžื“ืจื™ื›ื™ื
ืฉืฆื™ื™ื ืช ืขื -I ืืคืฉืจื•ื™ื•ืช (ื•ื”ืกืคืจื™ื™ื” ืฉืœ ื”ืงื•ื‘ืฅ ื”ื ื•ื›ื—ื™, ืื
ืžืชืื™ื) ืžื—ืคืฉื™ื.

-nostdinc++
ืืœ ืชื—ืคืฉ ืงื‘ืฆื™ ื›ื•ืชืจื•ืช ื‘ืกืคืจื™ื•ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ื”ืกืคืฆื™ืคื™ื•ืช ืœ-C++, ืื‘ืœ ืขื“ื™ื™ืŸ ืชืขืฉื”
ื—ืคืฉ ื‘ืกืคืจื™ื•ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ื”ืื—ืจื•ืช. (ืืคืฉืจื•ืช ื–ื• ืžืฉืžืฉืช ื‘ืขืช ื‘ื ื™ื™ืช ื”-C++
ืกึดืคึฐืจึดื™ึธื”.)

-ืœึดื›ืœื•ึนืœ ืคื™ืœื”
ื”ืชึทื”ึฒืœึดื™ืš ืคื™ืœื” ื›ืื™ืœื• "#include "ืงื•ื‘ืฅ"" ื”ื•ืคื™ืข ื›ืฉื•ืจื” ื”ืจืืฉื•ื ื” ืฉืœ ื”ืžืงื•ืจ ื”ืจืืฉื™
ืงื•ึนื‘ึถืฅ. ืขื ื–ืืช, ื”ืกืคืจื™ื™ื” ื”ืจืืฉื•ื ื” ืฉื—ื™ืคืฉื” ืคื™ืœื” ื”ืื ื”ืคืจื”-ืžืขื‘ื“ ืขื•ื‘ื“
ื‘ืกืคืจื™ื™ื” ื‘ืžืงื•ื of ื”ืกืคืจื™ื™ื” ื”ืžื›ื™ืœื” ืืช ืงื•ื‘ืฅ ื”ืžืงื•ืจ ื”ืจืืฉื™. ืื ืœื ื ืžืฆื
ืฉื, ืžื—ืคืฉื™ื ืื•ืชื• ื‘ืฉืืจื™ืช ืฉืจืฉืจืช ื”ื—ื™ืคื•ืฉ "#include "..."" ื›ืžื•
ืจื’ื™ืœ.

ืื ืžืจื•ื‘ื” -ืœึดื›ืœื•ึนืœ ื ื™ืชื ื•ืช ืืคืฉืจื•ื™ื•ืช, ื”ืงื‘ืฆื™ื ื›ืœื•ืœื™ื ื‘ืกื“ืจ ืฉื”ื
ืžื•ืคื™ืขื™ื ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”.

-ืื™ืžืืงืจื• ืคื™ืœื”
ื‘ื“ื™ื•ืง ื›ืžื• -ืœึดื›ืœื•ึนืœ, ืœืžืขื˜ ื›ืœ ืคืœื˜ ื”ืžื•ืคืง ืขืœ ื™ื“ื™ ืกืจื™ืงื” ืคื™ืœื” ื ื–ืจืง
ืจึธื—ื•ึนืง. ืžืืงืจื• ืฉื”ื•ื ืžื’ื“ื™ืจ ื ืฉืืจื™ื ืžื•ื’ื“ืจื™ื. ื–ื” ืžืืคืฉืจ ืœืš ืœืจื›ื•ืฉ ืืช ื›ืœ ืคืงื•ื“ื•ืช ื”ืžืืงืจื•
ืžื›ื•ืชืจืช ืžื‘ืœื™ ืœืขื‘ื“ ื’ื ืืช ื”ื”ืฆื”ืจื•ืช ืฉืœื”.

ื›ืœ ื”ืงื‘ืฆื™ื ืฉืฆื•ื™ื ื• ืขืœ ื™ื“ื™ -ืื™ืžืืงืจื• ืžืขื•ื‘ื“ื™ื ืœืคื ื™ ื›ืœ ื”ืงื‘ืฆื™ื ืฉืฆื•ื™ื ื• ืขืœ ื™ื“ื™ -ืœึดื›ืœื•ึนืœ.

-ื™ื“irafter dir
ื—ื™ืคื•ืฉ dir ืขื‘ื•ืจ ืงื•ื‘ืฆื™ ื›ื•ืชืจื•ืช, ืื‘ืœ ืขืฉื” ื–ืืช ืœืื—ืจ ื›ืœ ื”ืกืคืจื™ื•ืช ืฉืฆื•ื™ื ื• ืขื -I ื•
ืกืคืจื™ื•ืช ืžืขืจื›ืช ืกื˜ื ื“ืจื˜ื™ื•ืช ืžื•ืฆื•. dir ืžืชื™ื™ื—ืกื™ื ืœืžืขืจื›ืช ื”ื›ื•ืœืœืช
ืžึทื“ืจึดื™ืš. ืื dir ืžืชื—ื™ืœ ื‘-"=", ื•ืื– ื”-"=" ื™ื•ื—ืœืฃ ื‘-sysroot
ืงื™ื“ื•ืžืช; ืœึดืจึฐืื•ึนืช --sysroot ื• -isysroot.

-iprefix ืงื™ื“ื•ืžืช
ืœืคืจื˜ ืงื™ื“ื•ืžืช ื‘ืชื•ืจ ื”ืงื™ื“ื•ืžืช ืขื‘ื•ืจ ื”ื‘ืื•ืช -iwithprefix ืืคืฉืจื•ื™ื•ืช. ืื ื”ืงื™ื“ื•ืžืช
ืžื™ื™ืฆื’ ืกืคืจื™ื™ื”, ืขืœื™ืš ืœื›ืœื•ืœ ืืช ื”ืกื•ืคื™ /.

-iwithprefix dir
-iwithprefixbefore dir
ืฆืจืฃ dir ืœืงื™ื“ื•ืžืช ืฉืฆื•ื™ื ื” ืงื•ื“ื ืœื›ืŸ ืขื -iprefix, ื•ืžื•ืกื™ืคื™ื ืืช ื”ืžืชืงื‘ืœ
ืกืคืจื™ื™ื” ืœื ืชื™ื‘ ื”ื—ื™ืคื•ืฉ ื›ื•ืœืœ. -iwithprefixbefore ืฉื ืื•ืชื• ื‘ืื•ืชื• ืžืงื•ื -I
ื”ื™ื”; -iwithprefix ืฉื ืืช ื–ื” ืื™ืคื” -ื™ื“irafter ื”ื™ื”.

-isysroot dir
ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื›ืžื• ื” --sysroot ืืคืฉืจื•ืช, ืืš ื—ืœื” ืจืง ืขืœ ืงื•ื‘ืฆื™ ื›ื•ืชืจืช (ืœืžืขื˜
ื“ืจื•ื•ื™ืŸ ืžืžืงื“, ืฉื ื–ื” ื—ืœ ื’ื ืขืœ ืงื‘ืฆื™ ื›ื•ืชืจื•ืช ื•ื’ื ืขืœ ืกืคืจื™ื•ืช). ืจืื” ืืช
--sysroot ืืคืฉืจื•ืช ืœืžื™ื“ืข ื ื•ืกืฃ.

-ืื™ืžื•ืœื˜ื™ื‘ื™ dir
ื”ืฉืชืžืฉ dir ื›ืกืคืจื™ื™ืช ืžืฉื ื” ืฉืœ ื”ืกืคืจื™ื™ื” ื”ืžื›ื™ืœื” ื›ื•ืชืจื•ืช C++ ืกืคืฆื™ืคื™ื•ืช ืœื™ืขื“.

-ืžืขืจื›ืช dir
ื—ื™ืคื•ืฉ dir ืขื‘ื•ืจ ืงื•ื‘ืฆื™ ื›ื•ืชืจื•ืช, ืœืื—ืจ ื›ืœ ื”ืกืคืจื™ื•ืช ืฉืฆื•ื™ื ื• ืขืœ ื™ื“ื™ -I ืื‘ืœ ืœืคื ื™
ืกืคืจื™ื•ืช ืžืขืจื›ืช ืกื˜ื ื“ืจื˜ื™ื•ืช. ืกืžืŸ ืื•ืชื• ื›ืกืคืจื™ื™ืช ืžืขืจื›ืช, ื›ืš ืฉื”ื•ื ื™ืงื‘ืœ ืื•ืชื• ื“ื‘ืจ
ื˜ื™ืคื•ืœ ืžื™ื•ื—ื“ ื›ืคื™ ืฉืžื™ื•ืฉื ืขืœ ืกืคืจื™ื•ืช ื”ืžืขืจื›ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช. ืื dir ืžืชื—ื™ืœ
ืขื "=", ืื– ื”-"=" ื™ื•ื—ืœืฃ ื‘ืงื™ื“ื•ืžืช sysroot; ืœึดืจึฐืื•ึนืช --sysroot ื•
-isysroot.

-ืื ื™ ืžืฆื˜ื˜ dir
ื—ื™ืคื•ืฉ dir ืจืง ืขื‘ื•ืจ ืงื‘ืฆื™ ื›ื•ืชืจื•ืช ืฉื”ืชื‘ืงืฉื• ืขื "#include"ืงื•ึนื‘ึถืฅ""; ื”ื ืœื
ื—ื™ืคืฉ ืืช "#includeืงื•ื‘ืฅ>", ืœืคื ื™ ื›ืœ ื”ืกืคืจื™ื•ืช ืฉืฆื•ื™ื ื• ืขืœ ื™ื“ื™ -I ื•ืœืคื ื™
ืกืคืจื™ื•ืช ืžืขืจื›ืช ืกื˜ื ื“ืจื˜ื™ื•ืช. ืื dir ืžืชื—ื™ืœ ื‘-"=", ื•ืื– ื”-"=" ื™ื•ื—ืœืฃ ื‘-
ืงื™ื“ื•ืžืช ื”-sysroot; ืœึดืจึฐืื•ึนืช --sysroot ื• -isysroot.

-fdirectives-ื‘ืœื‘ื“
ื‘ืขืช ืขื™ื‘ื•ื“ ืžืงื“ื™ื, ื˜ืคืœ ื‘ื”ื ื—ื™ื•ืช, ืืš ืืœ ืชืจื—ื™ื‘ ืคืงื•ื“ื•ืช ืžืืงืจื•.

ื”ืชื ื”ื’ื•ืช ื”ืื•ืคืฆื™ื” ืชืœื•ื™ื” ื‘ -E ื• -ืžืขื•ื‘ื“ ืžืจืืฉ ืืคืฉืจื•ื™ื•ืช.

ืขื -E, ืขื™ื‘ื•ื“ ืžืงื“ื™ื ืžื•ื’ื‘ืœ ืœื˜ื™ืคื•ืœ ื‘ื”ื ื—ื™ื•ืช ื›ื’ื•ืŸ "#define",
"#ifdef", ื•-"#error". ืคืขื•ืœื•ืช ืงื“ื-ืžืขื‘ื“ ืื—ืจื•ืช, ื›ื’ื•ืŸ ื”ืจื—ื‘ืช ืžืืงืจื• ื•
ื”ืžืจืช ื˜ืจื™ื’ืจืฃ ืœื ืžื‘ื•ืฆืขืช. ื‘ื ื•ืกืฃ -dD ื”ืืคืฉืจื•ืช ื”ื™ื ื‘ืžืจื•ืžื–
ืžืื•ืคืฉืจ.

ืขื -ืžืขื•ื‘ื“ ืžืจืืฉ, ื”ื’ื“ืจื” ืžืจืืฉ ืฉืœ ืฉื•ืจืช ื”ืคืงื•ื“ื” ื•ืจื•ื‘ ืคืงื•ื“ื•ืช ื”ืžืืงืจื• ื”ืžื•ื‘ื ื•ืช ื”ื™ื
ื ึธื›ึถื”. ืžืืงืจื• ื›ื’ื•ืŸ "__LINE__", ืฉื”ื ืชืœื•ื™ื™ ื”ืงืฉืจ, ืžื˜ื•ืคืœื™ื
ื‘ื“ืจืš ื›ืœืœ. ื–ื” ืžืืคืฉืจ ื”ื™ื“ื•ืจ ืฉืœ ืงื‘ืฆื™ื ืฉืขื•ื‘ื“ื• ืงื•ื“ื ืœื›ืŸ ืขื "-E
-fdirectives-ื‘ืœื‘ื“".

ืขื ืฉื ื™ื”ื -E ื• -ืžืขื•ื‘ื“ ืžืจืืฉ, ื”ื›ืœืœื™ื ืขื‘ื•ืจ -ืžืขื•ื‘ื“ ืžืจืืฉ ืœืงื‘ืœ ืขื“ื™ืคื•ืช. ื–ึถื”
ืžืืคืฉืจ ืขื™ื‘ื•ื“ ืžืงื“ื™ื ืžืœื ืฉืœ ืงื‘ืฆื™ื ืฉืขื•ื‘ื“ื• ืงื•ื“ื ืœื›ืŸ ืขื "-E
-fdirectives-ื‘ืœื‘ื“".

-fdollars-in-identifiers
ืœึฐืงึทื‘ึผึตืœ $ ื‘ืžื–ื”ื™ื.

-ืžื–ื”ื™ื-fextended
ืงื‘ืœ ืฉืžื•ืช ืชื•ื•ื™ื ืื•ื ื™ื‘ืจืกืœื™ื™ื ื‘ืžื–ื”ื™ื. ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื ื™ืกื™ื•ื ื™ืช; ื‘
ื’ืจืกื” ืขืชื™ื“ื™ืช ืฉืœ GCC, ื”ื™ื ืชื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ C99 ื•-C++.

-fno-canonical-system-headers
ื‘ืขืช ืขื™ื‘ื•ื“ ืžืงื“ื™ื, ืืœ ืชืงืฆืจ ื ืชื™ื‘ื™ ื›ื•ืชืจืช ืฉืœ ื”ืžืขืจื›ืช ื‘ืืžืฆืขื•ืช ืงื ื•ื ื™ื–ืฆื™ื”.

-ืžืขื•ื‘ื“ ืžืจืืฉ
ืฆื™ื™ืŸ ื‘ืคื ื™ ื”ืžืขื‘ื“ ืžืจืืฉ ืฉืงื•ื‘ืฅ ื”ืงืœื˜ ื›ื‘ืจ ืขื‘ืจ ืขื™ื‘ื•ื“ ืžื•ืงื“ื. ื–ึถื”
ืžื“ื›ื ื“ื‘ืจื™ื ื›ืžื• ื”ืจื—ื‘ืช ืžืืงืจื•, ื”ืžืจืช ื˜ืจื™ื’ืจืฃ, ืฉื—ื‘ื•ืจ ื ืžืœื˜,
ื•ืขื™ื‘ื•ื“ ืจื•ื‘ ื”ื”ื ื—ื™ื•ืช. ื”ืžืขื‘ื“ ื”ืžืงื“ื™ื ืขื“ื™ื™ืŸ ืžื–ื”ื” ื•ืžืกื™ืจ
ื”ืขืจื•ืช, ื›ื“ื™ ืฉืชื•ื›ืœ ืœื”ืขื‘ื™ืจ ืื™ืชื• ืงื•ื‘ืฅ ืฉืขื•ื‘ื“ ืžืจืืฉ -C ืœืžื”ื“ืจ ื‘ืœื™
ื‘ืขื™ื•ืช. ื‘ืžืฆื‘ ื–ื” ื”ืžืขื‘ื“ ื”ืžืงื“ื™ื ื”ืžืฉื•ืœื‘ ื”ื•ื ืžืขื˜ ื™ื•ืชืจ ืžื˜ื•ืงื ื™ื™ื–ืจ
ืขื‘ื•ืจ ื”ืงืฆื•ื•ืช ื”ืงื“ืžื™ื™ื.

-ืžืขื•ื‘ื“ ืžืจืืฉ ืžืฉืชืžืข ืื ืœืงื•ื‘ืฅ ื”ืงืœื˜ ื™ืฉ ืื—ืช ืžื”ืกื™ื•ืžื•ืช .i, .ii or .ืžึดื™.
ืืœื• ื”ืŸ ื”ื”ืจื—ื‘ื•ืช ืฉ-GCC ืžืฉืชืžืฉ ื‘ื”ืŸ ืขื‘ื•ืจ ืงื‘ืฆื™ื ืžืขื•ื‘ื“ื™ื ืžืจืืฉ ืฉื ื•ืฆืจื• ืขืœ ื™ื“ื™ -ื—ื™ืกื›ื•ืŸ-ื˜ืžืค'.

-ftabstop=ืจื•ื—ื‘
ื”ื’ื“ืจ ืืช ื”ืžืจื—ืง ื‘ื™ืŸ ืขืฆื™ืจื•ืช ื”ื˜ืื‘. ื–ื” ืขื•ื–ืจ ืœืžืขื‘ื“ ื”ืžืงื“ื™ื ืœื“ื•ื•ื— ืขืœ ื”ืขืžื•ื“ื” ื”ื ื›ื•ื ื”
ืžืกืคืจื™ื ื‘ืื–ื”ืจื•ืช ืื• ื‘ืฉื’ื™ืื•ืช, ื’ื ืื ืžื•ืคื™ืขื•ืช ื›ืจื˜ื™ืกื™ื•ืช ืขืœ ื”ืงื•. ืื ื”ืขืจืš ื ืžื•ืš ื™ื•ืชืจ
ืž-1 ืื• ื™ื•ืชืจ ืž-100, ื”ืžืขืจื›ืช ืžืชืขืœืžืช ืžื”ืืคืฉืจื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 8.

-fdebug-cpp
ืืคืฉืจื•ืช ื–ื• ืฉื™ืžื•ืฉื™ืช ืจืง ืœืื™ืชื•ืจ ื‘ืื’ื™ื ืฉืœ GCC. ื‘ืฉื™ืžื•ืฉ ืขื -E, ื“ื•ืคืง ื ื™ืคื•ื™ ื‘ืื’ื™ื
ืžื™ื“ืข ืขืœ ืžืคื•ืช ืžื™ืงื•ื. ืœืคื ื™ ื›ืœ ืืกื™ืžื•ืŸ ื‘ืคืœื˜ ื™ืฉ dump ืฉืœ
ื”ืžืคื” ืฉื™ื™ืš ืœืžื™ืงื•ืžื”. ื”ืžื–ื‘ืœื” ืฉืœ ื”ืžืคื” ืฉืžื—ื–ื™ืงื” ืืช ืžื™ืงื•ืžื• ืฉืœ ืืกื™ืžื•ืŸ
ื™ื”ื™ื”:

{"P":F ;"F":F ;"L": ;"C": ;"S": ;"M": ;"E": "loc": }

ื‘ืฉื™ืžื•ืฉ ืœืœื -E, ืœืืคืฉืจื•ืช ื–ื• ืื™ืŸ ื”ืฉืคืขื”.

-ftrack-macro-expansion[=ืจึธืžึธื”]
ืขืงื•ื‘ ืื—ืจ ืžื™ืงื•ืžื™ื ืฉืœ ืืกื™ืžื•ื ื™ื ืขืœ ืคื ื™ ื”ืจื—ื‘ื•ืช ืžืืงืจื•. ื–ื” ืžืืคืฉืจ ืœืžื”ื“ืจ ืœืคืœื•ื˜
ืื‘ื—ื•ืŸ ืœื’ื‘ื™ ืขืจื™ืžืช ื”ืจื—ื‘ืช ื”ืžืืงืจื• ื”ื ื•ื›ื—ื™ืช ื›ืืฉืจ ืžืชืจื—ืฉืช ืฉื’ื™ืืช ืงื•ืžืคื™ืœืฆื™ื” ื‘
ื”ืจื—ื‘ืช ืžืืงืจื•. ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื’ื•ืจื ืœืžืขื‘ื“ ื”ืคืจื” ื•ืœืงื•ืžืคื™ื™ืœืจ ืœืฆืจื•ืš
ื™ื•ืชืจ ื–ื™ื›ืจื•ืŸ. ื” ืจึธืžึธื” ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืคืจืžื˜ืจ ื›ื“ื™ ืœื‘ื—ื•ืจ ืืช ืจืžืช ื”ื“ื™ื•ืง ืฉืœ ื”ืืกื™ืžื•ืŸ
ืžืขืงื‘ ืื—ืจ ืžื™ืงื•ื ื•ื‘ื›ืš ืžืงื˜ื™ืŸ ืืช ืฆืจื™ื›ืช ื”ื–ื™ื›ืจื•ืŸ ื‘ืžื™ื“ืช ื”ืฆื•ืจืš. ืขืจืš 0 of
ืจึธืžึธื” ืžื‘ื˜ืœ ืืช ื”ืืคืฉืจื•ืช ื”ื–ื• ื›ืื™ืœื• ืœื -ftrack-macro-expansion ื”ื™ื” ื ื•ื›ื— ื‘
ืฉื•ืจืช ื”ืคืงื•ื“ื”. ืขืจืš 1 ืขื•ืงื‘ ืื—ืจ ืžื™ืงื•ืžื™ ืืกื™ืžื•ื ื™ื ื‘ืžืฆื‘ ืžื•ืฉืคืœ ืœืžืขืŸ
ื–ื™ื›ืจื•ืŸ ืชืงื•ืจื” ืžื™ื ื™ืžืœื™. ื‘ืžืฆื‘ ื–ื” ื›ืœ ื”ืืกื™ืžื•ื ื™ื ื”ื ื•ื‘ืขื™ื ืžื”ืจื—ื‘ื” ืฉืœ an
ืœืืจื’ื•ืžื ื˜ ืฉืœ ืžืืงืจื• ื“ืžื•ื™ ืคื•ื ืงืฆื™ื” ื™ืฉ ืื•ืชื• ืžื™ืงื•ื. ืขืจืš 2 ืขื•ืงื‘ ืื—ืจ ืืกื™ืžื•ื ื™ื
ืžื™ืงื•ืžื™ื ืœื—ืœื•ื˜ื™ืŸ. ื”ืขืจืš ื”ื–ื” ื”ื•ื ื”ื›ื™ ืจืขื‘ ืœื–ื™ื›ืจื•ืŸ. ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ื ื™ืชื ืช
ืื™ืŸ ืืจื’ื•ืžื ื˜, ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ื”ืคืจืžื˜ืจ ื”ื•ื 2.

ืฉื™ืžื• ืœื‘ ืฉ-ftrack-macro-expansion=2 ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-fexec-charset=ืขืจื›ื”
ื”ื’ื“ืจ ืืช ืขืจื›ืช ืชื•ื•ื™ ื”ื‘ื™ืฆื•ืข, ื”ืžืฉืžืฉืช ืœืงื‘ื•ืขื™ ืžื—ืจื•ื–ืช ื•ืชื•ื•ื™ื. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื”ื•ื UTF-8. ืขืจื›ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ื›ืœ ืงื™ื“ื•ื“ ืฉื ืชืžืš ืขืœ ื™ื“ื™ ืกืคืจื™ื™ืช "iconv" ืฉืœ ื”ืžืขืจื›ืช
ืฉื’ืจื”.

-fwide-exec-charset=ืขืจื›ื”
ื”ื’ื“ืจ ืืช ืขืจื›ืช ืชื•ื•ื™ ื”ื‘ื™ืฆื•ืข ื”ืจื—ื‘ื”, ื”ืžืฉืžืฉืช ืขื‘ื•ืจ ืžื—ืจื•ื–ืช ืจื—ื‘ื” ื•ืงื‘ื•ืขื™ ืชื•ื•ื™ื.
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื UTF-32 ืื• UTF-16, ืžื” ืฉืžืชืื™ื ืœืจื•ื—ื‘ ืฉืœ "wchar_t". ื›ืคื™ ืฉ
ืขื -fexec-charset, ืขืจื›ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ื›ืœ ืงื™ื“ื•ื“ ืฉื ืชืžืš ืขืœ ื™ื“ื™ ื”"ืื™ื™ืงื•ืŸ" ืฉืœ ื”ืžืขืจื›ืช
ืฉื’ืจืช ืกืคืจื™ื™ื”; ืขื ื–ืืช, ื™ื”ื™ื• ืœืš ื‘ืขื™ื•ืช ืขื ืงื™ื“ื•ื“ื™ื ืฉืื™ื ื ืžืชืื™ืžื™ื
ื‘ื“ื™ื•ืง ื‘-"wchar_t".

-ืคื•ื ื˜-ื’ื˜ืก =ืขืจื›ื”
ื”ื’ื“ืจ ืืช ืขืจื›ืช ืชื•ื•ื™ ื”ืงืœื˜, ื”ืžืฉืžืฉืช ืœืชืจื’ื•ื ืžืงื‘ื•ืฆืช ื”ืชื•ื•ื™ื ืฉืœ ื”ืงืœื˜
ืงื•ื‘ืฅ ืœืงื‘ื•ืฆืช ืชื•ื•ื™ ื”ืžืงื•ืจ ื”ืžืฉืžืฉืช ืืช GCC. ืื ื”ืžืงื•ื ืื™ื ื• ืžืฆื™ื™ืŸ, ืื• GCC
ืœื ื™ื›ื•ืœ ืœืงื‘ืœ ืžื™ื“ืข ื–ื” ืžื”ืžืงื•ื, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื UTF-8. ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช
ื ื“ื—ืง ืขืœ ื™ื“ื™ ื”ืžืงื•ื ืื• ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื”ื–ื•. ื›ืจื’ืข ื”ืคืงื•ื“ื”
ืืคืฉืจื•ืช ื”ืงื• ืžืงื‘ืœืช ืขื“ื™ืคื•ืช ืื ื™ืฉ ื”ืชื ื’ืฉื•ืช. ืขืจื›ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ื›ืœ ืงื™ื“ื•ื“
ื ืชืžืš ืขืœ ื™ื“ื™ ืฉื’ืจืช ืกืคืจื™ื™ืช "iconv" ืฉืœ ื”ืžืขืจื›ืช.

-fworking-ืžื“ืจื™ืš
ืืคืฉืจ ื™ืฆื™ืจื” ืฉืœ ืกืžื ื™ ืงื•ื•ื™ื ื‘ืคืœื˜ ื”ืคืจื”-ืžืขื‘ื“ ืฉื™ืืคืฉืจื• ืœืžื”ื“ืจ
ืœื“ืขืช ืืช ืกืคืจื™ื™ืช ื”ืขื‘ื•ื“ื” ื”ื ื•ื›ื—ื™ืช ื‘ื–ืžืŸ ื”ืขื™ื‘ื•ื“ ื”ืžืงื“ื™ื. ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ื”ื™ื
ืžื•ืคืขืœืช, ื”ืžืขื‘ื“ ื”ืžืงื“ื™ื ื™ืคืœื•ื˜, ืœืื—ืจ ืกืžืŸ ื”ืงื• ื”ืจืืฉื•ื ื™, ืกืžืŸ ืงื• ืฉื ื™
ืขื ืกืคืจื™ื™ืช ื”ืขื‘ื•ื“ื” ื”ื ื•ื›ื—ื™ืช ื•ืื—ืจื™ื” ืฉื ื™ ืงื•ื•ื™ื. GCC ื™ืฉืชืžืฉ ื‘ื–ื”
ืกืคืจื™ื™ื”, ื›ืืฉืจ ื”ื™ื ืงื™ื™ืžืช ื‘ืงืœื˜ ื”ืžืขื•ื‘ื“ ืžืจืืฉ, ื›ืคื™ ืฉื”ืกืคืจื™ื™ื” ื ืคืœื˜ื” ื‘ืฉื
ืกืคืจื™ื™ืช ื”ืขื‘ื•ื“ื” ื”ื ื•ื›ื—ื™ืช ื‘ื—ืœืง ืžื”ืคื•ืจืžื˜ื™ื ืฉืœ ืžื™ื“ืข ืื™ืชื•ืจ ื‘ืื’ื™ื. ืืคืฉืจื•ืช ื–ื• ื”ื™ื
ืžื•ืคืขืœ ื‘ืื•ืคืŸ ืžืจื•ืžื– ืื ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื ืžื•ืคืขืœ, ืืš ื ื™ืชืŸ ืœืžื ื•ืข ื–ืืช ื‘ืืžืฆืขื•ืช
ื”ืฆื•ืจื” ื”ืฉืœื™ืœื” -fno-working-directory. ืื -P ื“ื’ืœ ืงื™ื™ื ื‘ืคืงื•ื“ื”
ืฉื•ืจื”, ืœืืคืฉืจื•ืช ื–ื• ืื™ืŸ ื”ืฉืคืขื”, ืžื›ื™ื•ื•ืŸ ืฉืœื ื ืคืœื˜ื• ื”ื ื—ื™ื•ืช "#line" ื›ืœืฉื”ืŸ.

-ืขืžื•ื“ื”-fno-show
ืื™ืŸ ืœื”ื“ืคื™ืก ืžืกืคืจื™ ืขืžื•ื“ื•ืช ื‘ืื‘ื—ื•ืŸ. ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ื ื—ื•ืฅ ืื ื™ืฉ ืื‘ื—ื•ืŸ
ื ืกืจืง ืขืœ ื™ื“ื™ ืชื•ื›ื ื” ืฉืื™ื ื” ืžื‘ื™ื ื” ืืช ืžืกืคืจื™ ื”ืขืžื•ื“ื•ืช, ื›ื’ื•ืŸ
Dejagnu.

-A ืœึฐื‘ึทืกึตืก=ืœืขื ื•ืช
ืงื‘ืข ื˜ืขื ื” ืขื ื”ืคืจื“ื™ืงื˜ ืœึฐื‘ึทืกึตืก ื•ืชืขื ื” ืœืขื ื•ืช. ื˜ื•ืคืก ื–ื” ื”ื•ื
ื”ืขื“ื™ืคื• ืืช ื”ืฆื•ืจื” ื”ื™ืฉื ื” ื™ื•ืชืจ -A ืœึฐื‘ึทืกึตืก(ืœืขื ื•ืช), ืืฉืจ ืขื“ื™ื™ืŸ ื ืชืžืš, ื›ื™ ื–ื”
ืื™ื ื• ืžืฉืชืžืฉ ื‘ืชื•ื•ื™ื ืžื™ื•ื—ื“ื™ื ืฉืœ ืžืขื˜ืคืช.

-A -ืœึฐื‘ึทืกึตืก=ืœืขื ื•ืช
ื‘ื˜ืœ ื˜ืขื ื” ืขื ื”ืคืจื“ื™ืงื˜ ืœึฐื‘ึทืกึตืก ื•ืชืขื ื” ืœืขื ื•ืช.

-dCHARS
ืชื•ื•ื™ื ื”ื•ื ืจืฆืฃ ืฉืœ ืื—ื“ ืื• ื™ื•ืชืจ ืžื”ืชื•ื•ื™ื ื”ื‘ืื™ื, ื•ืืกื•ืจ ืœื”ื™ื•ืช
ืœืคื ื™ื• ืจื•ื•ื—. ืชื•ื•ื™ื ืื—ืจื™ื ืžืชืคืจืฉื™ื ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ, ืื•
ืฉืžื•ืจื•ืช ืœื’ืจืกืื•ืช ืขืชื™ื“ื™ื•ืช ืฉืœ GCC, ื•ืœื›ืŸ ืžืชืขืœืžื™ื ื‘ืฉืงื˜. ืื ืชืคืจื˜
ื“ืžื•ื™ื•ืช ืฉื”ืชื ื”ื’ื•ืชืŸ ืžืชื ื’ืฉืช, ื”ืชื•ืฆืื” ืื™ื ื” ืžื•ื’ื“ืจืช.

M ื‘ืžืงื•ื ื”ืคืœื˜ ื”ืจื’ื™ืœ, ืฆื•ืจ ืจืฉื™ืžื” ืฉืœ #define ื”ื ื—ื™ื•ืช ืœื›ืœ
ืคืงื•ื“ื•ืช ืžืืงืจื• ืฉื”ื•ื’ื“ืจื• ื‘ืžื”ืœืš ื‘ื™ืฆื•ืข ื”ืžืขื‘ื“ ื”ืžืงื“ื™ื, ื›ื•ืœืœ ืžื•ื’ื“ืจื•ืช ืžืจืืฉ
ืคืงื•ื“ื•ืช ืžืืงืจื•. ื–ื” ื ื•ืชืŸ ืœืš ื“ืจืš ืœื’ืœื•ืช ืžื” ืžื•ื’ื“ืจ ืžืจืืฉ ื‘ื’ืจืกื” ืฉืœืš ืฉืœ
ื”ืžืขื‘ื“ ื”ืžืงื“ื™ื. ื‘ื”ื ื—ื” ืฉืื™ืŸ ืœืš ืงื•ื‘ืฅ foo.h, ื”ืคืงื•ื“ื”

ืœื’ืขืช ื‘-foo.h; cpp -dM foo.h

ื™ืฆื™ื’ ืืช ื›ืœ ื”ืžืืงืจื• ืฉื”ื•ื’ื“ืจื• ืžืจืืฉ.

ืื ืืชื” ืžืฉืชืžืฉ -dM ื‘ืœื™ ื” -E ืื•ึนืคึผึฐืฆึดื™ึธื”, -dM ืžืชืคืจืฉ ื›ืžื™ืœื” ื ืจื“ืคืช ืœ
-fdump-rtl-mach.

D ื›ืžื• M ืืœื ืžืฉื ื™ ื‘ื—ื™ื ื•ืช: ื›ืŸ ืœึนื ื›ืœื•ืœ ืืช ืคืงื•ื“ื•ืช ื”ืžืืงืจื• ื”ืžื•ื’ื“ืจื•ืช ืžืจืืฉ, ื•ื–ื”
ืคืœื˜ื™ื ืฉื ื™ื”ื ืžื” ื”ื™ื #define ื”ื ื—ื™ื•ืช ื•ื”ืชื•ืฆืื” ืฉืœ ืขื™ื‘ื•ื“ ืžืงื“ื™ื. ืฉื ื™ ื”ืกื•ื’ื™ื
ืฉืœ ื”ืคืœื˜ ืขื‘ื•ืจ ืœืงื•ื‘ืฅ ื”ืคืœื˜ ื”ืกื˜ื ื“ืจื˜ื™.

N ื›ืžื• D, ืื‘ืœ ืคื•ืœื˜ ืจืง ืืช ืฉืžื•ืช ื”ืžืืงืจื•, ืœื ืืช ื”ื”ืจื—ื‘ื•ืช ืฉืœื”ื.

I ืชึฐืคื•ึผืงึธื” #include ื”ื ื—ื™ื•ืช ื‘ื ื•ืกืฃ ืœืชื•ืฆืื” ืฉืœ ืขื™ื‘ื•ื“ ืžืงื“ื™ื.

U ื›ืžื• D ืืœื ืฉืจืง ืคืงื•ื“ื•ืช ืžืืงืจื• ืžื•ืจื—ื‘ื•ืช, ืื• ืฉื”ื’ื“ืจืชืŸ ื ื‘ื“ืงืช
ื‘ื”ื ื—ื™ื•ืช ืงื“ื-ืžืขื‘ื“, ื”ื ืคืœื˜; ื”ืคืœื˜ ืžืชืขื›ื‘ ืขื“ ืœืฉื™ืžื•ืฉ ืื•
ื‘ื“ื™ืงื” ืฉืœ ื”ืžืืงืจื•; ื• #undef ื”ื ื—ื™ื•ืช ืžื•ืคืงื•ืช ื’ื ืขื‘ื•ืจ ืคืงื•ื“ื•ืช ืžืืงืจื• ืฉื ื‘ื“ืงื• ืื‘ืœ
ืœื ืžื•ื’ื“ืจ ื‘ืื•ืชื• ื–ืžืŸ.

-P ืขื™ื›ื•ื‘ ื™ืฆื™ืจืช ืกืžื ื™ ืงื•ื•ื™ื ื‘ืคืœื˜ ืžื”ืงื“ื-ืžืขื‘ื“. ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช
ืฉื™ืžื•ืฉื™ ื‘ืขืช ื”ืคืขืœืช ื”ืคืจื”-ืžืขื‘ื“ ืขืœ ืžืฉื”ื• ืฉืื™ื ื• ืงื•ื“ C, ื•ื™ื™ืฉืœื—
ืœืชื•ื›ื ื™ืช ืฉืขืœื•ืœื” ืœื”ืชื‘ืœื‘ืœ ืขืœ ื™ื“ื™ ืกืžื ื™ ื”ืงื•.

-C ืืœ ืชื‘ื˜ืœ ื”ืขืจื•ืช. ื›ืœ ื”ื”ืขืจื•ืช ืžื•ืขื‘ืจื•ืช ืœืงื•ื‘ืฅ ื”ืคืœื˜, ืœืžืขื˜
ืœื”ืขืจื•ืช ื‘ื”ื ื—ื™ื•ืช ืžืขื•ื‘ื“ื•ืช, ืฉื ืžื—ืงื•ืช ื™ื—ื“ ืขื ื”ื”ื•ืจืื”.

ืืชื” ืฆืจื™ืš ืœื”ื™ื•ืช ืžื•ื›ืŸ ืœืชื•ืคืขื•ืช ืœื•ื•ืื™ ื‘ืขืช ื”ืฉื™ืžื•ืฉ -C; ื–ื” ื’ื•ืจื ืœืžืขื‘ื“ ื”ืงื“ื
ืœื”ืชื™ื™ื—ืก ืœื”ืขืจื•ืช ื›ืืœ ืืกื™ืžื•ื ื™ื ื‘ืคื ื™ ืขืฆืžื. ืœื“ื•ื’ืžื”, ื”ืขืจื•ืช ื”ืžื•ืคื™ืขื•ืช ื‘-
ื”ืชื—ืœื” ืฉืœ ืžื” ืฉื™ื”ื™ื” ืงื• ื”ื ื—ื™ื” ืžืฉืคื™ืขื” ืœื”ืคื•ืš ืืช ื”ืงื• ื”ื–ื” ืœ-an
ืงื• ืžืงื•ืจ ืจื’ื™ืœ, ืžื›ื™ื•ื•ืŸ ืฉื”ืืกื™ืžื•ืŸ ื”ืจืืฉื•ืŸ ื‘ืงื• ืื™ื ื• ืขื•ื“ a #.

-CC ืื™ืŸ ืœื”ืฉืœื™ืš ื”ืขืจื•ืช, ื›ื•ืœืœ ื‘ืžื”ืœืš ื”ืจื—ื‘ืช ืžืืงืจื•. ื–ื” ื›ืžื• -C, ืžืœื‘ื“
ืฉื”ื”ืขืจื•ืช ื”ื›ืœื•ืœื•ืช ื‘ืคืงื•ื“ื•ืช ืžืืงืจื• ืžื•ืขื‘ืจื•ืช ื’ื ืœืงื•ื‘ืฅ ื”ืคืœื˜ ืฉื‘ื•
ื”ืžืืงืจื• ืžื•ืจื—ื‘.

ื‘ื ื•ืกืฃ ืœืชื•ืคืขื•ืช ื”ืœื•ื•ืื™ ืฉืœ -C ืืคืฉืจื•ืช, -CC ืืคืฉืจื•ืช ื’ื•ืจืžืช ืœื›ืœ ืกื’ื ื•ืŸ C++
ื”ืขืจื•ืช ื‘ืชื•ืš ืžืืงืจื• ืœื”ืžืจื” ืœื”ืขืจื•ืช ื‘ืกื’ื ื•ืŸ C. ื–ืืช ื›ื“ื™ ืœืžื ื•ืข ืžืื•ื—ืจ ื™ื•ืชืจ
ืฉื™ืžื•ืฉ ื‘ืžืืงืจื• ื”ื–ื” ืžื”ืขืจื” ื‘ืฉื•ื’ื’ ืขืœ ืฉืืจ ืฉื•ืจืช ื”ืžืงื•ืจ.

ื”ืฉืžื™ื™ื -CC ื”ืื•ืคืฆื™ื” ืžืฉืžืฉืช ื‘ื“ืจืš ื›ืœืœ ืœืชืžื™ื›ื” ื‘ื”ืขืจื•ืช ืžื•ืš.

-ืžืกื•ืจืชื™-cpp
ื ืกื• ืœื—ืงื•ืช ืืช ื”ื”ืชื ื”ื’ื•ืช ืฉืœ ืžืขื‘ื“ื™ ืงื“ื C ืฉืœ ืคืขื, ื‘ื ื™ื’ื•ื“ ืœ-ISO C
ืžืขื‘ื“ื™ ืงื“ื.

-ื˜ืจื™ื’ืจืคื™ื
ืขื™ื‘ื•ื“ ืจืฆืคื™ ื˜ืจื™ื’ืจืฃ. ืืœื• ื”ื ืจืฆืคื™ื ืฉืœ ืฉืœื•ืฉื” ืชื•ื•ื™ื, ื›ื•ืœื ืžืชื—ื™ืœื™ื ื‘
??, ืฉืžื•ื’ื“ืจื™ื ืขืœ ื™ื“ื™ ISO C ืœื™ื™ืฆื’ ืชื•ื•ื™ื ื‘ื•ื“ื“ื™ื. ืœื“ื•ื’ืžื”, ??/ ืขื•ืžื“
ืœ \, ื›ืš '??/n' ื”ื•ื ืงื‘ื•ืข ืชื• ืขื‘ื•ืจ ืฉื•ืจื” ื—ื“ืฉื”. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ืžืชืขืœื
ื˜ืจื™ื’ืจืคื™ื, ืื‘ืœ ื‘ืžืฆื‘ื™ื ื”ืชื•ืืžื™ื ืœืชืงืŸ ื”ื•ื ืžืžื™ืจ ืื•ืชื. ืจืื” ืืช -ืกื˜ื“ ื• -ืื ืกื™
ืืคืฉืจื•ื™ื•ืช.

ืชืฉืขืช ื”ื˜ืจื™ื’ืจืคื™ื ื•ื”ืžื—ืœื™ืคื™ื ืฉืœื”ื ื”ื

ื˜ืจื™ื’ืจืฃ: ??( ??) ??< ??> ??= ??/ ??' ??! ??-
ื”ื—ืœืคื”: [ ] { } # \ ^ | ~

-ืžืคื” ืžื—ื“ืฉ
ืืคืฉืจ ืงื•ื“ ืžื™ื•ื—ื“ ื›ื“ื™ ืœืขืงื•ืฃ ืžืขืจื›ื•ืช ืงื‘ืฆื™ื ื”ืžืืคืฉืจื•ืช ืจืง ืงื‘ืฆื™ื ืงืฆืจื™ื ืžืื•ื“
ืฉืžื•ืช, ื›ื’ื•ืŸ MS-DOS.

- ืขื–ืจื”
--ืžื˜ืจื”-ืขื–ืจื”
ื”ื“ืคืก ื˜ืงืกื˜ ื”ืžืชืืจ ืืช ื›ืœ ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื‘ืžืงื•ื ืœืขื‘ื“ ื›ืœ ื“ื‘ืจ ืžืจืืฉ.

-v ืžืฆื‘ ืžื™ืœื•ืœื™. ื”ื“ืคืก ืืช ืžืกืคืจ ื”ื’ืจืกื” ืฉืœ GNU CPP ื‘ืชื—ื™ืœืช ื”ื‘ื™ืฆื•ืข, ื•ื›ืŸ
ื“ื•ื•ื— ืขืœ ื”ื˜ื•ืคืก ื”ืกื•ืคื™ ืฉืœ ื ืชื™ื‘ ื”ื›ืœื•ืœ.

-H ื”ื“ืคืก ืืช ื”ืฉื ืฉืœ ื›ืœ ืงื•ื‘ืฅ ื›ื•ืชืจืช ื‘ืฉื™ืžื•ืฉ, ื‘ื ื•ืกืฃ ืœืคืขื™ืœื•ื™ื•ืช ืจื’ื™ืœื•ืช ืื—ืจื•ืช. ื›ืœ ืื—ื“
ื”ืฉื ืžืกื•ืžืŸ ื›ื“ื™ ืœื”ืจืื•ืช ืขื“ ื›ืžื” ืขืžื•ืง ื‘- #include ืžื—ืกื ื™ืช ื–ื”. ื›ื•ืชืจืช ืžื”ื•ื“ืจืช ืžืจืืฉ
ืžื•ื“ืคืกื™ื ื’ื ืงื‘ืฆื™ื, ื’ื ืื ื”ื ื ืžืฆืื™ื ื›ืœื ื—ื•ืงื™ื™ื; ืงื•ืžืคื™ืœืฆื™ื” ืžืจืืฉ ืœื ื—ื•ืงื™ืช
ืงื•ื‘ืฅ ื”ื›ื•ืชืจืช ืžื•ื“ืคืก ืขื ...ืื™ืงืก ื•ืชืงืฃ ืขื ...! .

-ื”ืคืš
--ื’ึดืจึฐืกึธื”
ื”ื“ืคืก ืืช ืžืกืคืจ ื”ื’ืจืกื” ืฉืœ GNU CPP. ืขื ืžืงืฃ ืื—ื“, ื”ืžืฉืš ืœืขื™ื‘ื•ื“ ืžืงื“ื™ื ื›ืจื’ื™ืœ.
ืขื ืฉื ื™ ืžืงืคื™ื, ืฆื ืžื™ื“.

ื—ื•ืœืฃ ืืคืฉืจื•ื™ื•ืช ืœ ืžื” ื”ื™ื ืืกืžื‘ืœืจ
ืืชื” ื™ื›ื•ืœ ืœื”ืขื‘ื™ืจ ืืคืฉืจื•ื™ื•ืช ืœื”ืจื›ื‘.

-ื•ื•ื,ืื•ึนืคึผึฐืฆึดื™ึธื”
ืœืขื‘ื•ืจ ืื•ึนืคึผึฐืฆึดื™ึธื” ื›ืื•ืคืฆื™ื” ืœื”ืจื›ื‘. ืื ืื•ึนืคึผึฐืฆึดื™ึธื” ืžื›ื™ืœ ืคืกื™ืงื™ื, ื”ื•ื ืžืคื•ืฆืœ
ืœืืคืฉืจื•ื™ื•ืช ืžืจื•ื‘ื•ืช ื‘ืคืกื™ืงื™ื.

-Xassembler ืื•ึนืคึผึฐืฆึดื™ึธื”
ืœืขื‘ื•ืจ ืื•ึนืคึผึฐืฆึดื™ึธื” ื›ืื•ืคืฆื™ื” ืœื”ืจื›ื‘. ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื–ื” ื›ื“ื™ ืœืกืคืง ืžืขืจื›ืช ืกืคืฆื™ืคื™ืช
ืืคืฉืจื•ื™ื•ืช assembler ืฉ-GCC ืœื ืžื–ื”ื”.

ืื ืืชื” ืจื•ืฆื” ืœื”ืขื‘ื™ืจ ืืคืฉืจื•ืช ืฉื“ื•ืจืฉืช ืืจื’ื•ืžื ื˜, ืขืœื™ืš ืœื”ืฉืชืžืฉ -Xassembler ืคืขืžื™ื™ื,
ืคืขื ืขื‘ื•ืจ ื”ืืคืฉืจื•ืช ื•ืคืขื ืขื‘ื•ืจ ื”ื˜ื™ืขื•ืŸ.

ืืคืฉืจื•ื™ื•ืช ืœ ืžืงืฉืจ
ืืคืฉืจื•ื™ื•ืช ืืœื• ื‘ืื•ืช ืœื™ื“ื™ ื‘ื™ื˜ื•ื™ ื›ืืฉืจ ื”ืžื”ื“ืจ ืžืงืฉืจ ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ืœืงื•ื‘ืฅ ื”ืคืขืœื”
ืงื•ื‘ืฅ ืคืœื˜. ื”ื ื—ืกืจื™ ืžืฉืžืขื•ืช ืื ื”ืžื”ื“ืจ ืœื ืขื•ืฉื” ืฉืœื‘ ืงื™ืฉื•ืจ.

ืฉื ืื•ื‘ื™ื™ืงื˜-ืงื•ื‘ืฅ
ืฉื ืงื•ื‘ืฅ ืฉืื™ื ื• ืžืกืชื™ื™ื ื‘ืกื™ื•ืžืช ืžื•ื›ืจืช ืžื™ื•ื—ื“ืช ื ื—ืฉื‘ ืœืฉื an
ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ืื• ืกืคืจื™ื”. (ืงื•ื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ืžื•ื‘ื—ื ื™ื ืžืกืคืจื™ื•ืช ืขืœ ื™ื“ื™ ื”ืžืงืฉืจ
ื‘ื”ืชืื ืœืชื•ื›ืŸ ื”ืงื•ื‘ืฅ.) ืื ื”ืงื™ืฉื•ืจ ื ืขืฉื”, ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ืืœื• ืžืฉืžืฉื™ื ื›
ืงืœื˜ ืœืžืงืฉืจ.

-c
-S
-E ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืื—ืช ืžื”ืืคืฉืจื•ื™ื•ืช ื”ืœืœื•, ื”ืžืงืฉืจ ืื™ื ื• ืžื•ืคืขืœ, ื•ืฉืžื•ืช ืงื‘ืฆื™ ื”ืื•ื‘ื™ื™ืงื˜
ืœื ืฆืจื™ืš ืœืฉืžืฉ ื›ื˜ื™ืขื•ื ื™ื.

-lืกืคืจื™ื”
-l ืกืคืจื™ื”
ื—ืคืฉ ื‘ืกืคืจื™ื™ื” ืฉืฉืžื” ืกืคืจื™ื” ื‘ืขืช ืงื™ืฉื•ืจ. (ื”ื—ืœื•ืคื” ื”ืฉื ื™ื™ื” ืขื ื”
ื”ืกืคืจื™ื™ื” ื›ืืจื’ื•ืžื ื˜ ื ืคืจื“ ืžื™ื•ืขื“ืช ืจืง ืœืชืื™ืžื•ืช POSIX ื•ืื™ื ื” ืžื•ืžืœืฆืช.)

ื–ื” ืžืฉื ื” ื”ื™ื›ืŸ ื‘ืคืงื•ื“ื” ืืชื” ื›ื•ืชื‘ ืืช ื”ืืคืฉืจื•ืช ื”ื–ื•; ื”ืžืงืฉืจ ืžื—ืคืฉ
ื•ืžืขื‘ื“ ืกืคืจื™ื•ืช ื•ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ื‘ืกื“ืจ ืฉื”ื ืฆื•ื™ื ื•. ืœื›ืŸ, foo.o
-ืœื– bar.o ืžื—ืคืฉ ื‘ืกืคืจื™ื™ื” z ืื—ืจื™ ืงื•ื‘ืฅ foo.o ืื‘ืœ ืœืคื ื™ bar.o. ืื bar.o ืžืชื™ื™ื—ืก
ืคื•ื ืงืฆื™ื•ืช ื‘ z, ื™ื™ืชื›ืŸ ืฉื”ืคื•ื ืงืฆื™ื•ืช ื”ืœืœื• ืœื ื™ื™ื˜ืขื ื•.

ื”ืžืงืฉืจ ืžื—ืคืฉ ืจืฉื™ืžื” ืกื˜ื ื“ืจื˜ื™ืช ืฉืœ ืกืคืจื™ื•ืช ืขื‘ื•ืจ ื”ืกืคืจื™ื™ื”, ื•ื–ื” ื‘ืขืฆื
ืงื•ื‘ืฅ ื‘ืฉื ืกืคืจื™ื™ื”.ื. ืœืื—ืจ ืžื›ืŸ, ื”ืžืงืฉืจ ืžืฉืชืžืฉ ื‘ืงื•ื‘ืฅ ื”ื–ื” ื›ืื™ืœื• ื”ื•ื ืฆื•ื™ืŸ
ื‘ื“ื™ื•ืง ืœืคื™ ื”ืฉื.

ื”ืกืคืจื™ื•ืช ืฉื—ื™ืคืฉื• ื‘ื”ืŸ ื›ื•ืœืœื•ืช ืžืกืคืจ ืกืคืจื™ื•ืช ืžืขืจื›ืช ืกื˜ื ื“ืจื˜ื™ื•ืช ื•ืขื•ื“ ื›ืœ ืžื” ืฉืืชื”
ืœืฆื™ื™ืŸ ืขื -L.

ื‘ื“ืจืš ื›ืœืœ ื”ืงื‘ืฆื™ื ืฉื ืžืฆืื™ื ื‘ื“ืจืš ื–ื• ื”ื ืงื‘ืฆื™ ืกืคืจื™ื™ื” --- ืงื‘ืฆื™ ืืจื›ื™ื•ืŸ ืฉื—ื‘ืจื™ื”ื ื”ื
ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜. ื”ืžืงืฉืจ ืžื˜ืคืœ ื‘ืงื•ื‘ืฅ ืืจื›ื™ื•ืŸ ืขืœ ื™ื“ื™ ืกืจื™ืงื” ื“ืจื›ื• ืœืื™ืชื•ืจ ื—ื‘ืจื™ื
ืฉืžื’ื“ื™ืจื™ื ืกืžืœื™ื ืฉืขื“ ื›ื” ื”ื•ื–ืžื ื• ืืš ืœื ื”ื•ื’ื“ืจื•. ืื‘ืœ ืื ื”
ื”ืงื•ื‘ืฅ ืฉื ืžืฆื ื”ื•ื ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ืจื’ื™ืœ, ื”ื•ื ืžืงื•ืฉืจ ื‘ืฆื•ืจื” ื”ืจื’ื™ืœื”. ื”
ื”ื”ื‘ื“ืœ ื”ื™ื—ื™ื“ ื‘ื™ืŸ ืฉื™ืžื•ืฉ ื‘-an -l ืืคืฉืจื•ืช ื•ืฆื™ื•ืŸ ืฉื ืงื•ื‘ืฅ ื”ื•ื ื–ื” -l
ืžืงื™ืฃ ืกืคืจื™ื” ืขื lib ื• .a ื•ืžื—ืคืฉ ืžืกืคืจ ืกืคืจื™ื•ืช.

-lobjc
ืืชื” ืฆืจื™ืš ืืช ื”ืžืงืจื” ื”ืžื™ื•ื—ื“ ื”ื–ื” ืฉืœ -l ืืคืฉืจื•ืช ืœืงื™ืฉื•ืจ Objective-C ืื•
ืชื•ื›ื ื™ืช Objective-C++.

-nostartfiles
ืืœ ืชืฉืชืžืฉ ื‘ืงื‘ืฆื™ ื”ืืชื—ื•ืœ ื”ืกื˜ื ื“ืจื˜ื™ื™ื ืฉืœ ื”ืžืขืจื›ืช ื‘ืขืช ื”ืงื™ืฉื•ืจ. ื”ืžืขืจื›ืช ื”ืกื˜ื ื“ืจื˜ื™ืช
ืกืคืจื™ื•ืช ื ืžืฆืื•ืช ื‘ืฉื™ืžื•ืฉ ืจื’ื™ืœ, ืืœื ืื ื›ืŸ -ื ื•ืกื˜ื“ืœื™ื‘ or -nodefaultlibs ืžืฉืžืฉ.

-nodefaultlibs
ืืœ ืชืฉืชืžืฉ ื‘ืกืคืจื™ื•ืช ื”ืžืขืจื›ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ื‘ืขืช ื”ืงื™ืฉื•ืจ. ืจืง ื”ืกืคืจื™ื•ืช ืฉืืชื” ืžืฆื™ื™ืŸ
ืžื•ืขื‘ืจื™ื ืœืžืงืฉืจ, ื•ืืคืฉืจื•ื™ื•ืช ื”ืžืฆื™ื™ื ื•ืช ืงื™ืฉื•ืจ ืฉืœ ืกืคืจื™ื•ืช ื”ืžืขืจื›ืช, ื›ื’ื•ืŸ
ื‘ืชื•ืจ "-static-libgcc" ืื• "-shared-libgcc", ืžืชืขืœืžื™ื. ืงื‘ืฆื™ ื”ืืชื—ื•ืœ ื”ืกื˜ื ื“ืจื˜ื™ื™ื ื”ื
ื‘ืฉื™ืžื•ืฉ ืจื’ื™ืœ, ืืœื ืื ื›ืŸ -nostartfiles ืžืฉืžืฉ.

ื”ืžื”ื“ืจ ืขืฉื•ื™ ืœื™ืฆื•ืจ ืงืจื™ืื•ืช ืœ-"memcmp", "memset", "memcpy" ื•-"memmove". ืืœื”
ืขืจื›ื™ื ื ืคืชืจื™ื ื‘ื“ืจืš ื›ืœืœ ืขืœ ื™ื“ื™ ืขืจื›ื™ื ื‘-libc. ื ืงื•ื“ื•ืช ื”ื›ื ื™ืกื” ื”ืœืœื• ืฆืจื™ื›ื•ืช ืœื”ื™ื•ืช
ืžืกื•ืคืง ื‘ืืžืฆืขื•ืช ืžื ื’ื ื•ืŸ ืื—ืจ ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžืฆื•ื™ื ืช.

-ื ื•ืกื˜ื“ืœื™ื‘
ืืœ ืชืฉืชืžืฉ ื‘ืงื‘ืฆื™ ื”ืืชื—ื•ืœ ื”ืกื˜ื ื“ืจื˜ื™ื™ื ืฉืœ ื”ืžืขืจื›ืช ืื• ื‘ืกืคืจื™ื•ืช ื‘ืขืช ื”ืงื™ืฉื•ืจ. ืื™ืŸ ื”ืคืขืœื”
ืงื‘ืฆื™ื ื•ืจืง ื”ืกืคืจื™ื•ืช ืฉืืชื” ืžืฆื™ื™ืŸ ืžื•ืขื‘ืจื™ื ืœืžืงืฉืจ, ื•ืืคืฉืจื•ื™ื•ืช
ืฆื™ื•ืŸ ืงื™ืฉื•ืจ ืฉืœ ืกืคืจื™ื•ืช ื”ืžืขืจื›ืช, ื›ื’ื•ืŸ "-static-libgcc" ืื•
"-shared-libgcc", ืžืชืขืœืžื™ื.

ื”ืžื”ื“ืจ ืขืฉื•ื™ ืœื™ืฆื•ืจ ืงืจื™ืื•ืช ืœ-"memcmp", "memset", "memcpy" ื•-"memmove". ืืœื”
ืขืจื›ื™ื ื ืคืชืจื™ื ื‘ื“ืจืš ื›ืœืœ ืขืœ ื™ื“ื™ ืขืจื›ื™ื ื‘-libc. ื ืงื•ื“ื•ืช ื”ื›ื ื™ืกื” ื”ืœืœื• ืฆืจื™ื›ื•ืช ืœื”ื™ื•ืช
ืžืกื•ืคืง ื‘ืืžืฆืขื•ืช ืžื ื’ื ื•ืŸ ืื—ืจ ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžืฆื•ื™ื ืช.

ืื—ืช ืžื”ืกืคืจื™ื•ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ืฉืขืงืคื• -ื ื•ืกื˜ื“ืœื™ื‘ ื• -nodefaultlibs is libgcc.a,
ืกืคืจื™ื” ืฉืœ ืชืชื™-ืฉื’ืจื•ืช ืคื ื™ืžื™ื•ืช ืฉื‘ื”ืŸ GCC ืžืฉืชืžืฉ ื›ื“ื™ ืœื”ืชื’ื‘ืจ ืขืœ ื—ืกืจื•ื ื•ืช ืžืกื•ื™ืžื™ื
ืžื›ื•ื ื•ืช, ืื• ืฆืจื›ื™ื ืžื™ื•ื—ื“ื™ื ืœืฉืคื•ืช ืžืกื•ื™ืžื•ืช.

ื‘ืจื•ื‘ ื”ืžืงืจื™ื, ืืชื” ืฆืจื™ืš libgcc.a ื’ื ื›ืืฉืจ ืืชื” ืจื•ืฆื” ืœื”ื™ืžื ืข ืžืกืคืจื™ื•ืช ืกื˜ื ื“ืจื˜ื™ื•ืช ืื—ืจื•ืช.
ื‘ืžื™ืœื™ื ืื—ืจื•ืช, ื›ืฉืืชื” ืžืฆื™ื™ืŸ -ื ื•ืกื˜ื“ืœื™ื‘ or -nodefaultlibs ืืชื” ืฆืจื™ืš ื‘ื“ืจืš ื›ืœืœ
ืœืคืจื˜ -lgcc ื’ื ื›ืŸ. ื–ื” ืžื‘ื˜ื™ื— ืฉืื™ืŸ ืœืš ืื–ื›ื•ืจื™ื ืœื ืคืชื•ืจื™ื
ืชืชื™ ืฉื’ืจื•ืช ืคื ื™ืžื™ื•ืช ืฉืœ ืกืคืจื™ื™ืช GCC. (ื“ื•ื’ืžื” ืœืชืชื™ ืฉื’ืจื” ืคื ื™ืžื™ืช ื›ื–ื• ื”ื™ื
__ืจึธืืฉืึดื™, ืžืฉืžืฉ ื›ื“ื™ ืœื”ื‘ื˜ื™ื— ืฉื ืงืจืื™ื ื‘ื ืื™ื C++.)

-ืคึผึทืึดื™
ื”ืคืงืช ืขืžื“ื” ืขืฆืžืื™ืช ืœื‘ื™ืฆื•ืข ืขืœ ื™ืขื“ื™ื ื”ืชื•ืžื›ื™ื ื‘ื”. ืœืฆืคื•ื™
ืชื•ืฆืื•ืช, ืขืœื™ืš ืœืฆื™ื™ืŸ ื’ื ืืช ืื•ืชื” ืงื‘ื•ืฆืช ืืคืฉืจื•ื™ื•ืช ื”ืžืฉืžืฉืช ืœื”ื™ื“ื•ืจ (-fpie,
-fPIE, ืื• ืืคืฉืจื•ื™ื•ืช ืžืฉื ื” ืฉืœ ืžื•ื“ืœ) ื›ืืฉืจ ืืชื” ืžืฆื™ื™ืŸ ืืคืฉืจื•ืช ืงื™ืฉื•ืจ ื–ื•.

-ืจื“ื™ื ืžื™
ืชืขื‘ื™ืจ ืืช ื”ื“ื’ืœ -ื™ืฆื•ื-ื“ื™ื ืžื™ ืœืžืงืฉืจ ELF, ืขืœ ืžื˜ืจื•ืช ืฉืชื•ืžื›ื•ืช ื‘ื•. ื–ึถื”
ืžื•ืจื” ืœืžืงืฉืจ ืœื”ื•ืกื™ืฃ ืืช ื›ืœ ื”ืกืžืœื™ื, ืœื ืจืง ืืช ื”ืกืžืœื™ื ื‘ืฉื™ืžื•ืฉ, ืœืกืžืœ ื”ื“ื™ื ืžื™
ืฉื•ืœื—ืŸ. ืืคืฉืจื•ืช ื–ื• ื ื—ื•ืฆื” ืขื‘ื•ืจ ืฉื™ืžื•ืฉื™ื ืžืกื•ื™ืžื™ื ืฉืœ "dlopen" ืื• ื›ื“ื™ ืœืืคืฉืจ ื”ืฉื’ื”
ืขืงื‘ื•ืช ืœืื—ื•ืจ ืžืชื•ืš ืชื•ื›ื ื™ืช.

-s ื”ืกืจ ืืช ื›ืœ ืžื™ื“ืข ืขืœ ื˜ื‘ืœืช ื”ืกืžืœื™ื ื•ื”ืขื‘ืจืช ื”ืžื™ืงื•ื ืžืงื•ื‘ืฅ ื”ื”ืคืขืœื”.

-ืกื˜ึธื˜ึดื™
ื‘ืžืขืจื›ื•ืช ื”ืชื•ืžื›ื•ืช ื‘ืงื™ืฉื•ืจ ื“ื™ื ืžื™, ื”ื“ื‘ืจ ืžื•ื ืข ืงื™ืฉื•ืจ ืขื ื”ืžืฉื•ืชืฃ
ืกืคืจื™ื•ืช. ื‘ืžืขืจื›ื•ืช ืื—ืจื•ืช, ืœืืคืฉืจื•ืช ื–ื• ืื™ืŸ ื”ืฉืคืขื”.

-ืžึฐืฉืื•ึผืชึธืฃ
ืฆื•ืจ ืื•ื‘ื™ื™ืงื˜ ืžืฉื•ืชืฃ ืฉืื•ืชื• ื ื™ืชืŸ ืœืงืฉืจ ืขื ืื•ื‘ื™ื™ืงื˜ื™ื ืื—ืจื™ื ืœื™ืฆื™ืจืช
ื‘ืจ ื”ืคืขืœื”. ืœื ื›ืœ ื”ืžืขืจื›ื•ืช ืชื•ืžื›ื•ืช ื‘ืืคืฉืจื•ืช ื–ื•. ืœืชื•ืฆืื•ืช ืฆืคื•ื™ื•ืช, ืืชื” ื—ื™ื™ื‘
ืฆื™ื™ืŸ ื’ื ืืช ืื•ืชื” ืงื‘ื•ืฆืช ืืคืฉืจื•ื™ื•ืช ื”ืžืฉืžืฉืช ืœื”ื™ื“ื•ืจ (-fpic, -fPIC, ืื• ื“ื’ื
suboptions) ื›ืืฉืจ ืืชื” ืžืฆื™ื™ืŸ ืืคืฉืจื•ืช ืงื™ืฉื•ืจ ื–ื•.[1]

-shared-libgcc
-static-libgcc
ืขืœ ืžืขืจื›ื•ืช ื”ืžืกืคืงื•ืช libgcc ื›ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช, ืืคืฉืจื•ื™ื•ืช ืืœื• ืžืืœืฆื•ืช ืืช ื”ืฉื™ืžื•ืฉ ื‘
ื”ื’ืจืกื” ื”ืžืฉื•ืชืคืช ืื• ื”ืกื˜ื˜ื™ืช, ื‘ื”ืชืืžื”. ืื ืื™ืŸ ื’ืจืกื” ืžืฉื•ืชืคืช ืฉืœ libgcc ื”ื™ื”
ื ื‘ื ื” ื›ืืฉืจ ื”ืžื”ื“ืจ ื”ื•ื’ื“ืจ, ืœืืคืฉืจื•ื™ื•ืช ืืœื• ืื™ืŸ ื”ืฉืคืขื”.

ื™ืฉื ื ืžืกืคืจ ืžืฆื‘ื™ื ืฉื‘ื”ื ืืคืœื™ืงืฆื™ื” ืฆืจื™ื›ื” ืœื”ืฉืชืžืฉ ื‘-shared libgcc
ื‘ืžืงื•ื ื”ื’ืจืกื” ื”ืกื˜ื˜ื™ืช. ื”ื ืคื•ืฅ ืฉื‘ื”ื ื”ื•ื ื›ืืฉืจ ื”ื™ื™ืฉื•ื
ืจื•ืฆื” ืœื–ืจื•ืง ื•ืœืชืคื•ืก ื—ืจื™ื’ื™ื ื‘ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ืฉื•ื ื•ืช. ื‘ืžืงืจื” ื”ื–ื”,
ื›ืœ ืื—ืช ืžื”ืกืคืจื™ื•ืช ื›ืžื• ื’ื ื”ืืคืœื™ืงืฆื™ื” ืขืฆืžื” ืฆืจื™ื›ื” ืœื”ืฉืชืžืฉ ื‘-shared libgcc.

ืœื›ืŸ, ืžื ื”ืœื™ ื”ื”ืชืงืŸ G++ ื•-GCJ ืžื•ืกื™ืคื™ื ืื•ื˜ื•ืžื˜ื™ืช -shared-libgcc ื‘ื›ืœ ืคืขื ืฉืืชื” ื‘ื•ื ื”
ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช ืื• ืงื•ื‘ืฅ ื”ืคืขืœื” ืจืืฉื™, ืžื›ื™ื•ื•ืŸ ืฉืชื•ื›ื ื™ื•ืช C++ ื•-Java ืžืฉืชืžืฉื•ืช ื‘ื“ืจืš ื›ืœืœ
ื—ืจื™ื’ื™ื, ืื– ื–ื” ื”ื“ื‘ืจ ื”ื ื›ื•ืŸ ืœืขืฉื•ืช.

ืื, ื‘ืžืงื•ื ื–ืืช, ืืชื” ืžืฉืชืžืฉ ื‘ืžื ื”ืœ ื”ื”ืชืงืŸ ืฉืœ GCC ื›ื“ื™ ืœื™ืฆื•ืจ ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช, ืืชื” ืขืฉื•ื™ ืœื’ืœื•ืช ืฉื”ืŸ
ืœื ืชืžื™ื“ ืžืงื•ืฉืจื™ื ืขื ื”ืžืฉื•ืชืฃ libgcc. ืื GCC ืžื•ืฆื, ื‘ืชืฆื•ืจื” ืฉืœื•
ื–ืžืŸ, ืฉื™ืฉ ืœืš ืงื™ืฉื•ืจ ืฉืื™ื ื• GNU ืื• ืงื™ืฉื•ืจ GNU ืฉืื™ื ื• ืชื•ืžืš ื‘ืืคืฉืจื•ืช
--eh-frame-hdr, ื”ื•ื ืžืงืฉืจ ืืช ื”ื’ืจืกื” ื”ืžืฉื•ืชืคืช ืฉืœ libgcc ืœืชื•ืš ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ืขืœ ื™ื“ื™
ื‘ึผึฐืจึดื™ืจึทืช ืžึถื—ื“ึธืœ. ืื—ืจืช, ื”ื•ื ืžื ืฆืœ ืืช ื”ืงื™ืฉื•ืจ ื•ืžื™ื™ืขืœ ืืช ื”ืงื™ืฉื•ืจ
ืขื ื”ื’ืจืกื” ื”ืžืฉื•ืชืคืช ืฉืœ libgcc, ืงื™ืฉื•ืจ ืœื’ืจืกื” ื”ืกื˜ื˜ื™ืช ืฉืœ libgcc by
ื‘ึผึฐืจึดื™ืจึทืช ืžึถื—ื“ึธืœ. ื–ื” ืžืืคืฉืจ ืœื—ืจื™ื’ื™ื ืœื”ืชืคืฉื˜ ื“ืจืš ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ื›ืืœื”, ื‘ืœื™
ืขืœื•ื™ื•ืช ืจื™ืœื•ืงื™ื™ืฉืŸ ื‘ื–ืžืŸ ื˜ืขื™ื ืช ื”ืกืคืจื™ื™ื”.

ืขื ื–ืืช, ืื ืกืคืจื™ื™ื” ืื• ืงื•ื‘ืฅ ื”ืคืขืœื” ืจืืฉื™ ืืžื•ืจื™ื ืœื–ืจื•ืง ืื• ืœืชืคื•ืก ื—ืจื™ื’ื™ื, ืืชื”
ื—ื™ื™ื‘ ืœืงืฉืจ ืื•ืชื• ื‘ืืžืฆืขื•ืช ืžื ื”ืœ ื”ื”ืชืงืŸ G++ ืื• GCJ, ื‘ื”ืชืื ืœืฉืคื•ืช ื”ืžืฉืžืฉื•ืช ื‘-
ืชื•ื›ื ื™ืช, ืื• ื‘ืืžืฆืขื•ืช ื”ืืคืฉืจื•ืช -shared-libgcc, ื›ืš ืฉื”ื•ื ืžืงื•ืฉืจ ืขื ื”ืžืฉื•ืชืฃ
libgcc.

-ืกื˜ื˜ื™-ืœื™ื‘ืืกืŸ
ื›ืืฉืจ -fsanitize=ื›ืชื•ื‘ืช ื”ืืคืฉืจื•ืช ืžืฉืžืฉืช ืœืงื™ืฉื•ืจ ืชื•ื›ื ื™ืช, ืžื ื”ืœ ื”ื”ืชืงืŸ ืฉืœ GCC
ืงื™ืฉื•ืจ ืื•ื˜ื•ืžื˜ื™ ื ื’ื“ libasan. ืื libasan ื–ืžื™ืŸ ื›ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช, ื•
ืžื” ื”ื™ื -ืกื˜ึธื˜ึดื™ ื”ืืคืฉืจื•ืช ืื™ื ื” ื‘ืฉื™ืžื•ืฉ, ืื– ื–ื” ืžืงืฉืจ ืœื’ืจืกื” ื”ืžืฉื•ืชืคืช ืฉืœ libasan.
ื”ืฉืžื™ื™ื -ืกื˜ื˜ื™-ืœื™ื‘ืืกืŸ ืืคืฉืจื•ืช ืžืคื ื” ืืช ืžื ื”ืœ ื”ื”ืชืงืŸ ืฉืœ GCC ืœืงื™ืฉื•ืจ libasan ื‘ืื•ืคืŸ ืกื˜ื˜ื™, ื‘ืœื™
ื‘ื”ื›ืจื— ืงื™ืฉื•ืจ ืกื˜ื˜ื™ ืฉืœ ืกืคืจื™ื•ืช ืื—ืจื•ืช.

-ืกื˜ื˜ื™-ืœื™ื‘ื˜ืกืŸ
ื›ืืฉืจ -fsanitize=ื—ื•ื˜ ื”ืืคืฉืจื•ืช ืžืฉืžืฉืช ืœืงื™ืฉื•ืจ ืชื•ื›ื ื™ืช, ืžื ื”ืœ ื”ื”ืชืงืŸ ืฉืœ GCC
ืงื™ืฉื•ืจ ืื•ื˜ื•ืžื˜ื™ ื ื’ื“ ืœื™ื‘ืฆืืŸ. ืื ืœื™ื‘ืฆืืŸ ื–ืžื™ืŸ ื›ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช, ื•
ืžื” ื”ื™ื -ืกื˜ึธื˜ึดื™ ื”ืืคืฉืจื•ืช ืื™ื ื” ื‘ืฉื™ืžื•ืฉ, ืื– ื–ื” ืžืงืฉืจ ืœื’ืจืกื” ื”ืžืฉื•ืชืคืช ืฉืœ ืœื™ื‘ืฆืืŸ.
ื”ืฉืžื™ื™ื -ืกื˜ื˜ื™-ืœื™ื‘ื˜ืกืŸ ืืคืฉืจื•ืช ืžืคื ื” ืืช ืžื ื”ืœ ื”ื”ืชืงืŸ ืฉืœ GCC ืœืงื™ืฉื•ืจ ืœื™ื‘ืฆืืŸ ื‘ืื•ืคืŸ ืกื˜ื˜ื™, ื‘ืœื™
ื‘ื”ื›ืจื— ืงื™ืฉื•ืจ ืกื˜ื˜ื™ ืฉืœ ืกืคืจื™ื•ืช ืื—ืจื•ืช.

-static-libstdc++
ื›ืืฉืจ g ++ ืชื•ื›ื ื™ืช ืžืฉืžืฉืช ืœืงื™ืฉื•ืจ ืชื•ื›ื ื™ืช C++, ื‘ื“ืจืš ื›ืœืœ ื”ื™ื ืžืงืฉืจืช ืื•ื˜ื•ืžื˜ื™ืช
ื ื’ื“ libstdc ++. ืื libstdc ++ ื–ืžื™ืŸ ื›ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช, ื•ื”- -ืกื˜ึธื˜ึดื™
ื”ืืคืฉืจื•ืช ืื™ื ื” ื‘ืฉื™ืžื•ืฉ, ืื– ื–ื” ืžืงืฉืจ ืœื’ืจืกื” ื”ืžืฉื•ืชืคืช ืฉืœ libstdc ++. ื–ื”
ื‘ื“ืจืš ื›ืœืœ ื‘ืกื“ืจ. ืขื ื–ืืช, ืœืคืขืžื™ื ื›ื“ืื™ ืœื”ืงืคื™ื ืืช ื”ื’ืจืกื” ืฉืœ libstdc ++
ื‘ืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™ ื”ืชื•ื›ื ื™ืช ืžื‘ืœื™ ืœืขื‘ื•ืจ ืืช ื›ืœ ื”ื“ืจืš ืœืงื™ืฉื•ืจ ืกื˜ื˜ื™ ืžืœื. ื”
-static-libstdc++ ืืคืฉืจื•ืช ืžื›ื•ื•ื ืช ืืช g ++ ื“ืจื™ื™ื‘ืจ ืœืงื™ืฉื•ืจ libstdc ++ ื‘ืื•ืคืŸ ืกื˜ื˜ื™, ื‘ืœื™
ื‘ื”ื›ืจื— ืงื™ืฉื•ืจ ืกื˜ื˜ื™ ืฉืœ ืกืคืจื™ื•ืช ืื—ืจื•ืช.

-ืกึดืžืœึดื™
ืงืฉืจ ื”ืคื ื™ื•ืช ืœืกืžืœื™ื ื’ืœื•ื‘ืœื™ื™ื ื‘ืขืช ื‘ื ื™ื™ืช ืื•ื‘ื™ื™ืงื˜ ืžืฉื•ืชืฃ. ืœื”ื–ื”ื™ืจ ืขืœ ื›ืœ
ื”ืคื ื™ื•ืช ืœื ืคืชื•ืจื•ืช (ืืœื ืื ื›ืŸ ื ื“ื ื• ืขืœ ื™ื“ื™ ืืคืฉืจื•ืช ืขื•ืจืš ื”ืงื™ืฉื•ืจื™ื -Xlinker -z
-Xlinker defs). ืจืง ืžืขืจื›ื•ืช ื‘ื•ื“ื“ื•ืช ืชื•ืžื›ื•ืช ื‘ืืคืฉืจื•ืช ื–ื•.

-T ืชืกืจื™ื˜
ื”ืฉืชืžืฉ ืชืกืจื™ื˜ ื‘ืชื•ืจ ื”ืชืกืจื™ื˜ ื”ืžืงืฉืจ. ืืคืฉืจื•ืช ื–ื• ื ืชืžื›ืช ืขืœ ื™ื“ื™ ืจื•ื‘ ื”ืžืขืจื›ื•ืช ื”ืžืฉืชืžืฉื•ืช ื‘-
ืžืงืฉืจ GNU. ืขืœ ื™ืขื“ื™ื ืžืกื•ื™ืžื™ื, ื›ื’ื•ืŸ ื™ืขื“ื™ื ื—ืฉื•ืคื™ื ืœืœื ืžืขืจื›ืช ื”ืคืขืœื”,
ืžื” ื”ื™ื -T ื™ื™ืชื›ืŸ ืฉืชื™ื“ืจืฉ ืืคืฉืจื•ืช ื‘ืขืช ืงื™ืฉื•ืจ ื›ื“ื™ ืœืžื ื•ืข ื”ืคื ื™ื•ืช ืœืกืžืœื™ื ืœื ืžื•ื’ื“ืจื™ื.

-Xlinker ืื•ึนืคึผึฐืฆึดื™ึธื”
ืœืขื‘ื•ืจ ืื•ึนืคึผึฐืฆึดื™ึธื” ื›ืื•ืคืฆื™ื” ืœืžืงืฉืจ. ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื–ื” ื›ื“ื™ ืœืกืคืง ืžืขืจื›ืช ืกืคืฆื™ืคื™ืช
ืืคืฉืจื•ื™ื•ืช ืงื™ืฉื•ืจ ืฉ-GCC ืœื ืžื–ื”ื”.

ืื ื‘ืจืฆื•ื ืš ืœื”ืขื‘ื™ืจ ืืคืฉืจื•ืช ืฉืœื•ืงื—ืช ืืจื’ื•ืžื ื˜ ื ืคืจื“, ืขืœื™ืš ืœื”ืฉืชืžืฉ -Xlinker
ืคืขืžื™ื™ื, ืคืขื ืื—ืช ืขื‘ื•ืจ ื”ืืคืฉืจื•ืช ื•ืคืขื ืขื‘ื•ืจ ื”ื˜ื™ืขื•ืŸ. ืœืžืฉืœ ืœืขื‘ื•ืจ -ืœึดื˜ืขื•ึนืŸ
ื”ื’ื“ืจื•ืชืืชื” ื—ื™ื™ื‘ ืœื›ืชื•ื‘ -Xlinker -ืœึดื˜ืขื•ึนืŸ -Xlinker ื”ื’ื“ืจื•ืช. ื–ื” ืœื ืขื•ื‘ื“
ื›ื“ื™ ืœื›ืชื•ื‘ -Xlinker "-ืœึดื˜ืขื•ึนืŸ ื”ื’ื“ืจื•ืช", ื›ื™ ื–ื” ืžืขื‘ื™ืจ ืืช ื›ืœ ื”ืžื—ืจื•ื–ืช ื›-a
ื˜ื™ืขื•ืŸ ื™ื—ื™ื“, ืฉื–ื” ืœื ืžื” ืฉื”ืžืงืฉืจ ืžืฆืคื”.

ื›ืืฉืจ ืžืฉืชืžืฉื™ื ื‘ืžืงืฉืจ ืฉืœ GNU, ืœืจื•ื‘ ื ื•ื— ื™ื•ืชืจ ืœื”ืขื‘ื™ืจ ืืจื’ื•ืžื ื˜ื™ื ืœืžืงืฉืจ
ืืคืฉืจื•ื™ื•ืช ื‘ืืžืฆืขื•ืช ืื•ึนืคึผึฐืฆึดื™ึธื”=ืขืจืš ืชื—ื‘ื™ืจ ืžืืฉืจ ื›ืืจื’ื•ืžื ื˜ื™ื ื ืคืจื“ื™ื. ืœืžืฉืœ, ืืชื”
ื™ื›ื•ืœ ืœืฆื™ื™ืŸ -Xlinker -Map=output.map ื•ืœื -Xlinker -ืžึทืคึผึธื” -Xlinker output.map.
ื™ื™ืชื›ืŸ ืฉืžืงืฉืจื™ื ืื—ืจื™ื ืœื ื™ืชืžื›ื• ื‘ืชื—ื‘ื™ืจ ื–ื” ืขื‘ื•ืจ ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื”.

-ื•ื•ืœ,ืื•ึนืคึผึฐืฆึดื™ึธื”
ืœืขื‘ื•ืจ ืื•ึนืคึผึฐืฆึดื™ึธื” ื›ืื•ืคืฆื™ื” ืœืžืงืฉืจ. ืื ืื•ึนืคึผึฐืฆึดื™ึธื” ืžื›ื™ืœ ืคืกื™ืงื™ื, ื”ื•ื ืžืคื•ืฆืœ ืœ
ืืคืฉืจื•ื™ื•ืช ืžืจื•ื‘ื•ืช ื‘ืคืกื™ืงื™ื. ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ืชื—ื‘ื™ืจ ื–ื” ื›ื“ื™ ืœื”ืขื‘ื™ืจ ืืจื’ื•ืžื ื˜ ืœ-
ืื•ึนืคึผึฐืฆึดื™ึธื”. ืœื“ื•ื’ืžื”, -Wl,-Map,output.map ืžืขื‘ืจื™ -ืžึทืคึผึธื” output.map ืœืžืงืฉืจ. ืžืชื™
ื‘ืืžืฆืขื•ืช ืžืงืฉืจ GNU, ืืชื” ื™ื›ื•ืœ ื’ื ืœืงื‘ืœ ืืช ืื•ืชื• ืืคืงื˜ ืขื -Wl, -Map = output.map.

ื”ืขืจื”: ื‘ืื•ื‘ื•ื ื˜ื• 8.10 ื•ื‘ื’ื™ืจืกืื•ืช ืžืื•ื—ืจื•ืช ื™ื•ืชืจ, ืขื‘ื•ืจ LDFLAGS, ื”ืืคืฉืจื•ืช -Wl,-z,relro ืžืฉืžืฉ.
ื›ื“ื™ ืœื”ืฉื‘ื™ืช, ื”ืฉืชืžืฉ -Wl,-z,norelro.

-u ืกืžืœ
ื”ืขืžื“ ืคื ื™ื ืืช ื”ืกืžืœ ืกืžืœ ืื™ื ื• ืžื•ื’ื“ืจ, ื›ื“ื™ ืœืืœืฅ ืงื™ืฉื•ืจ ืฉืœ ืžื•ื“ื•ืœื™ ืกืคืจื™ื™ื” ืœื”ื’ื“ื™ืจ
ื–ื”. ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ -u ืžืกืคืจ ืคืขืžื™ื ืขื ืกืžืœื™ื ืฉื•ื ื™ื ื›ื“ื™ ืœืืœืฅ ื˜ืขื™ื ื”
ืžื•ื“ื•ืœื™ ืกืคืจื™ื™ื” ื ื•ืกืคื™ื.

ืืคืฉืจื•ื™ื•ืช ืœ ืžึทื“ืจึดื™ืš ื—ื™ืคื•ืฉ
ืืคืฉืจื•ื™ื•ืช ืืœื” ืžืฆื™ื™ื ื•ืช ืกืคืจื™ื•ืช ืœื—ื™ืคื•ืฉ ืงื•ื‘ืฆื™ ื›ื•ืชืจื•ืช, ืกืคืจื™ื•ืช ื•ื—ืœืงื™ื
ืฉืœ ื”ืžื”ื“ืจ:

-Idir
ื”ื•ืกืฃ ืืช ื”ืกืคืจื™ื™ื” dir ืœืจืืฉ ืจืฉื™ืžืช ื”ืกืคืจื™ื•ืช ืฉื™ืฉ ืœื—ืคืฉ ืืช ื”ื›ื•ืชืจืช
ืงื‘ืฆื™ื. ื–ื” ื™ื›ื•ืœ ืœืฉืžืฉ ื›ื“ื™ ืœืขืงื•ืฃ ืงื•ื‘ืฅ ื›ื•ืชืจื•ืช ืฉืœ ื”ืžืขืจื›ืช, ื•ืœื”ื—ืœื™ืฃ ืืช ืงื•ื‘ืฅ ื”ื›ื•ืชืจืช ืฉืœืš
ื’ืจืกื”, ืžื›ื™ื•ื•ืŸ ืฉืžื—ืคืฉื™ื ืกืคืจื™ื•ืช ืืœื• ืœืคื ื™ ืงื•ื‘ืฅ ื”ื›ื•ืชืจืช ืฉืœ ื”ืžืขืจื›ืช
ืกืคืจื™ื•ืช. ืขื ื–ืืช, ืื™ืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื›ื“ื™ ืœื”ื•ืกื™ืฃ ืกืคืจื™ื•ืช ื”ืžื›ื™ืœื•ืช
ืงื•ื‘ืฆื™ ื›ื•ืชืจื•ืช ืžืขืจื›ืช ืฉืกื•ืคืงื• ืขืœ ื™ื“ื™ ื”ืกืคืง (ื”ืฉืชืžืฉ -ืžืขืจื›ืช ื‘ืฉื‘ื™ืœ ื–ื”). ืื ืืชื” ืžืฉืชืžืฉ ื‘ื™ื•ืชืจ ืžืื—ื“
-I ืืคืฉืจื•ืช, ื”ืกืคืจื™ื•ืช ื ืกืจืงื•ืช ื‘ืกื“ืจ ืžืฉืžืืœ ืœื™ืžื™ืŸ; ื”ืžืขืจื›ืช ื”ืกื˜ื ื“ืจื˜ื™ืช
ืกืคืจื™ื•ืช ื‘ืื•ืช ืื—ืจื™.

ืื ืžืขืจื›ืช ืจื’ื™ืœื” ื›ื•ืœืœืช ืกืคืจื™ื™ื”, ืื• ืกืคืจื™ื™ื” ืฉืฆื•ื™ื ื” ืขื -ืžืขืจื›ืช, ื”ื•ื
ืžืฆื•ื™ืŸ ื’ื ืขื -I, ื” -I ืžืชืขืœืžื™ื ืžื”ืื•ืคืฆื™ื”. ื”ืกืคืจื™ื™ื” ืขื“ื™ื™ืŸ ื‘ื—ื™ืคื•ืฉ ืื‘ืœ
ื‘ืชื•ืจ ืกืคืจื™ื™ืช ืžืขืจื›ืช ื‘ืžื™ืงื•ื ื”ืจื’ื™ืœ ืฉืœื” ื‘ืžืขืจื›ืช ื›ื•ืœืœื™ื ืฉืจืฉืจืช. ื–ื” ื‘ืฉื‘ื™ืœ
ืœื”ื‘ื˜ื™ื— ืฉื”ื ื•ื”ืœ ืฉืœ GCC ืœืชื™ืงื•ืŸ ื›ื•ืชืจื•ืช ืžืขืจื›ืช ื‘ืื’ื™ ื•ื”ื”ื–ืžื ื” ืขื‘ื•ืจ
ื”ื•ืจืืช "include_next" ืœื ื”ืฉืชื ื• ื‘ื˜ืขื•ืช. ืื ืืชื” ื‘ืืžืช ืฆืจื™ืš ืœืฉื ื•ืช
ืกื“ืจ ื”ื—ื™ืคื•ืฉ ืขื‘ื•ืจ ืกืคืจื™ื•ืช ืžืขืจื›ืช, ื”ืฉืชืžืฉ ื‘- -ื ื•ืกื˜ื“ื™ื ืง ื• / ืื• -ืžืขืจื›ืช ืืคืฉืจื•ื™ื•ืช.

-plugindir=dir
ื”ื’ื“ืจ ืืช ื”ืกืคืจื™ื™ื” ืœื—ื™ืคื•ืฉ ืชื•ืกืคื™ื ืฉืขื•ื‘ืจื™ื ืขืœ ืคื ื™ื”ื -fplugin=ืฉื ื‘ืžืงื•ื
-fplugin=ื ืชื™ื‘/ืฉื.ืœื›ืŸ. ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืžื™ื•ืขื“ืช ืœืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™ ื”ืžืฉืชืžืฉ, ืืœื ืจืง
ืขื‘ืจ ืœื™ื“ ื”ื ื”ื’.

-ืื ื™ ืžืฆื˜ื˜dir
ื”ื•ืกืฃ ืืช ื”ืกืคืจื™ื™ื” dir ืœืจืืฉ ืจืฉื™ืžืช ื”ืกืคืจื™ื•ืช ืฉื™ืฉ ืœื—ืคืฉ ืืช ื”ื›ื•ืชืจืช
ืชื™ืงื™ื ืจืง ืœืžืงืจื” ืฉืœ #include "ืคื™ืœื”"; ืœื ืžื—ืคืฉื™ื ืื•ืชื #include <ืคื™ืœื”>,
ืื—ืจืช ืžืžืฉ ื›ืžื• -I.

-Ldir
ื”ื•ืกืฃ ืกืคืจื™ื™ื” dir ืœืจืฉื™ืžืช ื”ืกืคืจื™ื•ืช ืฉื™ืฉ ืœื—ืคืฉ -l.

-Bืงื™ื“ื•ืžืช
ืืคืฉืจื•ืช ื–ื• ืžืฆื™ื™ื ืช ื”ื™ื›ืŸ ืœืžืฆื•ื ืืช ืงื•ื‘ืฆื™ ื”ื”ืคืขืœื”, ื”ืกืคืจื™ื•ืช, ืงื‘ืฆื™ ื”ื›ืœื•ืœ ื•
ืงื‘ืฆื™ ื ืชื•ื ื™ื ืฉืœ ื”ืžื”ื“ืจ ืขืฆืžื•.

ืชื•ื›ื ื™ืช ืžื ื”ืœ ื”ื”ื“ืจื™ื ืžืคืขื™ืœื” ืื—ืช ืื• ื™ื•ืชืจ ืžืชืช-ื”ืชื•ื›ื ื™ื•ืช cpp, cc1, as ื• ld.
ื–ื” ืžื ืกื” ืงื™ื“ื•ืžืช ื‘ืชื•ืจ ืงื™ื“ื•ืžืช ืœื›ืœ ืชื•ื›ื ื™ืช ืฉื”ื™ื ืžื ืกื” ืœื”ืคืขื™ืœ, ื’ื ืขื ื•ื’ื ื‘ืœื™
ืžื›ื•ื ื”/ื’ืจืกื”/.

ืขื‘ื•ืจ ื›ืœ ืชืช-ืชื•ื›ื ื™ืช ืฉืชื•ืคืขืœ, ืžื ื”ืœ ื”ืชืงืŸ ื”ืžื”ื“ืจ ืžื ืกื” ืชื—ื™ืœื” ืืช -B ืงื™ื“ื•ืžืช, ืื ื‘ื›ืœืœ.
ืื ื”ืฉื ื”ื–ื” ืœื ื ืžืฆื, ืื• ืื -B ืœื ืฆื•ื™ืŸ, ื”ื ื”ื’ ืžื ืกื” ืฉื ื™ ืกื˜ื ื“ืจื˜ื™ื
ืงื™ื“ื•ืžื•ืช, /usr/lib/gcc/ ื• /usr/local/lib/gcc/. ืื ืืฃ ืื—ื“ ืžืืœื” ืœื ืžื‘ื™ื ืœ-
ืฉื ื”ืงื•ื‘ืฅ ืฉื ืžืฆื, ืžื—ืคืฉื™ื ืืช ืฉื ื”ืชื•ื›ื ื™ืช ืœืœื ืฉื™ื ื•ื™ ื‘ืืžืฆืขื•ืช ื”
ืกืคืจื™ื•ืช ื”ืžืฆื•ื™ื ื•ืช ื‘ืจืฉื™ืžื” ืฉืœืš ื ืชื™ื‘ ืžืฉืชื ื” ื”ืกื‘ื™ื‘ื”.

ื”ืžื”ื“ืจ ื‘ื•ื“ืง ืื ื”ื ืชื™ื‘ ืฉืกื•ืคืง ืขืœ ื™ื“ื™ -B ืžืชื™ื™ื—ืก ืœืกืคืจื™ื™ื”, ื•
ื‘ืžื™ื“ืช ื”ืฆื•ืจืš ื”ื•ื ืžื•ืกื™ืฃ ืชื• ืžืคืจื™ื“ ืกืคืจื™ื•ืช ื‘ืกื•ืฃ ื”ื ืชื™ื‘.

-B ืงื™ื“ื•ืžื•ืช ื”ืžืฆื™ื™ื ื•ืช ืœืžืขืฉื” ืฉืžื•ืช ืกืคืจื™ื•ืช ื—ืœื•ืช ื’ื ืขืœ ืกืคืจื™ื•ืช ื‘-
ืžืงืฉืจ, ื›ื™ ื”ืžื”ื“ืจ ืžืชืจื’ื ืืช ื”ืืคืฉืจื•ื™ื•ืช ื”ืœืœื• ืœ -L ืืคืฉืจื•ื™ื•ืช ืขื‘ื•ืจ ื”ืžืงืฉืจ.
ื”ื ื—ืœื™ื ื’ื ืขืœ ืงื‘ืฆื™ ื›ื•ืœืœ ื‘ืžืขื‘ื“ ื”ืคืจื”, ืžื›ื™ื•ื•ืŸ ืฉื”ืžื”ื“ืจ ืžืชืจื’ื
ืืคืฉืจื•ื™ื•ืช ืืœื” ืœืชื•ืš -ืžืขืจื›ืช ืืคืฉืจื•ื™ื•ืช ืขื‘ื•ืจ ืžืขื‘ื“ ื”ืคืจื”. ื‘ืžืงืจื” ื–ื”, ื”ืžื”ื“ืจ
ืžื•ืกื™ืฃ ืœื›ืœื•ืœ ืœืงื™ื“ื•ืžืช.

ืงื•ื‘ืฅ ื”ืชืžื™ื›ื” ื‘ื–ืžืŸ ื”ืจื™ืฆื” libgcc.a ื ื™ืชืŸ ื’ื ืœื—ืคืฉ ื‘ืืžืฆืขื•ืช ื” -B ืงื™ื“ื•ืžืช, ืื
ื ึธื—ื•ึผืฅ. ืื ื–ื” ืœื ื ืžืฆื ืฉื, ืฉื ื™ ื”ืงื™ื“ื•ืžื•ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ืœืขื™ืœ ืžื ื•ืกื™ื, ื•ื–ื”
ื–ื” ื”ื›ืœ. ื”ืงื•ื‘ืฅ ื ืฉืืจ ืžื—ื•ืฅ ืœืงื™ืฉื•ืจ ืื ื”ื•ื ืœื ื ืžืฆื ื‘ืืžืฆืขื™ื ืืœื”.

ื“ืจืš ื ื•ืกืคืช ืœืฆื™ื™ืŸ ืงื™ื“ื•ืžืช ื‘ื“ื•ืžื” ืœ- -B ื”ืงื™ื“ื•ืžืช ื”ื™ื ืœื”ืฉืชืžืฉ ื‘ืกื‘ื™ื‘ื”
ืžืฉืชื ื” GCC_EXEC_PREFIX.

ื›ืžื• kludge ืžื™ื•ื—ื“, ืื ื”ื ืชื™ื‘ ืžืกื•ืคืง ืขืœ ื™ื“ื™ -B is [dir/]stageN/, ืฉื N ื”ื•ื ืžืกืคืจ
ื‘ื˜ื•ื•ื— 0 ืขื“ 9, ืื– ื”ื•ื ืžื•ื—ืœืฃ ื‘ [dir/]include. ื–ื” ื›ื“ื™ ืœืขื–ื•ืจ ื‘ืืชื—ื•ืœ-
ืœื—ื’ื•ืจ ืืช ื”ืžื”ื“ืจ.

-ืžืคืจื˜ =ืคื™ืœื”
ื”ืชึทื”ึฒืœึดื™ืš ืคื™ืœื” ืœืื—ืจ ืฉื”ืžื”ื“ืจ ื™ืงืจื ืืช ื”ืชืงืŸ ืžืคืจื˜ ื˜ื›ื ื™ ืงื•ื‘ืฅ, ื›ื“ื™ ืœืขืงื•ืฃ
ื‘ืจื™ืจื•ืช ื”ืžื—ื“ืœ ืฉื‘ื”ืŸ gcc ืชื•ื›ื ื™ืช ืžื ื”ืœ ื”ื”ืชืงืŸ ืžืฉืชืžืฉืช ื‘ืขืช ืงื‘ื™ืขืช ื”ื‘ื•ืจืจื™ื ืœืขื‘ื•ืจ
ืœ cc1, cc1plus, as, ldื•ื›ื•' ื™ื•ืชืจ ืžืื—ื“ -ืžืคืจื˜ =ืคื™ืœื” ื ื™ืชืŸ ืœืฆื™ื™ืŸ ื‘-
ืฉื•ืจืช ื”ืคืงื•ื“ื”, ื•ื”ื ืžืขื•ื‘ื“ื™ื ืœืคื™ ื”ืกื“ืจ, ืžืฉืžืืœ ืœื™ืžื™ืŸ.

--sysroot=dir
ื”ืฉืชืžืฉ dir ื‘ืชื•ืจ ืกืคืจื™ื™ืช ื”ืฉื•ืจืฉ ื”ืœื•ื’ื™ืช ืœื›ื•ืชืจื•ืช ื•ืกืคืจื™ื•ืช. ืœื“ื•ื’ืžื”, ืื ื”
ืžื”ื“ืจ ื‘ื“ืจืš ื›ืœืœ ืžื—ืคืฉ ื›ื•ืชืจื•ืช ื‘ / usr / include ื•ืกืคืจื™ื•ืช ื‘ / Usr / lib, ื–ื”
ื‘ืžืงื•ื ื—ื™ืคื•ืฉื™ื dir/usr/include ื• dir/usr/lib.

ืื ืืชื” ืžืฉืชืžืฉ ื’ื ื‘ืืคืฉืจื•ืช ื–ื• ื•ื’ื ื‘- -isysroot ืืคืฉืจื•ืช ื•ืœืื—ืจ ืžื›ืŸ ืืช --sysroot ืื•ึนืคึผึฐืฆึดื™ึธื”
ื—ืœ ืขืœ ืกืคืจื™ื•ืช, ืื‘ืœ ื” -isysroot ื”ืืคืฉืจื•ืช ื—ืœื” ืขืœ ืงื‘ืฆื™ ื›ื•ืชืจื•ืช.

ืœืงืฉืจ GNU (ื”ื—ืœ ืžื’ืจืกื” 2.16) ื™ืฉ ืืช ื”ืชืžื™ื›ื” ื”ื“ืจื•ืฉื” ืœื›ืš
ืื•ึนืคึผึฐืฆึดื™ึธื”. ืื ื”ืžืงืฉืจ ืฉืœืš ืื™ื ื• ืชื•ืžืš ื‘ืืคืฉืจื•ืช ื–ื•, ื”ื™ื‘ื˜ ืงื•ื‘ืฅ ื”ื›ื•ืชืจืช ืฉืœ
--sysroot ืขื“ื™ื™ืŸ ืขื•ื‘ื“, ืื‘ืœ ื”ื™ื‘ื˜ ื”ืกืคืจื™ื™ื” ืœื.

--no-sysroot-suffix
ืขื‘ื•ืจ ื™ืขื“ื™ื ืžืกื•ื™ืžื™ื, ืžืชื•ื•ืกืคืช ืกื™ื•ืžืช ืœืกืคืจื™ื™ืช ื”ืฉื•ืจืฉ ืฉืฆื•ื™ื ื” ืขื --sysroot,
ื‘ื”ืชืื ืœืืคืฉืจื•ื™ื•ืช ื”ืื—ืจื•ืช ื‘ื”ืŸ ื ืขืฉื” ืฉื™ืžื•ืฉ, ื›ืš ืฉื›ื•ืชืจื•ืช ืขืฉื•ื™ื•ืช ืœื”ื™ืžืฆื ืœืžืฉืœ ื‘
dir/suffix/usr/include ื‘ืžืงื•ื dir/usr/include. ืืคืฉืจื•ืช ื–ื• ืžื‘ื˜ืœืช ืืช ื”ืชื•ืกืคืช
ืฉืœ ืกื™ื•ืžืช ื›ื–ื•.

-ืื ื™- ืืคืฉืจื•ืช ื–ื• ื”ื•ืฆืื” ืžืฉื™ืžื•ืฉ. ื‘ื‘ืงืฉื” ืชืฉืชืžืฉ -ืื ื™ ืžืฆื˜ื˜ ื‘ืžืงื•ื ื–ืืช ืขื‘ื•ืจ -I ืกืคืจื™ื•ืช ืœืคื ื™
ืžื” ื”ื™ื -ืื ื™- ื•ืœื”ืกื™ืจ ืืช -ืื ื™-. ื›ืœ ืกืคืจื™ื•ืช ืฉืืชื” ืžืฆื™ื™ืŸ ืื™ืชืŸ -I ืืคืฉืจื•ื™ื•ืช ืœืคื ื™ ื”
-ืื ื™- ืžื—ืคืฉื™ื ืจืง ืืช ื”ืžืงืจื” ืฉืœ #include "ืคื™ืœื”"; ืœื ืžื—ืคืฉื™ื ืื•ืชื
ืœ #include <ืคื™ืœื”>.

ืื ืฆื•ื™ื ื• ืกืคืจื™ื•ืช ื ื•ืกืคื•ืช ืขื -I ืืคืฉืจื•ื™ื•ืช ืœืื—ืจ ื” -ืื ื™-, ืืœื”
ืžื—ืคืฉื™ื ืืช ื›ืœ ื”ืกืคืจื™ื•ืช #include ื”ื ื—ื™ื•ืช. (ื‘ื“ืจืš ื›ืœืœ ืืช ื›ืœ -I ืกืคืจื™ื•ืช
ืžืฉืžืฉื™ื ื‘ื“ืจืš ื–ื•.)

ื‘ื ื•ืกืฃ, -ืื ื™- ืืคืฉืจื•ืช ืžืขื›ื‘ืช ืืช ื”ืฉื™ืžื•ืฉ ื‘ืกืคืจื™ื™ื” ื”ื ื•ื›ื—ื™ืช (ื›ืืฉืจ
ืงื•ื‘ืฅ ื”ืงืœื˜ ื”ื ื•ื›ื—ื™ ื”ื’ื™ืข) ื‘ืชื•ืจ ืกืคืจื™ื™ืช ื”ื—ื™ืคื•ืฉ ื”ืจืืฉื•ื ื” ืขื‘ื•ืจ #include "ืคื™ืœื”".
ืื™ืŸ ื“ืจืš ืœืขืงื•ืฃ ืืช ื”ืืคืงื˜ ื”ื–ื” ืฉืœ -ืื ื™-. ืขื -ืื ื™. ืืชื” ื™ื›ื•ืœ ืœืฆื™ื™ืŸ ื—ื™ืคื•ืฉ
ื”ืกืคืจื™ื™ื” ื”ื ื•ื›ื—ื™ืช ื‘ืขืช ื”ืคืขืœืช ื”ืžื”ื“ืจ. ื–ื” ืœื ื‘ื“ื™ื•ืง ื”
ื–ื”ื” ืœืžื” ืฉื”ืงื“ื-ืžืขื‘ื“ ืขื•ืฉื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืืš ืœืจื•ื‘ ื”ื•ื ืžืฉื‘ื™ืข ืจืฆื•ืŸ.

-ืื ื™- ืื™ื ื• ืžื•ื ืข ืืช ื”ืฉื™ืžื•ืฉ ื‘ืกืคืจื™ื•ืช ื”ืžืขืจื›ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ืœืงื•ื‘ืฆื™ ื›ื•ืชืจื•ืช.
ื›ืš, -ืื ื™- ื• -ื ื•ืกื˜ื“ื™ื ืง ื”ื ืขืฆืžืื™ื™ื.

ืžืคืจื˜ ื™ืขื“ ืžื›ื•ื ื” ื• ืžื”ื“ืจ ื’ึดืจึฐืกึธื”
ื”ื“ืจืš ื”ืจื’ื™ืœื” ืœื”ืคืขื™ืœ ืืช GCC ื”ื™ื ืœื”ืคืขื™ืœ ืืช ืงื•ื‘ืฅ ื”ื”ืคืขืœื” ืฉื ืงืจื gcc, ืื• ืžื›ื•ื ื”-gcc ื›ืืฉืจ ื—ื•ืฆื”-
ืงื•ืžืคื™ืœืฆื™ื”, ืื• ืžื›ื•ื ื”-gcc-ื’ืจืกื” ืœื”ืคืขื™ืœ ื’ืจืกื” ืื—ืจืช ืžื–ื• ืฉื”ื•ืชืงื ื”
ืื—ืจื•ืŸ.

ื—ื•ืžืจื” ืžื•ื“ืœื™ื ื• ืชืฆื•ืจื•ืช
ืœื›ืœ ืกื•ื’ื™ ืžื›ื•ื ืช ื™ืขื“ ื™ื›ื•ืœื™ื ืœื”ื™ื•ืช ืืคืฉืจื•ื™ื•ืช ืžื™ื•ื—ื“ื•ืช ืžืฉืœื•, ื”ื—ืœ ืž -m, ืœื‘ื—ื•ืจ
ื‘ื™ืŸ ื“ื’ืžื™ ื—ื•ืžืจื” ืื• ืชืฆื•ืจื•ืช ืฉื•ื ื•ืช --- ืœื“ื•ื’ืžื”, 68010 ืœืขื•ืžืช 68020, ืฆืฃ
ืžืขื‘ื“ ืฉื•ืชืฃ ืื• ืืฃ ืื—ื“. ื’ืจืกื” ืžื•ืชืงื ืช ื™ื—ื™ื“ื” ืฉืœ ื”ืžื”ื“ืจ ื™ื›ื•ืœื” ืœืงืžืคืœ ืขื‘ื•ืจ ื›ืœ ื“ื’ื
ืื• ืชืฆื•ืจื”, ื‘ื”ืชืื ืœืืคืฉืจื•ื™ื•ืช ืฉืฆื•ื™ื ื•.

ืชืฆื•ืจื•ืช ืžืกื•ื™ืžื•ืช ืฉืœ ื”ืžื”ื“ืจ ืชื•ืžื›ื•ืช ื’ื ื‘ืืคืฉืจื•ื™ื•ืช ืžื™ื•ื—ื“ื•ืช ื ื•ืกืคื•ืช, ื‘ื“ืจืš ื›ืœืœ ืขื‘ื•ืจ
ืชืื™ืžื•ืช ืขื ืžื”ื“ืจื™ื ืื—ืจื™ื ื‘ืื•ืชื” ืคืœื˜ืคื•ืจืžื”.

AAArch64 ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืืœื” ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ AArch64:

-mbig-endian
ืฆื•ืจ ืงื•ื“ ื’ื“ื•ืœ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ GCC ืžื•ื’ื“ืจ ืขื‘ื•ืจ an
aarch64_be-*-* ื™ืขื“.

-mgeneral-regs-only
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ ืจืง ื‘ืจื™ืฉื•ื ื”ื›ืœืœื™.

-ืžืขื˜-ืื ื“ื™ืืŸ
ืฆื•ืจ ืงื•ื“ ืงื˜ืŸ-ืื ื“ื™ืืŸ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ GCC ืžื•ื’ื“ืจ ืขื‘ื•ืจ an
aarch64-*-* ืื‘ืœ ืœื aarch64_be-*-* ื™ืขื“.

-mcmodel=ืงื˜ื ื˜ืŸ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžื•ื“ืœ ื”ืงื•ื“ ื”ื–ืขื™ืจ. ื”ืชื•ื›ื ื™ืช ื•ื”ืกืžืœื™ื ื”ืžื•ื’ื“ืจื™ื ืกื˜ื˜ื™ืช ืฉืœื”
ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช ื‘ื˜ื•ื•ื— ืฉืœ 1GB ืื—ื“ ืžื”ืฉื ื™. ืžืฆื‘ื™ืขื™ื ื”ื 64 ืกื™ื‘ื™ื•ืช. ืชื•ื›ื ื™ื•ืช ื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช ืกื˜ื˜ื™ื•ืช
ืื• ืžืงื•ืฉืจื™ื ื‘ืื•ืคืŸ ื“ื™ื ืžื™. ืžื•ื“ืœ ื–ื” ืื™ื ื• ืžื™ื•ืฉื ื‘ืžืœื•ืื• ื•ื‘ืขื™ืงืจ ืžืชื™ื™ื—ืก ืืœื™ื• ื›ืืœ
ืงื˜ืŸ.

-mcmodel=small
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžื•ื“ืœ ื”ืงื•ื“ ื”ืงื˜ืŸ. ื”ืชื•ื›ื ื™ืช ื•ื”ื”ื’ื“ืจื” ืฉืœื” ืกื˜ื˜ื™ืช
ื”ืกืžืœื™ื ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช ื‘ื˜ื•ื•ื— ืฉืœ 4GB ืื—ื“ ืžื”ืฉื ื™. ืžืฆื‘ื™ืขื™ื ื”ื 64 ืกื™ื‘ื™ื•ืช. ืชื•ื›ื ื™ื•ืช ื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช
ืžืงื•ืฉืจ ืกื˜ื˜ื™ ืื• ื“ื™ื ืžื™. ื–ื”ื• ืžื•ื“ืœ ื”ืงื•ื“ ื”ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-mcmodel=ื’ื“ื•ืœ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžื•ื“ืœ ื”ืงื•ื“ ื”ื’ื“ื•ืœ. ื–ื” ืœื ืžื ื™ื— ื”ื ื—ื•ืช ืœื’ื‘ื™ ื›ืชื•ื‘ื•ืช ื•
ื’ื“ืœื™ื ืฉืœ ืงื˜ืขื™ื. ืžืฆื‘ื™ืขื™ื ื”ื 64 ืกื™ื‘ื™ื•ืช. ื ื™ืชืŸ ืœืงืฉืจ ืชื•ื›ื ื™ื•ืช ื‘ืื•ืคืŸ ืกื˜ื˜ื™ ื‘ืœื‘ื“.

-mstrict-align
ืืœ ืชื ื™ื— ืฉื”ืžืขืจื›ืช ืชื˜ืคืœ ื‘ื”ืคื ื™ื•ืช ื–ื™ื›ืจื•ืŸ ืœื ืžื™ื•ืฉืจื•ืช.

-momit-leaf-frame-pointer
-mno-omit-leaf-frame-pointer
ื”ืฉืžื˜ ืื• ื”ืฉืืจ ืืช ืžืฆื‘ื™ืข ื”ืžืกื’ืจืช ื‘ืคื•ื ืงืฆื™ื•ืช ืขืœื”. ื”ื”ืชื ื”ื’ื•ืช ื”ืงื•ื“ืžืช ื”ื™ื ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mtls-dialect=desc
ื”ืฉืชืžืฉ ื‘ืชื™ืื•ืจื™ TLS ื›ืžื ื’ื ื•ืŸ ืื—ืกื•ืŸ ืžืงื•ืžื™-ื—ื•ื˜ ืขื‘ื•ืจ ื’ื™ืฉื” ื“ื™ื ืžื™ืช ืฉืœ TLS
ืžืฉืชื ื™ื. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mtls-dialect=ืžืกื•ืจืชื™
ื”ืฉืชืžืฉ ื‘-TLS ื”ืžืกื•ืจืชื™ ื›ืžื ื’ื ื•ืŸ ืื—ืกื•ืŸ ืžืงื•ืžื™-ื—ื•ื˜ ืขื‘ื•ืจ ื’ื™ืฉื” ื“ื™ื ืžื™ืช ืฉืœ TLS
ืžืฉืชื ื™ื.

-mfix-cortex-a53-835769
-mno-fix-cortex-a53-835769
ื”ืคืขืœ ืื• ื”ืฉื‘ืช ืืช ื”ื“ืจืš ืœืขืงื™ืคืช ื”ื‘ืขื™ื” ืขื‘ื•ืจ ARM Cortex-A53 ืฉื’ื™ืื” ืžืกืคืจ 835769.
ื™ื›ืœื•ืœ ื”ื›ื ืกืช ื”ื•ืจืืช NOP ื‘ื™ืŸ ื”ื•ืจืื•ืช ื–ื™ื›ืจื•ืŸ ืœ-64 ืกื™ื‘ื™ื•ืช
ืžืกืคืจ ืฉืœื ื›ืคืœ-ืฆื‘ื•ืจ ื”ื•ืจืื•ืช.

-ืžืจืฅ=ืฉื
ืฆื™ื™ืŸ ืืช ื”ืฉื ืฉืœ ืืจื›ื™ื˜ืงื˜ื•ืจืช ื”ื™ืขื“, ืื•ืคืฆื™ื•ื ืœื™ ืขื ืกื™ื•ืžืช ืื—ืช ืื• ื™ื•ืชืจ
ืžืฉื ื” ืชื›ื•ื ื•ืช. ืœืืคืฉืจื•ืช ื–ื• ื™ืฉ ืืช ื”ื˜ื•ืคืก -ืžืจืฅ=ืงืฉืช{+[ืœื]ืชื›ื•ื ื”}*, ืื™ืคื” ื”
ืจืง ืขืจืš ืขื‘ื•ืจ ืงืฉืช is armv8-a. ื”ืขืจื›ื™ื ื”ืืคืฉืจื™ื™ื ืขื‘ื•ืจ ืชื›ื•ื ื” ืžืชื•ืขื“ื™ื ื‘-
ืกืขื™ืฃ ืžืฉื ื” ืœื”ืœืŸ.

ื›ืืฉืจ ืฆื•ื™ื ื• ืชื›ื•ื ื” ืžืชื ื’ืฉืช, ื”ืชื›ื•ื ื” ื”ื›ื™ ื™ืžื ื™ืช ืžืฉืžืฉืช.

GCC ืžืฉืชืžืฉ ื‘ืฉื ื–ื” ื›ื“ื™ ืœืงื‘ื•ืข ืื™ื–ื” ืกื•ื’ ืฉืœ ื”ื•ืจืื•ืช ื”ื•ื ื™ื›ื•ืœ ืœืคืœื•ื˜ ื‘ืขืช ื”ืคืงื”
ืงื•ื“ ื”ืจื›ื‘ื”. ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื‘ืฉื™ืœื•ื‘ ืขื ืื• ื‘ืžืงื•ื -mcpu=
ืื•ึนืคึผึฐืฆึดื™ึธื”.

-mcpu=ืฉื
ืฆื™ื™ืŸ ืืช ืฉื ืžืขื‘ื“ ื”ื™ืขื“, ืขื ืกื™ื•ืžืช ืื•ืคืฆื™ื•ื ืœื™ืช ืขืœ ื™ื“ื™ ืชื›ื•ื ื” ืื—ืช ืื• ื™ื•ืชืจ
ืžืฉื ื”. ืœืืคืฉืจื•ืช ื–ื• ื™ืฉ ืืช ื”ื˜ื•ืคืก -mcpu=ืžืขื‘ื“{+[ืœื]ืชื›ื•ื ื”}*, ื”ื™ื›ืŸ ืฉืืคืฉืจ
ืขืจื›ื™ื ืขื‘ื•ืจ ืžืขื‘ื“ ื™ืฉ ืœื• ื’ื ืจื™ืช, ื’ึธื“ื•ึนืœ. ื”ืขืจื›ื™ื ื”ืืคืฉืจื™ื™ื ืขื‘ื•ืจ ืชื›ื•ื ื” ืžืชื•ืขื“ื™ื ื‘
ืชืช ื”ืกืขื™ืฃ ืœื”ืœืŸ.

ื›ืืฉืจ ืฆื•ื™ื ื• ืชื›ื•ื ื” ืžืชื ื’ืฉืช, ื”ืชื›ื•ื ื” ื”ื›ื™ ื™ืžื ื™ืช ืžืฉืžืฉืช.

GCC ืžืฉืชืžืฉ ื‘ืฉื ื–ื” ื›ื“ื™ ืœืงื‘ื•ืข ืื™ื–ื” ืกื•ื’ ืฉืœ ื”ื•ืจืื•ืช ื”ื•ื ื™ื›ื•ืœ ืœืคืœื•ื˜ ื‘ืขืช ื”ืคืงื”
ืงื•ื“ ื”ืจื›ื‘ื”.

-mtune=ืฉื
ืฆื™ื™ืŸ ืืช ืฉื ื”ืžืขื‘ื“ ืœื›ื•ื•ืŸ ืืช ื”ื‘ื™ืฆื•ืขื™ื ืขื‘ื•ืจื•. ื”ืงื•ื“ ื™ื”ื™ื” ืžื›ื•ื•ืŸ
ื›ืื™ืœื• ืžืขื‘ื“ ื”ืžื˜ืจื” ื”ื™ื” ืžื”ืกื•ื’ ืฉืฆื•ื™ืŸ ื‘ืืคืฉืจื•ืช ื–ื•, ืืš ืขื“ื™ื™ืŸ ืžืฉืชืžืฉ
ื”ื•ืจืื•ืช ื”ืชื•ืืžื•ืช ืœืžืขื‘ื“ ื”ื™ืขื“ ืฉืฆื•ื™ืŸ ืขืœ ื™ื“ื™ ื -mcpu= ืื•ึนืคึผึฐืฆึดื™ึธื”. ื–ึถื”
ืืคืฉืจื•ืช ืœื ื™ื›ื•ืœื” ืœื”ื™ื•ืช ืกื™ื•ืžืช ืขืœ ื™ื“ื™ ืžืฉื ื” ืชื›ื•ื ื•ืช.

-ืžืจืฅ ื• -mcpu ืžืฉื ื” ืชื›ื•ื ื•ืช

ืžืฉื ื” ืชื›ื•ื ื•ืช ื‘ืฉื™ืžื•ืฉ ืขื -ืžืจืฅ ื• -mcpu ื™ื›ื•ืœ ืœื”ื™ื•ืช ืื—ื“ ืžื”ื‘ืื™ื:

CRC ืืคืฉืจ ื”ืจื—ื‘ืช CRC.

ืงืจื™ืคื˜ื•
ืืคืฉืจ ื”ืจื—ื‘ืช Crypto. ื–ื” ืžืจืžื– ืฉืžืชืงื“ื SIMD ืžื•ืคืขืœ.

fp ืืคืฉืจ ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื”.

ืกื™ืžื“
ืืคืฉืจ ื”ื•ืจืื•ืช SIMD ืžืชืงื“ืžื•ืช. ื–ื” ืžืจืžื– ืขืœ ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื”
ืžื•ืคืขืœ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ื›ืœ ื”ืขืจื›ื™ื ื”ืืคืฉืจื™ื™ื ื”ื ื•ื›ื—ื™ื™ื ืขื‘ื•ืจ ืืคืฉืจื•ื™ื•ืช -ืžืจืฅ ื•
-mcpu=.

ืื“ืคื˜ื™ื‘ื” ื”ึดืชื’ึทืœื•ึผืช ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ Adapteva Epiphany:

-mhalf-reg-file
ืืœ ืชืงืฆื” ืฉื•ื ืจืฉื ื‘ื˜ื•ื•ื— "r32"..."r63". ื–ื” ืžืืคืฉืจ ืœืจื•ืฅ ืขืœ ื”ืงื•ื“
ื’ืจืกืื•ืช ื—ื•ืžืจื” ื—ืกืจื•ืช ืจื’ื™ืกื˜ืจื™ื ืืœื”.

-mrefer-short-insn-regs
ื”ืงืฆืื” ืžื•ืขื“ืคืช ืœืจืฉืžื™ื ื”ืžืืคืฉืจื™ื ื™ืฆื™ืจืช ื”ื•ืจืื•ืช ืงืฆืจื•ืช. ื–ื” ื™ื›ื•ืœ
ืœื’ืจื•ื ืœืžืกืคืจ ื”ื•ืจืื•ืช ืžื•ื’ื‘ืจ, ื›ืš ืฉื–ื” ืขืฉื•ื™ ืœื”ืคื—ื™ืช ืื• ืœื”ื’ื“ื™ืœ ื‘ืื•ืคืŸ ื›ืœืœื™
ื’ื•ื“ืœ ืงื•ื“.

-brranch-cost=NUM
ื”ื’ื“ืจ ืืช ืขืœื•ืช ื”ืกื ื™ืคื™ื ืœืขืจืš NUM ื”ื•ืจืื•ืช "ืคืฉื•ื˜ื•ืช". ืขืœื•ืช ื–ื• ื”ื™ื ืจืง ื
ื”ื™ื•ืจื™ืกื˜ื™ืช ื•ืื™ื ื” ืžื•ื‘ื˜ื—ืช ืœื”ืคื™ืง ืชื•ืฆืื•ืช ืขืงื‘ื™ื•ืช ื‘ื›ืœ ืžื”ื“ื•ืจื•ืช.

-mcmove
ืืคืฉืจ ื™ืฆื™ืจืช ืžื”ืœื›ื™ื ืžื•ืชื ื™ื.

-mnops=NUM
ืคื•ืœื˜ NUM NOPs ืœืคื ื™ ื›ืœ ื”ื•ืจืื” ืื—ืจืช ืฉื ื•ืฆืจื”.

-mno-soft-cmpsf
ืœื”ืฉื•ื•ืืช ื ืงื•ื“ื” ืฆืคื” ื‘ืจืžืช ื“ื™ื•ืง ื‘ื•ื“ื“ืช, ืฉืœื— ื”ื•ืจืื” ื•ื‘ื“ื™ืงื” "fsub".
ื”ื“ื’ืœื™ื. ื–ื” ืžื”ื™ืจ ื™ื•ืชืจ ืžื”ืฉื•ื•ืืช ืชื•ื›ื ื”, ืื‘ืœ ื™ื›ื•ืœ ืœืงื‘ืœ ืชื•ืฆืื•ืช ืฉื’ื•ื™ื•ืช
ื‘ื ื•ื›ื—ื•ืช NaNs, ืื• ื›ืืฉืจ ืžืฉื•ื•ื™ื ื‘ื™ืŸ ืฉื ื™ ืžืกืคืจื™ื ืงื˜ื ื™ื ืฉื•ื ื™ื ื›ืš
ื”ื”ืคืจืฉ ืฉืœื”ื ืžื—ื•ืฉื‘ ื›ืืคืก. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -msoft-cmpsf, ืืฉืจ ืฉื™ืžื•ืฉื™ื
ื”ืฉื•ื•ืืช ืชื•ื›ื ื” ืื™ื˜ื™ืช ื™ื•ืชืจ ืืš ืชื•ืืžืช IEEE.

-mstack-offset=NUM
ื”ื’ื“ืจ ืืช ื”ื”ื™ืกื˜ ื‘ื™ืŸ ื”ื—ืœืง ื”ืขืœื™ื•ืŸ ืฉืœ ื”ืขืจื™ืžื” ืœื‘ื™ืŸ ืžืฆื‘ื™ืข ื”ืขืจื™ืžื”. ืœืžืฉืœ, ืขืจืš ืฉืœ 8
ืคื™ืจื•ืฉื• ืฉืžื•ื ื” ื‘ืชื™ื ื‘ื˜ื•ื•ื— "sp+0...sp+7" ื™ื›ื•ืœื™ื ืœืฉืžืฉ ืขืœ ื™ื“ื™ ืคื•ื ืงืฆื™ื•ืช ืขืœื™ื
ืœืœื ื”ืงืฆืืช ืžื—ืกื ื™ืช. ืขืจื›ื™ื ืžืœื‘ื“ 8 or 16 ืœื ื ื‘ื“ืงื• ื•ืœื ืกื‘ื™ืจ ืฉื™ืขืฉื• ื–ืืช
ืขึฒื‘ื•ึนื“ึธื”. ืฉื™ืžื• ืœื‘ ื’ื ืฉืื•ืคืฆื™ื” ื–ื• ืžืฉื ื” ืืช ื”-ABI; ื”ื™ื“ื•ืจ ืชื•ื›ื ื™ืช ืขื ื
ืงื™ื–ื•ื– ืžื—ืกื ื™ืช ืฉื•ื ื” ืžื–ื” ืฉื”ืกืคืจื™ื•ืช ื”ื•ืœื“ืจื• ืื™ืชื• ื‘ื“ืจืš ื›ืœืœ ืœื
ืขึฒื‘ื•ึนื“ึธื”. ืืคืฉืจื•ืช ื–ื• ื™ื›ื•ืœื” ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ืช ืื ื‘ืจืฆื•ื ืš ืœื”ืขืจื™ืš ืื ื”ื™ืกื˜ ืžื—ืกื ื™ืช ืฉื•ื ื”
ื™ื™ืชืŸ ืœืš ืงื•ื“ ื˜ื•ื‘ ื™ื•ืชืจ, ืื‘ืœ ืœืžืขืฉื” ืœื”ืฉืชืžืฉ ื‘ื”ื™ืกื˜ ืžื—ืกื ื™ืช ืฉื•ื ื” ืœื‘ื ื™ื™ื”
ืชื•ื›ื ื™ื•ืช ืขื‘ื•ื“ื”, ืžื•ืžืœืฅ ืœื”ื’ื“ื™ืจ ืืช ืฉืจืฉืจืช ื”ื›ืœื™ื ืขื ื”ืžืชืื™ื
--with-stack-offset=NUM ืื•ึนืคึผึฐืฆึดื™ึธื”.

-ืžื ื•-ืขื’ื•ืœ-ื”ื›ื™ ืงืจื•ื‘
ื’ืจืžื• ืœืžืชื–ืžืŸ ืœื”ื ื™ื— ืฉืžืฆื‘ ื”ืขื™ื’ื•ืœ ื”ื•ื’ื“ืจ ืœื—ื™ืชื•ืš. ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mround-ื”ืงืจื•ื‘ ื‘ื™ื•ืชืจ.

-ืžืœื•ื ื’-ืฉื™ื—ื•ืช
ืื ืœื ืฆื•ื™ืŸ ืื—ืจืช ืขืœ ื™ื“ื™ ืชื›ื•ื ื”, ื ื ื™ื— ืฉื›ืœ ื”ืฉื™ื—ื•ืช ืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ืžืขื‘ืจ ืœ-
ื”ื™ืกื˜ ื˜ื•ื•ื— ืฉืœ ื”ื”ื•ืจืื•ืช "b" / "bl", ื•ืœื›ืŸ ื˜ืขืŸ ืืช ื›ืชื•ื‘ืช ื”ืคื•ื ืงืฆื™ื”
ืœืคื ืงืก ืœืคื ื™ ื‘ื™ืฆื•ืข ืฉื™ื—ื” (ื™ืฉื™ืจื” ืื—ืจืช). ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืฉื™ื—ื•ืช ืงืฆืจื•ืช
ืื ืœื ืฆื•ื™ืŸ ืื—ืจืช ืขืœ ื™ื“ื™ ืชื›ื•ื ื”, ื ื ื™ื— ืฉื›ืœ ื”ืฉื™ื—ื•ืช ื”ื™ืฉื™ืจื•ืช ื ืžืฆืื•ืช ื‘ื˜ื•ื•ื—
ืฉืœ ื”ื”ื•ืจืื•ืช "b" / "bl", ืื– ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืืœื” ืœืฉื™ื—ื•ืช ื™ืฉื™ืจื•ืช. ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ืžืœื•ื ื’-ืฉื™ื—ื•ืช.

-msmall16
ื ื ื™ื— ืฉื ื™ืชืŸ ืœื˜ืขื•ืŸ ื›ืชื•ื‘ื•ืช ื›ืขืจื›ื™ื ืœืœื ืกื™ืžื ื™ื ืฉืœ 16 ืกื™ื‘ื™ื•ืช. ื–ื” ืœื ื—ืœ ืขืœ
ื›ืชื•ื‘ื•ืช ืคื•ื ืงืฆื™ื” ืขื‘ื•ืจ ืืฉืจ -ืžืœื•ื ื’-ืฉื™ื—ื•ืช ื”ืกืžื ื˜ื™ืงื” ื‘ืชื•ืงืฃ.

-mfp-mode=ืžืฆื‘
ื”ื’ื“ืจ ืืช ื”ืžืฆื‘ ื”ืจื•ื•ื— ืฉืœ ื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื”. ื–ื” ืงื•ื‘ืข ืืช ื”ืฆืฃ-
ืžืฆื‘ ื ืงื•ื“ื” ืฉืกื•ืคืง ื•ืฆืคื•ื™ ื‘ื–ืžืŸ ืงืจื™ืืช ืคื•ื ืงืฆื™ื” ื•ื”ื—ื–ืจื”. ื”ึฒื›ึธื ึธื”
ืžืฆื‘ ื–ื” ืœื”ืชืื™ื ืืช ื”ืžืฆื‘ ืฉืืชื” ืฆืจื™ืš ื‘ืขื™ืงืจ ื‘ืชื—ื™ืœืช ื”ืคื•ื ืงืฆื™ื” ื™ื›ื•ืœ ืœื”ืคื•ืš ืืช ืฉืœืš
ืชื•ื›ื ื™ื•ืช ืงื˜ื ื•ืช ื•ืžื”ื™ืจื•ืช ื™ื•ืชืจ ืขืœ ื™ื“ื™ ื”ื™ืžื ืขื•ืช ืžืชื’ื™ ืžืฆื‘ื™ื ืžื™ื•ืชืจื™ื.

ืžืฆื‘ ื ื™ืชืŸ ืœื”ื’ื“ื™ืจ ืœืื—ื“ ืžื”ืขืจื›ื™ื ื”ื‘ืื™ื:

ื”ืžืชืงืฉืจ
ื›ืœ ืžืฆื‘ ื‘ื”ื–ื ืช ืคื•ื ืงืฆื™ื” ืชืงืฃ, ื•ื ืฉืžืจ ืื• ืฉื•ื—ื–ืจ ื›ืืฉืจ ื”ืคื•ื ืงืฆื™ื”
ื—ื•ื–ืจ, ื•ื›ืืฉืจ ื”ื•ื ืงื•ืจื ืœืคื•ื ืงืฆื™ื•ืช ืื—ืจื•ืช. ืžืฆื‘ ื–ื” ืฉื™ืžื•ืฉื™ ืœื”ื™ื“ื•ืจ
ืกืคืจื™ื•ืช ืื• ื™ื—ื™ื“ื•ืช ืงื•ืžืคื™ืœืฆื™ื” ืื—ืจื•ืช ืฉืื•ืœื™ ืชืจืฆื” ืœืฉืœื‘ ื‘ืžื’ื•ื•ืŸ
ืชื•ื›ื ื™ื•ืช ืขื ืžืฆื‘ื™ FPU ืจื•ื•ื—ื™ื ืฉื•ื ื™ื, ื•ื”ื ื•ื—ื•ืช ืฉื‘ื™ื›ื•ืœืช
ื”ืฉื™ืžื•ืฉ ื‘ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ื‘ื•ื“ื“ ืขื•ืœื” ืขืœ ื”ื’ื•ื“ืœ ื•ื”ืžื”ื™ืจื•ืช ื”ืชืงื•ืจื” ืขื‘ื•ืจ ื›ืœ ืžืฆื‘ ื ื•ืกืฃ
ืžื™ืชื•ื’ ืฉืื•ืœื™ ื™ื”ื™ื” ืฆื•ืจืš ื‘ื”ืฉื•ื•ืื” ืœืžื” ืฉื™ื”ื™ื” ืฆื•ืจืš ืขื ื™ื•ืชืจ
ื‘ื—ื™ืจื” ืกืคืฆื™ืคื™ืช ืฉืœ ืžืฆื‘ FPU ื”ืจื•ื•ื—.

ืœืงื˜ื•ืข
ื–ื”ื• ื”ืžืฆื‘ ื”ืžืฉืžืฉ ืœื—ื™ืฉื•ื‘ื™ ื ืงื•ื“ื” ืฆืคื” ืขื ื—ื™ืชื•ืš (ื›ืœื•ืžืจ ืขื’ื•ืœ
ืœื›ื™ื•ื•ืŸ ืืคืก) ืžืฆื‘ ืขื™ื’ื•ืœ. ื–ื” ื›ื•ืœืœ ื”ืžืจื” ืžื ืงื•ื“ื” ืฆืคื” ืœ
ืžืกืคืจ ืฉืœื.

ืขื’ื•ืœ-ื”ืงืจื•ื‘ ื‘ื™ื•ืชืจ
ื–ื”ื• ื”ืžืฆื‘ ื”ืžืฉืžืฉ ืœื—ื™ืฉื•ื‘ื™ ื ืงื•ื“ื” ืฆืคื” ืขื ืขื’ื•ืœ ืœืงืจื•ื‘-ืื•-
ืžืฆื‘ ืขื™ื’ื•ืœ ืืคื™ืœื•.

int ื–ื”ื• ื”ืžืฆื‘ ื”ืžืฉืžืฉ ืœื‘ื™ืฆื•ืข ื—ื™ืฉื•ื‘ื™ ืžืกืคืจื™ื ืฉืœืžื™ื ื‘-FPU, ืœืžืฉืœ ืžืกืคืจ ืฉืœื
ื›ืคืœ, ืื• ืžืกืคืจ ืฉืœื ื›ืคืœ-ื•ืฆื‘ื•ืจ.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mfp-mode=ืžืชืงืฉืจ

-mnosplit-lohi
-mno-postinc
-mno-postmodify
ืชื™ืงื•ื ื™ ื™ืฆื™ืจืช ืงื•ื“ ื”ืžืฉื‘ื™ืชื™ื, ื‘ื”ืชืืžื”, ืคื™ืฆื•ืœ ืฉืœ ืขื•ืžืกื™ื ืฉืœ 32 ืกื™ื‘ื™ื•ืช,
ื™ืฆื™ืจืช ื›ืชื•ื‘ื•ืช ืœืื—ืจ ืชื•ืกืคืช, ื•ื™ืฆื™ืจืช ื›ืชื•ื‘ื•ืช ืœืื—ืจ ืฉื™ื ื•ื™. ื”
ื‘ืจื™ืจื•ืช ื”ืžื—ื“ืœ ื”ืŸ msplit-lohi, -mpost-inc, ื• -mpost-modify.

-mnovect-ื“ืื‘ืœ
ืฉื ื” ืืช ืžืฆื‘ ื”- SIMD ื”ืžื•ืขื“ืฃ ืœ-SImode. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mvect-double, ืืฉืจ ืฉื™ืžื•ืฉื™ื
DImode ื›ืžืฆื‘ SIMD ืžื•ืขื“ืฃ.

-max-vect-align=NUM
ื”ื™ื™ืฉื•ืจ ื”ืžืงืกื™ืžืœื™ ืขื‘ื•ืจ ืกื•ื’ื™ ืžืฆื‘ ื•ืงื˜ื•ืจ SIMD. NUM ื™ื›ื•ืœ ืœื”ื™ื•ืช 4 ืื• 8. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
8. ืฉื™ืžื• ืœื‘ ืฉื–ื”ื• ืฉื™ื ื•ื™ ื‘-ABI, ืœืžืจื•ืช ืฉืžืžืฉืงื™ ืคื•ื ืงืฆื™ื•ืช ืกืคืจื™ื•ืช ืจื‘ื™ื ื›ืŸ
ืœื ืžื•ืฉืคืข ืื ื”ื ืœื ืžืฉืชืžืฉื™ื ื‘ืžืฆื‘ื™ ื•ืงื˜ื•ืจ SIMD ื‘ืžืงื•ืžื•ืช ื”ืžืฉืคื™ืขื™ื ืขืœ ื”ื’ื•ื“ืœ ื•/ืื•
ื™ื™ืฉื•ืจ ืฉืœ ืกื•ื’ื™ื ืจืœื•ื•ื ื˜ื™ื™ื.

-msplit-vecmove-early
ื•ืงื˜ื•ืจ ืคื™ืฆื•ืœ ื ืข ืœืžื”ืœื›ื™ ืžื™ืœื” ื‘ื•ื“ื“ืช ืœืคื ื™ ื˜ืขื™ื ื” ืžื—ื“ืฉ. ื‘ืชื™ืื•ืจื™ื” ื–ื” ื™ื›ื•ืœ ืœืชืช
ื”ืงืฆืืช ืจื™ืฉื•ื ื˜ื•ื‘ื” ื™ื•ืชืจ, ืื‘ืœ ืขื“ ื›ื” ื ืจืื” ืฉื”ืžืฆื‘ ื”ืคื•ืš ื‘ื“ืจืš ื›ืœืœ.

-m1reg-ืจื’
ืฆื™ื™ืŸ ืื•ื’ืจ ืฉื™ื—ื–ื™ืง ืืช ื”ืงื‘ื•ืข -1, ืžื” ืฉื”ื•ืคืš ืืช ื”ื˜ืขื™ื ื” ืœืฉืœื™ืœื™ืช ืงื˜ื ื”
ืงื‘ื•ืขื™ื ื•ืžืกื™ื›ื•ืช ืกื™ื‘ื™ื•ืช ืžืกื•ื™ืžื•ืช ืžื”ืจ ื™ื•ืชืจ. ืขืจื›ื™ื ืžื•ืชืจื™ื ืขื‘ื•ืจ ืจื’ ื™ืฉ ืœื• r43 ื• r63,
ืืฉืจ ืžืฆื™ื™ื ื™ื ืฉื™ืžื•ืฉ ื‘ืื•ืชื• ืคื ืงืก ื›ืคื ืงืก ืงื‘ื•ืข, ื•ื›ืŸ ืืฃ ืœื ืื—ื“, ืžื” ืฉืื•ืžืจ ืฉืœื
ืœืžื˜ืจื” ื–ื• ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืจื™ืฉื•ื. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -m1reg-none.

ื–ืจื•ืข ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ื”ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืžืชืงื“ืžื•ืช RISC Machines (ARM):

-ืžืื‘ื™=ืฉื
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”-ABI ืฉืฆื•ื™ืŸ. ื”ืขืจื›ื™ื ื”ืžื•ืชืจื™ื ื”ื: apcs-gnu, atpcs, aapcs,
aapcs-linux ื• iwmmxt.

-mapcs-frame
ืฆื•ืจ ืžืกื’ืจืช ืžื—ืกื ื™ืช ื”ืชื•ืืžืช ืืช ืชืงืŸ ARM Procedure Call ืขื‘ื•ืจ ื›ื•ืœื
ืคื•ื ืงืฆื™ื•ืช, ื’ื ืื ื–ื” ืœื ื”ื›ืจื—ื™ ืœื—ืœื•ื˜ื™ืŸ ืœื‘ื™ืฆื•ืข ื ื›ื•ืŸ ืฉืœ ื”ืงื•ื“.
ืžืคืจื˜ -fomit-frame-pointer ืขื ืืคืฉืจื•ืช ื–ื• ื’ื•ืจื ืœืžืกื’ืจื•ืช ื”ืžื—ืกื ื™ืช ืœื ืœื”ื™ื•ืช
ื ื•ืฆืจ ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืขืœื™ื. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mno-apcs-frame.

-ืžืคื•ืช
ื–ื•ื”ื™ ืžื™ืœื” ื ืจื“ืคืช ืœ -mapcs-frame.

-ืž-ืื’ื•ื“ืœ-ืขื‘ื•ื“ื”
ืฆื•ืจ ืงื•ื“ ื”ืชื•ืžืš ื‘ื”ืชืงืฉืจื•ืช ื‘ื™ืŸ ืขืจื›ื•ืช ื”ื”ื•ืจืื•ืช ARM ื•-Thumb.
ืœืœื ืืคืฉืจื•ืช ื–ื•, ื‘ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืงื“ื-v5, ืฉืชื™ ืขืจื›ื•ืช ื”ื”ื•ืจืื•ืช ืœื ื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช
ื‘ืฉื™ืžื•ืฉ ืืžื™ืŸ ื‘ืชื•ืš ืชื•ื›ื ื™ืช ืื—ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mno-thumb-interwork, ืžืื– ืžืขื˜
ืงื•ื“ ื’ื“ื•ืœ ื™ื•ืชืจ ื ื•ืฆืจ ื›ืืฉืจ -ืž-ืื’ื•ื“ืœ-ืขื‘ื•ื“ื” ืžืฆื•ื™ืŸ. ื‘ืชืฆื•ืจื•ืช AAPCS
ืืคืฉืจื•ืช ื–ื• ื—ืกืจืช ืžืฉืžืขื•ืช.

-mno-sched-ืคืจื•ืœื•ื’
ืžื ืข ืกื™ื“ื•ืจ ืžื—ื“ืฉ ืฉืœ ื”ื•ืจืื•ืช ื‘ืคืจื•ืœื•ื’ ื”ืคื•ื ืงืฆื™ื”, ืื• ืžื™ื–ื•ื’ ืฉืœ
ื”ื•ืจืื•ืช ืืœื” ืขื ื”ื”ื•ืจืื•ืช ื‘ื’ื•ืฃ ื”ืคื•ื ืงืฆื™ื”. ื–ื” ืื•ืžืจ ืฉื”ื›ืœ
ืคื•ื ืงืฆื™ื•ืช ืžืชื—ื™ืœื•ืช ื‘ืกื˜ ื”ื•ืจืื•ืช ืฉื ื™ืชืŸ ืœื–ื”ื•ืช (ืื• ืœืžืขืฉื” ืื—ืช ืœื‘ื—ื™ืจื”
ืžืงื‘ื•ืฆื” ืงื˜ื ื” ืฉืœ ืคืจื•ืœื•ื’ื™ื ืฉื•ื ื™ื ืฉืœ ืคื•ื ืงืฆื™ื•ืช), ื•ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืžื™ื“ืข ื–ื”
ืืชืจ ืืช ื”ื”ืชื—ืœื” ืฉืœ ืคื•ื ืงืฆื™ื•ืช ื‘ืชื•ืš ืงื˜ืข ืงื•ื“ ื‘ืจ ื”ืคืขืœื”. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
-msched-prolog.

-mfloat-abi=ืฉื
ืžืฆื™ื™ืŸ ื‘ืื™ื–ื” ABI ืฉืœ ื ืงื•ื“ื” ืฆืคื” ืœื”ืฉืชืžืฉ. ื”ืขืจื›ื™ื ื”ืžื•ืชืจื™ื ื”ื: ืจืš, softfp ื•
ืงึธืฉืึถื”.

ืžืคืจื˜ ืจืš ื’ื•ืจื ืœ-GCC ืœื™ืฆื•ืจ ืคืœื˜ ื”ืžื›ื™ืœ ืงืจื™ืื•ืช ืœืกืคืจื™ื™ื” ืขื‘ื•ืจ ืฆืฃ-
ืคืขื•ืœื•ืช ื ืงื•ื“ืชื™ื•ืช. softfp ืžืืคืฉืจ ื™ืฆื™ืจืช ืงื•ื“ ื‘ืืžืฆืขื•ืช ื ืงื•ื“ื” ืฆืคื” ื‘ื—ื•ืžืจื”
ื”ื•ืจืื•ืช, ืื‘ืœ ืขื“ื™ื™ืŸ ืžืฉืชืžืฉ ื‘ืžื•ืกื›ืžื•ืช ื”ืฉื™ื—ื•ืช ื”ืจื›ื•ืช-ืฆืฃ. ืงึธืฉืึถื” ืžืืคืฉืจ
ื™ืฆื™ืจืช ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื” ื•ืžืฉืชืžืฉืช ื‘ืžื•ืกื›ืžื•ืช ืฉื™ื—ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœ-FPU.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืชืœื•ื™ื” ื‘ืชืฆื•ืจืช ื”ื™ืขื“ ื”ืกืคืฆื™ืคื™ืช. ืฉื™ืžื• ืœื‘ ืฉื”-hard-float
ื•- ABIs soft float ืื™ื ื ืชื•ืืžื™ื ืงื™ืฉื•ืจื™ื; ืืชื” ื—ื™ื™ื‘ ืœื”ืจื›ื™ื‘ ืืช ื›ืœ ื”ืชื•ื›ื ื™ืช ืฉืœืš ืขื
ืื•ืชื• ABI, ื•ืงื™ืฉื•ืจ ืขื ืงื‘ื•ืฆื” ืชื•ืืžืช ืฉืœ ืกืคืจื™ื•ืช.

-ืžืขื˜-ืื ื“ื™ืืŸ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžืขื‘ื“ ื”ืคื•ืขืœ ื‘ืžืฆื‘ little-endian. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ
ื›ืœ ื”ืชืฆื•ืจื•ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช.

-mbig-endian
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžืขื‘ื“ ื”ืคื•ืขืœ ื‘ืžืฆื‘ big-endian; ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืงื•ืžืคื™ืœืฆื™ื”
ืงื•ื“ ืขื‘ื•ืจ ืžืขื‘ื“ ืงื˜ืŸ ืื ื“ื™ืืŸ.

-mwords-little-endian
ืืคืฉืจื•ืช ื–ื• ื—ืœื” ืจืง ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“ ืขื‘ื•ืจ ืžืขื‘ื“ื™ื ื’ื“ื•ืœื™ื. ืœึดื™ืฆื•ึนืจ
ืงื•ื“ ืœืกื“ืจ ืžื™ืœื™ื ืงื˜ืŸ-ืื ื“ื™ืืŸ ืื‘ืœ ืกื“ืจ ื‘ืชื™ื ื’ื“ื•ืœ-ืื ื“ื™ืืŸ. ื›ืœื•ืžืจ, ื‘ื™ื™ื˜
ืกื“ืจ ื”ื˜ื•ืคืก 32107654. ื”ืขืจื”: ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืจืง ืื ืืชื” ืฆืจื™ืš
ืชืื™ืžื•ืช ืขื ืงื•ื“ ืขื‘ื•ืจ ืžืขื‘ื“ื™ ARM ื’ื“ื•ืœื™ื ืฉื ื•ืฆืจื• ืขืœ ื™ื“ื™ ื’ืจืกืื•ืช ืฉืœ
ืžื”ื“ืจ ืœืคื ื™ 2.8. ืืคืฉืจื•ืช ื–ื• ื”ื•ืฆืื” ืžืฉื™ืžื•ืฉ ื›ืขืช.

-ืžืจืฅ=ืฉื
ื–ื” ืžืฆื™ื™ืŸ ืืช ื”ืฉื ืฉืœ ืืจื›ื™ื˜ืงื˜ื•ืจืช ARM ื”ื™ืขื“. GCC ืžืฉืชืžืฉ ื‘ืฉื ื–ื” ื›ื“ื™
ืœืงื‘ื•ืข ืื™ื–ื” ืกื•ื’ ืฉืœ ื”ื•ืจืื•ืช ื”ื•ื ื™ื›ื•ืœ ืœืคืœื•ื˜ ื‘ืขืช ื”ืคืงืช ืงื•ื“ ื”ืจื›ื‘ื”. ื–ึถื”
ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื‘ืฉื™ืœื•ื‘ ืขื ืื• ื‘ืžืงื•ื -mcpu= ืื•ึนืคึผึฐืฆึดื™ึธื”. ืžื•ึผืชึธืจ
ื”ืฉืžื•ืช ื”ื: armv2, armv2a, armv3, armv3m, armv4, armv4t, armv5, armv5t, armv5e,
armv5te, armv6, ARMV6J, armv6t2, armv6z, armv6zk, armv6-m, armv7, armv7-a, armv7-r,
armv7-m, armv7e-m armv8-a, armv8-a+crc, iwmmxt, iwmmxt2, ep9312.

-march=armv8-a+crc ืžืืคืฉืจ ื™ืฆื™ืจืช ืงื•ื“ ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช ARMv8-A ื™ื—ื“ ืขื
ื”ืจื—ื‘ื•ืช CRC32 ื”ืื•ืคืฆื™ื•ื ืœื™ื•ืช.

-ืฆืขื“ื” = ื™ืœื™ื“ ื’ื•ืจื ืœืžื”ื“ืจ ืœื–ื”ื•ืช ืื•ื˜ื•ืžื˜ื™ืช ืืช ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ืฉืœ ื”-build
ืžึทื—ืฉืึตื‘. ื ื›ื•ืŸ ืœืขื›ืฉื™ื•, ืชื›ื•ื ื” ื–ื• ื ืชืžื›ืช ืจืง ื‘-GNU/Linux, ื•ืœื ื‘ื›ื•ืœื
ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืžื•ื›ืจื•ืช. ืื ื”ื–ื™ื”ื•ื™ ื”ืื•ื˜ื•ืžื˜ื™ ืœื ืžืฆืœื™ื— ืœืืคืฉืจื•ืช ืื™ืŸ
ื”ืฉืคืขื”.

-mtune=ืฉื
ืืคืฉืจื•ืช ื–ื• ืžืฆื™ื™ื ืช ืืช ื”ืฉื ืฉืœ ืžืขื‘ื“ ARM ื”ื™ืขื“ ืฉืขื‘ื•ืจื• GCC ืฆืจื™ืš ืœื”ืชื›ื•ื•ื ืŸ
ื”ื‘ื™ืฆื•ืขื™ื ืฉืœ ื”ืงื•ื“. ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ ARM ืžืกื•ื™ืžื™ื ื™ื›ื•ืœื™ื ืœื”ื™ื•ืช ื‘ื™ืฆื•ืขื™ื ื˜ื•ื‘ื™ื ื™ื•ืชืจ
ืžืชืงื‘ืœ ืขืœ ื™ื“ื™ ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื•. ื”ืฉืžื•ืช ื”ืžื•ืชืจื™ื ื”ื: arm2, arm250, arm3, arm6,
arm60, arm600, arm610, arm620, arm7, ื–ืจื•ืข 7 ืž', arm7d, arm7dm, arm7di, arm7dmi, arm70,
arm700, arm700i, arm710, arm710c, arm7100, arm720, arm7500, arm7500fe, arm7tdmi,
arm7tdmi-s, arm710t, arm720t, arm740t, ื–ืจื•ืข ื—ื–ืงื”, strongarm110, strongarm1100,
strongarm1110, arm8, arm810, arm9, arm9e, arm920, arm920t, arm922t, arm946e-s,
arm966e-s, arm968e-s, arm926ej-s, arm940t, arm9tdmi, arm10tdmi, arm1020t, arm1026ej-s,
arm10e, arm1020e, arm1022e, arm1136j-s, arm1136jf-s, mpcore, mpcorenovfp, arm1156t2-s,
arm1156t2f-s, arm1176jz-s, arm1176jzf-s, ืงืœื™ืคืช ื”ืžื•ื—-a5, ืงืœื™ืคืช ื”ืžื•ื—-a7, ืงืœื™ืคืช ื”ืžื•ื—-a8, ืงืœื™ืคืช ื”ืžื•ื—-a9,
ืงืœื™ืคืช ื”ืžื•ื—-a15, ืงืœื™ืคืช ื”ืžื•ื—-a53, cortex-r4, cortex-r4f, cortex-r5, cortex-r7, ืงื•ืจื˜ืงืก-m4,
ืงื•ืจื˜ืงืก-m3, ืงื•ืจื˜ืงืก-m1, ืงื•ืจื˜ืงืก-m0, cortex-m0plus, marvell-pj4, xscale, iwmmxt, iwmmxt2,
ep9312, fa526, fa626, fa606te, fa626te, fmp626, fa726te.

-mtune=ื’ื ืจื™-ืงืฉืช ืžืฆื™ื™ืŸ ืฉ-GCC ืฆืจื™ืš ืœื›ื•ื•ืŸ ืืช ื”ื‘ื™ืฆื•ืขื™ื ืœืฉื™ืœื•ื‘ ืฉืœ
ืžืขื‘ื“ื™ื ื‘ืชื•ืš ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ืงืฉืช. ื”ืžื˜ืจื” ื”ื™ื ืœื™ืฆื•ืจ ืงื•ื“ ืฉืคื•ืขืœ ื”ื™ื˜ื‘ ื‘-
ื”ืžืขื‘ื“ื™ื ื”ืคื•ืคื•ืœืจื™ื™ื ื‘ื™ื•ืชืจ ื”ื ื•ื›ื—ื™ื™ื, ืžืื–ื ื™ื ื‘ื™ืŸ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืžื•ืขื™ืœื•ืช ืœื—ืœืง
ืžืขื‘ื“ื™ื ื‘ื˜ื•ื•ื—, ื•ื”ื™ืžื ืขื•ืช ืžืžืœื›ื•ื“ื•ืช ื‘ื™ืฆื•ืขื™ื ืฉืœ ืžืขื‘ื“ื™ื ืื—ืจื™ื. ื”ื”ืฉืคืขื•ืช ืฉืœ
ืืคืฉืจื•ืช ื–ื• ืขืฉื•ื™ื” ืœื”ืฉืชื ื•ืช ื‘ื’ืจืกืื•ืช GCC ืขืชื™ื“ื™ื•ืช ื›ืืฉืจ ื“ื’ืžื™ CPU ื‘ืื™ื ื•ื”ื•ืœื›ื™ื.

-mtune=native ื’ื•ืจื ืœืžื”ื“ืจ ืœื–ื”ื•ืช ืื•ื˜ื•ืžื˜ื™ืช ืืช ื”-CPU ืฉืœ ืžื—ืฉื‘ ื”-build. ื‘ึผึฐ
ืงื™ื™ื, ืชื›ื•ื ื” ื–ื• ื ืชืžื›ืช ืจืง ื‘-GNU/Linux, ื•ืœื ื›ืœ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช
ืžื•ึผื›ึผึธืจ. ืื ื”ื–ื™ื”ื•ื™ ื”ืื•ื˜ื•ืžื˜ื™ ืœื ืžืฆืœื™ื— ืœืืคืฉืจื•ืช ืื™ืŸ ื”ืฉืคืขื”.

-mcpu=ืฉื
ื–ื” ืžืฆื™ื™ืŸ ืืช ื”ืฉื ืฉืœ ืžืขื‘ื“ ARM ื”ื™ืขื“. GCC ืžืฉืชืžืฉ ื‘ืฉื ื–ื” ื›ื“ื™ ืœื’ื–ื•ืจ ืืช
ืฉื ืืจื›ื™ื˜ืงื˜ื•ืจืช ARM ื”ื™ืขื“ (ื›ืื™ืœื• ืฆื•ื™ืŸ ืขืœ ื™ื“ื™ -ืžืจืฅ) ื•ืžืขื‘ื“ ARM
ืกื•ื’ ืฉืขื‘ื•ืจื• ื™ืฉ ืœื›ื•ื•ื ืŸ ืœื‘ื™ืฆื•ืขื™ื (ื›ืื™ืœื• ืฆื•ื™ืŸ ืขืœ ื™ื“ื™ -mtune). ืื™ืคื” ื”ืืคืฉืจื•ืช ื”ื–ื•
ืžืฉืžืฉ ื‘ืฉื™ืœื•ื‘ ืขื -ืžืจืฅ or -mtune, ืืคืฉืจื•ื™ื•ืช ืืœื• ืขื“ื™ืคื•ืช ืขืœ ืคื ื™ ื”
ื—ืœืง ืžืชืื™ื ืฉืœ ืืคืฉืจื•ืช ื–ื•.

ื”ืฉืžื•ืช ื”ืžื•ืชืจื™ื ืขื‘ื•ืจ ืืคืฉืจื•ืช ื–ื• ื–ื”ื™ื ืœืืœื• ืขื‘ื•ืจ -mtune.

-mcpu=ื’ื ืจื™-ืงืฉืช ืžื•ืชืจ ื’ื ื”ื•ื, ื•ื”ื•ื ืฉื•ื•ื” ืขืจืš ืœ -ืžืจืฅ=ืงืฉืช
-mtune=ื’ื ืจื™-ืงืฉืช. ืœืจืื•ืช -mtune ืœืงื‘ืœืช ืžื™ื“ืข ื ื•ืกืฃ.

-mcpu = ื™ืœื™ื“ ื’ื•ืจื ืœืžื”ื“ืจ ืœื–ื”ื•ืช ืื•ื˜ื•ืžื˜ื™ืช ืืช ื”-CPU ืฉืœ ืžื—ืฉื‘ ื”-build. ื‘ึผึฐ
ืงื™ื™ื, ืชื›ื•ื ื” ื–ื• ื ืชืžื›ืช ืจืง ื‘-GNU/Linux, ื•ืœื ื›ืœ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช
ืžื•ึผื›ึผึธืจ. ืื ื”ื–ื™ื”ื•ื™ ื”ืื•ื˜ื•ืžื˜ื™ ืœื ืžืฆืœื™ื— ืœืืคืฉืจื•ืช ืื™ืŸ ื”ืฉืคืขื”.

-mfpu=ืฉื
ื–ื” ืžืฆื™ื™ืŸ ื‘ืื™ื–ื• ื—ื•ืžืจืช ื ืงื•ื“ื” ืฆืคื” (ืื• ืืžื•ืœืฆื™ื™ืช ื—ื•ืžืจื”) ื–ืžื™ื ื”
ื”ืžื˜ืจื”. ื”ืฉืžื•ืช ื”ืžื•ืชืจื™ื ื”ื: vfp, vfpv3, vfpv3-fp16, vfpv3-d16, VFPV3-D16-FP16,
vfpv3xd, vfpv3xd-fp16, ื ืื•ืŸ, neon-fp16, vfpv4, vfpv4-d16, fpv4-sp-d16, ื ื™ืื•ืŸ-vfpv4,
fp-armv8, neon-fp-armv8, ื• ืงืจื™ืคื˜ื•-ื ื™ืื•ืŸ-fp-armv8.

If -msoft-float ืฆื•ื™ืŸ ื–ื” ืžืฆื™ื™ืŸ ืืช ื”ืคื•ืจืžื˜ ืฉืœ ืขืจื›ื™ ื ืงื•ื“ื” ืฆืคื”.

ืื ื—ื•ืžืจืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ืฉื ื‘ื—ืจื” ื›ื•ืœืœืช ืืช ืกื™ื•ืžืช NEON (ืœืžืฉืœ -mfpu=ื ืื•ืŸ),
ืฉื™ื ืœื‘ ืฉืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื” ืื™ื ืŸ ื ื•ืฆืจื•ืช ืขืœ ื™ื“ื™ ืžืขื‘ืจ ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ืื•ื˜ื•ืžื˜ื™ ืฉืœ GCC
ืืœื ืื ื›ืŸ -ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math ืžืฆื•ื™ืŸ ื’ื. ื”ืกื™ื‘ื” ืœื›ืš ื”ื™ื ื—ื•ืžืจืช NEON
ืื™ื ื• ืžื™ื™ืฉื ื‘ืžืœื•ืื• ืืช ืชืงืŸ IEEE 754 ืขื‘ื•ืจ ืืจื™ืชืžื˜ื™ืงื” ืฉืœ ื ืงื•ื“ื” ืฆืคื” (ื‘
ืขืจื›ื™ื ื“ื ื•ืจืžืœื™ื™ื ืžืกื•ื™ืžื™ื ืžืชื™ื™ื—ืกื™ื ืœืืคืก), ื›ืš ืฉื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช NEON ืขืฉื•ื™
ืœื”ื•ื‘ื™ืœ ืœืื•ื‘ื“ืŸ ื“ื™ื•ืง.

-mfp16-format=ืฉื
ืฆื™ื™ืŸ ืืช ื”ืคื•ืจืžื˜ ืฉืœ ืกื•ื’ ื”ื ืงื•ื“ื” ื”ืฆืคื” "__fp16" ื‘ื—ืฆื™ ื“ื™ื•ืง. ืžื•ึผืชึธืจ
ืฉืžื•ืช ื”ื ืืฃ ืœื ืื—ื“, ืื™ื™, ื• ื—ืœื•ืคื”; ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืืฃ ืœื ืื—ื“, ื‘ืžืงืจื” ื–ื” ื”-"__fp16"
ืกื•ื’ ืื™ื ื• ืžื•ื’ื“ืจ.

-mstructure-size-boundary=n
ื”ื’ื“ืœื™ื ืฉืœ ื›ืœ ื”ืžื‘ื ื™ื ื•ื”ืื™ื’ื•ื“ื™ื ืžืขื•ื’ืœื™ื ื›ืœืคื™ ืžืขืœื” ืœื›ืคื•ืœื” ืฉืœ ืžืกืคืจ
ื‘ื™ื˜ื™ื ืฉื”ื•ื’ื“ืจื• ืขืœ ื™ื“ื™ ืืคืฉืจื•ืช ื–ื•. ื”ืขืจื›ื™ื ื”ืžื•ืชืจื™ื ื”ื 8, 32 ื•-64. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ืžืฉืชื ื” ืขื‘ื•ืจ ืฉืจืฉืจื•ืช ื›ืœื™ื ืฉื•ื ื•ืช. ืขื‘ื•ืจ ืฉืจืฉืจืช ื”ื›ืœื™ื ื”ืžืžื•ืงื“ืช COFF ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื
8. ืขืจืš ืฉืœ 64 ืžื•ืชืจ ืจืง ืื ื”-ABI ื”ื‘ืกื™ืกื™ ืชื•ืžืš ื‘ื•.

ืฆื™ื•ืŸ ืžืกืคืจ ื’ื“ื•ืœ ื™ื•ืชืจ ื™ื›ื•ืœ ืœื™ื™ืฆืจ ืงื•ื“ ืžื”ื™ืจ ื•ื™ืขื™ืœ ื™ื•ืชืจ, ืื‘ืœ ื™ื›ื•ืœ ื’ื
ืœื”ื’ื“ื™ืœ ืืช ื’ื•ื“ืœ ื”ืชื•ื›ื ื™ืช. ืขืจื›ื™ื ืฉื•ื ื™ื ืขืœื•ืœื™ื ืœื”ื™ื•ืช ื‘ืœืชื™ ืชื•ืืžื™ื.
ืงื•ื“ ื”ื™ื“ื•ืจ ืขื ืขืจืš ืื—ื“ ืœื ื™ื›ื•ืœ ื‘ื”ื›ืจื— ืœืฆืคื•ืช ืœืขื‘ื•ื“ ืขื ืงื•ื“ ืื• ืกืคืจื™ื•ืช
ื”ื™ื“ื•ืจ ืขื ืขืจืš ืื—ืจ, ืื ื”ื ืžื—ืœื™ืคื™ื ืžื™ื“ืข ื‘ืืžืฆืขื•ืช ืžื‘ื ื™ื ืื• ืื™ื’ื•ื“ื™ื.

-ืื-ืขืœ-ื—ื–ืจื”
ืฆื•ืจ ืงืจื™ืื” ืœืคื•ื ืงืฆื™ื” "ื‘ื˜ืœ" ื‘ืกื•ืฃ ืคื•ื ืงืฆื™ื™ืช "norreturn". ื–ื”
ืžื•ืคืขืœ ืื ื”ืคื•ื ืงืฆื™ื” ืžื ืกื” ืœื—ื–ื•ืจ.

-ืžืœื•ื ื’-ืฉื™ื—ื•ืช
-ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช
ืื•ืžืจ ืœืžื”ื“ืจ ืœื‘ืฆืข ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื•ืช ืขืœ ื™ื“ื™ ื˜ืขื™ื ืช ื”ื›ืชื•ื‘ืช ืฉืœ ื”-
ืคื•ื ืงืฆื™ื” ืœืชื•ืš ืื•ื’ืจ ื•ืœืื—ืจ ืžื›ืŸ ื‘ื™ืฆื•ืข ืฉื™ื—ืช ืชืช ืฉื’ืจืชื™ืช ืขืœ ื”ืื•ื’ืจ ื”ื–ื”. ื–ึถื”
ื™ืฉ ืฆื•ืจืš ื‘- switch ืื ืคื•ื ืงืฆื™ื™ืช ื”ืžื˜ืจื” ื ืžืฆืืช ืžื—ื•ืฅ ืœื›ืชื•ื‘ืช ืฉืœ 64 ืžื’ื”-ื‘ื™ื™ื˜
ื˜ื•ื•ื— ืฉืœ ื”ื’ืจืกื” ืžื‘ื•ืกืกืช ื”ื™ืกื˜ ืฉืœ ื”ื•ืจืืช ืฉื™ื—ื•ืช ืชืช ืฉื’ืจืชื™ื•ืช.

ื’ื ืื ืžืชื’ ื–ื” ืžื•ืคืขืœ, ืœื ื›ืœ ืฉื™ื—ื•ืช ื”ืคื•ื ืงืฆื™ื” ื”ื•ืคื›ื•ืช ืœืฉื™ื—ื•ืช ืืจื•ื›ื•ืช.
ื”ื”ื™ื•ืจื™ืกื˜ื™ืงื” ื”ื™ื ืฉืคื•ื ืงืฆื™ื•ืช ืกื˜ื˜ื™ื•ืช, ืคื•ื ืงืฆื™ื•ืช ืฉื™ืฉ ืœื”ืŸ ืฉื™ื—ื” ืงืฆืจื” ืชึฐื›ื•ึผื ึธื”,
ืคื•ื ืงืฆื™ื•ืช ืฉื ืžืฆืื•ืช ื‘ื’ื“ืจ ื #ืคืจื’ืžื” ืื™ืŸ_ืฉื™ื—ื•ืช_ืืจื•ื›ื•ืช ื”ื ื—ื™ื”, ื•
ืคื•ื ืงืฆื™ื•ืช ืฉื”ื’ื“ืจื•ืชื™ื”ืŸ ื›ื‘ืจ ื”ื™ื“ื•ืจ ื‘ืชื•ืš ื”ืงื•ืžืคื™ืœืฆื™ื” ื”ื ื•ื›ื—ื™ืช
ื”ื™ื—ื™ื“ื” ืœื ื”ื•ืคื›ืช ืœืฉื™ื—ื•ืช ืืจื•ื›ื•ืช. ื”ื—ืจื™ื’ื™ื ืœื›ืœืœ ื–ื” ื—ืœืฉื™ื ืขื“ ื›ื“ื™ ื›ืš
ื”ื’ื“ืจื•ืช ืคื•ื ืงืฆื™ื•ืช, ืคื•ื ืงืฆื™ื•ืช ืขื ื” ืฉื™ื—ื” ืืจื•ื›ื” ืชื›ื•ื ื” ืื• ืกืขื™ืฃ ืชึฐื›ื•ึผื ึธื”,
ื•ืคื•ื ืงืฆื™ื•ืช ืฉื ืžืฆืื•ืช ื‘ื’ื“ืจ ื #ืคืจื’ืžื” ืฉื™ื—ื•ืช_ืืจื•ื›ื•ืช ื”ื ื—ื™ื” ื”ื ืชืžื™ื“
ื”ืคืš ืœืฉื™ื—ื•ืช ืืจื•ื›ื•ืช.

ืชื›ื•ื ื” ื–ื• ืื™ื ื” ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ืžืคืจื˜ -ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช ืžืฉื—ื–ืจ
ื”ืชื ื”ื’ื•ืช ื‘ืจื™ืจืช ืžื—ื“ืœ, ื•ื›ืš ื’ื ื”ืฆื‘ืช ืงืจื™ืื•ืช ื”ืคื•ื ืงืฆื™ื” ื‘ื˜ื•ื•ื— ืฉืœ a #ืคืจื’ืžื”
ืืจื•ืš_ืฉื™ื—ื•ืช ื”ื•ึนืจึธืึธื”. ืฉื™ืžื• ืœื‘ ืœืžืชื’ื™ื ื”ืœืœื• ืื™ืŸ ื”ืฉืคืขื” ืขืœ ืื•ืคืŸ ื”ืคืขื•ืœื” ืฉืœ ื”ืžื”ื“ืจ
ื™ื•ืฆืจ ืงื•ื“ ืœื˜ื™ืคื•ืœ ื‘ืงืจื™ืื•ืช ืคื•ื ืงืฆื™ื” ื‘ืืžืฆืขื•ืช ืžืฆื‘ื™ืขื™ ืคื•ื ืงืฆื™ื”.

-ื‘ืกื™ืก ืชืžื•ื ื” ืื—ืช
ื”ืชื™ื™ื—ืก ืœืื•ื’ืจ ื”ืžืฉืžืฉ ืขื‘ื•ืจ ื›ืชื•ื‘ืช PIC ื›ืงืจื™ืื” ื‘ืœื‘ื“, ื‘ืžืงื•ื ืœื˜ืขื•ืŸ ืื•ืชื• ื‘-
ืคืจื•ืœื•ื’ ืœื›ืœ ืคื•ื ืงืฆื™ื”. ืžืขืจื›ืช ื–ืžืŸ ื”ืจื™ืฆื” ืื—ืจืื™ืช ืœืืชื—ืœ ื–ืืช
ื”ื™ืจืฉื ืขื ืขืจืš ืžืชืื™ื ืœืคื ื™ ืชื—ื™ืœืช ื”ื‘ื™ืฆื•ืข.

-mpic-register=ืจื’
ืฆื™ื™ืŸ ืืช ื”ืื•ื’ืจ ืฉื™ืฉืžืฉ ืขื‘ื•ืจ ื›ืชื•ื‘ืช PIC. ืœืžืงืจื” ื‘ืกื™ืก PIC ืกื˜ื ื“ืจื˜ื™, ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืชื”ื™ื” ื›ืœ ืื•ื’ืจ ืžืชืื™ื ืฉื ืงื‘ืข ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ. ืœื‘ืกื™ืก PIC ื™ื—ื™ื“
ื‘ืžืงืจื”, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื R9 ืื ื”ื™ืขื“ ืžื‘ื•ืกืก ืขืœ EABI ืื• ืฉื‘ื“ื™ืงืช ืžื—ืกื ื™ืช ืžื•ืคืขืœืช,
ืื—ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื R10.

-ืฉื ืคื•ื ืงืฆื™ื”-mpoke
ื›ืชื•ื‘ ืืช ื”ืฉื ืฉืœ ื›ืœ ืคื•ื ืงืฆื™ื” ื‘ืงื˜ืข ื”ื˜ืงืกื˜, ื™ืฉื™ืจื•ืช ืœืคื ื™ ื”ืคื•ื ืงืฆื™ื”
ืคึผืจื•ึนืœื•ึนื’. ื”ืงื•ื“ ืฉื ื•ืฆืจ ื“ื•ืžื” ืœื–ื”:

t0
.ascii "ืฉื_ืคื•ื ืงืฆื™ื”_ื–ืจื•ืข", 0
.align
t1
โ€Ž.word 0xff000000 + (t1 - t0)
ืฉื_ืคื•ื ืงืฆื™ื”_ืœื–ืจื•ืข
mov ip, sp
stmfd sp!, {fp, ip, lr, pc}
sub fp, ip, #4

ื‘ืขืช ื‘ื™ืฆื•ืข ืžืขืงื‘ ืžื—ืกื ื™ืช, ืงื•ื“ ื™ื›ื•ืœ ืœื‘ื“ื•ืง ืืช ื”ืขืจืš ืฉืœ "pc" ื”ืžืื•ื—ืกืŸ ื‘-"fp +
0". ืื ืคื•ื ืงืฆื™ื™ืช ื”ืžืขืงื‘ ืžืกืชื›ืœืช ืขืœ ื”ืžื™ืงื•ื "pc - 12" ื•-8 ื”ื‘ื™ื˜ื™ื ื”ืขืœื™ื•ื ื™ื ื”ื
set, ืื– ืื ื—ื ื• ื™ื•ื“ืขื™ื ืฉื™ืฉ ืฉื ืคื•ื ืงืฆื™ื” ืžื•ื˜ื‘ืข ืžื™ื“ ืœืคื ื™ ื–ื”
ืžื™ืงื•ื ื•ื‘ืขืœ ืื•ืจืš "((pc[-3]) & 0xff000000)".

-ืื’ื•ื“ืœ
-ืžืจื
ื‘ื—ืจ ื‘ื™ืŸ ื”ืคืงืช ืงื•ื“ ื”ืžื•ืคืขืœ ื‘ืžืฆื‘ื™ ARM ื•-Thumb. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ
ืจื•ื‘ ื”ืชืฆื•ืจื•ืช ื”ืŸ ืœื™ืฆื•ืจ ืงื•ื“ ืฉืคื•ืขืœ ื‘ืžืฆื‘ ARM, ืื‘ืœ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื ื™ืชืŸ ืœืฉื ื•ืช ืขืœ ื™ื“ื™ ื”ื’ื“ืจืช GCC ืขื --with-mode=ื”ื™ื• ืืคืฉืจื•ืช ืœื”ื’ื“ื™ืจ.

-mtpcs-frame
ืฆื•ืจ ืžืกื’ืจืช ืžื—ืกื ื™ืช ื”ืชื•ืืžืช ืืช ืชืงืŸ ื”-Thumb Procedure Call for
ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ืฉืื™ื ืŸ ืขืœื”. (ืคื•ื ืงืฆื™ื™ืช ืขืœื” ื”ื™ื ื›ื–ื• ืฉืื™ื ื” ืงื•ืจืืช ืœืืฃ ืื—ืช ืื—ืจืช
ืคื•ื ืงืฆื™ื•ืช.) ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mno-tpcs-frame.

-mtpcs-leaf-frame
ืฆื•ืจ ืžืกื’ืจืช ืžื—ืกื ื™ืช ื”ืชื•ืืžืช ืืช ืชืงืŸ ื”-Thumb Procedure Call for
ื›ืœ ืคื•ื ืงืฆื™ื•ืช ื”ืขืœื™ื. (ืคื•ื ืงืฆื™ื™ืช ืขืœื” ื”ื™ื ื›ื–ื• ืฉืื™ื ื” ืงื•ืจืืช ืœืคื•ื ืงืฆื™ื•ืช ืื—ืจื•ืช.)
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mno-apcs-leaf-frame.

-mcallee-ืกื•ืคืจ-ืื™ื ื˜ืจื•ื•ืจืงื™ื ื’
ื ื•ืชืŸ ืœื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ื”ื ืจืื•ืช ื›ืœืคื™ ื—ื•ืฅ ื‘ืงื•ื‘ืฅ ื”ื ืขืจืš ื”ื•ืจืืช ARM
set header ืืฉืจ ืขื•ื‘ืจ ืœืžืฆื‘ Thumb ืœืคื ื™ ื‘ื™ืฆื•ืข ืฉืืจ ื”ืคื•ื ืงืฆื™ื”.
ื–ื” ืžืืคืฉืจ ืœืงืจื•ื ืœืคื•ื ืงืฆื™ื•ืช ืืœื• ืžืงื•ื“ ืฉืื™ื ื• ืคื•ืขืœ ื‘ื™ืŸ ืคืขื•ืœื•ืช. ืืคืฉืจื•ืช ื–ื• ื”ื™ื
ืœื ืชืงืฃ ื‘ืชืฆื•ืจื•ืช AAPCS ืžื›ื™ื•ื•ืŸ ืฉืฉื™ืชื•ืฃ ืคืขื•ืœื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-mcaller-ืกื•ืคืจ-ืื™ื ื˜ืจื•ื•ืจืงื™ื ื’
ืžืืคืฉืจ ืœืฉื™ื—ื•ืช ื‘ืืžืฆืขื•ืช ืžืฆื‘ื™ืขื™ ืคื•ื ืงืฆื™ื•ืช (ื›ื•ืœืœ ืคื•ื ืงืฆื™ื•ืช ื•ื™ืจื˜ื•ืืœื™ื•ืช) ืœื‘ืฆืข ื›ื”ืœื›ื”
ืœืœื ืงืฉืจ ืœืฉืืœื” ืื ืงื•ื“ ื”ื™ืขื“ ื”ื™ื“ื•ืจ ืขื‘ื•ืจ ืขื‘ื•ื“ื” ื”ื“ื“ื™ืช ืื• ืœื.
ื™ืฉื ื” ืชืงื•ืจื” ืงื˜ื ื” ื‘ืขืœื•ืช ื‘ื™ืฆื•ืข ืžืฆื‘ื™ืข ืคื•ื ืงืฆื™ื” ืื ืืคืฉืจื•ืช ื–ื•
ืžื•ืคืขืœ. ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ื—ื•ืงื™ืช ื‘ืชืฆื•ืจื•ืช AAPCS ืžื›ื™ื•ื•ืŸ ืฉื”ืื™ื ื˜ืจืืงืฆื™ื” ื”ื™ื
ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-mtp=ืฉื
ืฆื™ื™ืŸ ืืช ืžื•ื“ืœ ื”ื’ื™ืฉื” ืขื‘ื•ืจ ืžืฆื‘ื™ืข ื”ืื—ืกื•ืŸ ื”ืžืงื•ืžื™ ืฉืœ ื”ืฉืจืฉื•ืจ. ื”ื“ื’ืžื™ื ื”ืชืงืคื™ื ื”ื
ืจืš, ืฉื™ื•ืฆืจ ืงืจื™ืื•ืช ืœ-"__aeabi_read_tp", cp15, ืฉืžื‘ื™ื ืืช ื”ื—ื•ื˜
ืžืฆื‘ื™ืข ืž-"cp15" ื™ืฉื™ืจื•ืช (ื ืชืžืš ื‘ืืจื›ื™ื˜ืงื˜ื•ืจืช arm6k), ื• ื”ืžื›ื•ื ื™ืช, ืืฉืจ
ืžืฉืชืžืฉ ื‘ืฉื™ื˜ื” ื”ื–ืžื™ื ื” ื”ื˜ื•ื‘ื” ื‘ื™ื•ืชืจ ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื”ื ื‘ื—ืจ. ื”ื’ื“ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
ื”ืžื›ื•ื ื™ืช.

-mtls-dialect=ื ึดื™ื‘
ืฆื™ื™ืŸ ืืช ื”ื ื™ื‘ ืœืฉื™ืžื•ืฉ ืœื’ื™ืฉื” ืœืื—ืกื•ืŸ ืžืงื•ืžื™ ืฉืœ ืฉืจืฉื•ืจ. ืฉืชื™ื™ื ื ึดื™ื‘ื–ื”
ื ืชืžืš---ื’ื ื• ื• gnu2. ื” ื’ื ื• ื“ื™ืืœืงื˜ ื‘ื•ื—ืจ ืืช ืขืจื›ืช GNU ื”ืžืงื•ืจื™ืช ืขื‘ื•ืจ
ืชืžื™ื›ื” ื‘ื“ื’ืžื™ TLS ื“ื™ื ืžื™ื™ื ืžืงื•ืžื™ื™ื ื•ื’ืœื•ื‘ืœื™ื™ื. ื” gnu2 ื“ื™ืืœืงื˜ ื‘ื•ื—ืจ ืืช ื”-GNU
ืกื›ื™ืžืช ืชื™ืื•ืจื™ื, ื”ืžืกืคืงืช ื‘ื™ืฆื•ืขื™ื ื˜ื•ื‘ื™ื ื™ื•ืชืจ ืขื‘ื•ืจ ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช. ื”ื’ื ื•
ืกื›ื™ืžืช ื”ืžืชืืจ ืชื•ืืžืช ืืช ื”ืกื›ื™ืžื” ื”ืžืงื•ืจื™ืช, ืืš ื“ื•ืจืฉืช ื—ื“ืฉ
ืืกืžื‘ืœืจ, ืžืงืฉืจ ื•ืชืžื™ื›ื” ื‘ืกืคืจื™ื™ื”. ื“ื’ืžื™ TLS ืจืืฉื•ื ื™ื™ื ื•ืžืงื•ืžื™ื™ื ื”ื
ืœื ืžื•ืฉืคืข ืžื”ืืคืฉืจื•ืช ื”ื–ื• ื•ืชืžื™ื“ ื”ืฉืชืžืฉ ื‘ืกื›ื™ืžื” ื”ืžืงื•ืจื™ืช.

-mword-relocations
ืฆื•ืจ ืจืง ื”ืขื‘ืจื•ืช ืžื•ื—ืœื˜ื•ืช ืขืœ ืขืจื›ื™ื ื‘ื’ื•ื“ืœ ืžื™ืœื” (ื›ืœื•ืžืจ R_ARM_ABS32). ื–ื”
ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ื™ืขื“ื™ื (uClinux, SymbianOS) ืฉื‘ื”ื ื˜ื•ืขืŸ ื–ืžืŸ ื”ืจื™ืฆื” ื›ื•ืคื”
ื”ื’ื‘ืœื” ื–ื• ื•ืžืชื™ -fpic or -fPIC ืžื•ื’ื“ืจ.

-mfix-cortex-m3-ldrd
ื—ืœืง ืžืœื™ื™ื‘ื•ืช Cortex-M3 ืขืœื•ืœื•ืช ืœื’ืจื•ื ืœืฉื—ื™ืชื•ืช ื ืชื•ื ื™ื ื›ืืฉืจ "ldrd" ื”ื•ืจืื•ืช ืขื
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืื•ื’ืจื™ ื™ืขื“ ื•ื‘ืกื™ืก ื—ื•ืคืคื™ื. ืืคืฉืจื•ืช ื–ื• ื ืžื ืขืช ืžื™ืฆื™ืจืช
ื”ื•ืจืื•ืช ืืœื”. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ -mcpu=cortex-m3 is
ื ึธืงื•ึผื‘.

-ื’ื™ืฉื” ืžื ื•ื”ืœืช
-mno-unaligned-access
ืžืืคืฉืจ (ืื• ืžืฉื‘ื™ืช) ืงืจื™ืื” ื•ื›ืชื™ื‘ื” ืฉืœ ืขืจื›ื™ 16 ื•-32 ืกื™ื‘ื™ื•ืช ืžื›ืชื•ื‘ื•ืช
ืฉืื™ื ื ืžื™ื•ืฉืจื™ื 16 ืื• 32 ืกื™ื‘ื™ื•ืช. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื’ื™ืฉื” ืœื ืžื™ื•ืฉืจืช ืžื•ืฉื‘ืชืช ืขื‘ื•ืจ ื›ื•ืœื
ื˜ืจื•ื-ARMv6 ื•ื›ืœ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ARMv6-M, ื•ืžื•ืคืขืœ ืขื‘ื•ืจ ื›ืœ ืฉืืจ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช. ืื
ื’ื™ืฉื” ืœื ืžื™ื•ืฉืจืช ืื™ื ื” ืžื•ืคืขืœืช ื•ืื– ื™ื™ื ืชื ื• ืœืžื™ืœื™ื ื‘ืžื‘ื ื™ ื ืชื•ื ื™ื ืืจื•ื–ื™ื
ื‘ื™ื™ื˜ ื‘ื›ืœ ืคืขื.

ืชื›ื•ื ืช ARM "Tag_CPU_unaligned_access" ืชื•ื’ื“ืจ ื‘ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜ ืฉื ื•ืฆืจ
ื ื›ื•ืŸ ืื• ืœื ื ื›ื•ืŸ, ื‘ื”ืชืื ืœื”ื’ื“ืจื” ืฉืœ ืืคืฉืจื•ืช ื–ื•. ืื ืœื ืžื™ื•ืฉืจ
ื”ื’ื™ืฉื” ืžื•ืคืขืœืช ืื– ื’ื ืกืžืœ ื”ืžืขื‘ื“ "__ARM_FEATURE_UNALIGNED" ื™ื”ื™ื”
ืžื•ึผื’ื“ึธืจ.

-ืžื ืื•ืŸ-ืขื‘ื•ืจ-64 ืกื™ื‘ื™ื•ืช
ืžืืคืฉืจ ืฉื™ืžื•ืฉ ื‘-Neon ืœื˜ื™ืคื•ืœ ื‘ืคืขื•ืœื•ืช ืกืงืœืจื™ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช. ื–ื” ืžื•ืฉื‘ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ
ืžื›ื™ื•ื•ืŸ ืฉื”ืขืœื•ืช ืฉืœ ื”ืขื‘ืจืช ื ืชื•ื ื™ื ืžืื•ื’ืจื™ ื”ืœื™ื‘ื” ืœื ื™ืื•ืŸ ื”ื™ื ื’ื‘ื•ื”ื”.

-ืžื’ื‘ื™ืœ-ื–ื”
ืžื’ื‘ื™ืœ ื™ืฆื™ืจืช ื‘ืœื•ืงื™ื ืฉืœ IT ื›ื“ื™ ืœื”ืชืื™ื ืœื›ืœืœื™ื ืฉืœ ARMv8. ื‘ืœื•ืงื™ื ืฉืœ IT ื™ื›ื•ืœื™ื
ืžื›ื™ืœื™ื ืจืง ืคืงื•ื“ื” ื‘ื•ื“ื“ืช ืฉืœ 16 ืกื™ื‘ื™ื•ืช ืžืชื•ืš ืงื‘ื•ืฆื” ื ื‘ื—ืจืช ืฉืœ ื”ื•ืจืื•ืช. ื–ึถื”
ื”ืืคืฉืจื•ืช ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ ืžืฆื‘ ARMv8 Thumb.

AVR ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืืœื” ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ AVR:

-mmcu=ืžืงื•
ืฆื™ื™ืŸ ืืช ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืขืจื›ืช ื”ื”ื•ืจืื•ืช ืฉืœ Atmel AVR (ISA) ืื• ืกื•ื’ MCU.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืืคืฉืจื•ืช ื–ื• ื”ื™ื @tie{}"avr2".

GCC ืชื•ืžืš ื‘ื”ืชืงื ื™ ื”ืจืกื™ื‘ืจ ื•ื”-ISA ื”ื‘ืื™ื:

"avr2"
ืžื›ืฉื™ืจื™ื "ืงืœืืกื™ื™ื" ืขื ืขื“ 8@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ื•ืช. ืžืงื•@tie{}= "attiny22",
"attiny26", "at90c8534", "at90s2313", "at90s2323", "at90s2333", "at90s2343",
"at90s4414", "at90s4433", "at90s4434", "at90s8515", "at90s8535".

"avr25"
ืžื›ืฉื™ืจื™ื "ืงืœืืกื™ื™ื" ืขื ืขื“ 8@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ื•ืช ื•ืขื "MOVW"
ื”ื•ืจืื”. ืžืงื•@tie{}= "ata5272", "ata6289", "attiny13", "attiny13a",
"attiny2313", "attiny2313a", "attiny24", "attiny24a", "attiny25", "attiny261",
"attiny261a", "attiny43u", "attiny4313", "attiny44", "attiny44a", "attiny45",
"attiny461", "attiny461a", "attiny48", "attiny84", "attiny84a", "attiny85",
"attiny861", "attiny861a", "attiny87", "attiny88", "at86rf401".

"avr3"
ืžื›ืฉื™ืจื™ื "ืงืœืืกื™ื™ื" ืขื 16@tie{}KiB ืขื“ 64@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ื•ืช.
ืžืงื•@tie{}= "at43usb355", "at76c711".

"avr31"
ืžื›ืฉื™ืจื™ื "ืงืœืืกื™ื™ื" ืขื 128@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ื•ืช. ืžืงื•@tie{}= "atmega103",
"at43usb320".

"avr35"
ืžื›ืฉื™ืจื™ื "ืงืœืืกื™ื™ื" ืขื 16@tie{}KiB ืขื“ 64@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ืช ื•ืขื
ื”ื•ืจืืช "MOVW". ืžืงื•@tie{}= "ata5505", "atmega16u2", "atmega32u2",
"atmega8u2", "attiny1634", "attiny167", "at90usb162", "at90usb82".

"avr4"
ืžื›ืฉื™ืจื™ื "ืžืฉื•ืคืจื™ื" ืขื ืขื“ 8@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ื•ืช. ืžืงื•@tie{}= "ata6285",
"ata6286", "atmega48", "atmega48a", "atmega48p", "atmega48pa", "atmega8",
"atmega8a", "atmega8hva", "atmega8515", "atmega8535", "atmega88", "atmega88a",
"atmega88p", "atmega88pa", "at90pwm1", "at90pwm2", "at90pwm2b", "at90pwm3",
"at90pwm3b", "at90pwm81".

"avr5"
ืžื›ืฉื™ืจื™ื "ืžืฉื•ืคืจื™ื" ืขื 16@tie{}KiB ืขื“ 64@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ืช.
ืžืงื•@tie{}= "ata5790", "ata5790n", "ata5795", "atmega16", "atmega16a",
"atmega16hva", "atmega16hva2", "atmega16hvb", "atmega16hvbrevb", "atmega16m1",
"atmega16u4", "atmega161", "atmega162", "atmega163", "atmega164a", "atmega164p",
"atmega164pa", "atmega165", "atmega165a", "atmega165p", "atmega165pa",
"atmega168", "atmega168a", "atmega168p", "atmega168pa", "atmega169", "atmega169a",
"atmega169p", "atmega169pa", "atmega26hvg", "atmega32", "atmega32a", "atmega32c1",
"atmega32hvb", "atmega32hvbrevb", "atmega32m1", "atmega32u4", "atmega32u6",
"atmega323", "atmega324a", "atmega324p", "atmega324pa", "atmega325", "atmega325a",
"atmega325p", "atmega3250", "atmega3250a", "atmega3250p", "atmega3250pa",
"atmega328", "atmega328p", "atmega329", "atmega329a", "atmega329p", "atmega329pa",
"atmega3290", "atmega3290a", "atmega3290p", "atmega3290pa", "atmega406",
"atmega48hvf", "atmega64", "atmega64a", "atmega64c1", "atmega64hve", "atmega64m1",
"atmega64rfa2", "atmega64rfr2", "atmega640", "atmega644", "atmega644a",
"atmega644p", "atmega644pa", "atmega645", "atmega645a", "atmega645p",
"atmega6450", "atmega6450a", "atmega6450p", "atmega649", "atmega649a",
"atmega649p", "atmega6490", "atmega6490a", "atmega6490p", "at90can32",
"at90can64", "at90pwm161", "at90pwm216", "at90pwm316", "at90scr100", "at90usb646",
"at90usb647", "at94k", "m3000".

"avr51"
ืžื›ืฉื™ืจื™ื "ืžืฉื•ืคืจื™ื" ืขื 128@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ื•ืช. ืžืงื•@tie{}= "atmega128",
"atmega128a", "atmega128rfa1", "atmega1280", "atmega1281", "atmega1284",
"atmega1284p", "at90can128", "at90usb1286", "at90usb1287".

"avr6"
ืžื›ืฉื™ืจื™ื "ืžืฉื•ืคืจื™ื" ืขื ืžื—ืฉื‘ ืฉืœ 3 ื‘ืชื™ื, ื›ืœื•ืžืจ ืขื ื™ื•ืชืจ ืž-128@tie{}KiB ืฉืœ ืชื•ื›ื ื™ืช
ื–ื™ื›ืจื•ืŸ. ืžืงื•@tie{}= "atmega2560", "atmega2561".

"avrxmega2"
ืžื›ืฉื™ืจื™ "XMEGA" ืขื ื™ื•ืชืจ ืž-8@tie{}KiB ื•ืขื“ 64@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ืช.
ืžืงื•@tie{}= "atmxt112sl", "atmxt224", "atmxt224e", "atmxt336s", "atxmega16a4",
"atxmega16a4u", "atxmega16c4", "atxmega16d4", "atxmega16x1", "atxmega32a4",
"atxmega32a4u", "atxmega32c4", "atxmega32d4", "atxmega32e5", "atxmega32x1".

"avrxmega4"
ืžื›ืฉื™ืจื™ "XMEGA" ืขื ื™ื•ืชืจ ืž-64@tie{}KiB ื•ืขื“ 128@tie{}KiB ืฉืœ ืชื•ื›ื ื™ืช
ื–ื™ื›ืจื•ืŸ. ืžืงื•@tie{}= "atxmega64a3", "atxmega64a3u", "atxmega64a4u", "atxmega64b1",
"atxmega64b3", "atxmega64c3", "atxmega64d3", "atxmega64d4".

"avrxmega5"
ืžื›ืฉื™ืจื™ "XMEGA" ืขื ื™ื•ืชืจ ืž-64@tie{}KiB ื•ืขื“ 128@tie{}KiB ืฉืœ ืชื•ื›ื ื™ืช
ื–ื™ื›ืจื•ืŸ ื•ื™ื•ืชืจ ืž-64@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ RAM. ืžืงื•@tie{}= "atxmega64a1",
"atxmega64a1u".

"avrxmega6"
ื”ืชืงื ื™ "XMEGA" ืขื ื™ื•ืชืจ ืž-128@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ื•ืช. ืžืงื•@tie{}=
"atmxt540s", "atmxt540sreva", "atxmega128a3", "atxmega128a3u", "atxmega128b1",
"atxmega128b3", "atxmega128c3", "atxmega128d3", "atxmega128d4", "atxmega192a3",
"atxmega192a3u", "atxmega192c3", "atxmega192d3", "atxmega256a3", "atxmega256a3b",
"atxmega256a3bu", "atxmega256a3u", "atxmega256c3", "atxmega256d3", "atxmega384c3",
"atxmega384d3".

"avrxmega7"
ื”ืชืงื ื™ "XMEGA" ืขื ื™ื•ืชืจ ืž-128@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ื•ืช ื•ื™ื•ืชืจ ืž
64@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ RAM. ืžืงื•@tie{}= "atxmega128a1", "atxmega128a1u", "atxmega128a4u".

"avr1"
ISA ื–ื” ืžื™ื•ืฉื ืขืœ ื™ื“ื™ ืœื™ื‘ืช AVR ื”ืžื™ื ื™ืžืœื™ืช ื•ื ืชืžืš ืขื‘ื•ืจ assembler ื‘ืœื‘ื“.
ืžืงื•@tie{}= "attiny11", "attiny12", "attiny15", "attiny28", "at90s1200".

-ืฆื‘ื•ืจ-ืืจื’ืก
ืฆื‘ื•ืจ ืืจื’ื•ืžื ื˜ื™ื ืฉืœ ืคื•ื ืงืฆื™ื” ื™ื•ืฆืืช ื•ืจื›ืฉ/ืฉื—ืจืจ ืืช ืฉื˜ื— ื”ืžื—ืกื ื™ืช ื”ื“ืจื•ืฉ ืขื‘ื•ืจ
ืืจื’ื•ืžื ื˜ื™ื ืฉืœ ืคื•ื ืงืฆื™ื” ื™ื•ืฆืืช ืคืขื ืื—ืช ื‘ืคืจื•ืœื•ื’/ืืคื™ืœื•ื’ ืฉืœ ื”ืคื•ื ืงืฆื™ื”. ืœืœื ืืคืฉืจื•ืช ื–ื•,
ืืจื’ื•ืžื ื˜ื™ื ื™ื•ืฆืื™ื ื ื“ื—ืคื™ื ืœืคื ื™ ืงืจื™ืื” ืœืคื•ื ืงืฆื™ื” ื•ืžื•ืคื™ืขื™ื ืœืื—ืจ ืžื›ืŸ.

ื”ืคืฆืช ื”ืืจื’ื•ืžื ื˜ื™ื ืœืื—ืจ ืงืจื™ืืช ื”ืคื•ื ืงืฆื™ื” ื™ื›ื•ืœื” ืœื”ื™ื•ืช ื™ืงืจื” ื‘-AVR ื›ืš ืฉ
ืฆื‘ื™ืจืช ืฉื˜ื— ื”ืžื—ืกื ื™ืช ืขืฉื•ื™ื” ืœื”ื•ื‘ื™ืœ ืœืงื•ื‘ืฆื™ ื”ืคืขืœื” ืงื˜ื ื™ื ื™ื•ืชืจ ืžื›ื™ื•ื•ืŸ ืฉืฆืจื™ืš ืืจื’ื•ืžื ื˜ื™ื
ืœื ื™ื•ืกืจ ืžื”ืžื—ืกื ื™ืช ืœืื—ืจ ืงืจื™ืืช ืคื•ื ืงืฆื™ื” ื›ื–ื•.

ืืคืฉืจื•ืช ื–ื• ื™ื›ื•ืœื” ืœื”ื•ื‘ื™ืœ ืœื”ืคื—ืชืช ื’ื•ื“ืœ ื”ืงื•ื“ ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืฉืžื‘ืฆืขื•ืช ืžืกืคืจ ืงืจื™ืื•ืช ืืœื™ื”ืŸ
ืคื•ื ืงืฆื™ื•ืช ืฉืžืงื‘ืœื•ืช ืืช ื”ืืจื’ื•ืžื ื˜ื™ื ืฉืœื”ืŸ ื‘ืขืจื™ืžื” ื›ืžื• ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื•ืช ื“ืžื•ื™ื•ืช printf.

-brranch-cost=ืขืœื•ืช
ื”ื’ื“ืจ ืืช ืขืœื•ื™ื•ืช ื”ืกื ื™ืฃ ืขื‘ื•ืจ ื”ื•ืจืื•ืช ืกื ื™ืฃ ืžื•ืชื ื•ืช ืœ ืขืœื•ืช. ืขืจื›ื™ื ืกื‘ื™ืจื™ื
ืœ ืขืœื•ืช ื”ื ืžืกืคืจื™ื ืฉืœืžื™ื ืงื˜ื ื™ื ื•ืœื ืฉืœื™ืœื™ื™ื. ืขืœื•ืช ื”ืกื ื™ืฃ ื”ืžื•ื’ื“ืจืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื”ื™ื 0.

-mcall-ืคืจื•ืœื•ื’ื™ื
ืคื•ื ืงืฆื™ื•ืช ืคืจื•ืœื•ื’ื™ื/ืืคื™ืœื•ื’ื™ื ืžื•ืจื—ื‘ื™ื ื›ืงืจื™ืื•ืช ืœืชืชื™ ืฉื’ืจื•ืช ืžืชืื™ืžื•ืช. ืงื•ื“
ื”ื’ื•ื“ืœ ืงื˜ืŸ ื™ื•ืชืจ.

-ืžื ื˜ื”8
ื ื ื™ื— ืฉ"int" ื”ื•ื ืžืกืคืจ ืฉืœื ืฉืœ 8 ืกื™ื‘ื™ื•ืช. ื–ื” ืžืฉืคื™ืข ืขืœ ื”ื’ื“ืœื™ื ืฉืœ ื›ืœ ื”ืกื•ื’ื™ื: "char" ื”ื•ื 1
ื‘ื™ื™ื˜, "int" ื”ื•ื 1 ื‘ื™ื™ื˜, "long" ื”ื•ื 2 ื‘ืชื™ื, ื•-"long long" ื”ื•ื 4 ื‘ืชื™ื. ืื ื
ืฉื™ื ืœื‘ ืฉืื•ืคืฆื™ื” ื–ื• ืื™ื ื” ืชื•ืืžืช ืืช ืชืงื ื™ C, ืืš ื”ื™ื ืžื‘ื™ืื” ืœืงื˜ืŸ ื™ื•ืชืจ
ื’ื•ื“ืœ ืงื•ื“.

-ืžื ื•-ืžืคืจื™ืข
ื”ืงื•ื“ ืฉื ื•ืฆืจ ืื™ื ื• ืชื•ืื ืœื”ืคืจืขื•ืช ื—ื•ืžืจื”. ื’ื•ื“ืœ ื”ืงื•ื“ ืงื˜ืŸ ื™ื•ืชืจ.

-ืœื”ื™ืจื’ืข
ื ืกื” ืœื”ื—ืœื™ืฃ "CALL" ื‘ื”ืชืืžื”. ื”ื•ืจืืช "JMP" ืขืœ ื™ื“ื™ ื”"RCALL" ื”ืงืฆืจ ื™ื•ืชืจ. "RJMP"
ื”ื•ืจืื” ืื โ€‹โ€‹ืจืœื•ื•ื ื˜ื™ืช. ื”ื’ื“ืจืช "-mrelax" ืจืง ืžื•ืกื™ืคื” ืืช ื”ืืคืฉืจื•ืช "--relax" ืœ-
ืฉื•ืจืช ื”ืคืงื•ื“ื” ืžืงืฉืจ ื›ืืฉืจ ืงื•ืจืื™ื ืœืžืงืฉืจ.

ื”ืจื’ืขืช ืงืคื™ืฆื” ืžืชื‘ืฆืขืช ืขืœ ื™ื“ื™ ื”ืžืงืฉืจ ืžื›ื™ื•ื•ืŸ ืฉืงื™ื–ื•ื– ืงืคื™ืฆื” ืœื ื™ื“ื•ืข ืงื•ื“ื ืœื›ืŸ
ื”ืงื•ื“ ื ืžืฆื. ืœื›ืŸ, ืงื•ื“ ื”ืืกืžื‘ืœืจ ืฉื ื•ืฆืจ ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ ื–ื”ื”,
ืื‘ืœ ื”ื”ื•ืจืื•ืช ื‘ืงื•ื‘ืฅ ื”ื”ืคืขืœื” ืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ืฉื•ื ื•ืช ืžื”ื”ื•ืจืื•ืช ื‘-assembler
ืงื•ื“.

ื™ืฉ ืœื”ืคืขื™ืœ ืืช ื”ื”ืจื’ืขื” ืื ื™ืฉ ืฆื•ืจืš ื‘ืกืชืžื™ ืงื™ืฉื•ืจ, ืจืื” ืกืขื™ืฃ ืขืœ "EIND" ื•
ื‘ื“ืœื™ ืงื™ืฉื•ืจ ืœืžื˜ื”.

-msp8
ื”ืชื™ื™ื—ืก ืœืžืื’ืจ ืžืฆื‘ื™ืข ื”ืžื—ืกื ื™ืช ื›ืืœ ืื•ื’ืจ ืฉืœ 8 ืกื™ื‘ื™ื•ืช, ื›ืœื•ืžืจ ื ื ื™ื— ืฉื”ื‘ื™ื™ื˜ ื”ื’ื‘ื•ื” ืฉืœ
ืžืฆื‘ื™ืข ื”ืขืจื™ืžื” ื”ื•ื ืืคืก. ื‘ืื•ืคืŸ ื›ืœืœื™, ืื™ืŸ ืฆื•ืจืš ืœื”ื’ื“ื™ืจ ืืคืฉืจื•ืช ื–ื• ื‘ื™ื“.

ืืคืฉืจื•ืช ื–ื• ืžืฉืžืฉืช ื‘ืื•ืคืŸ ืคื ื™ืžื™ ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ ื›ื“ื™ ืœื‘ื—ื•ืจ ื•ืœื‘ื ื•ืช ืขื‘ื•ืจื multilibs
ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช "avr2" ื•-"avr25". ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืืœื• ืžืขืจื‘ื‘ื•ืช ืžื›ืฉื™ืจื™ื ืขื ื•ื‘ืœื™
"SPH". ืขื‘ื•ืจ ื›ืœ ื”ื’ื“ืจื” ืฉืื™ื ื” "-mmcu=avr2" ืื• "-mmcu=avr25" ืžื ื”ืœ ื”ื”ื“ืจ
ื™ื•ืกื™ืฃ ืื• ื™ืกื™ืจ ืืคืฉืจื•ืช ื–ื• ืžืฉื•ืจืช ื”ืคืงื•ื“ื” ืฉืœ ื”ืžื”ื“ืจ, ืžื›ื™ื•ื•ืŸ ืฉ-
ืžื”ื“ืจ ืื– ื™ื•ื“ืข ืื ืœืžื›ืฉื™ืจ ืื• ืœืืจื›ื™ื˜ืงื˜ื•ืจื” ื™ืฉ ืžืฆื‘ื™ืข ืžื—ืกื ื™ืช ืฉืœ 8 ืกื™ื‘ื™ื•ืช ื•ื›ืš
ืื™ืŸ ืจื™ืฉื•ื "SPH" ืื• ืœื.

-mstrict-X
ื”ืฉืชืžืฉ ื‘ืจื™ืฉื•ื ื”ื›ืชื•ื‘ื•ืช "X" ื‘ืื•ืคืŸ ืฉื”ื•ืฆืข ืขืœ ื™ื“ื™ ื”ื—ื•ืžืจื”. ื–ื” ืื•ืžืจ ืฉ"X" ื”ื•ื
ืžืฉืžืฉ ืจืง ื‘ื›ืชื•ื‘ืช ืขืงื™ืคื”, ืœืื—ืจ ืชื•ืกืคืช ืื• ืœืคื ื™ ื™ืจื™ื“ื”.

ืœืœื ืืคืฉืจื•ืช ื–ื•, ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืจื™ืฉื•ื "X" ื‘ืื•ืชื• ืื•ืคืŸ ื›ืžื• "Y" ืื• "Z" ืืฉืจ
ืœืื—ืจ ืžื›ืŸ ืžื—ืงื” ืขืœ ื™ื“ื™ ื”ื•ืจืื•ืช ื ื•ืกืคื•ืช. ืœื“ื•ื’ืžื”, ื˜ืขื™ื ืช ืขืจืš ืขื
"X+const" ืžืคื ื” ืขื "const < 64" ืงื˜ืŸ ืœื ืฉืœื™ืœื™ ืœืจื™ืฉื•ื Rn is
ื‘ื•ืฆืข ื›

adiw r26, const; X += const
ld , ืื™ืงืก ; = *X
sbiw r26, const; X -= ืงื•ื ืกื˜

-mtiny-stack
ืฉื ื” ืจืง ืืช 8@tie{}ื”ืกื™ื‘ื™ื•ืช ื”ืชื—ืชื•ื ื•ืช ืฉืœ ืžืฆื‘ื™ืข ื”ืžื—ืกื ื™ืช.

-Waddr-space-convert
ื”ืชืจื™ืข ืขืœ ื”ืžืจื•ืช ื‘ื™ืŸ ืžืจื—ื‘ื™ ื›ืชื•ื‘ื•ืช ื‘ืžืงืจื” ืฉื‘ื• ื”ื›ืชื•ื‘ืช ื”ืžืชืงื‘ืœืช
ื”ืจื•ื•ื— ืื™ื ื• ื›ืœื•ืœ ื‘ืžืจื—ื‘ ื”ื›ืชื•ื‘ื•ืช ื”ื ื›ื ืกื•ืช.

"EIND" ื•ืžื›ืฉื™ืจื™ื ืขื ื™ื•ืชืจ ืž-128 Ki Bytes ืฉืœ ืคืœืืฉ

ื”ืžืฆื‘ื™ืขื™ื ื‘ื™ื™ืฉื•ื ื”ื ื‘ืจื•ื—ื‘ ืฉืœ 16@tie{}ืกื™ื‘ื™ื•ืช. ื”ื›ืชื•ื‘ืช ืฉืœ ืคื•ื ืงืฆื™ื” ืื• ืชื•ื•ื™ืช
ืžื™ื•ืฆื’ ื›ื›ืชื•ื‘ืช ืžื™ืœื” ื›ืš ืฉืงืคื™ืฆื•ืช ื•ืฉื™ื—ื•ืช ืขืงื™ืคื•ืช ื™ื›ื•ืœื•ืช ืœืžืงื“ ืœื›ืœ ืงื•ื“
ื›ืชื•ื‘ืช ื‘ื˜ื•ื•ื— ืฉืœ 64@tie{}ืžื™ืœื™ื ืงื™.

ืขืœ ืžื ืช ืœืืคืฉืจ ืงืคื™ืฆื” ืขืงื™ืคื” ืœืžื›ืฉื™ืจื™ื ืขื ื™ื•ืชืจ ืž-128@tie{}Ki bytes ืฉืœ
ืฉื˜ื— ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ืช, ืงื™ื™ื ืื•ื’ืจ ืคื•ื ืงืฆื™ื•ืช ืžื™ื•ื—ื“ ื‘ืฉื "EIND" ื”ืžืฉืžืฉ ื›
ื”ื—ืœืง ื”ืžืฉืžืขื•ืชื™ ื‘ื™ื•ืชืจ ืฉืœ ื›ืชื•ื‘ืช ื”ื™ืขื“ ื›ืืฉืจ ื”ื•ืจืื•ืช "EICALL" ืื• "EIJMP".
ืžึฐืฉืื•ึผืžึธืฉื.

ืงืคื™ืฆื•ืช ื•ืฉื™ื—ื•ืช ืขืงื™ืคื•ืช ื‘ืžื›ืฉื™ืจื™ื ืืœื” ืžื˜ื•ืคืœื™ื ื›ื“ืœืงืžืŸ ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ ื•ื”ื
ื‘ื›ืคื•ืฃ ืœื›ืžื” ืžื’ื‘ืœื•ืช:

ยท ื”ืžื”ื“ืจ ืืฃ ืคืขื ืœื ืžื’ื“ื™ืจ "EIND".

ยท ื”ืžื”ื“ืจ ืžืฉืชืžืฉ ื‘-"EIND" ื‘ืื•ืคืŸ ืžืจื•ืžื– ื‘ื”ื•ืจืื•ืช "EICALL"/"EIJMP" ืื• ืขืฉื•ื™ ืœืงืจื•ื
"EIND" ื™ืฉื™ืจื•ืช ืขืœ ืžื ืช ืœื—ืงื•ืช ืงืจื™ืื”/ืงืคื™ืฆื” ืขืงื™ืคื” ื‘ืืžืฆืขื•ืช "RET"
ื”ื•ืจืื”.

ยท ื”ืžื”ื“ืจ ืžื ื™ื— ืฉ"EIND" ืœืขื•ืœื ืœื ืžืฉืชื ื” ื‘ืžื”ืœืš ืงื•ื“ ื”ืืชื—ื•ืœ ืื• ื‘ืžื”ืœืš
ื™ื™ืฉื•ื. ื‘ืคืจื˜, "EIND" ืื™ื ื• ื ืฉืžืจ/ืฉื•ื—ื–ืจ ื‘ืชืคืงื•ื“ ืื• ื‘ืคืกื™ืงื”
ืคืจื•ืœื•ื’/ืืคื™ืœื•ื’ ืฉื’ืจืชื™ ืฉื™ืจื•ืช.

ยท ืขื‘ื•ืจ ืงืจื™ืื•ืช ืขืงื™ืคื•ืช ืœืคื•ื ืงืฆื™ื•ืช ื•-goto ืžื—ื•ืฉื‘ื™ื, ื”ืžืงืฉืจ ื™ื•ืฆืจ ืชืœื™ื. ื‘ื“ืœื™
ื ืงืจืื™ื ืœืคืขืžื™ื ื’ื ืจืคื™ื“ื•ืช ืงืคื™ืฆื” ื˜ืจืžืคื•ืœื™ื ื•ืช. ืœืคื™ื›ืš, ื”ืงืจื™ืื”/ืงืคื™ืฆื” ื”ืขืงื™ืคื” ืงื•ืคืฆืช ืืœ
ื‘ื“ืœ ื›ื–ื”. ื”ื‘ื“ืœ ืžื›ื™ืœ ืงืคื™ืฆื” ื™ืฉื™ืจื” ืœื›ืชื•ื‘ืช ื”ืจืฆื•ื™ื”.

ยท ื™ืฉ ืœื”ืคืขื™ืœ ื”ืจืคื™ื™ืช ืงื™ืฉื•ืจ ื›ืš ืฉื”ืžืงืฉืจ ื™ืคื™ืง ืืช ื”ืกื˜ืื‘ื™ื
ื›ื”ืœื›ื” ืžืฆื‘ ื”ื›ืœ. ืจืื” ืืช ืืคืฉืจื•ืช ื”ืžื”ื“ืจ "-mrelax" ื•ืืช ืืคืฉืจื•ืช ื”-linler
"--ืœึฐื”ึดืจึธื’ึทืข". ื™ืฉื ื ืžืงืจื™ื ืคื™ื ืชื™ื™ื ืฉื‘ื”ื ื”ืžืงืฉืจ ืืžื•ืจ ืœื™ืฆื•ืจ ื‘ื“ืœ ืื‘ืœ
ืžืคืกื™ืง ืœืœื ื”ืจืคื™ื” ื•ืœืœื ื”ื•ื“ืขืช ืฉื’ื™ืื” ืžื•ืขื™ืœื”.

ยท ืกืงืจื™ืคื˜ ื”ืžืงืฉืจ ื”ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืžืกื•ื“ืจ ืœืงื•ื“ ืขื "EIND = 0". ืื ืงื•ื“ ืืžื•ืจ
ื›ื“ื™ ืœืขื‘ื•ื“ ืขื‘ื•ืจ ื”ื’ื“ืจื” ืขื "EIND != 0", ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืกืงืจื™ืคื˜ ืงื™ืฉื•ืจ ืžื•ืชืื ืื™ืฉื™ืช ืœืคื™ ื”ืกื“ืจ
ืœืžืงื ืืช ื”ืงื˜ืขื™ื ืฉืฉืžื ืžืชื—ื™ืœ ื‘-".ื˜ืจืžืคื•ืœื™ื ื•ืช" ืœืชื•ืš ื”ืงื˜ืข ืฉื‘ื•
"EIND" ืžืฆื‘ื™ืข ืขืœ.

ยท ืงื•ื“ ื”ืืชื—ื•ืœ ืž-libgcc ืืฃ ืคืขื ืœื ืžื’ื“ื™ืจ "EIND". ืฉื™ืžื• ืœื‘ ืฉืงื•ื“ ื”ื”ืคืขืœื” ื”ื•ื ืฉื™ืœื•ื‘
ืฉืœ ืงื•ื“ ืž-libgcc ื•-AVR-LibC. ืœื”ืฉืคืขื” ืฉืœ AVR-LibC ืขืœ "EIND", ืจืื” ืืช AVR-
ืžื“ืจื™ืš ืœืžืฉืชืžืฉ LibC ("http://nongnu.org/avr-libc/user-manual/").

ยท ื–ื” ืœื’ื™ื˜ื™ืžื™ ืขื‘ื•ืจ ืงื•ื“ ื”ืคืขืœื” ืกืคืฆื™ืคื™ ืœืžืฉืชืžืฉ ืœื”ื’ื“ื™ืจ ืืช "EIND" ืžื•ืงื“ื, ืœืžืฉืœ ืขืœ ื™ื“ื™
ืืžืฆืขื™ ืืชื—ื•ืœ ืงื•ื“ ื”ืžืžื•ืงื ื‘ืกืขื™ืฃ ".init3". ืงื•ื“ ื›ื–ื” ืคื•ืขืœ ืœืคื ื™
ืงื•ื“ ื”ืคืขืœื” ื›ืœืœื™ ืฉืžืืชื—ืœ ืืช ื–ื™ื›ืจื•ืŸ ื”-RAM ื•ืงื•ืจื ืœื‘ื ืื™ื, ืืš ืœืื—ืจ ื”-bit of
ืงื•ื“ ื”ืคืขืœื” ืž-AVR-LibC ืฉืžื’ื“ื™ืจ "EIND" ืœืžืงื˜ืข ืฉื‘ื• ื ืžืฆืืช ื”ื˜ื‘ืœื” ื”ื•ืงื˜ื•ืจื™ืช
ืžืžื•ืงื.

#ืœึดื›ืœื•ึนืœ

ื—ืœืœ ืกื˜ื˜ื™
__attribute__((section(".init3"),naked,used,no_instrument_function))
init3_set_eind (ืจื™ืง)
{
__asm โ€‹โ€‹volatile ("ldi r24,pm_hh8(__trampolines_start)\n\t"
"out %i0,r24" :: "n" (&EIND) : "r24","memory");
}

ื”ืกืžืœ "__trampolines_start" ืžื•ื’ื“ืจ ื‘ืกืงืจื™ืคื˜ ื”ืžืงืฉืจ.

ยท Stubs ื ื•ืฆืจื™ื ื‘ืื•ืคืŸ ืื•ื˜ื•ืžื˜ื™ ืขืœ ื™ื“ื™ ื”ืžืงืฉืจ ืื ืฉื ื™ ื”ืชื ืื™ื ื”ื‘ืื™ื ืงื™ื™ืžื™ื
ื ืคื’ืฉ:

-
(ืงื™ืฆื•ืจ ืœ ืœื™ืฆื•ืจ ืชืœื™ื) ื›ื›ื”:

LDI r24, lo8(gs( ))
LDI r25, hi8(gs( ))

-
ื‘ื—ื•ืฅ ื”ืงื˜ืข ืฉื‘ื• ื ืžืฆืื™ื ื”ื‘ื“ืœื™ื.

ยท ื”ืžื”ื“ืจ ืคื•ืœื˜ ืžืชื ื™ "gs" ื›ืืœื” ืขื‘ื•ืจ ืชื•ื•ื™ื•ืช ืงื•ื“ ื‘ืžืฆื‘ื™ื ื”ื‘ืื™ื:

-
-
- -mcall-ืคืจื•ืœื•ื’ื™ื>
ืืคืฉืจื•ืช ืฉื•ืจืช ืคืงื•ื“ื”.

-
ื˜ื‘ืœืื•ืช ืฉืืชื” ื™ื›ื•ืœ ืœืฆื™ื™ืŸ ืืช -fno-jump-tables ืืคืฉืจื•ืช ืฉื•ืจืช ืคืงื•ื“ื”.

-
-
ยท ืงืคื™ืฆื” ืœื›ืชื•ื‘ื•ืช ืœื ืกืžืœื™ื•ืช ื›ืžื• ื›ืš ืœึนื ื ืชืžืš:

int main (ืจื™ืง)
{
/* ื”ืชืงืฉืจ ืœืคื•ื ืงืฆื™ื” ื‘ื›ืชื•ื‘ืช ื”ืžื™ืœื” 0x2 */
return ((int(*)(void)) 0x2)();
}

ื‘ืžืงื•ื ื–ืืช, ื™ืฉ ืœื”ื’ื“ื™ืจ ื‘ื“ืœ, ื›ืœื•ืžืจ ื™ืฉ ืœืงืจื•ื ืœืคื•ื ืงืฆื™ื” ื‘ืืžืฆืขื•ืช ืกืžืœ
("func_4" ื‘ื“ื•ื’ืžื”):

int main (ืจื™ืง)
{
extern int func_4 (ืจื™ืง);

/* ืคื•ื ืงืฆื™ื™ืช ื”ืชืงืฉืจื•ืช ื‘ื›ืชื•ื‘ืช ื‘ื™ื™ื˜ 0x4 โ€‹โ€‹*/
ื”ื—ื–ืจ func_4();
}

ื•ื”ืืคืœื™ืงืฆื™ื” ืชื”ื™ื” ืžืงื•ืฉืจืช ืขื "-Wl,--defsym,func_4=0x4". ืœื—ืœื•ืคื™ืŸ, "func_4"
ื ื™ืชืŸ ืœื”ื’ื“ื™ืจ ื‘ืกืงืจื™ืคื˜ ื”ืžืงืฉืจ.

ื˜ื™ืคื•ืœ ื‘ืคื ืงืกื™ ื”ืคื•ื ืงืฆื™ื•ืช ื”ืžื™ื•ื—ื“ื•ืช "RAMPD", "RAMPX", "RAMPY" ื•-"RAMPZ"

ื—ืœืง ืžืžื›ืฉื™ืจื™ ื”ืจืกื™ื‘ืจ ืชื•ืžื›ื™ื ื‘ื–ื™ื›ืจื•ื ื•ืช ื’ื“ื•ืœื™ื ื™ื•ืชืจ ืžื˜ื•ื•ื— 64@tie{}KiB ืฉื ื™ืชืŸ ืœื’ืฉืช ืืœื™ื•
ืขื ืžืฆื‘ื™ืขื™ื ืฉืœ 16 ืกื™ื‘ื™ื•ืช. ื›ื“ื™ ืœื’ืฉืช ืœืžื™ืงื•ืžื™ ื–ื™ื›ืจื•ืŸ ืžื—ื•ืฅ ืœื˜ื•ื•ื— 64@tie{}KiB ื”ื–ื”, ื”
ื”ืชื•ื›ืŸ ืฉืœ ืื•ื’ืจ "RAMP" ืžืฉืžืฉ ื›ื—ืœืง ื’ื‘ื•ื” ืฉืœ ื”ื›ืชื•ื‘ืช: ื”-"X", "Y", "Z"
ืื•ื’ืจ ื”ื›ืชื•ื‘ื•ืช ืžืฉื•ืจืฉืจ ืขื ื”ืคื•ื ืงืฆื™ื” ื”ืžื™ื•ื—ื“ืช "RAMPX", "RAMPY", "RAMPZ".
ื”ื™ืจืฉื, ื‘ื”ืชืืžื”, ื›ื“ื™ ืœืงื‘ืœ ื›ืชื•ื‘ืช ืจื—ื‘ื”. ื‘ืื•ืคืŸ ื“ื•ืžื”, "RAMPD" ืžืฉืžืฉ ื™ื—ื“ ืขื
ืคื ื™ื™ื” ื™ืฉื™ืจื”.

ยท ืงื•ื“ ื”ืืชื—ื•ืœ ืžืืชื—ืœ ืืช ืื•ื’ืจื™ ื”ืคื•ื ืงืฆื™ื” ื”ืžื™ื•ื—ื“ืช "RAMP" ื‘ืืคืก.

ยท ืื AVR ืฉื ื›ืชื•ื‘ืช ืจื•ื•ื—ื™ื, ื‘ืฉื ื›ืชื•ื‘ืช ืฉื˜ื— ืžืœื‘ื“ ื’ื ืจื™ ืื• "__flash" ื”ื•ื
ื‘ืฉื™ืžื•ืฉ, ืื– "RAMPZ" ืžื•ื’ื“ืจ ืœืคื™ ื”ืฆื•ืจืš ืœืคื ื™ ื”ืคืขื•ืœื”.

ยท ืื ื”ืžื›ืฉื™ืจ ืชื•ืžืš ื‘ื–ื™ื›ืจื•ืŸ RAM ื’ื“ื•ืœ ืž-64@tie{KiB} ื•ื”ืงื•ืžืคื™ื™ืœืจ ืฆืจื™ืš ืœื”ืฉืชื ื•ืช
"RAMPZ" ื›ื“ื™ ืœื‘ืฆืข ืคืขื•ืœื”, "RAMPZ" ืžืื•ืคืก ืœืืคืก ืœืื—ืจ ื”ืคืขื•ืœื”.

ยท ืื ื”ืžื›ืฉื™ืจ ืžื’ื™ืข ืขื ืื•ื’ืจ "RAMP" ืกืคืฆื™ืคื™, ื”ืคืจื•ืœื•ื’/ืืคื™ืœื•ื’ ืฉืœ ISR
ืฉื•ืžืจ/ืžืฉื—ื–ืจ ืืช ื”-SFR ื”ื–ื” ื•ืžืืชื—ืœ ืื•ืชื• ื‘ืืคืก ืœืžืงืจื” ืฉืงื•ื“ ื”-ISR ืขืœื•ืœ
(ื‘ืžืจื•ืžื–) ืœื”ืฉืชืžืฉ ื‘ื•.

ยท ื–ื™ื›ืจื•ืŸ RAM ื’ื“ื•ืœ ืž-64@tie{KiB} ืื™ื ื• ื ืชืžืš ืขืœ ื™ื“ื™ GCC ืขื‘ื•ืจ ื™ืขื“ื™ AVR. ืื ืืชื” ืžืฉืชืžืฉ
ืืกืžื‘ืœืจ ืžื•ื˜ื‘ืข ื›ื“ื™ ืœืงืจื•ื ืžืžื™ืงื•ืžื™ื ืžื—ื•ืฅ ืœื˜ื•ื•ื— ื”ื›ืชื•ื‘ื•ืช ืฉืœ 16 ืกื™ื‘ื™ื•ืช ื•ืœืฉื ื•ืช
ืื—ื“ ืžื”ืื•ื’ืจื™ื ืฉืœ "RAMP", ืขืœื™ืš ืœืืคืก ืื•ืชื• ืœืืคืก ืœืื—ืจ ื”ื’ื™ืฉื”.

AVR ืžื•ื‘ื ื™ื ืžืืงืจื•

GCC ืžื’ื“ื™ืจ ืžืกืคืจ ืคืงื•ื“ื•ืช ืžืืงืจื• ืžื•ื‘ื ื•ืช ื›ืš ืฉืงื•ื“ ื”ืžืฉืชืžืฉ ื™ื›ื•ืœ ืœื‘ื“ื•ืง ืืช ื”ื ื•ื›ื—ื•ืช ืื•
ื”ื™ืขื“ืจ ืชื›ื•ื ื•ืช. ื›ืžืขื˜ ื›ืœ ืื—ืช ืžื”ืคืงื•ื“ื•ืช ื”ืžืืงืจื• ื”ืžื•ื‘ื ื•ืช ื”ื‘ืื•ืช ื ื’ื–ืจืช ืžื”ืžื›ืฉื™ืจ
ื™ื›ื•ืœื•ืช ื•ื‘ื›ืš ืžื•ืคืขืœื•ืช ืขืœ ื™ื“ื™ ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” "-mmcu=".

ืœืขื•ื“ ื™ื•ืชืจ ืคืงื•ื“ื•ืช ืžืืงืจื• ืžื•ื‘ื ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœืจืกื™ื‘ืจ ืจืื” AVR ืฉื ื›ืชื•ื‘ืช ืจื•ื•ื—ื™ื ื• AVR Built-in
ืคื•ื ืงืฆื™ื•ืช.

"__AVR_ARCH__"
ืžืืงืจื• ืžื•ื‘ื ื” ืฉืคื•ืชืจ ืœืžืกืคืจ ืขืฉืจื•ื ื™ ื”ืžื–ื”ื” ืืช ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ื•
ืชืœื•ื™ ื‘-"-mmcu=mcu" ืื•ึนืคึผึฐืฆึดื™ึธื”. ืขืจื›ื™ื ืืคืฉืจื™ื™ื ื”ื:

2, 25, 3, 31, 35, 4, 5, 51, 6, 102, 104, 105, 106, 107

ืœ ืžืงื•="avr2", "avr25", "avr3", "avr31", "avr35", "avr4", "avr5", "avr51", "avr6",
"avrxmega2", "avrxmega4", "avrxmega5", "avrxmega6", "avrxmega7", ื‘ื”ืชืืžื”. ืื ืžืงื•
ืžืฆื™ื™ืŸ ืžื›ืฉื™ืจ, ืžืืงืจื• ืžื•ื‘ื ื” ื–ื” ืžื•ื’ื“ืจ ื‘ื”ืชืื. ืœืžืฉืœ, ืขื
"-mmcu=atmega8" ื”ืžืืงืจื• ื™ื•ื’ื“ืจ ืœ-4.

"__AVR_ืžื›ืฉื™ืจ__"
ื”ื’ื“ืจืช "-mmcu=ื”ืชืงืŸ" ืžื’ื“ื™ืจ ืžืืงืจื• ืžื•ื‘ื ื” ื–ื” ื”ืžืฉืงืฃ ืืช ืฉื ื”ืžื›ืฉื™ืจ.
ืœื“ื•ื’ืžื”, "-mmcu=atmega8" ืžื’ื“ื™ืจ ืืช ื”ืžืืงืจื• ื”ืžื•ื‘ื ื” "__AVR_ATmega8__",
"-mmcu=attiny261a" ืžื’ื“ื™ืจ "__AVR_ATtiny261A__", ื•ื›ื•'.

ืฉืžื•ืช ืคืงื•ื“ื•ืช ื”ืžืืงืจื• ื”ืžื•ื‘ื ื•ืช ืขื•ืงื‘ื™ื ืื—ืจ ื”ืกื›ื™ืžื” "__AVR_ืžื›ืฉื™ืจ__" ืื™ืคื” ืžื›ืฉื™ืจ ื”ืื ื”
ืฉื ื”ืžื›ืฉื™ืจ ื›ืžื• ืžืžื“ืจื™ืš ืœืžืฉืชืžืฉ ืฉืœ ื”ืจืกื™ื‘ืจ. ื”ื”ื‘ื“ืœ ื‘ื™ืŸ ืžื›ืฉื™ืจ ื‘ืžื•ื‘ื ื”
ืžืืงืจื• ื• ืžื›ืฉื™ืจ ื‘-"-mmcu=ื”ืชืงืŸ" ื”ื•ื ืฉื”ืื—ืจื•ืŸ ื”ื•ื ืชืžื™ื“ ื‘ืื•ืชื™ื•ืช ืงื˜ื ื•ืช.

If ืžื›ืฉื™ืจ ืื™ื ื• ืžื›ืฉื™ืจ ืืœื ืจืง ืืจื›ื™ื˜ืงื˜ื•ืจืช ืœื™ื‘ื” ื›ืžื• "avr51", ื”ืžืืงืจื• ื”ื–ื” ื™ืขืฉื” ื–ืืช
ืœื ืœื”ื™ื•ืช ืžื•ื’ื“ืจ.

"__AVR_XMEGA__"
ื”ืžื›ืฉื™ืจ/ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ืฉื™ื™ื›ื™ื ืœืžืฉืคื—ืช ื”ืžื›ืฉื™ืจื™ื XMEGA.

"__AVR_HAVE_ELPM__"
ืœืžื›ืฉื™ืจ ื™ืฉ ืืช ื”ื•ืจืืช "ELPM".

"__AVR_HAVE_ELPMX__"
ืœืžื›ืฉื™ืจ ื™ืฉ ืืช "ELPM Rn,Z" ื•"ELPM Rn,Z+" ื”ื•ืจืื•ืช.

"__AVR_HAVE_MOVW__"
ืœืžื›ืฉื™ืจ ื™ืฉ ืืช ื”ื”ื•ืจืื” "MOVW" ืœื‘ืฆืข ืžื”ืœื›ื™ ืื•ื’ืจ-ืื•ื’ืจ ืฉืœ 16 ืกื™ื‘ื™ื•ืช.

"__AVR_HAVE_LPMX__"
ืœืžื›ืฉื™ืจ ื™ืฉ ืืช "LPM Rn,Z" ื•"LPM Rn,Z+" ื”ื•ืจืื•ืช.

"__AVR_HAVE_MUL__"
ืœืžื›ืฉื™ืจ ื™ืฉ ืžื›ืคื™ืœ ื—ื•ืžืจื”.

"__AVR_HAVE_JMP_CALL__"
ืœืžื›ืฉื™ืจ ื™ืฉ ืืช ื”ื”ื•ืจืื•ืช "JMP" ื•-"CALL". ื–ื” ื”ืžืงืจื” ืขื‘ื•ืจ ืžื›ืฉื™ืจื™ื ืขื
ืœืคื—ื•ืช 16@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ืช.

"__AVR_HAVE_EIJMP_EICALL__"
"__AVR_3_BYTE_PC__"
ืœืžื›ืฉื™ืจ ื™ืฉ ืืช ื”ื”ื•ืจืื•ืช "EIJMP" ื•-"EICALL". ื–ื” ื”ืžืฆื‘ ืœื’ื‘ื™ ืžื›ืฉื™ืจื™ื
ืขื ื™ื•ืชืจ ืž-128@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ืช. ื–ื” ื’ื ืื•ืžืจ ืฉื”ืชื•ื›ื ื™ืช
ืžื•ื ื” (PC) ื”ื•ื ื‘ืจื•ื—ื‘ ืฉืœ 3@tie{}ื‘ืชื™ื.

"__AVR_2_BYTE_PC__"
ืžื•ื ื” ื”ืชื•ื›ื ื™ื•ืช (PC) ื”ื•ื ื‘ืจื•ื—ื‘ ืฉืœ 2@tie{}ื‘ืชื™ื. ื–ื” ื”ืžืงืจื” ืขื‘ื•ืจ ืžื›ืฉื™ืจื™ื ืขื ืขื“
128@tie{}KiB ืฉืœ ื–ื™ื›ืจื•ืŸ ืชื•ื›ื ื™ืช.

"__AVR_HAVE_8BIT_SP__"
"__AVR_HAVE_16BIT_SP__"
ื”ืื•ื’ืจ ืžืฆื‘ื™ืข ืžื—ืกื ื™ืช (SP) ืžื˜ื•ืคืœ ื›ืื•ื’ืจ ืฉืœ 8 ืกื™ื‘ื™ื•ืช ื‘ื”ืชืืžื” ืฉืœ 16 ืกื™ื‘ื™ื•ืช ืขืœ ื™ื“ื™
ื”ืžื”ื“ืจ. ื”ื”ื’ื“ืจื” ืฉืœ ืคืงื•ื“ื•ืช ืžืืงืจื• ืืœื• ืžื•ืฉืคืขืช ืž-"-mtiny-stack".

"__AVR_HAVE_SPH__"
"__AVR_SP8__"
ืœืžื›ืฉื™ืจ ื™ืฉ ืืช ืคื ืงืก ื”ืคื•ื ืงืฆื™ื•ืช ื”ืžื™ื•ื—ื“ SPH (ื—ืœืง ื’ื‘ื•ื” ืฉืœ ืžื—ืกื ื™ืช) ืื• ื™ืฉ
ืžืฆื‘ื™ืข ืžื—ืกื ื™ืช ืฉืœ 8 ืกื™ื‘ื™ื•ืช, ื‘ื”ืชืืžื”. ื”ื”ื’ื“ืจื” ืฉืœ ืคืงื•ื“ื•ืช ืžืืงืจื• ืืœื• ืžื•ืฉืคืขืช ืž
"-mmcu=" ื•ื‘ืžืงืจื™ื ืฉืœ "-mmcu=avr2" ื•-"-mmcu=avr25" ื’ื ืขืœ-ื™ื“ื™ "-msp8".

"__AVR_HAVE_RAMPD__"
"__AVR_HAVE_RAMPX__"
"__AVR_HAVE_RAMPY__"
"__AVR_HAVE_RAMPZ__"
ืœืžื›ืฉื™ืจ ื™ืฉ ืืช ืคื ืงืก ื”ืคื•ื ืงืฆื™ื•ืช ื”ืžื™ื•ื—ื“ื•ืช "RAMPD", "RAMPX", "RAMPY", "RAMPZ",
ื‘ื”ืชืืžื”.

"__NO_INTERRUPTS__"
ืžืืงืจื• ื–ื” ืžืฉืงืฃ ืืช ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” "-mno-interrupts".

"__AVR_ERRATA_SKIP__"
"__AVR_ERRATA_SKIP_JMP_CALL__"
ืœื—ืœืง ืžื”ืชืงื ื™ ืจืกื™ื‘ืจ (AT90S8515, ATmega103) ืืกื•ืจ ืœื“ืœื’ ืขืœ ื”ื•ืจืื•ืช ืฉืœ 32 ืกื™ื‘ื™ื•ืช ื‘ื’ืœืœ
ืชืงืœื” ื‘ื—ื•ืžืจื”. ื”ื•ืจืื•ืช ื”ื“ื™ืœื•ื’ ื”ืŸ "SBRS", "SBRC", "SBIS", "SBIC" ื•-"CPSE".
ื”ืžืืงืจื• ื”ืฉื ื™ ืžื•ื’ื“ืจ ืจืง ืื "__AVR_HAVE_JMP_CALL__" ืžื•ื’ื“ืจ ื’ื ื›ืŸ.

"__AVR_SFR_OFFSET__=ืœึฐืงึทื–ึตื–"
ื”ื•ืจืื•ืช ืฉื™ื›ื•ืœื•ืช ืœื”ืชื™ื™ื—ืก ื™ืฉื™ืจื•ืช ืœ-I/O ืคื•ื ืงืฆื™ื•ืช ืžื™ื•ื—ื“ื•ืช ื›ืžื• "IN",
"OUT", "SBI" ื•ื›ื•' ืขืฉื•ื™ื™ื ืœื”ืฉืชืžืฉ ื‘ื›ืชื•ื‘ืช ืื—ืจืช ื›ืื™ืœื• ืžื•ืขื‘ืจืช ื‘ื”ื•ืจืื” ืืœ
ื’ื™ืฉื” ืœ-RAM ื›ืžื• "LD" ืื• "STS". ื”ื™ืกื˜ ื–ื” ืชืœื•ื™ ื‘ืืจื›ื™ื˜ืงื˜ื•ืจืช ื”ืžื›ืฉื™ืจ ื•ื™ืฉ ืœื•
ืœื—ืกืจ ืžื›ืชื•ื‘ืช ื”-RAM ื›ื“ื™ ืœืงื‘ืœ ืืช ื›ืชื•ื‘ืช ื”-I/O@tie{} ื”ืžืชืื™ืžื”.

"__WITH_AVRLIBC__"
ื”ืžื”ื“ืจ ืžื•ื’ื“ืจ ืœืฉื™ืžื•ืฉ ื™ื—ื“ ืขื AVR-Libc. ืจืื” ืืช
ืืคืฉืจื•ืช ืชืฆื•ืจื” ืฉืœ "--with-avrlibc".

ืฉื—ื•ืจ ืืคืฉืจื•ื™ื•ืช

-mcpu=ืžืขื‘ื“[-ืกื™ืจื˜ื•ื•ื™ื–ื™ื•ืŸ]
ืžืฆื™ื™ืŸ ืืช ื”ืฉื ืฉืœ ืžืขื‘ื“ ื”ื™ืขื“ Blackfin. ื›ึผึทื™ื•ึนื, ืžืขื‘ื“ ื™ื›ื•ืœ ืœื”ื™ื•ืช ืื—ื“ ืž
bf512, bf514, bf516, bf518, bf522, bf523, bf524, bf525, bf526, bf527, bf531, bf532,
bf533, bf534, bf536, bf537, bf538, bf539, bf542, bf544, bf547, bf548, bf549, bf542m,
bf544m, bf547m, bf548m, bf549m, bf561, bf592.

ื”ืื•ืคืฆื™ื•ื ืœื™ ืกื™ืจื˜ื•ื•ื™ื–ื™ื•ืŸ ืžืคืจื˜ ืืช ืขื“ื›ื•ืŸ ื”ืกื™ืœื™ืงื•ืŸ ืฉืœ ื”ื™ืขื“ Blackfin
ืžืขื‘ื“. ื›ืœ ื”ื“ืจื›ื™ื ืœืขืงื™ืคืช ื”ื‘ืขื™ื” ื”ื–ืžื™ื ื•ืช ืขื‘ื•ืจ ืขื“ื›ื•ืŸ ื”ืกื™ืœื™ืงื•ืŸ ื”ืžืžื•ืงื“ ืžื•ืคืขืœื•ืช.
If ืกื™ืจื˜ื•ื•ื™ื–ื™ื•ืŸ is ืืฃ ืœื ืื—ื“, ืœื ืžื•ืคืขืœื•ืช ื“ืจื›ื™ื ืœืขืงื™ืคืช ื”ื‘ืขื™ื”. ืื ืกื™ืจื˜ื•ื•ื™ื–ื™ื•ืŸ is ื›ืœ, ื›ืœ
ื“ืจื›ื™ื ืœืขืงื™ืคืช ื”ื‘ืขื™ื” ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื”ืžืžื•ืงื“ ืžื•ืคืขืœื•ืช. ื”ืžืืงืจื• "__SILICON_REVISION__".
ืžื•ื’ื“ืจ ืœืฉืชื™ ืกืคืจื•ืช ื”ืงืกื“ืฆื™ืžืœื™ื•ืช ื”ืžื™ื™ืฆื’ื•ืช ืืช ื”ืžืกืคืจื™ื ื”ื’ื“ื•ืœื™ื ื•ื”ืงื˜ื ื™ื ื‘-
ืขื“ื›ื•ืŸ ืกื™ืœื™ืงื•ืŸ. ืื ืกื™ืจื˜ื•ื•ื™ื–ื™ื•ืŸ is ืืฃ ืœื ืื—ื“, ื”-"__SILICON_REVISION__" ืื™ื ื• ืžื•ื’ื“ืจ.
If ืกื™ืจื˜ื•ื•ื™ื–ื™ื•ืŸ is ื›ืœ, ื”-"__SILICON_REVISION__" ืžื•ื’ื“ืจ ื›-0xffff. ืื ื–ื”
ืื•ืคืฆื™ื•ื ืœื™ ืกื™ืจื˜ื•ื•ื™ื–ื™ื•ืŸ ืื™ื ื• ื‘ืฉื™ืžื•ืฉ, GCC ืžื ื™ื— ืืช ื’ืจืกืช ื”ืกื™ืœื™ืงื•ืŸ ื”ื™ื“ื•ืขื” ื”ืื—ืจื•ื ื” ืฉืœ
ืžืขื‘ื“ Blackfin ืžืžื•ืงื“.

GCC ืžื’ื“ื™ืจ ืžืืงืจื• ืงื“ื-ืžืขื‘ื“ ืขื‘ื•ืจ ื”ื ืชื•ืŸ ืฉืฆื•ื™ืŸ ืžืขื‘ื“. ื‘ืฉื‘ื™ืœ ื” bfin-elf ืฉืจืฉืจืช ื›ืœื™ื,
ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช ืœ-BSP ื”ื—ื•ืžืจื” ืฉืกื•ืคืง ืขืœ ื™ื“ื™ libgloss ืœื”ื™ื•ืช ืžืงื•ืฉืจ ื‘-if -ืžืกื™ื is
ืœื ื ื™ืชืŸ.

ืœืœื ืืคืฉืจื•ืช ื–ื•, bf532 ืžืฉืžืฉ ื›ืžืขื‘ื“ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

ืฉื™ื ืœื‘ ืฉืชืžื™ื›ื” ืขื‘ื•ืจ bf561 ืื™ื ื• ืฉืœื. ืœ bf561, ืจืง ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“ ื”ื•ื
ืžื•ึผื’ื“ึธืจ.

-ืžืกื™ื
ืžืฆื™ื™ืŸ ืฉื”ืชื•ื›ื ื™ืช ืชื•ืคืขืœ ื‘ืกื™ืžื•ืœื˜ื•ืจ. ื–ื” ื’ื•ืจื ืœืกื™ืžื•ืœื˜ื•ืจ
BSP ืžืกื•ืคืง ืขืœ ื™ื“ื™ libgloss ืœืงื™ืฉื•ืจ. ืืคืฉืจื•ืช ื–ื• ืžืฉืคื™ืขื” ืจืง ืขืœ bfin-elf
ืฉืจืฉืจืช ื›ืœื™ื. ืืคืฉืจื•ื™ื•ืช ืžืกื•ื™ืžื•ืช ืื—ืจื•ืช, ื›ื’ื•ืŸ -ืืžืฆืข ื”ืกืคืจื™ื™ื” ื”ืžืฉื•ืชืคืช ื• -mfdpic, ืจื•ืžื–
-ืžืกื™ื.

-momit-leaf-frame-pointer
ืืœ ืชืฉืžื•ืจ ืืช ืžืฆื‘ื™ืข ื”ืžืกื’ืจืช ื‘ืคื ืงืก ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืขืœื™ื. ื–ื” ื ืžื ืข ืืช
ื”ื•ืจืื•ืช ืœืฉืžื™ืจื”, ื”ื’ื“ืจื” ื•ืฉื—ื–ื•ืจ ืฉืœ ืžืฆื‘ื™ืขื™ ืžืกื’ืจืช ื•ืขื•ืฉื” ืจื™ืฉื•ื ื ื•ืกืฃ
ื–ืžื™ืŸ ื‘ืคื•ื ืงืฆื™ื•ืช ืขืœื™ื. ื”ืืคืฉืจื•ืช -fomit-frame-pointer ืžืกื™ืจ ืืช ื”ืžืกื’ืจืช
ืžืฆื‘ื™ืข ืขื‘ื•ืจ ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช, ืžื” ืฉืขืฉื•ื™ ืœื”ืงืฉื•ืช ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื.

-mspekld-anomaly
ื›ืืฉืจ ื”ื•ื ืžื•ืคืขืœ, ื”ืžื”ื“ืจ ืžื‘ื˜ื™ื— ืฉื”ืงื•ื“ ืฉื ื•ืฆืจ ืื™ื ื• ืžื›ื™ืœ
ืขื•ืžืกื™ื ืกืคืงื•ืœื˜ื™ื‘ื™ื™ื ืœืื—ืจ ื”ื•ืจืื•ืช ืงืคื™ืฆื”. ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื•,
"__WORKAROUND_SPECULATIVE_LOADS" ืžื•ื’ื“ืจ.

-mno-specld-anomaly
ืืœ ืชื™ืฆื•ืจ ืงื•ื“ ื ื•ืกืฃ ื›ื“ื™ ืœืžื ื•ืข ืขื•ืžืกื™ื ืกืคืงื•ืœื˜ื™ื‘ื™ื™ื ืœื”ืชืจื—ืฉ.

-mcsync-anomaly
ื›ืืฉืจ ื”ื•ื ืžื•ืคืขืœ, ื”ืžื”ื“ืจ ืžื‘ื˜ื™ื— ืฉื”ืงื•ื“ ืฉื ื•ืฆืจ ืื™ื ื• ืžื›ื™ืœ CSYNC ืื•
ื”ื•ืจืื•ืช SSYNC ืžื•ืงื“ื ืžื“ื™ ืœืื—ืจ ืกื ื™ืคื™ื ืžื•ืชื ื™ื. ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื•,
"__WORKAROUND_SPECULATIVE_SYNCS" ืžื•ื’ื“ืจ.

-mno-csync-anomaly
ืืœ ืชื™ืฆื•ืจ ืงื•ื“ ื ื•ืกืฃ ื›ื“ื™ ืœืžื ื•ืข ื’ื ืžื”ื•ืจืื•ืช CSYNC ืื• SSYNC
ื–ืžืŸ ืงืฆืจ ืœืื—ืจ ืกื ื™ืฃ ืžื•ืชื ื”.

-ื—ืœื‘-64k
ื›ืืฉืจ ื”ื•ื ืžื•ืคืขืœ, ื”ืžื”ื“ืจ ื—ื•ืคืฉื™ ืœื ืฆืœ ืืช ื”ื™ื“ืข ืฉื›ื•ืœื•
ื”ืชื•ื›ื ื™ืช ืžืชืื™ืžื” ืœื–ื™ื›ืจื•ืŸ ื”ื ืžื•ืš ืฉืœ 64k.

-mno-low-64k
ื ื ื™ื— ืฉื”ืชื•ื›ื ื™ืช ื’ื“ื•ืœื” ื‘ืื•ืคืŸ ืฉืจื™ืจื•ืชื™. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mstack-check-l1
ื‘ืฆืข ื‘ื“ื™ืงืช ืขืจื™ืžื” ื‘ืืžืฆืขื•ืช ืžื™ื“ืข ืฉื”ื•ื›ื ืก ืœื–ื™ื›ืจื•ืŸ L1 ืฉืœ ืžืฉื˜ื— ื”ืฉืจื˜ื•ื˜ ืขืœ ื™ื“ื™ ื”-uClinux
ื’ึทืจืขึดื™ืŸ.

-ืืžืฆืข ื”ืกืคืจื™ื™ื” ื”ืžืฉื•ืชืคืช
ืฆื•ืจ ืงื•ื“ ื”ืชื•ืžืš ื‘ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ื‘ืืžืฆืขื•ืช ืฉื™ื˜ืช ืžื–ื”ื” ื”ืกืคืจื™ื™ื”. ื–ื” ืžืืคืฉืจ
ืœื‘ื™ืฆื•ืข ื‘ืžืงื•ื ื•ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ื‘ืกื‘ื™ื‘ื” ืœืœื ื–ื™ื›ืจื•ืŸ ื•ื™ืจื˜ื•ืืœื™
ื”ึทื ื”ึธืœึธื”. ืืคืฉืจื•ืช ื–ื• ืžืจืžื–ืช -fPIC. ืขื bfin-elf ื™ืขื“, ืืคืฉืจื•ืช ื–ื• ืžืจืžื–ืช
-ืžืกื™ื.

-mno-id-shared-library
ืฆื•ืจ ืงื•ื“ ืฉืื™ื ื• ืžื ื™ื— ืฉืžืฉืชืžืฉื™ื ื‘ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ืžื‘ื•ืกืกื•ืช ืžื–ื”ื”. ื–ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mleaf-id-shared-library
ืฆื•ืจ ืงื•ื“ ืฉืชื•ืžืš ื‘ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ื‘ืืžืฆืขื•ืช ืฉื™ื˜ืช ืžื–ื”ื” ื”ืกืคืจื™ื™ื”, ืืš ืžื ื™ื—
ืฉื”ืกืคืจื™ื™ื” ืื• ืงื•ื‘ืฅ ื”ื”ืคืขืœื” ื”ื–ื” ืœื ื™ืงืฉืจื• ืขื ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ืื—ืจื•ืช ืฉืœ ืžื–ื”ื”.
ื–ื” ืžืืคืฉืจ ืœืžื”ื“ืจ ืœื”ืฉืชืžืฉ ื‘ืงื•ื“ ืžื”ื™ืจ ื™ื•ืชืจ ืœืงืคื™ืฆื•ืช ื•ืฉื™ื—ื•ืช.

-mno-leaf-id-shared-library
ืืœ ืชื ื™ื— ืฉื”ืงื•ื“ ื”ื ืขืจืš ืœื ื™ืงืฉืจ ืืœ ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ืฉืœ ืžื–ื”ื™ื ื›ืœืฉื”ื.
ื ื•ืฆืจ ืงื•ื“ ืื™ื˜ื™ ื™ื•ืชืจ ืขื‘ื•ืจ ื›ื ื™ืกื•ืช ืงืคื™ืฆื” ื•ื”ืชืงืฉืจื•ืช.

-mshared-library-id=n
ืžืฆื™ื™ืŸ ืืช ืžืกืคืจ ื”ื–ื™ื”ื•ื™ ืฉืœ ื”ืกืคืจื™ื™ื” ื”ืžืฉื•ืชืคืช ื”ืžื‘ื•ืกืกืช ืขืœ ืžื–ื”ื” ื”ื ืขืจืš.
ืฆื™ื•ืŸ ืขืจืš ืฉืœ 0 ื™ื•ืฆืจ ืงื•ื“ ืงื•ืžืคืงื˜ื™ ื™ื•ืชืจ; ืฆื™ื•ืŸ ื›ื•ื—ื•ืช ืขืจื›ื™ื ืื—ืจื™ื
ื”ื”ืงืฆืื” ืฉืœ ื”ืžืกืคืจ ื”ื–ื” ืœืกืคืจื™ื™ื” ื”ื ื•ื›ื—ื™ืช ืื‘ืœ ื”ื™ื ื›ื‘ืจ ืœื ืžืงื•ื ืื• ื–ืžืŸ-
ื™ืขื™ืœ ืžืืฉืจ ื”ืฉืžื˜ืช ืืคืฉืจื•ืช ื–ื•.

-msep-ื ืชื•ื ื™ื
ืฆื•ืจ ืงื•ื“ ื”ืžืืคืฉืจ ืœืžืงื ืืช ืžืงื˜ืข ื”ื ืชื•ื ื™ื ื‘ืื–ื•ืจ ืื—ืจ ื‘ื–ื™ื›ืจื•ืŸ
ืžืงื˜ืข ื”ื˜ืงืกื˜. ื–ื” ืžืืคืฉืจ ื‘ื™ืฆื•ืข ื‘ืžืงื•ื ื‘ืกื‘ื™ื‘ื” ืœืœื
ื ื™ื”ื•ืœ ื–ื™ื›ืจื•ืŸ ื•ื™ืจื˜ื•ืืœื™ ืขืœ ื™ื“ื™ ื‘ื™ื˜ื•ืœ ืจื™ืœื•ืงื™ื™ืฉืŸ ื›ื ื’ื“ ืงื˜ืข ื”ื˜ืงืกื˜.

-mno-sep-data
ืฆื•ืจ ืงื•ื“ ืฉืžื ื™ื— ืฉืงื˜ืข ื”ื ืชื•ื ื™ื ืขื•ืงื‘ ืื—ืจ ืงื˜ืข ื”ื˜ืงืกื˜. ื–ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืžืœื•ื ื’-ืฉื™ื—ื•ืช
-ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช
ืื•ืžืจ ืœืžื”ื“ืจ ืœื‘ืฆืข ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื•ืช ืขืœ ื™ื“ื™ ื˜ืขื™ื ืช ื”ื›ืชื•ื‘ืช ืฉืœ ื”-
ืคื•ื ืงืฆื™ื” ืœืชื•ืš ืื•ื’ืจ ื•ืœืื—ืจ ืžื›ืŸ ื‘ื™ืฆื•ืข ืฉื™ื—ืช ืชืช ืฉื’ืจืชื™ืช ืขืœ ื”ืื•ื’ืจ ื”ื–ื”. ื–ึถื”
ื™ืฉ ืฆื•ืจืš ื‘- switch ืื ืคื•ื ืงืฆื™ื™ืช ื”ืžื˜ืจื” ื ืžืฆืืช ืžื—ื•ืฅ ืœื˜ื•ื•ื— ื”ื›ืชื•ื‘ืช ืฉืœ 24 ืกื™ื‘ื™ื•ืช ืฉืœ
ื”ื’ืจืกื” ืžื‘ื•ืกืกืช ื”ื™ืกื˜ ืฉืœ ื”ื•ืจืืช ืฉื™ื—ืช ืชืช ืฉื’ืจืชื™ืช.

ืชื›ื•ื ื” ื–ื• ืื™ื ื” ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ืžืคืจื˜ -ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช ืžืฉื—ื–ืจ
ื”ืชื ื”ื’ื•ืช ื‘ืจื™ืจืช ืžื—ื“ืœ. ืฉื™ืžื• ืœื‘ ืœืžืชื’ื™ื ื”ืœืœื• ืื™ืŸ ื”ืฉืคืขื” ืขืœ ื”ืื•ืคืŸ ืฉื‘ื• ื”ืžื”ื“ืจ ืžื™ื™ืฆืจ
ืงื•ื“ ืœื˜ื™ืคื•ืœ ื‘ืงืจื™ืื•ืช ืคื•ื ืงืฆื™ื” ื‘ืืžืฆืขื•ืช ืžืฆื‘ื™ืขื™ ืคื•ื ืงืฆื™ื”.

-mfast-fp
ืงื™ืฉื•ืจ ืขื ืกืคืจื™ื™ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื”ืžื”ื™ืจื”. ืกืคืจื™ื” ื–ื• ืžืจื’ื™ืขื” ื—ืœืง ืžื”-IEEE
ื”ื›ืœืœื™ื ืฉืœ ืชืงืŸ ื ืงื•ื“ื” ืฆืคื” ืœื‘ื“ื™ืงืช ืชืฉื•ืžื•ืช ืžื•ืœ Not-a-Number (NAN), ื‘-
ืื™ื ื˜ืจืก ืฉืœ ื‘ื™ืฆื•ืขื™ื.

-minline-plt
ืืคืฉืจ ื”ื˜ืžืขื” ืฉืœ ืขืจื›ื™ PLT ื‘ืงืจื™ืื•ืช ืคื•ื ืงืฆื™ื” ืœืคื•ื ืงืฆื™ื•ืช ืฉืื™ื ืŸ ืžื•ื›ืจื•ืช ืœื”ืŸ
ืœืื’ื“ ื‘ืื•ืคืŸ ืžืงื•ืžื™. ืื™ืŸ ืœื–ื” ื”ืฉืคืขื” ื‘ืœื™ -mfdpic.

-ืจื‘ ืœื™ื‘ื•ืช
ื‘ื ื• ืืคืœื™ืงืฆื™ื” ืขืฆืžืื™ืช ืขื‘ื•ืจ ืžืขื‘ื“ื™ Blackfin ืžืจื•ื‘ื™ ืœื™ื‘ื•ืช. ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช
ืงื‘ืฆื™ ื”ืชื—ืœื” ื•ืกืงืจื™ืคื˜ื™ื ืฉืœ ืงื™ืฉื•ืจื™ื ื”ืชื•ืžื›ื™ื ื‘ืฉื™ืžื•ืฉ ื‘ืจื™ื‘ื•ื™ ืœื™ื‘ื•ืช, ื•ืžื’ื“ื™ืจ ืืช
ืžืืงืจื• "__BFIN_MULTICORE". ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื• ืจืง ืขื -mcpu=bf561[-ืกื™ืจื˜ื•ื•ื™ื–ื™ื•ืŸ].

ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืขื -mcorea or -ืžืงื•ืจื‘, ืฉื‘ื•ื—ืจ ืืช ื”ืืคืœื™ืงืฆื™ื” ื”ืื—ืช-
ืžื•ื“ืœ ืชื›ื ื•ืช ืœื›ืœ ืœื™ื‘ื”. ืœึฐืœึนื -mcorea or -ืžืงื•ืจื‘, ื”
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืžื•ื“ืœ ืชื›ื ื•ืช ืฉืœ ื™ื™ืฉื•ื ื™ื—ื™ื“/ื“ื•-ืœื™ื‘ืช. ื‘ื“ื’ื ื–ื”, ื”ืขื™ืงืจื™
ื”ืคื•ื ืงืฆื™ื” ืฉืœ Core B ืฆืจื™ื›ื” ืœื”ื™ื•ืช ื‘ืฉื "coreb_main".

ืื ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ื‘ืฉื™ืžื•ืฉ, ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืžื•ื“ืœ ืชื›ื ื•ืช ื™ื™ืฉื•ืžื™ื ื”ืœื™ื‘ื” ื”ื™ื—ื™ื“ื”.

-mcorea
ื‘ื ื• ืืคืœื™ืงืฆื™ื” ืขืฆืžืื™ืช ืขื‘ื•ืจ Core A ืฉืœ BF561 ื‘ืขืช ืฉื™ืžื•ืฉ ื‘ืืคืœื™ืงืฆื™ื” ืื—ืช ืœื›ืœ-
ืžื•ื“ืœ ืชื›ื ื•ืช ืœื™ื‘ื”. ืงื‘ืฆื™ ื”ืชื—ืœื” ืชืงื™ื ื™ื ื•ืกืงืจื™ืคื˜ื™ื ืฉืœ ืงื™ืฉื•ืจ ืžืฉืžืฉื™ื ืœืชืžื™ื›ื” ื‘-Core
A, ื•ื”ืžืืงืจื• "__BFIN_COREA" ืžื•ื’ื“ืจ. ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืจืง ื‘
ื‘ืฉื™ืœื•ื‘ ืขื -ืจื‘ ืœื™ื‘ื•ืช.

-ืžืงื•ืจื‘
ื‘ื ื• ืืคืœื™ืงืฆื™ื” ืขืฆืžืื™ืช ืขื‘ื•ืจ Core B ืฉืœ BF561 ื‘ืขืช ืฉื™ืžื•ืฉ ื‘ืืคืœื™ืงืฆื™ื” ืื—ืช ืœื›ืœ-
ืžื•ื“ืœ ืชื›ื ื•ืช ืœื™ื‘ื”. ืงื‘ืฆื™ ื”ืชื—ืœื” ืชืงื™ื ื™ื ื•ืกืงืจื™ืคื˜ื™ื ืฉืœ ืงื™ืฉื•ืจ ืžืฉืžืฉื™ื ืœืชืžื™ื›ื” ื‘-Core
B, ื•ื”ืžืืงืจื• "__BFIN_COREB" ืžื•ื’ื“ืจ. ื›ืืฉืจ ืžืฉืชืžืฉื™ื ื‘ืืคืฉืจื•ืช ื–ื•, "coreb_main"
ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืžืงื•ื "ืจืืฉื™". ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืจืง ื‘ืฉื™ืœื•ื‘ ืขื
-ืจื‘ ืœื™ื‘ื•ืช.

-msdram
ื‘ื ื• ืืคืœื™ืงืฆื™ื” ืขืฆืžืื™ืช ืขื‘ื•ืจ SDRAM. ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืงื‘ืฆื™ ื”ืชื—ืœื” ืชืงื™ื ื™ื ื•ื‘ืกืงืจื™ืคื˜ื™ื ืฉืœ ืงื™ืฉื•ืจื™ื
ื›ื“ื™ ืœื”ื›ื ื™ืก ืืช ื”ื™ื™ืฉื•ื ืœ-SDRAM, ื•ื”ืžืืงืจื• "__BFIN_SDRAM" ืžื•ื’ื“ืจ. ื”
ืžื˜ืขื™ืŸ ืฆืจื™ืš ืœืืชื—ืœ ืืช SDRAM ืœืคื ื™ ื˜ืขื™ื ืช ื”ืืคืœื™ืงืฆื™ื”.

-micplb
ื ื ื™ื— ืฉ-ICPLBs ืžื•ืคืขืœื™ื ื‘ื–ืžืŸ ื”ืจื™ืฆื”. ื™ืฉ ืœื›ืš ื”ืฉืคืขื” ืขืœ ืื ื•ืžืœื™ื” ืžืกื•ื™ืžืช
ื“ืจื›ื™ื ืœืขืงื™ืคืช ื”ื‘ืขื™ื”. ืขื‘ื•ืจ ื™ืขื“ื™ ืœื™ื ื•ืงืก, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื”ื ื™ื— ืฉ-ICPLBs ืžื•ืคืขืœื™ื; ืœ
ืืคืœื™ืงืฆื™ื•ืช ืขืฆืžืื™ื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ื‘ื•ื™ื”.

C6X ืืคืฉืจื•ื™ื•ืช

-ืžืจืฅ=ืฉื
ื–ื” ืžืฆื™ื™ืŸ ืืช ื”ืฉื ืฉืœ ืืจื›ื™ื˜ืงื˜ื•ืจืช ื”ื™ืขื“. GCC ืžืฉืชืžืฉ ื‘ืฉื ื–ื” ื›ื“ื™ ืœืงื‘ื•ืข
ืื™ื–ื” ืกื•ื’ ืฉืœ ื”ื•ืจืื•ืช ื”ื•ื ื™ื›ื•ืœ ืœืคืœื•ื˜ ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“ ื”ืจื›ื‘ื”. ืžื•ึผืชึธืจ
ื”ืฉืžื•ืช ื”ื: c62x, c64x, c64x+, c67x, c67x+, c674x.

-mbig-endian
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื™ืขื“ ื’ื“ื•ืœ.

-ืžืขื˜-ืื ื“ื™ืืŸ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื™ืขื“ ืงื˜ืŸ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืžืกื™ื
ื‘ื—ืจ ืงื‘ืฆื™ ื”ืคืขืœื” ื•ืกืงืจื™ืคื˜ ืงื™ืฉื•ืจ ืžืชืื™ื ืœืกื™ืžื•ืœื˜ื•ืจ.

-msdata = ื‘ืจื™ืจืช ืžื—ื“ืœ
ืฉื™ื ื ืชื•ื ื™ื ื’ืœื•ื‘ืœื™ื™ื ื•ืกื˜ื˜ื™ื™ื ืงื˜ื ื™ื ื‘- .neardata ืกืขื™ืฃ, ืืฉืจ ืžืฆื‘ื™ืข ืขืœ ื™ื“ื™
ืจืฉื•ื "B14". ืฉื™ื ื ืชื•ื ื™ื ื’ืœื•ื‘ืœื™ื™ื ื•ืกื˜ื˜ื™ื™ื ืงื˜ื ื™ื ืœื ืžืื•ืชื—ืœื™ื ื‘- .bss ืกึธืขึดื™ืฃ,
ืืฉืจ ืฆืžื•ื“ ืœ .neardata ืกึธืขึดื™ืฃ. ื”ื›ื ืก ื ืชื•ื ื™ื ืงื˜ื ื™ื ืœืงืจื™ืื” ื‘ืœื‘ื“ ืœืชื•ืš .rodata
ืกึธืขึดื™ืฃ. ื”ืงื˜ืขื™ื ื”ืžืงื‘ื™ืœื™ื ื”ืžืฉืžืฉื™ื ืขื‘ื•ืจ ืคื™ืกื•ืช ื ืชื•ื ื™ื ื’ื“ื•ืœื•ืช ื”ื .fardata, .ืจึธื—ื•ึนืง
ื• .const.

-msdata=ื”ื›ืœ
ืฉื™ื ืืช ื›ืœ ื”ื ืชื•ื ื™ื, ืœื ืจืง ืื•ื‘ื™ื™ืงื˜ื™ื ืงื˜ื ื™ื, ื‘ืงื˜ืขื™ื ื”ืฉืžื•ืจื™ื ืœื ืชื•ื ื™ื ืงื˜ื ื™ื, ื•
ื”ืฉืชืžืฉ ื‘ื›ืชื•ื‘ืช ื‘ื™ื—ืก ืœืจืฉื•ื "B14" ื›ื“ื™ ืœื’ืฉืช ืืœื™ื”ื.

-msdata=ืื™ืŸ
ืืœ ืชืขืฉื” ืฉื™ืžื•ืฉ ื‘ืงื˜ืขื™ื ื”ืฉืžื•ืจื™ื ืœื ืชื•ื ื™ื ืงื˜ื ื™ื, ื•ื”ืฉืชืžืฉ ื‘ื›ืชื•ื‘ื•ืช ืžื•ื—ืœื˜ื•ืช ื›ื“ื™
ืœื’ืฉืช ืœื›ืœ ื”ื ืชื•ื ื™ื. ืฉื™ื ืืช ื›ืœ ื”ื ืชื•ื ื™ื ื”ื’ืœื•ื‘ืืœื™ื™ื ื•ื”ืกื˜ื˜ื™ื™ื ื”ืžืื•ืชื—ืœื™ื ื‘- .fardata ืกึธืขึดื™ืฃ,
ื•ื›ืœ ื”ื ืชื•ื ื™ื ื”ืœื ืžืื•ืชื—ืœื™ื ื‘- .ืจึธื—ื•ึนืง ืกึธืขึดื™ืฃ. ืฉื™ื ืืช ื›ืœ ื”ื ืชื•ื ื™ื ื”ืงื‘ื•ืขื™ื ืœืชื•ืš .const
ืกึธืขึดื™ืฃ.

Cris ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืืœื• ืžื•ื’ื“ืจื•ืช ื‘ืžื™ื•ื—ื“ ืขื‘ื•ืจ ื™ืฆื™ืื•ืช CRIS.

-ืžืจืฅ=ืกื•ื’ ืื“ืจื™ื›ืœื•ืช
-mcpu=ืกื•ื’ ืื“ืจื™ื›ืœื•ืช
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ืฉืฆื•ื™ื ื”. ื”ื‘ื—ื™ืจื•ืช ืขื‘ื•ืจ ืกื•ื’ ืื“ืจื™ื›ืœื•ืช ื™ืฉ ืœื•
v3, v8 ื• v10 ืขื‘ื•ืจ ETRAX 4, ETRAX 100 ื•-ETRAX 100 LX ื‘ื”ืชืืžื”. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื v0
ืžืœื‘ื“ cris-axis-linux-gnu, ืฉื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื v10.

-mtune=ืกื•ื’ ืื“ืจื™ื›ืœื•ืช
ื›ื•ื•ืŸ ืœ ืกื•ื’ ืื“ืจื™ื›ืœื•ืช ื›ืœ ืžื” ืฉื™ืฉื™ื ืœื’ื‘ื™ ื”ืงื•ื“ ืฉื ื•ืฆืจ, ืœืžืขื˜
ื”-ABI ื•ืงื‘ื•ืฆืช ื”ื”ื•ืจืื•ืช ื”ื–ืžื™ื ื•ืช. ื”ื‘ื—ื™ืจื•ืช ืขื‘ื•ืจ ืกื•ื’ ืื“ืจื™ื›ืœื•ืช ื™ืฉ ืœื•
ืื•ืชื• ื“ื‘ืจ ื›ืžื• ืขื‘ื•ืจ -ืžืจืฅ=ืกื•ื’ ืื“ืจื™ื›ืœื•ืช.

-mmax-stack-frame=n
ืื–ื”ืจื” ื›ืืฉืจ ืžืกื’ืจืช ื”ืžื—ืกื ื™ืช ืฉืœ ืคื•ื ืงืฆื™ื” ื—ื•ืจื’ืช n ื‘ืชื™ื.

-ืžื˜ืจืงืก4
-ืžื˜ืจืงืก100
ื”ืืคืฉืจื•ื™ื•ืช -ืžื˜ืจืงืก4 ื• -ืžื˜ืจืงืก100 ื”ืŸ ืžื™ืœื™ื ื ืจื“ืคื•ืช ืœ -ืžืจืฅ=v3 ื• -ืžืจืฅ=v8
ื‘ื”ืชืืžื”.

-mmul-bug-around
-mno-mul-bug-around
ืขืงื•ืฃ ื‘ืื’ ื‘ื”ื•ืจืื•ืช "muls" ื•-"mulu" ืขื‘ื•ืจ ื“ื’ืžื™ CPU ืฉื‘ื”ื ื”ื•ื
ื—ืœ. ืืคืฉืจื•ืช ื–ื• ืคืขื™ืœื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-mpdebug
ืืคืฉืจ ืžื™ื“ืข ืžืคื•ืจื˜ ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ืกืคืฆื™ืคื™ ืœ-CRIS ื‘ืงื•ื“ ื”-assembly. ื–ึถื”
ืœืืคืฉืจื•ืช ื™ืฉ ื’ื ืืช ื”ื”ืฉืคืขื” ืฉืœ ื›ื™ื‘ื•ื™ #NO_APP ืžื—ื•ื•ืŸ ืงื•ื“ ืžืขื•ืฆื‘ ืœ-
assembler ื‘ืชื—ื™ืœืช ืงื•ื‘ืฅ ื”ื”ืจื›ื‘ื”.

-mcc-init
ืืœ ืชืฉืชืžืฉ ื‘ืชื•ืฆืื•ืช ืงื•ื“ ืžืฆื‘ ืžื”ื•ืจืื” ืงื•ื“ืžืช; ืชืžื™ื“ ืคื•ืœื˜ ื”ืฉื•ื•ื” ื•
ื”ื•ืจืื•ืช ื‘ื“ื™ืงื” ืœืคื ื™ ื”ืฉื™ืžื•ืฉ ื‘ืงื•ื“ื™ ืžืฆื‘.

-mno-ืชื•ืคืขื•ืช ืœื•ื•ืื™
ืื™ืŸ ืœืคืœื•ื˜ ื”ื•ืจืื•ืช ืขื ืชื•ืคืขื•ืช ืœื•ื•ืื™ ื‘ืžืฆื‘ื™ ื”ืชื™ื™ื—ืกื•ืช ืžืœื‘ื“ ืœืื—ืจ
ืชื•ึนืกึถืคึถืช.

-mstack-align
-mno-stack-align
-mdata-align
-mno-data-align
-mconst-align
-mno-const-align
ืืคืฉืจื•ื™ื•ืช ืืœื• (ืœื- ืืคืฉืจื•ื™ื•ืช) ืœืืจื’ืŸ (ืœื‘ื˜ืœ ืกื™ื“ื•ืจื™ื) ืขื‘ื•ืจ ืžืกื’ืจืช ื”ืขืจื™ืžื”,
ื ืชื•ื ื™ื ื‘ื•ื“ื“ื™ื ื•ืงื‘ื•ืขื™ื ืฉื™ืฉ ืœื™ื™ืฉื•ืจ ืœื’ื•ื“ืœ ื”ื’ื™ืฉื” ื”ืžืงืกื™ืžืœื™ืช ืœื ืชื•ื ื™ื ื‘ื•ื“ื“ื™ื
ืขื‘ื•ืจ ื“ื’ื ื”ืžืขื‘ื“ ื”ื ื‘ื—ืจ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœืืจื’ืŸ ื™ื™ืฉื•ืจ ืฉืœ 32 ืกื™ื‘ื™ื•ืช. ABI
ืคืจื˜ื™ื ื›ื’ื•ืŸ ืคืจื™ืกืช ื”ืžื‘ื ื” ืื™ื ื ืžื•ืฉืคืขื™ื ืžื”ืืคืฉืจื•ื™ื•ืช ื”ืœืœื•.

-m32-bit
-m16-bit
-m8-bit
ื‘ื“ื•ืžื” ืœืืคืฉืจื•ื™ื•ืช ืžื—ืกื ื™ืช-ื ืชื•ื ื™ื ื•-const-align ืฉืœืžืขืœื”, ืืคืฉืจื•ื™ื•ืช ืืœื• ืžืชืื™ืžื•ืช
ืžืกื’ืจืช ืžื—ืกื ื™ืช, ื ืชื•ื ื™ื ื ื™ืชื ื™ื ืœื›ืชื™ื‘ื” ื•ืงื‘ื•ืขื™ื ืฉื™ื”ื™ื• ื›ื•ืœื ืžื™ื•ืฉืจื™ื ื‘-32 ืกื™ื‘ื™ื•ืช, 16 ืกื™ื‘ื™ื•ืช ืื• 8 ืกื™ื‘ื™ื•ืช.
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ื™ื™ืฉื•ืจ ืฉืœ 32 ืกื™ื‘ื™ื•ืช.

-ืžื ื•-ืคืจื•ืœื•ื’-ืืคื™ืœื•ื’
-ืžืคืจื•ืœื•ื’-ืืคื™ืœื•ื’
ืขื -ืžื ื•-ืคืจื•ืœื•ื’-ืืคื™ืœื•ื’, ืคืจื•ืœื•ื’ ื”ืคื•ื ืงืฆื™ื” ื”ืจื’ื™ืœื” ื•ื”ืืคื™ืœื•ื’ ืฉื”ื•ื’ื“ืจื•
ืžืกื’ืจืช ื”ืžื—ืกื ื™ืช ืžื•ืฉืžื˜ืช ื•ืื™ืŸ ื”ื•ืจืื•ืช ื”ื—ื–ืจื” ืื• ืจืฆืคื™ ื”ื—ื–ืจื”
ืฉื ื•ืฆืจ ื‘ืงื•ื“. ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืจืง ื™ื—ื“ ืขื ื‘ื“ื™ืงื” ื•ื™ื–ื•ืืœื™ืช ืฉืœ
ืงื•ื“ ื”ื™ื“ื•ืจ: ืœื ื ื•ืฆืจื•ืช ืื–ื”ืจื•ืช ืื• ืฉื’ื™ืื•ืช ื›ืืฉืจ ืจื™ืฉื•ืžื™ื ืฉื ืฉืžืจื• ื‘ืฉื™ื—ื•ืช ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช
ื ืฉืžืจ, ืื• ืฉื™ืฉ ืœื”ืงืฆื•ืช ืื—ืกื•ืŸ ืœืžืฉืชื ื™ื ืžืงื•ืžื™ื™ื.

-mno-gotplt
-mgotplt
ืขื -fpic ื• -fPIC, ืืœ ืชื™ืฆื•ืจ (ืชื™ื™ืฆืจ) ืจืฆืคื™ ื”ื•ืจืื•ืช ืฉื ื˜ืขื ื™ื
ื›ืชื•ื‘ื•ืช ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืžื—ืœืง ื”-PLT ืฉืœ GOT ื•ืœื (ืžืกื•ืจืชื™ ื‘ืื—ืจ
ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช) ืงืจื™ืื•ืช ืœ-PLT. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mgotplt.

-ืžืœืฃ
ืืคืฉืจื•ืช ืœืœื ื”ืคืขืœื” ืžื“ื•ืจ ืงื•ื“ื ืžื–ื•ื”ื” ืจืง ืขื ื”-cris-axis-elf ื•-cris-axis-linux-gnu
ืžื˜ืจื•ืช.

-mlinux
ืืคืฉืจื•ืช ืžื“ื•ืจ ืงื•ื“ื ืœืœื ื”ืคืขืœื” ืžื–ื•ื”ื” ืจืง ืขื ื”ื™ืขื“ cris-axis-linux-gnu.

-ืกื™ื
ืืคืฉืจื•ืช ื–ื•, ื”ืžื–ื•ื”ื” ืขื‘ื•ืจ ืฉื“ื•ืŸ-ืฆื™ืจ ื”ืžืฉื‘ืจ, ืžืกื“ืจืช ืงื™ืฉื•ืจ ืขื ืงืœื˜-ืคืœื˜
ืคื•ื ืงืฆื™ื•ืช ืžืกืคืจื™ื™ืช ืกื™ืžื•ืœื˜ื•ืจ. ืงื•ื“, ื ืชื•ื ื™ื ืžืืชื—ืœื™ื ื•ื ืชื•ื ื™ื ืžืืชื—ืœื™ื ืืคืก
ืžื•ืงืฆื™ื ื‘ืจืฆื™ืคื•ืช.

-sim2
ื›ืžื• -ืกื™ื, ืื‘ืœ ื”ืขื‘ืจ ืืคืฉืจื•ื™ื•ืช ืงื™ืฉื•ืจ ืœืื™ืชื•ืจ ื ืชื•ื ื™ื ืžืืชื—ืœื™ื ื‘-0x40000000 ื•ืืคืก-
ื ืชื•ื ื™ื ืžืืชื—ืœื™ื ื‘-0x80000000.

CR16 ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืืœื• ืžื•ื’ื“ืจื•ืช ื‘ืžื™ื•ื—ื“ ืขื‘ื•ืจ ื™ืฆื™ืื•ืช CR16.

-ืžืžืง
ืืคืฉืจ ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ื›ืคืœ-ืฆื‘ื•ืจ. ืžื•ืฉื‘ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-mcr16cplus
-mcr16c
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช CR16C ืื• CR16C+. ืืจื›ื™ื˜ืงื˜ื•ืจืช CR16C+ ื”ื™ื ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืžืกื™ื
ืžืงืฉืจ ืืช ื”ืกืคืจื™ื™ื” libsim.a ืืฉืจ ืชื•ืืžืช ืœืกื™ืžื•ืœื˜ื•ืจ. ื—ืœ ืขืœ ELF
ืžื”ื“ืจ ื‘ืœื‘ื“.

-ืžื ื˜ื”32
ื‘ื—ืจ ืกื•ื’ ืžืกืคืจ ืฉืœื ื‘ืจื•ื—ื‘ ืฉืœ 32 ืกื™ื‘ื™ื•ืช.

-mbit-ops
ื™ื•ืฆืจ ื”ื•ืจืื•ืช "sbit"/"cbit" ืขื‘ื•ืจ ืžื ื™ืคื•ืœืฆื™ื•ืช ืฉืœ ืกื™ื‘ื™ื•ืช.

-mdata-model=ืžื•ื“ืœ
ื‘ื—ืจ ืžื•ื“ืœ ื ืชื•ื ื™ื. ื”ื‘ื—ื™ืจื•ืช ืขื‘ื•ืจ ืžื•ื“ืœ ื™ืฉ ืœื• ืœื™ื“, ืจื—ื•ืง or ื‘ื™ื ื•ื ื™. ื‘ื™ื ื•ื ื™ ื”ื•ื ื‘ืจื™ืจืช ืžื—ื“ืœ.
ืขื ื–ืืช, ืจื—ื•ืง ืื™ื ื• ืชืงืฃ ืขื -mcr16c, ืžื›ื™ื•ื•ืŸ ืฉืืจื›ื™ื˜ืงื˜ื•ืจืช CR16C ืื™ื ื” ืชื•ืžื›ืช ื‘
ืžื•ื“ืœ ื ืชื•ื ื™ื ืจื—ื•ืง.

ื“ืจื•ื•ื™ืŸ ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืืœื• ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื›ืœ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ื”ืžืจืฆื•ืช ืืช ืžืขืจื›ืช ื”ื”ืคืขืœื” Darwin.

FSF GCC ืขืœ ื“ืจื•ื•ื™ืŸ ืื™ื ื• ื™ื•ืฆืจ ืงื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ "ืฉืžื ื™ื"; ื–ื” ื™ื•ืฆืจ ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ืขื‘ื•ืจ
ืืจื›ื™ื˜ืงื˜ื•ืจื” ื™ื—ื™ื“ื” ืฉ-GCC ื ื‘ื ืชื” ืœื”ืชืžืงื“ ื‘ื”. ื”-GCC ืฉืœ ืืคืœ ืขืœ ื“ืจื•ื•ื™ืŸ ืื›ืŸ ื™ื•ืฆืจ "ืฉื•ืžืŸ"
ืงื‘ืฆื™ื ืื ื”ื ืžืจื•ื‘ื™ื -ืงึถืฉืึถืช ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ื™ื•ืช; ื”ื•ื ืขื•ืฉื” ื–ืืช ืขืœ ื™ื“ื™ ื”ืคืขืœืช ื”ืžื”ื“ืจ ืื• ื”ืžืงืฉืจ
ืžืกืคืจ ืคืขืžื™ื ื•ื”ืฆื˜ืจืคื•ืช ืœืชื•ืฆืื•ืช ื™ื—ื“ ืขื ืœื™ืคื•.

ืชืช-ื”ืกื•ื’ ืฉืœ ื”ืงื•ื‘ืฅ ืฉื ื•ืฆืจ (ื›ืžื• ppc7400 or ppc970 or i686) ื ืงื‘ืข ืขืœ ื™ื“ื™
ื“ื’ืœื™ื ื”ืžืฆื™ื™ื ื™ื ืืช ื”-ISA ืฉ-GCC ืžื›ื•ื•ืŸ ืืœื™ื•, ื›ืžื• -mcpu or -ืžืจืฅ. ื”
-force_cpusubtype_ALL ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื›ื“ื™ ืœืขืงื•ืฃ ื–ืืช.

ื”ื›ืœื™ื ืฉืœ ื“ืืจื•ื•ื™ืŸ ืžืฉืชื ื™ื ื‘ื”ืชื ื”ื’ื•ืชื ื›ืืฉืจ ืžื•ืฆื’ื™ื ืœื”ื ื—ื•ืกืจ ื”ืชืืžื” ืฉืœ ISA. ื”
ืžืืกืฃ, as, ืžืชื™ืจ ืจืง ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ืฉืชืงืคื•ืช ืขื‘ื•ืจ ืชืช-ื”ืกื•ื’ ืฉืœ
ื”ืงื•ื‘ืฅ ืฉื”ื•ื ื™ื•ืฆืจ, ืื– ืืชื” ืœื ื™ื›ื•ืœ ืœืฉื™ื ื”ื•ืจืื•ืช 64 ืกื™ื‘ื™ื•ืช ื‘-a ppc750 ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜. ื”
ืžืงืฉืจ ืœืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช, /usr/bin/libtool, ื ื›ืฉืœ ื•ืžื“ืคื™ืก ืฉื’ื™ืื” ืื โ€‹โ€‹ืชืชื‘ืงืฉ ืœืขืฉื•ืช ื–ืืช
ืฆื•ืจ ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช ืขื ืชืช-ืกื•ื’ ืคื—ื•ืช ืžื’ื‘ื™ืœ ืžืงื•ื‘ืฆื™ ื”ืงืœื˜ ืฉืœื” (ืขื‘ื•ืจ
ืœืžืฉืœ, ืžื ืกื” ืœืฉื™ื ื ppc970 ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ื‘-a ppc7400 ืกึดืคึฐืจึดื™ึธื”). ื”ืžืงืฉืจ ืขื‘ื•ืจ
ืงื•ื‘ืฆื™ ื”ืคืขืœื”, ld, ื ื•ืชืŸ ื‘ืฉืงื˜ ืœืงื•ื‘ืฅ ื”ื”ืคืขืœื” ืืช ืชืช-ื”ืกื•ื’ ื”ืžื’ื‘ื™ืœ ื‘ื™ื•ืชืจ ืžื›ืœ ืื—ื“ ืžื”ื
ืงื‘ืฆื™ ืงืœื˜.

-Fdir
ื”ื•ืกืฃ ืืช ืกืคืจื™ื™ืช ื”ืžืกื’ืจืช dir ืœืจืืฉ ืจืฉื™ืžืช ื”ืกืคืจื™ื•ืช ืฉื™ืฉ ืœื—ืคืฉ
ืขื‘ื•ืจ ืงื‘ืฆื™ ื›ื•ืชืจื•ืช. ืกืคืจื™ื•ืช ืืœื” ืžืฉื•ืœื‘ื•ืช ืขื ืืœื” ืฉืฆื•ื™ื ื• ืขืœ ื™ื“ื™ -I
ืืคืฉืจื•ื™ื•ืช ื•ื ืกืจืงื•ืช ื‘ืกื“ืจ ืžืฉืžืืœ ืœื™ืžื™ืŸ.

ืกืคืจื™ื™ืช ืคืจื™ื™ืžื™ื ื”ื™ื ืกืคืจื™ื™ื” ืขื ืžืกื’ืจื•ืช ื‘ืชื•ื›ื”. ืžืกื’ืจืช ื”ื™ื ื
ืกืคืจื™ื™ื” ืขื ื ื›ื•ืชืจื•ืช ื• / ืื• ืจืืฉ ืคืจื˜ื™ ืžื“ืจื™ืš ื”ื›ืœื•ืœ ื™ืฉื™ืจื•ืช ื‘ื• ื›ื™
ื ื’ืžืจ ื‘ .ืžึดืกื’ึถืจึถืช. ืฉื ื”ืžืกื’ืจืช ื”ื•ื ื”ืฉื ืฉืœ ืกืคืจื™ื™ื” ื–ื• ืœืžืขื˜
ืžื” ื”ื™ื .ืžึดืกื’ึถืจึถืช. ื›ื•ืชืจื•ืช ื”ืžืฉื•ื™ื›ื•ืช ืœืžืกื’ืจืช ื ืžืฆืื•ืช ื‘ืื—ืช ืžื”ืฉืชื™ื™ื ื”ืœืœื•
ืกืคืจื™ื•ืช, ืขื ื›ื•ืชืจื•ืช ื—ื™ืคื•ืฉ ืจืืฉื•ืŸ. ืชืช-ืžืกื’ืจืช ื”ื™ื ืžืกื’ืจืช
ืกืคืจื™ื™ื” ืฉื ืžืฆืืช ื‘ืชื•ืš ืžืกื’ืจืช ืžื•ื‘ื™ืœื•ืช ืžึทื“ืจึดื™ืš. ื›ื•ืœืœ ืžืกื’ืจืช ืžืฉื ื”
ื›ื•ืชืจื•ืช ื™ื›ื•ืœื•ืช ืœื”ื•ืคื™ืข ืจืง ื‘ื›ื•ืชืจืช ืฉืœ ืžืกื’ืจืช ื”ืžื›ื™ืœื” ืืช ืชืช ื”ืžืกื’ืจืช, ืื•
ื‘ื›ื•ืชืจืช ืžืฉื ื” ืฉืœ ืžืกื’ืจืช ืื—ื™ื. ืฉืชื™ ืžืกื’ืจื•ืช ืžืฉื ื” ื”ืŸ ืื—ื™ื ืื ื”ืŸ ืžืชืจื—ืฉื•ืช ื‘-
ืื•ืชื” ืžืกื’ืจืช. ืชืช-ืžืกื’ืจืช ืœื ืฆืจื™ืš ืœื”ื™ื•ืช ืฉื ื–ื”ื” ืœื–ื” ืฉืœ ืžืกื’ืจืช; ื
ื ื™ืชื ืช ืื–ื”ืจื” ืื ื–ื” ืžื•ืคืจ. ื ื›ื•ืŸ ืœืขื›ืฉื™ื•, ืชืช-ืžืกื’ืจืช ืœื ื™ื›ื•ืœื” ืœื”ื™ื•ืช
ืžืกื’ืจื•ืช ืžืฉื ื”; ื‘ืขืชื™ื“, ื”ืžื ื’ื ื•ืŸ ืขืฉื•ื™ ืœื”ื™ื•ืช ืžื•ืจื—ื‘ ื›ื“ื™ ืœืชืžื•ืš ื‘ื›ืš. ื”
ื ื™ืชืŸ ืœืžืฆื•ื ืžืกื’ืจื•ืช ืกื˜ื ื“ืจื˜ื™ื•ืช ื‘ / System / Library / Frameworks ื•
/ Library / Frameworks. ื“ื•ื’ืžื” ืœ-include ื ืจืื™ืช ื›ืžื• "#include ",
ืื™ืคื” ืžืกื’ืจืช ืžืฆื™ื™ืŸ ืืช ืฉื ื”ืžืกื’ืจืช ื• header.h ื ืžืฆื ื‘ืื–ื•ืจ
ืจืืฉ ืคืจื˜ื™ or ื›ื•ืชืจื•ืช ื‘ืžื“ืจื™ืš.

-iframeworkdir
ื›ืžื• -F ืืœื ืฉื”ืกืคืจื™ื™ื” ืžื˜ื•ืคืœืช ื›ืืœ ืกืคืจื™ื™ืช ืžืขืจื›ืช. ื”ื”ื‘ื“ืœ ื”ืขื™ืงืจื™
ื‘ื™ืŸ ื–ื” -iframework ื• -F ื”ืื ื–ื” ืขื -iframework ื”ืžื”ื“ืจ ืœื ืžื–ื”ื™ืจ
ืื•ื“ื•ืช ืžื‘ื ื™ื ื”ื›ืœื•ืœื™ื ื‘ืชื•ืš ืงื‘ืฆื™ ื›ื•ืชืจื•ืช ืฉื ืžืฆืื• ื‘ืืžืฆืขื•ืช dir. ืืคืฉืจื•ืช ื–ื• ืชืงืคื”
ืจืง ืœืžืฉืคื—ืช ื”ืฉืคื•ืช C.

ื ื—ืฉ
ืคืœื˜ ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื ืขื‘ื•ืจ ืกืžืœื™ื ืฉื‘ื”ื ื ืขืฉื” ืฉื™ืžื•ืฉ. ืขื‘ื•ืจ ืคื•ืจืžื˜ ื ื™ืคื•ื™ ื‘ืื’ื™ื ื“ืงื™ืจื•ืช,
ื–ื” ืžืืคืฉืจ ืกืžืœื™ื-feliminate-unused-debug-symbols. ื–ื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืžื•ืคืขืœ.

-ืžืœื
ืคืœื˜ ืžื™ื“ืข ื ื™ืคื•ื™ ื‘ืื’ื™ื ืขื‘ื•ืจ ื›ืœ ื”ืกืžืœื™ื ื•ื”ืกื•ื’ื™ื.

-mmacosx-version-min=ื’ืจืกื”
ื”ื’ืจืกื” ื”ืžื•ืงื“ืžืช ื‘ื™ื•ืชืจ ืฉืœ MacOS X ืฉืขืœื™ื” ื™ืจื•ืฅ ืงื•ื‘ืฅ ื”ื”ืคืขืœื” ื”ื–ื” ื”ื™ื ื’ืจืกื”. ืื•ืคื™ื™ื ื™
ืขืจื›ื™ื ืฉืœ ื’ืจืกื” ื›ื•ืœืœื™ื ืืช 10.1, 10.2 ื•-10.3.9.

ืื ื”ืžื”ื“ืจ ื ื‘ื ื” ืœืฉื™ืžื•ืฉ ื‘ื›ื•ืชืจื•ืช ืฉืœ ื”ืžืขืจื›ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืื– ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ
ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื’ืจืกืช ื”ืžืขืจื›ืช ืฉื‘ื” ืคื•ืขืœ ื”ืžื”ื“ืจ, ืื—ืจืช
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื‘ืฆืข ื‘ื—ื™ืจื•ืช ืฉืชื•ืืžื•ืช ืœื›ืžื” ืฉื™ื•ืชืจ ืžืขืจื›ื•ืช ื•ื‘ืกื™ืกื™ ืงื•ื“
ืืคืฉืจื™.

-ืžืงืจื ืœ
ืืคืฉืจ ืžืฆื‘ ืคื™ืชื•ื— ืœื™ื‘ื”. ื” -ืžืงืจื ืœ ืขืจื›ื•ืช ืืคืฉืจื•ื™ื•ืช -ืกื˜ึธื˜ึดื™, -fno-ื ืคื•ืฅ,
-fno-use-cxa-atexit, -fno-ื—ืจื™ื’ื™ื, -fno-non-call-exceptions, -fapple-kext,
-fno-ื—ืœืฉ ื• -fno-rtti ื‘ืžืงืจื™ื ืจืœื•ื•ื ื˜ื™ื™ื. ืžืฆื‘ ื–ื” ื’ื ืงื•ื‘ืข -mno-altivec,
-msoft-float, -fno-builtin ื• -ืžืœื•ื ื’-ืขื ืฃ ืขื‘ื•ืจ ื™ืขื“ื™ PowerPC.

-mone-byte-bool
ืขื•ืงืฃ ืืช ื‘ืจื™ืจื•ืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ bool ื›ื“ื™ ืฉ sizeof(bool)==1. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ sizeof(bool) is 4
ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืขื‘ื•ืจ Darwin/PowerPC ื• 1 ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืขื‘ื•ืจ Darwin/x86, ืื– ืืคืฉืจื•ืช ื–ื•
ืื™ืŸ ื”ืฉืคืขื” ืขืœ x86.

ืึทื–ื”ึธืจึธื”: ื”ืฉืžื™ื™ื -mone-byte-bool switch ื’ื•ืจื ืœ-GCC ืœื™ืฆื•ืจ ืงื•ื“ ืฉืื™ื ื• ื‘ื™ื ืืจื™
ืชื•ืื ืœืงื•ื“ ืฉื ื•ืฆืจ ืœืœื ื”ืžืชื’ ื”ื–ื”. ืฉื™ืžื•ืฉ ื‘ืžืชื’ ื–ื” ืขืฉื•ื™ ืœื“ืจื•ืฉ
ืงื•ืžืคื™ืœืฆื™ื” ืžื—ื“ืฉ ืฉืœ ื›ืœ ื”ืžื•ื“ื•ืœื™ื ื”ืื—ืจื™ื ื‘ืชื•ื›ื ื™ืช, ื›ื•ืœืœ ืกืคืจื™ื•ืช ืžืขืจื›ืช. ื”ืฉืชืžืฉ ื‘ื–ื”
ืœืขื‘ื•ืจ ื›ื“ื™ ืœื”ืชืื™ื ืœืžื•ื“ืœ ื ืชื•ื ื™ื ืฉืื™ื ื• ื‘ืจื™ืจืช ืžื—ื“ืœ.

-mfix-and-continue
-ืชืงืŸ-ื•-ื”ืžืฉืš
-finddirect-ื ืชื•ื ื™ื
ืฆื•ืจ ืงื•ื“ ื”ืžืชืื™ื ืœืคื™ืชื•ื— ืชืคื ื™ืช ืžื”ื™ืจ, ื›ื’ื•ืŸ ืœืืคืฉืจ ืœ-GDB
ื˜ืขืŸ ื‘ืื•ืคืŸ ื“ื™ื ืžื™ ืงื‘ืฆื™ ".o" ืœืชื•ื›ื ื™ื•ืช ืฉื›ื‘ืจ ืคื•ืขืœื•ืช. -finddirect-ื ืชื•ื ื™ื ื•
-ืชืงืŸ-ื•-ื”ืžืฉืš ืžืกื•ืคืงื™ื ืขื‘ื•ืจ ืชืื™ืžื•ืช ืœืื—ื•ืจ.

-ื›ืœ_ืขื•ืžืก
ื˜ื•ืขืŸ ืืช ื›ืœ ื”ื—ื‘ืจื™ื ื‘ืกืคืจื™ื•ืช ืืจื›ื™ื•ืŸ ืกื˜ื˜ื™. ืจืื” ื’ื‘ืจ ld(1) ืœืžื™ื“ืข ื ื•ืกืฃ.

-arch_errors_fatal
ื’ื•ืจื ืœืฉื’ื™ืื•ืช ื”ืงืฉื•ืจื•ืช ืœืงื‘ืฆื™ื ืฉื™ืฉ ืœื”ื ืืจื›ื™ื˜ืงื˜ื•ืจื” ืฉื’ื•ื™ื” ืœื”ื™ื•ืช ืงื˜ืœื ื™ื•ืช.

-bind_at_load
ื’ื•ืจื ืœืงื•ื‘ืฅ ื”ืคืœื˜ ืœื”ื™ื•ืช ืžืกื•ืžืŸ ื›ืš ืฉื”ืžืงืฉืจ ื”ื“ื™ื ืžื™ ื™ืงืฉืจ ืืช ื›ื•ืœื
ื”ืคื ื™ื•ืช ืœื ืžื•ื’ื“ืจื•ืช ื›ืืฉืจ ื”ืงื•ื‘ืฅ ื ื˜ืขืŸ ืื• ืžื•ืคืขืœ.

-ื—ื‘ื™ืœื”
ื”ืคืง ืงื•ื‘ืฅ ื‘ืคื•ืจืžื˜ ื—ื‘ื™ืœื” ืฉืœ Mach-o. ืจืื” ื’ื‘ืจ ld(1) ืœืžื™ื“ืข ื ื•ืกืฃ.

-bundle_loader ื”ืคืขืœื”
ืืคืฉืจื•ืช ื–ื• ืžืฆื™ื™ื ืช ืืช ื”ืคืขืœื” ืฉื™ื˜ืขืŸ ืืช ืงื•ื‘ืฅ ื”ืคืœื˜ ืฉืœ build
ืฆึธืžื•ึผื“. ืจืื” ื’ื‘ืจ ld(1) ืœืžื™ื“ืข ื ื•ืกืฃ.

-ื“ื™ื ืืžื™ืœื™ื‘
ื›ืืฉืจ ืขื•ื‘ืจื™ื ืืคืฉืจื•ืช ื–ื•, GCC ืžื™ื™ืฆืจ ืกืคืจื™ื™ื” ื“ื™ื ืžื™ืช ื‘ืžืงื•ื ืงื•ื‘ืฅ ื”ืคืขืœื” ื›ืืฉืจ
ืงื™ืฉื•ืจ, ื‘ืืžืฆืขื•ืช ื“ืจื•ื•ื™ืŸ libtool ืคืงื•ื“ื”.

-force_cpusubtype_ALL
ื–ื” ื’ื•ืจื ืœืงื•ื‘ืฅ ื”ืคืœื˜ ืฉืœ GCC ืœืงื‘ืœ ืืช ื”ื›ืœ ืชืช ืกื•ื’, ื‘ืžืงื•ื ืื—ื“ ืฉื ืฉืœื˜ ืขืœ ื™ื“ื™
ืžื” ื”ื™ื -mcpu or -ืžืจืฅ ืื•ึนืคึผึฐืฆึดื™ึธื”.

-ืžื•ืชืจ_ืœืงื•ื— ืฉื ืœืงื•ื—
-ืฉื ื”ืœืงื•ื—
-ื’ืจืกื”_ืชืื™ืžื•ืช
-ื’ืจืกื” ื ื•ื›ื—ื™ืช
-ืจืฆื•ืขื”_ืžืชื”
-ืชืœื•ืช-ืงื•ื‘ืฅ
-dylib_file
-ืฉื_ื”ืชืงื ื”_dylinker
-ื“ึดื™ื ึธืžึดื™
-ืจืฉื™ืžืช_ืกืžืœื™ื_ืžื™ื•ืฆืื™ื
-ืจืฉื™ืžืช ืงื‘ืฆื™ื
-ืฉื˜ื— ืฉื_flat
-force_flat_namespace
-headerpad_max_install_names
-ืชืžื•ื ื”_ื‘ืกื™ืก
-ื ื™ื˜
-ืฉื_ื”ืชืงื ื”
-ืฉืžื•ืจ_ืคืจื˜ื™_externs
-ืžื•ืœื˜ื™_ืžื•ื“ื•ืœ
-ืžื•ื’ื“ืจ_ื”ื›ืคื™ืœ
-ื›ืคื™ืœ_ ืžื•ื’ื“ืจ_ืœื ื‘ืฉื™ืžื•ืฉ
-noall_load
-ืื™ืŸ_ืžืชื™ื_ื—ืคืฆื™ื_ื•ืชื ืื™ื
-nofixprebinding
-ื ื•ืžื•ืœื˜ื™ื“ืฃ
-noprebind
-noseglinkedit
-pagezero_size
-ืงืฉื™ืจื” ืžืจืืฉ
-prebind_all_twolevel_modules
-ื—ื‘ื™ืœื”_ืคืจื˜ื™ืช
-ืงืจื™ืื” ื‘ืœื‘ื“_relocs
-ืกืงื˜ืœื™ื™ืŸ
-ืกืžืœื™ ืื•ื‘ื™ื™ืงื˜ื™ื ืฉืœ ื›ืช
-ืœืžื” ืœื˜ืขื•ืŸ
-seg1addr
-ืœื™ืฆื•ืจ
-ืกืžืœื™ ืื•ื‘ื™ื™ืงื˜ื™ื ืฉืœ ื›ืช
-ืžื’ื–ืจ
-ืกื’ื“ื“ืจ
-segs_read_only_addr
-segs_read_write_addr
-seg_addr_table
-seg_addr_table_filename
-seglinkedit
-ืกื’ืคืจื•ื˜
-segs_read_only_addr
-segs_read_write_addr
-ื™ื—ื™ื“_ืžื•ื“ื•ืœ
-ืกื˜ึธื˜ึดื™
-ืกืคืจื™ื™ืช_ืชืช
-ืžืฉื ื”_ืžื˜ืจื™ื”
-ืจื•ื•ื—_ืฉื_ืฉื ื™ื™ื
-ืžึดื˜ึฐืจึดื™ึธื”
-ืœื ืžื•ื’ื“ืจ
-ืจืฉื™ืžืช_ืกืžืœื™ื_ืœื ืžื™ื•ืฆืื™ื
-ืื™-ื”ืชืืžื•ืช_ื”ืชื™ื™ื—ืกื•ืช_ื—ืœืฉื”
-ืžื” ืฉื ื˜ืขืŸ
ืืคืฉืจื•ื™ื•ืช ืืœื• ืžื•ืขื‘ืจื•ืช ืœืžืงืฉืจ ืฉืœ ื“ืืจื•ื•ื™ืŸ. ื“ืฃ ื”ืื™ืฉ ืฉืœ Darwin Linker ืžืชืืจ
ืื•ืชื ื‘ืคื™ืจื•ื˜.

ื“ืฆืžื‘ืจ ืืœืคื ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ DEC Alpha:

-ืžื ื•-ืจืš-ืฆืฃ
-msoft-float
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ื”ื—ื•ืžืจื” ืœื ืงื•ื“ื” ืฆืคื” ืขื‘ื•ืจ ื ืงื•ื“ื” ืฆืคื”
ืคืขื•ืœื•ืช. ืžืชื™ -msoft-float ืžืฆื•ื™ืŸ, ืžืชืคืงื“ ื‘ libgcc.a ืžืฉืžืฉื™ื ืœื‘ื™ืฆื•ืข
ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”. ืืœื ืื ื›ืŸ ื”ื ื™ื•ื—ืœืคื• ื‘ืฉื’ืจื•ืช ืฉืžื—ืงื•ืช ืืช
ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”, ืื• ื”ื™ื“ื•ืจ ื‘ืฆื•ืจื” ื›ื–ื• ืฉื™ืงืจื ืืžื•ืœืฆื™ื•ืช ื›ืืœื”
ืฉื’ืจื•ืช, ืฉื’ืจื•ืช ืืœื” ืžื ืคื™ืงื•ืช ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”. ืื ืืชื” ืงื•ืžืคื™ืœืฆื™ื” ืขื‘ื•ืจ
ืืœืคื ืœืœื ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”, ืขืœื™ืš ืœื•ื•ื“ื ืฉื”ืกืคืจื™ื™ื” ื‘ื ื•ื™ื”
ื›ื“ื™ ืœื ืœื”ืชืงืฉืจ ืืœื™ื”ื.

ืฉื™ื ืœื‘ ืฉื™ืฉ ืฆื•ืจืš ื‘ื™ื™ืฉื•ื ืืœืคื ืœืœื ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”
ืื•ื’ืจื™ ื ืงื•ื“ื” ืฆืคื”.

-mfp-reg
-mno-fp-regs
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืื™ื ื• ืžืฉืชืžืฉ) ื‘ืขืจื›ืช ื”ืื•ื’ืจ ืฉืœ ื”ื ืงื•ื“ื” ื”ืฆืคื”. -mno-fp-regs
ืžืจืžื– -msoft-float. ืื ืœื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืขืจื›ืช ื”ื ืงื•ื“ื” ื”ืฆืคื”, ื ืงื•ื“ื” ืฆืคื”
ืื•ืคืจื ื“ื™ื ืžื•ืขื‘ืจื™ื ื‘ืื•ื’ืจื™ื ืฉืœืžื™ื ื›ืื™ืœื• ื”ื™ื• ืžืกืคืจื™ื ืฉืœืžื™ื ื•ื ืงื•ื“ื” ืฆืคื”
ื”ืชื•ืฆืื•ืช ืžื•ืขื‘ืจื•ืช ื‘-$0 ื‘ืžืงื•ื ื‘-$f0. ื–ื”ื• ืจืฆืฃ ืฉื™ื—ื•ืช ืœื ืกื˜ื ื“ืจื˜ื™, ืื–
ื›ืœ ืคื•ื ืงืฆื™ื” ืขื ืืจื’ื•ืžื ื˜ ื ืงื•ื“ื” ืฆืคื” ืื• ืขืจืš ื”ื—ื–ืจื” ืฉื ืงืจืืช ืขืœ ื™ื“ื™ ืงื•ื“ ืงื•ืžืคื™ืœืฆื™ื”
ืขื -mno-fp-regs ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืžื•ืจื›ื‘ ื’ื ืขื ืืคืฉืจื•ืช ื–ื•.

ืฉื™ืžื•ืฉ ืื•ืคื™ื™ื ื™ ืœืื•ืคืฆื™ื” ื–ื• ื”ื•ื ื‘ื ื™ื™ืช ืงืจื ืœ ืฉืื™ื ื• ืžืฉืชืžืฉ, ื•ืžื›ืืŸ ืฆืจื™ืš
ืœื ืœืฉืžื•ืจ ื•ืœืฉื—ื–ืจ, ื›ืœ ื ืงื•ื“ื” ืฆืคื” ืจื•ืฉืžืช.

-ืžื™ื™
ืืจื›ื™ื˜ืงื˜ื•ืจืช ืืœืคื ืžื™ื™ืฉืžืช ื—ื•ืžืจืช ื ืงื•ื“ื” ืฆืคื” ืžื•ืชืืžืช ืœืžืงืกื™ืžื•ื
ื‘ื™ืฆื•ืขื™ื. ื”ื•ื ืชื•ืื ื‘ืขื™ืงืจ ืืช ืชืงืŸ ื”ื ืงื•ื“ื” ื”ืฆืคื” IEEE. ืœืžืจื•ืช ื–ืืช,
ืœืชืื™ืžื•ืช ืžืœืื”, ื ื“ืจืฉ ืกื™ื•ืข ื‘ืชื•ื›ื ื”. ืืคืฉืจื•ืช ื–ื• ื™ื•ืฆืจืช ืงื•ื“
ืงื•ื“ ืชื•ืื IEEE ืœื—ืœื•ื˜ื™ืŸ ืืœื ื›ื™ ื“ื’ืœ ืœื ืžื“ื•ื™ืง ืื™ื ื• ืžืชื•ื—ื–ืง (ืจืื” ืœื”ืœืŸ).
ืื ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช, ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“ "_IEEE_FP" ืžื•ื’ื“ืจ ื‘ืžื”ืœืš
ื”ึทื”ื“ึธืจึธื”. ื”ืงื•ื“ ื”ืžืชืงื‘ืœ ืคื—ื•ืช ื™ืขื™ืœ ืืš ืžืกื•ื’ืœ ืœืชืžื•ืš ื‘ืฆื•ืจื” ื ื›ื•ื ื”
ืžืกืคืจื™ื ืžืคื•ืฉื˜ื™ื ื•ืขืจื›ื™ IEEE ื™ื•ืฆืื™ ื“ื•ืคืŸ ื›ื’ื•ืŸ ืœื-ืžืกืคืจ ื•ืคืœื•ืก/ืžื™ื ื•ืก
ืื™ื ืกื•ืฃ. ืžื”ื“ืจื™ื ืื—ืจื™ื ืฉืœ ืืœืคื ืงื•ืจืื™ื ืœืืคืฉืจื•ืช ื”ื–ื• -ืื™ื™_ืขื_ืœื_ืœื ืžื“ื•ื™ืง.

-ืžื™ื™-ืขื-ืœื ืžื“ื•ื™ืง
ื–ื” ื›ืžื• -ืžื™ื™ ืžืœื‘ื“ ื”ืงื•ื“ ืฉื ื•ืฆืจ ืฉื•ืžืจ ื’ื ืขืœ ื”-IEEE ื“ื’ืœ ืœื ืžื“ื•ื™ืง.
ื”ืคืขืœืช ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช ืœืงื•ื“ ืฉื ื•ืฆืจ ืœื™ื™ืฉื IEEE ืชื•ืื ืœื—ืœื•ื˜ื™ืŸ
ืžืชืžื˜ื™ืงื”. ื‘ื ื•ืกืฃ ืœ-"_IEEE_FP", "_IEEE_FP_EXACT" ืžื•ื’ื“ืจ ื›ืžืืงืจื• ืงื“ื-ืžืขื‘ื“.
ื‘ื—ืœืง ืžื™ื™ืฉื•ืžื™ ืืœืคื ื”ืงื•ื“ ื”ืžืชืงื‘ืœ ืขืฉื•ื™ ืœื”ืชื‘ืฆืข ืœืื˜ ื™ื•ืชืจ ืžืืฉืจ
ื”ืงื•ื“ ืฉื ื•ืฆืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ืžื›ื™ื•ื•ืŸ ืฉื™ืฉ ืžืขื˜ ืžืื•ื“ ืงื•ื“ ืฉืชืœื•ื™ ื‘-
ื“ื’ืœ ืœื ืžื“ื•ื™ืง, ื‘ื“ืจืš ื›ืœืœ ืื™ืŸ ืœืฆื™ื™ืŸ ืืคืฉืจื•ืช ื–ื•. ืžื”ื“ืจื™ื ืื—ืจื™ื ืฉืœ ืืœืคื ืงื•ืจืื™ื
ืืคืฉืจื•ืช ื–ื• -ืื™ื™_ืขื_ืœื ืžื“ื•ื™ืง.

-mfp-trap-mode=ืžืœื›ื•ื“ืช
ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ืื™ืœื• ืžืœื›ื•ื“ื•ืช ื”ืงืฉื•ืจื•ืช ืœื ืงื•ื“ื” ืฆืคื” ืžื•ืคืขืœื•ืช. ืืœืคื ืื—ืจ
ืžื”ื“ืจื™ื ืงื•ืจืื™ื ืœืืคืฉืจื•ืช ื”ื–ื• -fptm ืžืœื›ื•ื“ืช. ื ื™ืชืŸ ืœื”ื’ื“ื™ืจ ืืช ืžืฆื‘ ื”ืžืœื›ื•ื“ืช ืœืื—ื“ ืžืืจื‘ืขื”
ืขืจื›ื™ื:

n ื–ื•ื”ื™ ื”ื’ื“ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ (ืจื’ื™ืœื”). ื”ืžืœื›ื•ื“ื•ืช ื”ื™ื—ื™ื“ื•ืช ืฉืžื•ืคืขืœื•ืช ื”ืŸ
ื›ืืœื” ืฉืœื ื ื™ืชืŸ ืœื”ืฉื‘ื™ืช ื‘ืชื•ื›ื ื” (ืœืžืฉืœ, ื—ืœื•ืงื” ื‘ืžืœื›ื•ื“ืช ืืคืก).

u ื‘ื ื•ืกืฃ ืœืžืœื›ื•ื“ื•ืช ื”ืžื•ืคืขืœื•ืช ืขืœ ื™ื“ื™ n, ืžืœื›ื•ื“ื•ืช ืชืช ื–ืจื™ืžื” ืžื•ืคืขืœื•ืช ื’ื ื›ืŸ.

su ื›ืžื• u, ืืš ื”ื”ื•ืจืื•ืช ืžืกื•ืžื ื•ืช ื›ื‘ื˜ื•ื—ื•ืช ืœื”ืฉืœืžืช ืชื•ื›ื ื” (ืจืื”
ืžื“ืจื™ืš ืื“ืจื™ื›ืœื•ืช ืืœืคื ืœืคืจื˜ื™ื).

ืกื•ื•ื™ ื›ืžื• su, ืื‘ืœ ืžืœื›ื•ื“ื•ืช ืœื ืžื“ื•ื™ืงื•ืช ืžื•ืคืขืœื•ืช ื’ื ื›ืŸ.

-mfp-rounding-mode=ืžืฆื‘ ืขื™ื’ื•ืœ
ื‘ื•ื—ืจ ืืช ืžืฆื‘ ืขื™ื’ื•ืœ IEEE. ืžื”ื“ืจื™ื ืื—ืจื™ื ืฉืœ ืืœืคื ืงื•ืจืื™ื ืœืืคืฉืจื•ืช ื”ื–ื• -fprm
ืžืฆื‘ ืขื™ื’ื•ืœ. ื” ืžืฆื‘ ืขื™ื’ื•ืœ ื™ื›ื•ืœ ืœื”ื™ื•ืช ืื—ื“ ืž:

n ืžืฆื‘ ืขื™ื’ื•ืœ IEEE ืจื’ื™ืœ. ืžืกืคืจื™ ื ืงื•ื“ื” ืฆืคื” ืžืขื•ื’ืœื™ื ืœื›ื™ื•ื•ืŸ ื”ืงืจื•ื‘ ื‘ื™ื•ืชืจ
ืžืกืคืจ ืžื›ื•ื ื” ืื• ืœื›ื™ื•ื•ืŸ ืžืกืคืจ ื”ืžื›ื•ื ื” ื”ื–ื•ื’ื™ ื‘ืžืงืจื” ืฉืœ ืชื™ืงื•.

m ืกื™ื‘ื•ื‘ ืœืขื‘ืจ ืžื™ื ื•ืก ืื™ื ืกื•ืฃ.

c ืžืฆื‘ ืขื™ื’ื•ืœ ืงืฆื•ืฅ. ืžืกืคืจื™ ื ืงื•ื“ื” ืฆืคื” ืžืขื•ื’ืœื™ื ืœืืคืก.

d ืžืฆื‘ ืขื™ื’ื•ืœ ื“ื™ื ืžื™. ืฉื“ื” ื‘ืคื ืงืก ื‘ืงืจืช ื”ื ืงื•ื“ื” ื”ืฆืคื” (fpcrืจืื”
ืžื“ืจื™ืš ืขื–ืจ ืœืืจื›ื™ื˜ืงื˜ื•ืจืช ืืœืคื) ืฉื•ืœื˜ ื‘ืžืฆื‘ ื”ืขื™ื’ื•ืœ ื‘ืคื•ืขืœ. ื”-C
ื”ืกืคืจื™ื™ื” ืžืืชื—ืœืช ืืช ื”ืื•ื’ืจ ื”ื–ื” ืœืขื™ื’ื•ืœ ืœืขื‘ืจ ืคืœื•ืก ืื™ื ืกื•ืฃ. ืœื›ืŸ,
ืืœื ืื ื”ืชื•ื›ื ื™ืช ืฉืœืš ืžืฉื ื” ืืช fpcr, d ืžืชืื™ื ืœืขื’ืœ ืœื›ื™ื•ื•ืŸ ืคืœื•ืก
ืื™ื ืกื•ืฃ.

-mtrap-precision=ืžืœื›ื•ื“ืช-ื“ื™ื•ืง
ื‘ืืจื›ื™ื˜ืงื˜ื•ืจืช ืืœืคื, ืžืœื›ื•ื“ื•ืช ื ืงื•ื“ื” ืฆืคื” ืื™ื ืŸ ืžื“ื•ื™ืงื•ืช. ื–ื” ืื•ืžืจ ื‘ืœื™
ืกื™ื•ืข ื‘ืชื•ื›ื ื” ืื™ ืืคืฉืจ ืœื”ืชืื•ืฉืฉ ืžืžืœื›ื•ื“ืช ืฆืคื” ื•ืชื•ื›ื ื™ืช
ื‘ื“ืจืš ื›ืœืœ ื™ืฉ ืœื”ืคืกื™ืง ืืช ื”ื‘ื™ืฆื•ืข. GCC ื™ื›ื•ืœ ืœื™ืฆื•ืจ ืงื•ื“ ืฉื™ื›ื•ืœ ืœืกื™ื™ืข
ืžื˜ืคืœื™ื ื‘ืžืœื›ื•ื“ื•ืช ืฉืœ ืžืขืจื›ืช ื”ื”ืคืขืœื” ื‘ืงื‘ื™ืขืช ื”ืžื™ืงื•ื ื”ืžื“ื•ื™ืง ืฉื’ืจื ืœ-
ืžืœื›ื•ื“ืช ื ืงื•ื“ื” ืฆืคื”. ื‘ื”ืชืื ืœื“ืจื™ืฉื•ืช ืฉืœ ืืคืœื™ืงืฆื™ื”, ืฉื•ื ื”
ื ื™ืชืŸ ืœื‘ื—ื•ืจ ืจืžื•ืช ื“ื™ื•ืง:

p ื“ื™ื•ืง ืชื•ื›ื ื™ืช. ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื•ืžืฉืžืขื•ืชื” ืฉืžื˜ืคืœ ื‘ืžืœื›ื•ื“ื•ืช ื™ื›ื•ืœ ืจืง
ืœื–ื”ื•ืช ืื™ื–ื• ืชื•ื›ื ื™ืช ื’ืจืžื” ืœื—ืจื™ื’ ื‘ื ืงื•ื“ื” ืฆืคื”.

f ื“ื™ื•ืง ืชืคืงื•ื“. ืžื˜ืคืœ ื”ืžืœื›ื•ื“ื•ืช ื™ื›ื•ืœ ืœืงื‘ื•ืข ืืช ื”ืคื•ื ืงืฆื™ื” ืฉื’ืจืžื” ืœ-a
ื—ืจื™ื’ ื ืงื•ื“ื” ืฆืคื”.

i ื“ื™ื•ืง ื”ื“ืจื›ื”. ืžื˜ืคืœ ื”ืžืœื›ื•ื“ื•ืช ื™ื›ื•ืœ ืœืงื‘ื•ืข ืืช ื”ื”ื•ืจืื” ื”ืžื“ื•ื™ืงืช
ื’ืจื ืœื—ืจื™ื’ืช ื ืงื•ื“ื” ืฆืคื”.

ืžื”ื“ืจื™ื ืื—ืจื™ื ืฉืœ ืืœืคื ืžืกืคืงื™ื ืืช ื”ืืคืฉืจื•ื™ื•ืช ื”ืžืงื‘ื™ืœื•ืช ืฉื ืงืจืื•ืช -scope_safe ื•
-resumption_safe.

-ืžื™ื™-ืชื•ืื
ืืคืฉืจื•ืช ื–ื• ืžืกืžื ืช ืืช ื”ืงื•ื“ ืฉื ื•ืฆืจ ื›ืชื•ืื IEEE. ืืกื•ืจ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื•
ืืœื ืื ื›ืŸ ืชืคืจื˜ -mtrap-precision=i ื•ื’ื -mfp-trap-mode=su or
-mfp-trap-mode=sui. ื”ื”ืฉืคืขื” ื”ื™ื—ื™ื“ื” ืฉืœื• ื”ื™ื ืคืœื™ื˜ืช ื”ืงื• .flag 48 ื‘ืคื•ื ืงืฆื™ื”
ืคืจื•ืœื•ื’ ืฉืœ ืงื•ื‘ืฅ ื”ื”ืจื›ื‘ื” ืฉื ื•ืฆืจ.

-mbuild-ืงื‘ื•ืขื™ื
ื‘ื“ืจืš ื›ืœืœ GCC ื‘ื•ื—ืŸ ืงื‘ื•ืข ืžืกืคืจ ืฉืœื ืฉืœ 32 ืื• 64 ืกื™ื‘ื™ื•ืช ื›ื“ื™ ืœืจืื•ืช ืื ื”ื•ื ื™ื›ื•ืœ ืœื‘ื ื•ืช ืื•ืชื•
ืžืงื‘ื•ืขื™ื ืงื˜ื ื™ื ื™ื•ืชืจ ื‘ืฉืชื™ื™ื ืื• ืฉืœื•ืฉ ื”ื•ืจืื•ืช. ืื ื”ื•ื ืœื ื™ื›ื•ืœ, ื”ื•ื ืžื•ืฆื™ื ืืช
ืงื‘ื•ืข ื‘ืชื•ืจ ืžื™ืœื•ืœื™ ื•ืžื™ื™ืฆืจ ืงื•ื“ ื›ื“ื™ ืœื˜ืขื•ืŸ ืื•ืชื• ืžืงื˜ืข ื”ื ืชื•ื ื™ื ื‘ื–ืžืŸ ื”ืจื™ืฆื”.

ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื›ื“ื™ ืœื“ืจื•ืฉ ืž-GCC ืœื‘ื ื•ืช ืืช ื›ืœ ืงื‘ื•ืขื™ื ืฉืœืžื™ื ื‘ืืžืฆืขื•ืช ืงื•ื“, ื’ื ืื
ื–ื” ื“ื•ืจืฉ ื™ื•ืชืจ ื”ื•ืจืื•ืช (ื”ืžืงืกื™ืžื•ื ื”ื•ื ืฉืฉ).

ื‘ื“ืจืš ื›ืœืœ ืืชื” ืžืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื›ื“ื™ ืœื‘ื ื•ืช ืžื˜ืขื™ืŸ ื“ื™ื ืžื™ ืฉืœ ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช. ืขืฆืžื• ื
ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช, ืขืœื™ื” ืœื”ืขื‘ื™ืจ ืืช ืขืฆืžื” ื‘ื–ื™ื›ืจื•ืŸ ืœืคื ื™ ืฉื”ื™ื ืชื•ื›ืœ ืœืžืฆื•ื ืืช ื”ืžืฉืชื ื™ื ื•
ืงื‘ื•ืขื™ื ื‘ืงื˜ืข ื”ื ืชื•ื ื™ื ืฉืœื•.

-mbwx
-mno-bwx
-mcix
-mno-cix
-mfix
-mno-fix
-ืžืžืงืก
-mno-max
ืฆื™ื™ืŸ ืื GCC ืฆืจื™ืš ืœื™ืฆื•ืจ ืงื•ื“ ื›ื“ื™ ืœื”ืฉืชืžืฉ ื‘-BWX, CIX, FIX ื•-MAX ื”ืื•ืคืฆื™ื•ื ืœื™ื™ื
ืขืจื›ื•ืช ื”ื•ืจืื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื”ืฉืชืžืฉ ื‘ืขืจื›ื•ืช ื”ื”ื•ืจืื•ืช ื”ื ืชืžื›ื•ืช ืขืœ ื™ื“ื™ ื”ืžืขื‘ื“
ืกื•ื’ ืฉืฆื•ื™ืŸ ื‘ืืžืฆืขื•ืช -mcpu= ืืคืฉืจื•ืช ืื• ื–ื• ืฉืœ ื”-CPU ืฉืขืœื™ื• ื ื‘ื ื” GCC ืื ืื™ืŸ
ื ึธืงื•ึผื‘.

-mfloat-vax
-mfloat-ieee
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘ื—ืฉื‘ื•ืŸ VAX F ื•-G ื‘ืžืงื•ื ื–ืืช
ืฉืœ IEEE ื“ื™ื•ืง ื™ื—ื™ื“ ื•ื›ืคื•ืœ.

-ืžืคื•ืจืฉ-ืจื™ืœื•ืงื™ื
-mno-explicit-relocs
ืžืจื›ื™ื‘ื™ ืืœืคื ืžื‘ื•ื’ืจื™ื ืœื ืกื™ืคืงื• ืฉื•ื ื“ืจืš ืœื™ืฆื•ืจ ื”ืขื‘ืจืช ืกืžืœื™ื ืžืœื‘ื“ ื‘ืืžืฆืขื•ืช
ืžืืงืจื• ืžืืงืจื•. ื”ืฉื™ืžื•ืฉ ื‘ืคืงื•ื“ื•ืช ืžืืงืจื• ืืœื• ืื™ื ื• ืžืืคืฉืจ ืชื–ืžื•ืŸ ื”ื•ืจืื•ืช ืžื™ื˜ื‘ื™.
GNU binutils ื”ื—ืœ ืžื’ืจืกื” 2.12 ืชื•ืžื›ืช ื‘ืชื—ื‘ื™ืจ ื—ื“ืฉ ื”ืžืืคืฉืจ ืœืžื”ื“ืจ ืœืขืฉื•ืช ื–ืืช
ืกืžืŸ ื‘ืžืคื•ืจืฉ ืื™ืœื• ืจื™ืœื•ืงื™ื™ืฉืŸ ืฆืจื™ืš ืœื—ื•ืœ ืขืœ ืื™ืœื• ื”ื•ืจืื•ืช. ืืคืฉืจื•ืช ื–ื• ื”ื™ื
ืฉื™ืžื•ืฉื™ ื‘ืขื™ืงืจ ืœื ื™ืคื•ื™ ื‘ืื’ื™ื, ืžื›ื™ื•ื•ืŸ ืฉ-GCC ืžื–ื”ื” ืืช ื”ื™ื›ื•ืœื•ืช ืฉืœ ื”-assembler ื›ืืฉืจ ื”ื•ื
ื‘ื ื•ื™ ื•ืžื’ื“ื™ืจ ืืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื‘ื”ืชืื.

-msmall-data
-ื”ื’ื“ืœื”-ื ืชื•ื ื™ื
ืžืชื™ -ืžืคื•ืจืฉ-ืจื™ืœื•ืงื™ื ื‘ืชื•ืงืฃ, ื ื™ืชืŸ ืœื’ืฉืช ืœื ืชื•ื ื™ื ืกื˜ื˜ื™ื™ื ื‘ืืžืฆืขื•ืช ืงืจื•ื‘ ืžืฉืคื—ื”
ืจื™ืœื•ืงื™ื™ืฉืŸ. ืžืชื™ -msmall-data ื‘ืฉื™ืžื•ืฉ, ืžื•ื ื—ื™ื ืื•ื‘ื™ื™ืงื˜ื™ื ื‘ืื•ืจืš 8 ื‘ืชื™ื ืื• ืคื—ื•ืช
a ืงื˜ืŸ ื ืชื•ื ื™ื ืื–ื•ืจ (ื”ืกืขื™ืคื™ื ".sdata" ื•-".sbss") ื•ื”ื’ื™ืฉื” ืืœื™ื”ื ื”ื™ื ื‘ืืžืฆืขื•ืช 16 ืกื™ื‘ื™ื•ืช
ืจื™ืœื•ืงื™ื™ืฉืŸ ืžื—ื•ืฅ ืœืคื ืงืก $gp. ื–ื” ืžื’ื‘ื™ืœ ืืช ื’ื•ื“ืœ ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ ืœ
64KB, ืืš ืžืืคืฉืจ ื’ื™ืฉื” ื™ืฉื™ืจื” ืœืžืฉืชื ื™ื ื‘ืืžืฆืขื•ืช ื”ื•ืจืื” ืื—ืช.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ื”ื’ื“ืœื”-ื ืชื•ื ื™ื. ืขื ืืคืฉืจื•ืช ื–ื• ืื–ื•ืจ ื”ื ืชื•ื ื™ื ืžื•ื’ื‘ืœ ืžืžืฉ ืžืชื—ืช
2GB. ืชื•ื›ื ื™ื•ืช ื”ื“ื•ืจืฉื•ืช ื™ื•ืชืจ ืž-2GB ืฉืœ ื ืชื•ื ื™ื ื—ื™ื™ื‘ื•ืช ืœื”ืฉืชืžืฉ ื‘-"malloc" ืื• "mmap" ื›ื“ื™
ืœื”ืงืฆื•ืช ืืช ื”ื ืชื•ื ื™ื ื‘ืขืจื™ืžื” ื‘ืžืงื•ื ื‘ืงื˜ืข ื”ื ืชื•ื ื™ื ืฉืœ ื”ืชื•ื›ื ื™ืช.

ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“ ืขื‘ื•ืจ ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช, -fpic ืžืจืžื– -msmall-data ื• -fPIC
ืžืจืžื– -ื”ื’ื“ืœื”-ื ืชื•ื ื™ื.

-msmall-text
-ื˜ืงืกื˜ ื’ื“ื•ืœ
ืžืชื™ -msmall-text ืžืฉืžืฉ, ื”ืžื”ื“ืจ ืžื ื™ื— ืฉื”ืงื•ื“ ืฉืœ ื”ืชื•ื›ื ื™ืช ื›ื•ืœื”
(ืื• ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช) ืžืชืื™ื ืœ-4MB, ื•ืœื›ืŸ ื ื™ืชืŸ ืœื”ื’ื™ืข ืืœื™ื• ืขื ื”ื•ืจืืช ืกื ื™ืฃ.
ืžืชื™ -msmall-data ืžืฉืžืฉ, ื”ืžื”ื“ืจ ื™ื›ื•ืœ ืœื”ื ื™ื— ืฉื›ืœ ื”ืกืžืœื™ื ื”ืžืงื•ืžื™ื™ื ื—ื•ืœืงื™ื ืืช
ืื•ืชื• ืขืจืš $gp, ื•ื‘ื›ืš ืœื”ืคื—ื™ืช ืืช ืžืกืคืจ ื”ื”ื•ืจืื•ืช ื”ื ื“ืจืฉื•ืช ืœืคื•ื ืงืฆื™ื”
ืœื”ืชืงืฉืจ ืž-4 ืขื“ 1.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ื˜ืงืกื˜ ื’ื“ื•ืœ.

-mcpu=cpu_type
ื”ื’ื“ืจ ืืช ืขืจื›ืช ื”ื”ื•ืจืื•ืช ื•ืคืจืžื˜ืจื™ ืชื–ืžื•ืŸ ื”ื”ื•ืจืื•ืช ืขื‘ื•ืจ ืกื•ื’ ื”ืžื›ื•ื ื”
cpu_type. ืืชื” ื™ื›ื•ืœ ืœืฆื™ื™ืŸ ืื• ืืช EV ืฉื ื”ืกื’ื ื•ืŸ ืื• ืžืกืคืจ ื”ืฉื‘ื‘ ื”ืžืชืื™ื.
GCC ืชื•ืžืš ื‘ืคืจืžื˜ืจื™ ืชื–ืžื•ืŸ ืขื‘ื•ืจ ืžืฉืคื—ืช ื”ืžืขื‘ื“ื™ื EV4, EV5 ื•-EV6
ื‘ื•ื—ืจ ืืช ืขืจื›ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืขืจื›ืช ื”ื”ื•ืจืื•ืช ืžื”ืžืขื‘ื“ ืฉืฆื™ื™ื ืช. ืื
ืื™ื ืš ืžืฆื™ื™ืŸ ืกื•ื’ ืžืขื‘ื“, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ GCC ื”ื™ื ื”ืžืขื‘ื“ ืฉื‘ื•
ืžื”ื“ืจ ื ื‘ื ื”.

ืขืจื›ื™ื ื ืชืžื›ื™ื ืขื‘ื•ืจ cpu_type ื™ืฉ ืœื•

Ev4
Ev45
21064
ืœื•ื— ื–ืžื ื™ื ื›-EV4 ื•ืื™ืŸ ืœื• ื”ืจื—ื‘ื•ืช ืฉืœ ืขืจื›ืช ื”ื•ืจืื•ืช.

Ev5
21164
ืœื•ื— ื–ืžื ื™ื ื›-EV5 ื•ืื™ืŸ ืœื• ื”ืจื—ื‘ื•ืช ืฉืœ ืขืจื›ืช ื”ื•ืจืื•ืช.

Ev56
21164a
ืžืชื–ืžืŸ ื›-EV5 ื•ืชื•ืžืš ื‘ื”ืจื—ื‘ื” BWX.

pca56
21164pc
21164PC
ืžืชื–ืžืŸ ื›-EV5 ื•ืชื•ืžืš ื‘ื”ืจื—ื‘ื•ืช BWX ื•-MAX.

Ev6
21264
ืžืชื–ืžืŸ ื›-EV6 ื•ืชื•ืžืš ื‘ื”ืจื—ื‘ื•ืช BWX, FIX ื•-MAX.

Ev67
21264a
ืžืชื–ืžืŸ ื›-EV6 ื•ืชื•ืžืš ื‘ื”ืจื—ื‘ื•ืช BWX, CIX, FIX ื•-MAX.

ื’ื ืจืฉืชื•ืช ื›ืœื™ื ืžืงื•ืจื™ื•ืช ืชื•ืžื›ื•ืช ื‘ืขืจืš ื™ืœื™ื“, ืฉื‘ื•ื—ืจ ืืช ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ื”ื˜ื•ื‘ื” ื‘ื™ื•ืชืจ
ืืคืฉืจื•ืช ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื”ืžืืจื—. -mcpu = ื™ืœื™ื“ ืื™ืŸ ื”ืฉืคืขื” ืื GCC ืื™ื ื• ืžื–ื”ื”
ื”ืžืขื‘ื“.

-mtune=cpu_type
ื”ื’ื“ืจ ืจืง ืืช ืคืจืžื˜ืจื™ ืชื–ืžื•ืŸ ื”ื”ื•ืจืื•ืช ืขื‘ื•ืจ ืกื•ื’ ื”ืžื›ื•ื ื” cpu_type. ื”
ืขืจื›ืช ื”ื”ื•ืจืื•ืช ืœื ืžืฉืชื ื”.

ื’ื ืจืฉืชื•ืช ื›ืœื™ื ืžืงื•ืจื™ื•ืช ืชื•ืžื›ื•ืช ื‘ืขืจืš ื™ืœื™ื“, ืฉื‘ื•ื—ืจ ืืช ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ื”ื˜ื•ื‘ื” ื‘ื™ื•ืชืจ
ืืคืฉืจื•ืช ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื”ืžืืจื—. -mtune=native ืื™ืŸ ื”ืฉืคืขื” ืื GCC ืื™ื ื• ืžื–ื”ื”
ื”ืžืขื‘ื“.

-ื–ื™ื›ืจื•ืŸ-ื”ืฉื”ื™ื™ื”=ื–ืžืŸ
ืžื’ื“ื™ืจ ืืช ื–ืžืŸ ื”ื”ืฉื”ื™ื” ืฉื”ืžืชื–ืžืŸ ืืžื•ืจ ืœืงื‘ืœ ืขื‘ื•ืจ ื”ืคื ื™ื•ืช ื–ื™ื›ืจื•ืŸ ื˜ื™ืคื•ืกื™ื•ืช ื›ืคื™ ืฉื ืจืื” ืขืœ ื™ื“ื™
ื”ื™ื™ืฉื•ื. ืžืกืคืจ ื–ื” ืชืœื•ื™ ืžืื•ื“ ื‘ื“ืคื•ืกื™ ื”ื’ื™ืฉื” ืœื–ื™ื›ืจื•ืŸ ื”ืžืฉืžืฉื™ื
ืœืคื™ ื”ืืคืœื™ืงืฆื™ื” ื•ื’ื•ื“ืœ ื”ืžื˜ืžื•ืŸ ื”ื—ื™ืฆื•ื ื™ ื‘ืžื›ื•ื ื”.

ืืคืฉืจื•ื™ื•ืช ืชืงืคื•ืช ืขื‘ื•ืจ ื–ืžืŸ ื™ืฉ ืœื•

ืžืกืคืจ
ืžืกืคืจ ืขืฉืจื•ื ื™ ื”ืžื™ื™ืฆื’ ืžื—ื–ื•ืจื™ ืฉืขื•ืŸ.

L1
L2
L3
ืจืืฉื™
ื”ืžื”ื“ืจ ืžื›ื™ืœ ืื•ืžื“ื ื™ื ืฉืœ ืžืกืคืจ ืžื—ื–ื•ืจื™ ื”ืฉืขื•ืŸ ืขื‘ื•ืจ EV4 & "ื˜ื™ืคื•ืกื™ื™ื"
ื—ื•ืžืจืช EV5 ืขื‘ื•ืจ ื”ืžื˜ืžื•ื ื™ื ื‘ืจืžื” 1, 2 ื•-3 (ื ืงืจืื™ื ื’ื Dcache, Scache ื•-
Bcache), ื›ืžื• ื’ื ืœื–ื™ื›ืจื•ืŸ ื”ืจืืฉื™. ืฉื™ืžื• ืœื‘ ืฉ-L3 ืชืงืฃ ืจืง ืขื‘ื•ืจ EV5.

FR30 ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืืœื” ืžื•ื’ื“ืจื•ืช ื‘ืžื™ื•ื—ื“ ืขื‘ื•ืจ ื™ืฆื™ืืช FR30.

-msmall-model
ื”ืฉืชืžืฉ ื‘ืžื•ื“ืœ ืžืจื—ื‘ ื”ื›ืชื•ื‘ื•ืช ื”ืงื˜ืŸ. ื–ื” ื™ื›ื•ืœ ืœื™ื™ืฆืจ ืงื•ื“ ืงื˜ืŸ ื™ื•ืชืจ, ืื‘ืœ ื–ื” ืžื ื™ื—
ืฉื›ืœ ื”ืขืจื›ื™ื ื•ื”ื›ืชื•ื‘ื•ืช ื”ืกืžืœื™ื™ื ืžืชืื™ืžื™ื ืœื˜ื•ื•ื— ืฉืœ 20 ืกื™ื‘ื™ื•ืช.

-ืžื ื•-ืœืกื™ื
ื ื ื™ื— ืฉืกื•ืคืงื” ืชืžื™ื›ื” ื‘ื–ืžืŸ ืจื™ืฆื” ื•ืœื›ืŸ ืื™ืŸ ืฆื•ืจืš ืœื›ืœื•ืœ ืืช
ืกืคืจื™ื™ืช ืกื™ืžื•ืœื˜ื•ืจ (ืœื™ื‘ืกื™ื.ื) ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื” ื”ืžืงืฉืจืช.

FRV ืืคืฉืจื•ื™ื•ืช

-mgpr-32
ื”ืฉืชืžืฉ ืจืง ื‘-32 ื”ืจืฉืžื™ื ื”ืจืืฉื•ื ื™ื ืœืฉื™ืžื•ืฉ ื›ืœืœื™.

-mgpr-64
ื”ืฉืชืžืฉ ื‘ื›ืœ 64 ื”ืื•ื’ืจื™ื ืœืฉื™ืžื•ืฉ ื›ืœืœื™.

-mfpr-32
ื”ืฉืชืžืฉ ืจืง ื‘-32 ื”ืจืฉืžื™ื ื”ืจืืฉื•ื ื™ื ืฉืœ ื”ื ืงื•ื“ื” ื”ืฆืคื”.

-mfpr-64
ื”ืฉืชืžืฉ ื‘ื›ืœ 64 ืื•ื’ืจื™ ื”ื ืงื•ื“ื” ื”ืฆืคื”.

-mhard-float
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ื—ื•ืžืจื” ืœืคืขื•ืœื•ืช ื‘ื ืงื•ื“ื” ืฆืคื”.

-msoft-float
ื”ืฉืชืžืฉ ื‘ืฉื’ืจื” ืฉืœ ืกืคืจื™ื™ื” ืขื‘ื•ืจ ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”.

-malloc-cc
ื”ืงืฆืื” ื“ื™ื ืžื™ืช ืฉืœ ืื•ื’ืจื™ ืงื•ื“ ืžืฆื‘.

-mfixed-cc
ืืœ ืชื ืกื” ืœื”ืงืฆื•ืช ื‘ืื•ืคืŸ ื“ื™ื ืžื™ ืื•ื’ืจื™ ืงื•ื“ ืžืฆื‘ื™ื, ื”ืฉืชืžืฉ ืจืง ื‘- "icc0" ื•
"fcc0".

-mdword
ืฉื ื” ABI ืœืฉื™ืžื•ืฉ ื‘-insns ืฉืœ ืžื™ืœื™ื ื›ืคื•ืœื•ืช.

-mno-dword
ืืœ ืชืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืžื™ืœื” ื›ืคื•ืœื•ืช.

-mdouble
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ื›ืคื•ืœื•ืช ืฉืœ ื ืงื•ื“ื” ืฆืคื”.

-mno-ื›ืคื•ืœ
ืืœ ืชืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ื›ืคื•ืœื•ืช ืฉืœ ื ืงื•ื“ื” ืฆืคื”.

-ืžืžื“ื™ื”
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืžื“ื™ื”.

-mno-media
ืืœ ืชืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืžื“ื™ื”.

-ืžื•ืœืื“
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ื”ื›ืคืœ ื•ื—ื™ื‘ื•ืจ/ื”ื•ืจื“ื”.

-mno-muladd
ืื™ืŸ ืœื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ื”ื›ืคืœ ื•ื—ื™ื‘ื•ืจ/ื”ืคื—ืชื”.

-mfdpic
ื‘ื—ืจ ืืช ื”-FDPIC ABI, ื”ืžืฉืชืžืฉ ื‘ืชื™ืื•ืจื™ ืคื•ื ืงืฆื™ื•ืช ื›ื“ื™ ืœื™ื™ืฆื’ ืžืฆื‘ื™ืขื™ื
ืคื•ื ืงืฆื™ื•ืช. ืœืœื ื›ืœ ืืคืฉืจื•ื™ื•ืช ื”ืงืฉื•ืจื•ืช ืœ-PIC/PIE, ื–ื” ืžืจืžื– -fPIE. ืขื -fpic or
-fpie, ื”ื•ื ืžื ื™ื— ืฉื›ื ื™ืกื•ืช GOT ื•ื ืชื•ื ื™ื ืงื˜ื ื™ื ื ืžืฆืื™ื ื‘ื˜ื•ื•ื— ืฉืœ 12 ืกื™ื‘ื™ื•ืช ืžื”-GOT
ื›ืชื•ื‘ืช ื”ื‘ืกื™ืก; ืขื -fPIC or -fPIE, ืงื™ื–ื•ื– GOT ืžื—ื•ืฉื‘ื™ื ืขื 32 ืกื™ื‘ื™ื•ืช. ืขื
bfin-elf ื™ืขื“, ืืคืฉืจื•ืช ื–ื• ืžืจืžื–ืช -ืžืกื™ื.

-minline-plt
ืืคืฉืจ ื”ื˜ืžืขื” ืฉืœ ืขืจื›ื™ PLT ื‘ืงืจื™ืื•ืช ืคื•ื ืงืฆื™ื” ืœืคื•ื ืงืฆื™ื•ืช ืฉืื™ื ืŸ ืžื•ื›ืจื•ืช ืœื”ืŸ
ืœืื’ื“ ื‘ืื•ืคืŸ ืžืงื•ืžื™. ืื™ืŸ ืœื–ื” ื”ืฉืคืขื” ื‘ืœื™ -mfdpic. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืื
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืœืžื”ื™ืจื•ืช ื•ื”ื™ื“ื•ืจ ืขื‘ื•ืจ ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช (ื›ืœื•ืžืจ, -fPIC or -fpic), ืื•
ื›ืืฉืจ ืืคืฉืจื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื›ื’ื•ืŸ -O3 ืื• ืœืžืขืœื” ืงื™ื™ื ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”.

-mTLS
ื”ื ื— ืžืงื˜ืข TLS ื’ื“ื•ืœ ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“ ืžืงื•ืžื™.

-mtls
ืืœ ืชื ื™ื— ืžืงื˜ืข TLS ื’ื“ื•ืœ ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“ ืžืงื•ืžื™.

-mgprel-ro
ืืคืฉืจ ืืช ื”ืฉื™ืžื•ืฉ ื‘ืจื™ืœื•ืงื™ื™ืฉืŸ "GPREL" ื‘-FDPIC ABI ืขื‘ื•ืจ ื ืชื•ื ื™ื ืฉื™ื“ื•ืข ืฉื”ื ื ืžืฆืื™ื ื‘
ืกืขื™ืคื™ื ืœืงืจื™ืื” ื‘ืœื‘ื“. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืœืžืขื˜ -fpic or -fpie: ืœืžืจื•ืช ืฉ
ื–ื” ืขืฉื•ื™ ืœืขื–ื•ืจ ืœื”ืงื˜ื™ืŸ ืืช ื˜ื‘ืœืช ื”ืงื™ื–ื•ื– ื”ืขื•ืœืžื™ืช, ื”ื•ื ืกื•ื—ืจ ื‘ื”ื•ืจืื” ืื—ืช ื‘-1. ืขื
-fPIC or -fPIE, ื”ื•ื ืกื•ื—ืจ ื‘-3 ื”ื•ืจืื•ืช ืชืžื•ืจืช 4, ืฉืื—ืช ืžื”ืŸ ืขืฉื•ื™ื” ืœื”ื™ื•ืช ืžืฉื•ืชืคืช ืœืžืกืคืจื™ื
ืกืžืœื™ื, ื•ื–ื” ืžื•ื ืข ืืช ื”ืฆื•ืจืš ื‘ื”ื–ื ืช GOT ืขื‘ื•ืจ ื”ืกืžืœ ืฉืืœื™ื• ืžืชื™ื™ื—ืกื™ื, ืื– ื–ื”ื•
ื™ื•ืชืจ ืกื™ื›ื•ื™ ืœื ื™ืฆื—ื•ืŸ. ืื ื–ื” ืœื, -mno-gprel-ro ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื›ื“ื™ ืœื”ืฉื‘ื™ืช ืื•ืชื•.

-ืจื‘-ืกืคืจื™ื™ื”-ืชืžื•ื ื”
ืงื™ืฉื•ืจ ืขื ืกืคืจื™ื•ืช ื”ืชืžื•ื ื•ืช (ืกืคืจื™ื™ื”, ืœื FD). ื–ื” ืžืฉืชืžืข ืขืœ ื™ื“ื™ -mlibrary-ืชืžื•ื ื”, ื’ื ื›ืŸ
ื›ืžื• ืขืœ ื™ื“ื™ -fPIC ื• -fpic ืœึฐืœึนื -mfdpic. ืœืขื•ืœื ืœื ืชืฆื˜ืจืš ืœื”ืฉืชืžืฉ ื‘ื• ื‘ืื•ืคืŸ ืžืคื•ืจืฉ.

-mlinked-fp
ืขืงื•ื‘ ืื—ืจ ื“ืจื™ืฉืช EABI ืฉืœ ื™ืฆื™ืจืช ืžืฆื‘ื™ืข ืžืกื’ืจืช ืชืžื™ื“ ื‘ื›ืœ ืคืขื ืฉื™ืฉ ืžืกื’ืจืช ืžื—ืกื ื™ืช
ืžื•ืงืฆื”. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื•ื ื™ืชืŸ ืœื‘ื˜ืœ ืื•ืชื” ื‘ืืžืฆืขื•ืช
-mno-linked-fp.

-ืžืœื•ื ื’-ืฉื™ื—ื•ืช
ื”ืฉืชืžืฉ ื‘ื›ืชื•ื‘ืช ืขืงื™ืคื” ื›ื“ื™ ืœืงืจื•ื ืœืคื•ื ืงืฆื™ื•ืช ืžื—ื•ืฅ ืœื™ื—ื™ื“ืช ื”ื”ื™ื“ื•ืจ ื”ื ื•ื›ื—ื™ืช. ื–ึถื”
ืžืืคืฉืจ ืœืžืงื ืืช ื”ืคื•ื ืงืฆื™ื•ืช ื‘ื›ืœ ืžืงื•ื ื‘ืžืจื—ื‘ ื”ื›ืชื•ื‘ื•ืช ืฉืœ 32 ืกื™ื‘ื™ื•ืช.

-ืžืžืื™ืจ-ืชื•ื•ื™ื•ืช
ื ืกื” ืœื™ื™ืฉืจ ืชื•ื•ื™ื•ืช ืœื’ื‘ื•ืœ ืฉืœ 8 ื‘ืชื™ื ืขืœ ื™ื“ื™ ื”ื›ื ืกืช NOPs ืœื—ื‘ื™ืœื” ื”ืงื•ื“ืžืช.
ืืคืฉืจื•ืช ื–ื• ืžืฉืคื™ืขื” ืจืง ื›ืืฉืจ ืืจื™ื–ื” VLIW ืžื•ืคืขืœืช. ื–ื” ืœื ื™ื•ืฆืจ ื—ื“ืฉ
ืžื ื•ืช; ื–ื” ืจืง ืžื•ืกื™ืฃ NOPs ืœืงื™ื™ืžื™ื.

-mlibrary-ืชืžื•ื ื”
ืฆื•ืจ ืงื•ื“ EABI ื‘ืœืชื™ ืชืœื•ื™ ื‘ืžื™ืงื•ื.

-mac-4
ื”ืฉืชืžืฉ ืจืง ื‘ืืจื‘ืขืช ืื•ื’ืจื™ ืฆื‘ื™ืจืช ื”ืžื“ื™ื” ื”ืจืืฉื•ื ื™ื.

-mac-8
ื”ืฉืชืžืฉ ื‘ื›ืœ ืฉืžื•ื ืช ืื•ื’ืจื™ ืžืฆื‘ื•ืจื™ ื”ืžื“ื™ื”.

-mpack
ืืจื•ื– ื”ื•ืจืื•ืช VLIW.

-ืžื ื•-ื—ื‘ื™ืœื”
ืื™ืŸ ืœืืจื•ื– ื”ื•ืจืื•ืช VLIW.

-mno-flags
ืื™ืŸ ืœืกืžืŸ ืžืชื’ื™ ABI ื‘-e_flags.

-mcond-move
ืืคืฉืจ ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ืชื ื•ืขื” ืžื•ืชื ื™ืช (ื‘ืจื™ืจืช ืžื—ื“ืœ).

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-mno-cond-move
ื”ืฉื‘ืช ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ืœื”ื–ื–ื” ืžื•ืชื ื™ืช.

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-mscc
ืืคืฉืจ ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ืกื˜ ืžื•ืชื ื” (ื‘ืจื™ืจืช ืžื—ื“ืœ).

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-mno-scc
ื”ืฉื‘ืช ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ืกื˜ ืžื•ืชื ื”.

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-mcond-exec
ืืคืฉืจ ืืช ื”ืฉื™ืžื•ืฉ ื‘ื‘ื™ืฆื•ืข ืžื•ืชื ื” (ื‘ืจื™ืจืช ืžื—ื“ืœ).

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-mno-cond-exec
ื”ืฉื‘ืช ืืช ื”ืฉื™ืžื•ืฉ ื‘ื‘ื™ืฆื•ืข ืžื•ืชื ื”.

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-mvliw-ืขื ืฃ
ื”ืคืขืœ ืžืขื‘ืจ ืœืืจื™ื–ืช ืขื ืคื™ื ื‘ื”ื•ืจืื•ืช VLIW (ื‘ืจื™ืจืช ืžื—ื“ืœ).

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-ืžื ื•-ืคืœื™ื•ื•-ืขื ืฃ
ืืœ ืชืคืขื™ืœ ื›ืจื˜ื™ืก ืœืืจื™ื–ืช ืขื ืคื™ื ื‘ื”ื•ืจืื•ืช VLIW.

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-multi-cond-exec
ืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ "&&" ื•-"||" ื‘ื‘ื™ืฆื•ืข ืžื•ืชื ื” (ื‘ืจื™ืจืช ืžื—ื“ืœ).

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-mno-multi-cond-exec
ื”ืฉื‘ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ "&&" ื•-"||" ื‘ื‘ื™ืฆื•ืข ืžื•ืชื ื”.

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-mnested-cond-exec
ืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ื‘ื™ืฆื•ืข ืžื•ืชื ื” ืžืงื•ื ืŸ (ื‘ืจื™ืจืช ืžื—ื“ืœ).

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-mno-nested-cond-exec
ื”ืฉื‘ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ื‘ื™ืฆื•ืข ืžื•ืชื ื” ืžืงื•ื ื ื•ืช.

ืžืชื’ ื–ื” ื ื•ืขื“ ื‘ืขื™ืงืจ ืœืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ื•ื›ื ืจืื” ื™ื•ืกืจ ื‘-a
ื’ืจืกื” ืขืชื™ื“ื™ืช.

-moptimize-membar
ืžืชื’ ื–ื” ืžืกื™ืจ ื”ื•ืจืื•ืช "ืžืžื‘ืจ" ืžื™ื•ืชืจื•ืช ืžื”ืงื•ื“ ืฉื ื•ืฆืจ ืžื”ืžื”ื“ืจ.
ื”ื•ื ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-mno-optimize-membar
ืžืชื’ ื–ื” ืžืฉื‘ื™ืช ืืช ื”ื”ืกืจื” ื”ืื•ื˜ื•ืžื˜ื™ืช ืฉืœ ื”ื•ืจืื•ืช "ืžืžื‘ืจ" ืžื™ื•ืชืจื•ืช ืžื”-
ืงื•ื“ ืฉื ื•ืฆืจ.

-mtomcat-stats
ื’ืจื ืœื’ื– ืœื”ื“ืคื™ืก ืกื˜ื˜ื™ืกื˜ื™ืงื•ืช ืฉืœ ื—ืชื•ืœื™ื.

-mcpu=ืžืขื‘ื“
ื‘ื—ืจ ืืช ืกื•ื’ ื”ืžืขื‘ื“ ืฉืขื‘ื•ืจื• ืœื™ืฆื•ืจ ืงื•ื“. ืขืจื›ื™ื ืืคืฉืจื™ื™ื ื”ื frv, fr550,
ื—ืชื•ืœ, fr500, fr450, fr405, fr400, fr300 ื• ืคืฉื•ื˜.

ื’ื ื• / ืœื™ื ื•ืงืก ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื™ืขื“ื™ GNU/Linux:

-mglibc
ื”ืฉืชืžืฉ ื‘ืกืคืจื™ื™ืช GNU C. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืœืžืขื˜ ืžื•ืคืขืœ *-*-linux-*uclibc* ื•
*-*-linux-*ืื ื“ืจื•ืื™ื“* ืžื˜ืจื•ืช.

-muclibc
ื”ืฉืชืžืฉ ื‘ืกืคืจื™ื™ืช uClibc C. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืคื•ืขืœืช *-*-linux-*uclibc* ืžื˜ืจื•ืช.

-ืžื‘ื™ื•ื ื™
ื”ืฉืชืžืฉ ื‘ืกืคืจื™ื™ืช Bionic C. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืคื•ืขืœืช *-*-linux-*ืื ื“ืจื•ืื™ื“* ืžื˜ืจื•ืช.

-ืžืื ื“ืจื•ืื™ื“
ื”ื™ื“ื•ืจ ืงื•ื“ ืชื•ืื ืœืคืœื˜ืคื•ืจืžืช ืื ื“ืจื•ืื™ื“. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืคื•ืขืœืช
*-*-linux-*ืื ื“ืจื•ืื™ื“* ืžื˜ืจื•ืช.

ื‘ืขืช ื”ืงื•ืžืคื™ืœืฆื™ื”, ืืคืฉืจื•ืช ื–ื• ืžืืคืฉืจืช -ืžื‘ื™ื•ื ื™, -fPIC, -fno-ื—ืจื™ื’ื™ื ื• -fno-rtti by
ื‘ึผึฐืจึดื™ืจึทืช ืžึถื—ื“ึธืœ. ื‘ืขืช ื”ืงื™ืฉื•ืจ, ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช ืœืžื ื”ืœ ื”ืชืงืŸ GCC ืœืขื‘ื•ืจ ืืคืฉืจื•ื™ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœืื ื“ืจื•ืื™ื“
ืœืžืงืฉืจ. ืœื‘ืกื•ืฃ, ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช ืœืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“ "__ANDROID__" ืœื”ื™ื•ืช
ืžื•ึผื’ื“ึธืจ.

-tno-android-cc
ื”ืฉื‘ืช ืืคืงื˜ื™ ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ -ืžืื ื“ืจื•ืื™ื“, ื›ืœื•ืžืจ, ืืœ ืชืคืขื™ืœ -ืžื‘ื™ื•ื ื™, -fPIC,
-fno-ื—ืจื™ื’ื™ื ื• -fno-rtti ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-tno-android-ld
ื”ืฉื‘ืช ืืช ืืคืงื˜ื™ ื”ืงื™ืฉื•ืจ ืฉืœ -ืžืื ื“ืจื•ืื™ื“, ื›ืœื•ืžืจ, ืœื”ืขื‘ื™ืจ ืืคืฉืจื•ื™ื•ืช ืงื™ืฉื•ืจ ืกื˜ื ื“ืจื˜ื™ื•ืช ืฉืœ ืœื™ื ื•ืงืก ืœ-
ืžืงืฉืจ.

H8 / 300 ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ H8/300:

-ืœื”ื™ืจื’ืข
ืงืฆืจ ื›ืžื” ื”ืคื ื™ื•ืช ืœื›ืชื•ื‘ื•ืช ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ, ื‘ืžื™ื“ืช ื”ืืคืฉืจ; ืžืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ืงื™ืฉื•ืจ
-ืœึฐื”ึดืจึธื’ึทืข.

-ืž"ื” ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ H8/300H.

-ื’ื‘ืจืช ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ H8S.

-ืžื  ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ H8S ื•-H8/300H ื‘ืžืฆื‘ ืจื’ื™ืœ. ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืžืชื’ ื–ื”
ืื• ืขื -ืž"ื” or -ื’ื‘ืจืช.

-ms2600
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ H8S/2600. ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืžืชื’ ื–ื” ืขื -ื’ื‘ืจืช.

-mexr
ืื•ื’ืจื™ื ืžื•ืจื—ื‘ื™ื ืžืื•ื—ืกื ื™ื ืขืœ ืžื—ืกื ื™ืช ืœืคื ื™ ื‘ื™ืฆื•ืข ื”ืคื•ื ืงืฆื™ื” ืขื ืฆื’
ืชึฐื›ื•ึผื ึธื”. ืืคืฉืจื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mexr. ืืคืฉืจื•ืช ื–ื• ืชืงืคื” ืจืง ืขื‘ื•ืจ ื™ืขื“ื™ H8S.

-mno-exr
ืื•ื’ืจื™ื ืžื•ืจื—ื‘ื™ื ืื™ื ื ืžืื•ื—ืกื ื™ื ื‘ืขืจื™ืžื” ืœืคื ื™ ื‘ื™ืฆื•ืข ื”ืคื•ื ืงืฆื™ื” ืขื ื”ืžื•ื ื™ื˜ื•ืจ
ืชึฐื›ื•ึผื ึธื”. ืืคืฉืจื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mno-exr. ืืคืฉืจื•ืช ื–ื• ืชืงืคื” ืจืง ืขื‘ื•ืจ ื™ืขื“ื™ H8S.

-ืžื ื˜ื”32
ื”ืคื•ืš ื ืชื•ื ื™ "int" ืœ-32 ืกื™ื‘ื™ื•ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืžืžืื™ืจ-300
ื‘-H8/300H ื•ื‘-H8S, ื”ืฉืชืžืฉ ื‘ืื•ืชื ื›ืœืœื™ ื™ื™ืฉื•ืจ ื›ืžื• ื‘-H8/300. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ืขื‘ื•ืจ H8/300H ื•-H8S ื”ื™ื ืœื™ื™ืฉืจ ืื•ืจืš ื•ืฆืฃ ืขืœ ื’ื‘ื•ืœื•ืช ืฉืœ 4 ื‘ืชื™ื.
-ืžืžืื™ืจ-300 ื’ื•ืจื ืœื”ื ืœื”ื™ื•ืช ืžื™ื•ืฉืจื™ื ืขืœ ื’ื‘ื•ืœื•ืช ืฉืœ 2 ื‘ืชื™ื. ืœืืคืฉืจื•ืช ื–ื• ืื™ืŸ ื”ืฉืคืขื”
ื‘-H8/300.

HPPA ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ืžืฉืคื—ืช ืžื—ืฉื‘ื™ HPPA:

-ืžืจืฅ=ืกื•ื’ ืื“ืจื™ื›ืœื•ืช
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ืฉืฆื•ื™ื ื”. ื”ื‘ื—ื™ืจื•ืช ืขื‘ื•ืจ ืกื•ื’ ืื“ืจื™ื›ืœื•ืช ื™ืฉ ืœื•
1.0 ืขื‘ื•ืจ PA 1.0, 1.1 ืขื‘ื•ืจ PA 1.1, ื• 2.0 ืขื‘ื•ืจ ืžืขื‘ื“ื™ PA 2.0. ืžืชื™ื™ื—ืก
/usr/lib/sched.models ืขืœ ืžืขืจื›ืช HP-UX ื›ื“ื™ ืœืงื‘ื•ืข ืืช ืืคืฉืจื•ืช ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ื”ืžืชืื™ืžื”
ืขื‘ื•ืจ ื”ืžื›ื•ื ื” ืฉืœืš. ืงื•ื“ ืฉื ืขืจืš ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืขื ืžืกืคืจ ื ืžื•ืš ื™ื•ืชืจ ืคื•ืขืœ ืขืœ ื’ื‘ื•ื” ื™ื•ืชืจ
ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืžืžื•ืกืคืจื•ืช, ืื‘ืœ ืœื ืœื”ื™ืคืš.

-mpa-risc-1-0
-mpa-risc-1-1
-mpa-risc-2-0
ืžื™ืœื™ื ื ืจื“ืคื•ืช ืœ -ืžืจืฅ=1.0, -ืžืจืฅ=1.1, ื• -ืžืจืฅ=2.0 ื‘ื”ืชืืžื”.

-ืžื‘ื™ื’-ืžืชื’
ืฆื•ืจ ืงื•ื“ ืžืชืื™ื ืœื˜ื‘ืœืื•ืช ืžืชื’ ื’ื“ื•ืœื•ืช. ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืจืง ืื
ืžืืกืฃ/ืžืงืฉืจ ืžืชืœื•ื ืŸ ืขืœ ืขื ืคื™ื ืžื—ื•ืฅ ืœื˜ื•ื•ื— ื‘ืชื•ืš ื˜ื‘ืœืช ืžืชื’ื™ื.

-mjump-in-delay
ืžืœื ืžืฉื‘ืฆื•ืช ืขื™ื›ื•ื‘ ืฉืœ ืงืจื™ืื•ืช ืคื•ื ืงืฆื™ื” ืขื ื”ื•ืจืื•ืช ืงืคื™ืฆื” ืœืœื ืชื ืื™ ืขืœ ื™ื“ื™ ืฉื™ื ื•ื™
ืžืฆื‘ื™ืข ื”ื”ื—ื–ืจื” ืขื‘ื•ืจ ืงืจื™ืืช ื”ืคื•ื ืงืฆื™ื” ืชื”ื™ื” ื”ื™ืขื“ ืฉืœ ื”ืงืคื™ืฆื” ื”ืžื•ืชื ื™ืช.

-mdisable-fpregs
ืžื ืข ืฉื™ืžื•ืฉ ื‘ืจื’ื™ืกื˜ืจื™ื ืฉืœ ื ืงื•ื“ื” ืฆืคื” ื‘ื›ืœ ื“ืจืš ืฉื”ื™ื. ื–ื” ื”ื›ืจื—ื™ ืขื‘ื•ืจ
ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ื’ืจืขื™ื ื™ื ืฉืžื‘ืฆืขื™ื ื”ื—ืœืคืช ื”ืงืฉืจ ืขืฆืœื” ืฉืœ ืื•ื’ืจื™ ื ืงื•ื“ื” ืฆืคื”. ืื
ืืชื” ืžืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื•ืžื ืกื” ืœื‘ืฆืข ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”, ื”ืžื”ื“ืจ
ืžืคื™ืœ.

-mdisable-indexing
ืžื ืข ืžื”ืžื”ื“ืจ ืœื”ืฉืชืžืฉ ื‘ืžืฆื‘ื™ ื›ืชื•ื‘ืช ืื™ื ื“ืงืก. ื–ื” ื ืžื ืข ืงืฆืช ื™ื•ืชืจ
ื‘ืขื™ื•ืช ืžืขื•ืจืคืœื•ืช ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืงื•ื“ ืฉื ื•ืฆืจ ื‘-MIG ืชื—ืช MACH.

-mno-space-regs
ืฆื•ืจ ืงื•ื“ ืฉืžื ื™ื— ืฉืœืžื˜ืจื” ืื™ืŸ ืื•ื’ืจื™ ืฉื˜ื—. ื–ื” ืžืืคืฉืจ ืœ-GCC ืœืขืฉื•ืช ื–ืืช
ืœื™ืฆื•ืจ ืฉื™ื—ื•ืช ืขืงื™ืคื•ืช ืžื”ื™ืจื•ืช ื™ื•ืชืจ ื•ืœื”ืฉืชืžืฉ ื‘ืžืฆื‘ื™ ื›ืชื•ื‘ืช ืื™ื ื“ืงืก ืœื ืžื•ืชืืžื™ื.

ืงื•ื“ ื›ื–ื” ืžืชืื™ื ืœืžืขืจื›ื•ืช PA ื•ืงืจื ืœื™ื ื‘ืจืžื” 0.

-ืฉื™ื—ื•ืช ื‘ืœืชื™ ื™ืฉื™ืจื•ืช
ืฆื•ืจ ืงื•ื“ ืฉืžื ื™ื— ืฉืฉื™ื—ื•ืช ืœืขื•ืœื ืœื ื—ื•ืฆื•ืช ืืช ื’ื‘ื•ืœื•ืช ื”ื—ืœืœ. ื–ื” ืžืืคืฉืจ ืœ-GCC ืœืขืฉื•ืช ื–ืืช
ืคื•ืœื˜ ืงื•ื“ ืฉืžื‘ืฆืข ืฉื™ื—ื•ืช ืขืงื™ืคื•ืช ืžื”ื™ืจื•ืช ื™ื•ืชืจ.

ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืคื•ืขืœืช ื‘ื ื•ื›ื—ื•ืช ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ืื• ืคื•ื ืงืฆื™ื•ืช ืžืงื•ื ื ื•ืช.

-mfixed-range=ืจื™ืฉื•ื-ื˜ื•ื•ื—
ืฆื•ืจ ืงื•ื“ ื”ืžืชื™ื™ื—ืก ืœื˜ื•ื•ื— ื”ืื•ื’ืจ ื”ื ืชื•ืŸ ื›ืืœ ืื•ื’ืจื™ื ืงื‘ื•ืขื™ื. ืคื ืงืก ืงื‘ื•ืข
ื”ื•ื ื›ื–ื” ืฉืžืงืฆื™ ื”ืจืฉื•ืžื•ืช ืœื ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื•. ื–ื” ืฉื™ืžื•ืฉื™ ื‘ืขืช ื”ื™ื“ื•ืจ ืœื™ื‘ื”
ืงื•ื“. ื˜ื•ื•ื— ืจื™ืฉื•ื ืžืฆื•ื™ืŸ ื›ืฉื ื™ ืื•ื’ืจื™ื ืžื•ืคืจื“ื™ื ื‘ืืžืฆืขื•ืช ืžืงืฃ. ืžืจื•ื‘ื•ืช
ื ื™ืชืŸ ืœืฆื™ื™ืŸ ื˜ื•ื•ื—ื™ ืจื™ืฉื•ื ืžื•ืคืจื“ื™ื ื‘ืืžืฆืขื•ืช ืคืกื™ืง.

-ืžืœื•ื ื’-load-store
ืฆื•ืจ ืขื•ืžืก ืฉืœ 3 ื”ื•ืจืื•ืช ื•ืื—ืกืŸ ืจืฆืคื™ื ื›ืคื™ ืฉื ื“ืจืฉ ืœืคืขืžื™ื ืขืœ ื™ื“ื™ HP-UX 10
ืžืงืฉืจ. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ +k ืืคืฉืจื•ืช ืœืžื”ื“ืจื™ื ืฉืœ HP.

-ื–ืžืŸ ืจื™ืฆื” ื ื™ื™ื“
ื”ืฉืชืžืฉ ื‘ืžื•ืกื›ืžื•ืช ื”ืฉื™ื—ื•ืช ื”ื ื™ื™ื“ื•ืช ื”ืžื•ืฆืขื•ืช ืขืœ ื™ื“ื™ HP ืขื‘ื•ืจ ืžืขืจื›ื•ืช ELF.

-ืžื’ื–
ืืคืฉืจ ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื ื—ื™ื•ืช assembler ืฉืจืง GAS ืžื‘ื™ืŸ.

-mschedule=ืกื•ื’ ืžืขื‘ื“
ืชื–ืžืŸ ืงื•ื“ ื‘ื”ืชืื ืœืื™ืœื•ืฆื™ื ืขื‘ื•ืจ ืกื•ื’ ื”ืžื›ื•ื ื” ืกื•ื’ ืžืขื‘ื“. ื”ื‘ื—ื™ืจื•ืช
ืœ ืกื•ื’ ืžืขื‘ื“ ื™ืฉ ืœื• 700 7100, 7100LC, 7200, 7300 ื• 8000. ืžืชื™ื™ื—ืก
/usr/lib/sched.models ืขืœ ืžืขืจื›ืช HP-UX ื›ื“ื™ ืœืงื‘ื•ืข ืืช ืืคืฉืจื•ืช ื”ืชื–ืžื•ืŸ ื”ื ื›ื•ื ื” ืขื‘ื•ืจ
ื”ืžื›ื•ื ื” ืฉืœืš. ืชื–ืžื•ืŸ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 8000.

-mlinker-opt
ืืคืฉืจ ืืช ืžืขื‘ืจ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื‘ืžืงืฉืจ HP-UX. ืฉื™ื ืœื‘ ืฉื–ื” ื’ื•ืจื ืœื ื™ืคื•ื™ ื‘ืื’ื™ื ืกืžืœื™
ื‘ืœืชื™ ืืคืฉืจื™. ื–ื” ื’ื ืžืขื•ืจืจ ื‘ืื’ ื‘ืžืงืฉืจื™ื HP-UX 8 ื•-HP-UX 9 ืฉื‘ื”ื ื”ื
ืชืŸ ื”ื•ื“ืขื•ืช ืฉื’ื™ืื” ืžื–ื•ื™ืคื•ืช ื‘ืขืช ืงื™ืฉื•ืจ ืฉืœ ืชื•ื›ื ื™ื•ืช ืžืกื•ื™ืžื•ืช.

-msoft-float
ืฆื•ืจ ืคืœื˜ ื”ืžื›ื™ืœ ืงืจื™ืื•ืช ืœืกืคืจื™ื™ื” ืขื‘ื•ืจ ื ืงื•ื“ื” ืฆืคื”. ืึทื–ื”ึธืจึธื”: ื”ื ื“ืจืฉ
ืกืคืจื™ื•ืช ืื™ื ืŸ ื–ืžื™ื ื•ืช ืขื‘ื•ืจ ื›ืœ ื™ืขื“ื™ HPPA. ื‘ื“ืจืš ื›ืœืœ ื”ืžืชืงื ื™ื ืฉืœ
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืžื”ื“ืจ C ื”ืจื’ื™ืœ ืฉืœ ื”ืžื›ื•ื ื”, ืืš ืœื ื ื™ืชืŸ ืœืขืฉื•ืช ื–ืืช ื™ืฉื™ืจื•ืช ื‘-cross-
ื”ึทื”ื“ึธืจึธื”. ืขืœื™ืš ืœืขืฉื•ืช ืกื™ื“ื•ืจื™ื ืžืฉืœืš ื›ื“ื™ ืœืกืคืง ืกืคืจื™ื™ื” ืžืชืื™ืžื”
ืคื•ื ืงืฆื™ื•ืช ืขื‘ื•ืจ ืงื•ืžืคื™ืœืฆื™ื” ืฆื•ืœื‘ืช.

-msoft-float ืžืฉื ื” ืืช ืžื•ืกื›ืžื•ืช ื”ืฉื™ื—ื•ืช ื‘ืงื•ื‘ืฅ ื”ืคืœื˜; ืœื›ืŸ, ื–ื” ืจืง
ืฉื™ืžื•ืฉื™ ืื ืืชื” ืงื•ืžืคื™ืœืฆื™ื” ืืช ื›ืœ ืฉืœ ืชื•ื›ื ื™ืช ืขื ืืคืฉืจื•ืช ื–ื•. ื‘ืคืจื˜, ืืชื” ืฆืจื™ืš
ืœืขื‘ื“ libgcc.a, ื”ืกืคืจื™ื™ื” ืฉืžื’ื™ืขื” ืขื GCC, ืขื -msoft-float ืขืœ ืžื ืช ืœื›ืš
ืœืขื‘ื•ื“ื”.

-msio
ืฆื•ืจ ืืช ื”ื”ื’ื“ืจื” ืžืจืืฉ, "_SIO", ืขื‘ื•ืจ ืฉืจืช IO. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mwsio. ื–ื” ืžื™ื™ืฆืจ
ื”ืžื’ื“ื™ืจื™ื ืžืจืืฉ, "__hp9000s700", "__hp9000s700__" ื•-"_WSIO", ืขื‘ื•ืจ ืชื—ื ืช ืขื‘ื•ื“ื” IO.
ืืคืฉืจื•ื™ื•ืช ืืœื” ื–ืžื™ื ื•ืช ืชื—ืช HP-UX ื•-HI-UX.

-ืžื’ื ื•-ืœื“
ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ื™ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœ-GNU ld. ื–ื” ืขื•ื‘ืจ -ืžึฐืฉืื•ึผืชึธืฃ ืœ ld ื‘ืขืช ื‘ื ื™ื™ืช ืžืฉื•ืชืฃ
ืกึดืคึฐืจึดื™ึธื”. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ GCC ืžื•ื’ื“ืจ, ื‘ืื•ืคืŸ ืžืคื•ืจืฉ ืื• ืžืจื•ืžื–, ืขื ื”-
ืžืงืฉืจ GNU. ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืžืฉืคื™ืขื” ืขืœ ืื™ื–ื” ld ื ืงืจื; ื–ื” ืžืฉื ื” ืจืง ืžื”
ืคืจืžื˜ืจื™ื ืžื•ืขื‘ืจื™ื ืœื–ื” ld. ื” ld ืฉื ืงืจื ื ืงื‘ืข ืขืœ ื™ื“ื™ ื”
--with-ld ืืคืฉืจื•ืช ื”ื’ื“ืจื”, ื ืชื™ื‘ ื”ื—ื™ืคื•ืฉ ืฉืœ ื”ืชื•ื›ื ื™ืช ืฉืœ GCC, ื•ืœื‘ืกื•ืฃ ืขืœ ื™ื“ื™ ื”ืžืฉืชืžืฉ ื ืชื™ื‘.
ื ื™ืชืŸ ืœื”ื“ืคื™ืก ืืช ื”ืงื™ืฉื•ืจ ื”ืžืฉืžืฉ ืืช GCC ื‘ืืžืฆืขื•ืช ืืฉืจ `gcc -ื ื—ืฉ-prog- name = ld`. ื–ึถื”
ื”ืืคืฉืจื•ืช ื–ืžื™ื ื” ืจืง ื‘-64 ืกื™ื‘ื™ื•ืช HP-UX GCC, ื›ืœื•ืžืจ ืžื•ื’ื“ืจืช ืขื
hppa*64*-*-hpux*.

-mhp-ld
ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ื™ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœ-HP ld. ื–ื” ืขื•ื‘ืจ -b ืœ ld ื‘ืขืช ื‘ื ื™ื™ืช ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช
ื•ืขื•ื‘ืจ +ืงื‘ืœ ืกื•ื’ ืื™ ื”ืชืืžื” ืœ ld ื‘ื›ืœ ื”ืงื™ืฉื•ืจื™ื. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ GCC ื”ื™ื
ืžื•ื’ื“ืจ, ื‘ืžืคื•ืจืฉ ืื• ื‘ืžืฉืชืžืข, ืขื ืžืงืฉืจ HP. ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืžืฉืคื™ืขื”
ืืฉืจ ld ื ืงืจื; ื–ื” ืจืง ืžืฉื ื” ืื™ืœื• ืคืจืžื˜ืจื™ื ืžื•ืขื‘ืจื™ื ืœื–ื” ld. ื” ld
ืฉื ืงืจื ื ืงื‘ืข ืขืœ ื™ื“ื™ ื” --with-ld ืืคืฉืจื•ืช ื”ื’ื“ืจื”, ื—ื™ืคื•ืฉ ื”ืชื•ื›ื ื™ืช ืฉืœ GCC
ื ืชื™ื‘, ื•ืœื‘ืกื•ืฃ ืขืœ ื™ื“ื™ ื”ืžืฉืชืžืฉ ื ืชื™ื‘. ื ื™ืชืŸ ืœื”ื“ืคื™ืก ืืช ื”ืงื™ืฉื•ืจ ื”ืžืฉืžืฉ ืืช GCC ื‘ืืžืฆืขื•ืช
ืืฉืจ `gcc -ื ื—ืฉ-prog- name = ld`. ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืจืง ื‘-64 ืกื™ื‘ื™ื•ืช HP-UX
GCC, ื›ืœื•ืžืจ ืžื•ื’ื“ืจ ืขื hppa*64*-*-hpux*.

-ืžืœื•ื ื’-ืฉื™ื—ื•ืช
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ ื‘ืจืฆืคื™ ืฉื™ื—ื•ืช ืืจื•ื›ื™ื. ื–ื” ืžื‘ื˜ื™ื— ืฉื”ืฉื™ื—ื” ืชืžื™ื“ ืืคืฉืจื™ืช
ื›ื“ื™ ืœื”ื’ื™ืข ืœืงื˜ืขื™ื ืฉื ื•ืฆืจื• ืขืœ ื™ื“ื™ ืงื™ืฉื•ืจ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื™ืฆื•ืจ ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช ืจืง ื›ืืฉืจ
ืžืจื—ืง ืžืืชืจ ื”ืฉื™ื—ื” ืœืชื—ื™ืœืช ื”ืคื•ื ืงืฆื™ื” ืื• ื™ื—ื™ื“ืช ื”ืชืจื’ื•ื, ื›ืžื•
ื”ืžืงืจื” ืขืฉื•ื™ ืœื”ื™ื•ืช, ื—ื•ืจื’ ืžืžื’ื‘ืœื” ืžื•ื’ื“ืจืช ืžืจืืฉ ืฉื ืงื‘ืขื” ืขืœ ื™ื“ื™ ืกื•ื’ ื”ืกื ื™ืฃ ื‘ืฉื™ืžื•ืฉ. ื”
ื”ืžื’ื‘ืœื•ืช ืขื‘ื•ืจ ืฉื™ื—ื•ืช ืจื’ื™ืœื•ืช ื”ืŸ 7,600,000 ื•-240,000 ื‘ืชื™ื, ื‘ื”ืชืืžื” ืขื‘ื•ืจ PA 2.0
ื•ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช PA 1.X. ืฉื™ื—ื•ืช ืกื™ื‘ ืžื•ื’ื‘ืœื•ืช ืชืžื™ื“ ืœ-240,000 ื‘ืชื™ื.

ืžืจื—ืงื™ื ื ืžื“ื“ื™ื ืžืชื—ื™ืœืช ื”ืคื•ื ืงืฆื™ื•ืช ื‘ืขืช ืฉื™ืžื•ืฉ ื‘-
-ืคืคื•ื ืงืฆื™ื”-ืกืขื™ืคื™ื ืืคืฉืจื•ืช, ืื• ื‘ืขืช ืฉื™ืžื•ืฉ ื‘- -ืžื’ื– ื• -mno-portable-time ืืคืฉืจื•ื™ื•ืช
ื™ื—ื“ ืชื—ืช HP-UX ืขื ืžืงืฉืจ SOM.

ื‘ื“ืจืš ื›ืœืœ ืœื ืจืฆื•ื™ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืžื›ื™ื•ื•ืŸ ืฉื”ื™ื ืคื•ื’ืขืช ื‘ื‘ื™ืฆื•ืขื™ื. ืœืžืจื•ืช ื–ืืช,
ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ ื‘ื™ื™ืฉื•ืžื™ื ื’ื“ื•ืœื™ื, ื‘ืžื™ื•ื—ื“ ื›ืืฉืจ ืžืฉืชืžืฉื™ื ื‘ืงื™ืฉื•ืจ ื—ืœืงื™
ืœื‘ื ื•ืช ืืช ื”ืืคืœื™ืงืฆื™ื”.

ืกื•ื’ื™ ื”ืฉื™ื—ื•ืช ื”ืืจื•ื›ื•ืช ื‘ื”ืŸ ื ืขืฉื” ืฉื™ืžื•ืฉ ืชืœื•ื™ ื‘ื™ื›ื•ืœื•ืช ื”ื”ืจื›ื‘ ื•ื”ืžืงืฉืจ,
ื•ืกื•ื’ ื”ืงื•ื“ ืฉื ื•ืฆืจ. ื”ื”ืฉืคืขื” ืขืœ ืžืขืจื›ื•ืช ื”ืชื•ืžื›ื•ืช ืœืื•ืจืš ื–ืžืŸ
ืฉื™ื—ื•ืช ืžื•ื—ืœื˜ื•ืช, ื•ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช ืกืžืœ-ื”ืคืจืฉ ืื• ืฉื™ื—ื•ืช ื™ื—ืกื™ื•ืช ืœืžื—ืฉื‘ ืฆืจื™ื›ื•ืช ืœื”ื™ื•ืช
ืงื˜ืŸ ื™ื—ืกื™ืช. ืขื ื–ืืช, ืงืจื™ืื” ืขืงื™ืคื” ืžืฉืžืฉืช ื‘ืžืขืจื›ื•ืช ELF ืฉืœ 32 ืกื™ื‘ื™ื•ืช ื‘ืงื•ื“ ืชืžื•ื ื”
ื•ื”ื•ื ื“ื™ ืืจื•ืš.

-munix=unix-std
ืฆื•ืจ ื”ื’ื“ืจื•ืช ืžื•ืงื“ืžื•ืช ืฉืœ ืžื”ื“ืจ ื•ื‘ื—ืจ ืงื•ื‘ืฅ ื”ืชื—ืœื” ืขื‘ื•ืจ ืชืงืŸ UNIX ืฉืฆื•ื™ืŸ.
ื”ื‘ื—ื™ืจื•ืช ืขื‘ื•ืจ unix-std ื™ืฉ ืœื• 93, 95 ื• 98. 93 ื ืชืžืš ื‘ื›ืœ ื’ืจืกืื•ืช HP-UX.
95 ื–ืžื™ืŸ ื‘-HP-UX 10.10 ื•ืื™ืœืš. 98 ื–ืžื™ืŸ ื‘-HP-UX 11.11 ื•ืื™ืœืš.
ืขืจื›ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื 93 ืขื‘ื•ืจ HP-UX 10.00, 95 ืขื‘ื•ืจ HP-UX 10.10 ืืš ืขื“ 11.00, ื• 98
ืขื‘ื•ืจ HP-UX 11.11 ื•ืื™ืœืš.

-munix=93 ืžืกืคืง ืืช ืื•ืชืŸ ื”ื’ื“ืจื•ืช ืžื•ืงื“ืžื•ืช ื›ืžื• GCC 3.3 ื•-3.4. -munix=95 ืžืกืคืง
ื”ื’ื“ืจื•ืช ืžื•ืงื“ืžื•ืช ื ื•ืกืคื•ืช ืขื‘ื•ืจ "XOPEN_UNIX" ื•-"_XOPEN_SOURCE_EXTENDED", ื•ืงื•ื‘ืฅ ื”ื”ืชื—ืœื”
unix95.o. -munix=98 ืžืกืคืง ื”ื’ื“ืจื•ืช ืžื•ืงื“ืžื•ืช ื ื•ืกืคื•ืช ืขื‘ื•ืจ "_XOPEN_UNIX",
"_XOPEN_SOURCE_EXTENDED", "_INCLUDE__STDC_A1_SOURCE" ื•-"_INCLUDE_XOPEN_SOURCE_500",
ื•ืืช ืงื•ื‘ืฅ ื”ื”ืชื—ืœื” unix98.o.

ื–ื” ื—ืฉื•ื‘ ืœืฆื™ื™ืŸ ื›ื™ ืืคืฉืจื•ืช ื–ื• ืžืฉื ื” ืืช ื”ืžืžืฉืงื™ื ืฉืœ ืกืคืจื™ื•ืช ืฉื•ื ื•ืช
ืฉื’ืจื•ืช. ื–ื” ืžืฉืคื™ืข ื’ื ืขืœ ื”ื”ืชื ื”ื’ื•ืช ื”ืชืคืขื•ืœื™ืช ืฉืœ ืกืคืจื™ื™ืช C. ืœื›ืŸ, ืงื™ืฆื•ื ื™
ื™ืฉ ืฆื•ืจืš ื‘ื–ื”ื™ืจื•ืช ื‘ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื•.

ืงื•ื“ ืกืคืจื™ื™ื” ืฉืžื™ื•ืขื“ ืœืคืขื•ืœ ืขื ื™ื•ืชืจ ืžืชืงืŸ UNIX ืื—ื“ ื—ื™ื™ื‘ ืœื‘ื“ื•ืง,
ื”ื’ื“ืจ ื•ืฉื—ื–ืจ ืืช ื”ืžืฉืชื ื” __xpg4_extended_mask ื›ืจืื•ื™. ืจื•ื‘ ืชื•ื›ื ื•ืช ื’ื ื•
ืœื ืžืกืคืง ืืช ื”ื™ื›ื•ืœืช ื”ื–ื•.

-nolibdld
ื“ื—ืง ืืช ื™ืฆื™ืจืช ืืคืฉืจื•ื™ื•ืช ื”ืงื™ืฉื•ืจ ืœื—ื™ืคื•ืฉ libdld.sl ื›ืืฉืจ -ืกื˜ึธื˜ึดื™ ื”ืืคืฉืจื•ืช ื”ื™ื
ื”ืžืฆื•ื™ืŸ ื‘-HP-UX 10 ื•ืื™ืœืš.

-ืกื˜ึธื˜ึดื™
ืœืžื™ืžื•ืฉ HP-UX ืฉืœ setlocale ื‘-libc ื™ืฉ ืชืœื•ืช ื‘-libdld.sl. ืฉื
ื”ื™ื ืœื ื’ืจืกืช ืืจื›ื™ื•ืŸ ืฉืœ libdld.sl. ืœืคื™ื›ืš, ื›ืืฉืจ ื” -ืกื˜ึธื˜ึดื™ ืืคืฉืจื•ืช ืžื•ื’ื“ืจืช,
ื™ืฉ ืฆื•ืจืš ื‘ืืคืฉืจื•ื™ื•ืช ืงื™ืฉื•ืจ ืžื™ื•ื—ื“ื•ืช ื›ื“ื™ ืœืคืชื•ืจ ืืช ื”ืชืœื•ืช ื”ื–ื•.

ื‘-HP-UX 10 ื•ืื™ืœืš, ืžื ื”ืœ ื”ื”ืชืงืŸ ืฉืœ GCC ืžื•ืกื™ืฃ ืืช ื”ืืคืฉืจื•ื™ื•ืช ื”ื“ืจื•ืฉื•ืช ืœืงื™ืฉื•ืจ
libdld.sl ื›ืืฉืจ -ืกื˜ึธื˜ึดื™ ืืคืฉืจื•ืช ืžื•ื’ื“ืจืช. ื–ื” ื’ื•ืจื ืœื‘ื™ื ืืจื™ ืฉื”ืชืงื‘ืœ
ืœื”ื™ื•ืช ื“ื™ื ืืžื™. ื‘ื™ืฆื™ืืช 64 ืกื™ื‘ื™ื•ืช, ื”ืžืงืฉืจื™ื ืžื™ื™ืฆืจื™ื ืงื‘ืฆื™ื ื‘ื™ื ืืจื™ื™ื ื“ื™ื ืžื™ื™ื ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘
ื›ืœ ืžืงืจื”. ื” -nolibdld ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื›ื“ื™ ืœืžื ื•ืข ื”ื•ืกืคืช ืžื ื”ืœ ื”ืชืงืŸ GCC
ืืคืฉืจื•ื™ื•ืช ื”ืงื™ืฉื•ืจ ื”ืœืœื•.

-ื—ื•ื˜ื™ื
ื”ื•ืกืฃ ืชืžื™ื›ื” ืขื‘ื•ืจ ืจื™ื‘ื•ื™ ื”ืฉืจืฉื•ืจื™ื ืขื dce ื—ื•ื˜ ืกืคืจื™ื™ื” ืชื—ืช HP-UX. ืืคืฉืจื•ืช ื–ื•
ืžื’ื“ื™ืจ ื“ื’ืœื™ื ื”ืŸ ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื”ืงื“ื ื•ื”ืŸ ืขื‘ื•ืจ ื”ืžืงืฉืจ.

ืื™ื ื˜ืœ 386 ื• AMD x86-64 ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ืžืฉืคื—ืช ื”ืžื—ืฉื‘ื™ื i386 ื•-x86-64:

-ืžืจืฅ=ืกื•ื’ ืžืขื‘ื“
ืฆื•ืจ ื”ื•ืจืื•ืช ืขื‘ื•ืจ ืกื•ื’ ื”ืžื›ื•ื ื” ืกื•ื’ ืžืขื‘ื“. ื‘ื ื™ื’ื•ื“ ืœ -mtune=ืกื•ื’ ืžืขื‘ื“,
ืืฉืจ ืจืง ืžื›ื•ื•ืŸ ืืช ื”ืงื•ื“ ืฉื ื•ืฆืจ ืขื‘ื•ืจ ื”ืงื•ื“ ืฉืฆื•ื™ืŸ ืกื•ื’ ืžืขื‘ื“, -ืžืจืฅ=ืกื•ื’ ืžืขื‘ื“
ืžืืคืฉืจ ืœ-GCC ืœื™ืฆื•ืจ ืงื•ื“ ืฉืื•ืœื™ ืœื ื™ืคืขืœ ื›ืœืœ ืขืœ ืžืขื‘ื“ื™ื ืื—ืจื™ื ืžืœื‘ื“ ื–ื”
ืฆื™ื™ืŸ. ืžืคืจื˜ -ืžืจืฅ=ืกื•ื’ ืžืขื‘ื“ ืžืจืžื– -mtune=ืกื•ื’ ืžืขื‘ื“.

ื”ื‘ื—ื™ืจื•ืช ืขื‘ื•ืจ ืกื•ื’ ืžืขื‘ื“ ื”ื:

ื™ืœื™ื“
ื–ื” ื‘ื•ื—ืจ ืืช ื”-CPU ืฉื™ื™ืฆื•ืจ ืขื‘ื•ืจื• ืงื•ื“ ื‘ื–ืžืŸ ื”ื”ื™ื“ื•ืจ ืขืœ ื™ื“ื™ ืงื‘ื™ืขืช ื”-
ืกื•ื’ ื”ืžืขื‘ื“ ืฉืœ ืžื›ื•ื ืช ื”ื”ื™ื“ื•ืจ. ื‘ืืžืฆืขื•ืช -ืฆืขื“ื” = ื™ืœื™ื“ ืžืืคืฉืจ ืœื›ื•ืœื
ืงื‘ื•ืฆื•ืช ืžืฉื ื” ืฉืœ ื”ื•ืจืื•ืช ื”ื ืชืžื›ื•ืช ืขืœ ื™ื“ื™ ื”ืžื—ืฉื‘ ื”ืžืงื•ืžื™ (ื•ืœื›ืŸ ื™ื™ืชื›ืŸ ืฉื”ืชื•ืฆืื” ืœื ืชืคืขืœ
ื‘ืžื›ื•ื ื•ืช ืฉื•ื ื•ืช). ื‘ืืžืฆืขื•ืช -mtune=native ืžื™ื™ืฆืจ ืงื•ื“ ืžื•ืชืื ืœืžืงื•ืžื™ื™ื
ืžื›ื•ื ื” ืชื—ืช ื”ืื™ืœื•ืฆื™ื ืฉืœ ืขืจื›ืช ื”ื”ื•ืจืื•ืช ืฉื ื‘ื—ืจื”.

i386
ืžืขื‘ื“ Intel i386 ืžืงื•ืจื™.

i486
ืžืขื‘ื“ Intel i486. (ืื™ืŸ ืชื–ืžื•ืŸ ืžื™ื•ืฉื ืขื‘ื•ืจ ื”ืฉื‘ื‘ ื”ื–ื”.)

i586
ืคื ื˜ื™ื•ื
ืžืขื‘ื“ Intel Pentium ืœืœื ืชืžื™ื›ื” ื‘-MMX.

ืคื ื˜ื™ื•ื-mmx
Intel Pentium MMX CPU, ืžื‘ื•ืกืก ืขืœ ืœื™ื‘ืช Pentium ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช MMX.

pentiumpro
ืžืขื‘ื“ Intel Pentium Pro.

i686
ื‘ืขืช ืฉื™ืžื•ืฉ ืขื -ืžืจืฅ, ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืขืจื›ืช ื”ื”ื•ืจืื•ืช Pentium Pro, ื›ืš ืฉื”ืงื•ื“ ืคื•ืขืœ
ืขืœ ื›ืœ ื”ืฉื‘ื‘ื™ื ื”ืžืฉืคื—ืชื™ื™ื ืฉืœ i686. ื‘ืฉื™ืžื•ืฉ ืขื -mtune, ื™ืฉ ืœื–ื” ืื•ืชื” ืžืฉืžืขื•ืช ื›ืžื•
ื’ื ืจื™ืช.

ืคื ื˜ื™ื•ื2
Intel Pentium II CPU, ืžื‘ื•ืกืก ืขืœ ืœื™ื‘ืช Pentium Pro ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช MMX.

ืคื ื˜ื™ื•ื3
ืคื ื˜ื™ื•ื 3m
ืžืขื‘ื“ Intel Pentium III, ืžื‘ื•ืกืก ืขืœ ืœื™ื‘ืช Pentium Pro ืขื ืขืจื›ืช ื”ื•ืจืื•ืช MMX ื•-SSE
ืชื•ืžื›ื™ื.

ืคื ื˜ื™ื•ื-ืž
Intel Pentium M; ื’ืจืกืช ื”ืกืคืง ื ืžื•ืš ืฉืœ ืžืขื‘ื“ Intel Pentium III ืขื MMX, SSE ื•-SSE2
ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช. ื‘ืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™ ืžื—ื‘ืจื•ืช Centrino.

ืคื ื˜ื™ื•ื4
ืคื ื˜ื™ื•ื 4m
Intel Pentium 4 CPU ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช MMX, SSE ื•-SSE2.

ืคืจืกืงื•ื˜
ื’ืจืกื” ืžืฉื•ืคืจืช ืฉืœ ืžืขื‘ื“ Intel Pentium 4 ืขื ื”ื•ืจืื•ืช MMX, SSE, SSE2 ื•-SSE3
ืœื”ื’ื“ื™ืจ ืชืžื™ื›ื”.

ื ื•ืงื•ื ื”
ื’ืจืกื” ืžืฉื•ืคืจืช ืฉืœ Intel Pentium 4 CPU ืขื ื”ืจื—ื‘ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช, MMX, SSE, SSE2 ื•
ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช SSE3.

2
Intel Core 2 CPU ืขื ื”ืจื—ื‘ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช, MMX, SSE, SSE2, SSE3 ื•-SSSE3
ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช.

Corei7
Intel Core i7 CPU ืขื ื”ืจื—ื‘ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 ื•
ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช SSE4.2.

corei7-avx
ืžืขื‘ื“ Intel Core i7 ืขื ื”ืจื—ื‘ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1,
ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช SSE4.2, AVX, AES ื•-PCLMUL.

core-avx-i
Intel Core CPU ืขื ื”ืจื—ื‘ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1,
ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช SSE4.2, AVX, AES, PCLMUL, FSGSBASE, RDRND ื•-F16C.

core-avx2
Intel Core CPU ืขื ื”ืจื—ื‘ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช, MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1,
SSE4.2, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, FMA, BMI, BMI2 ื•-F16C
ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช.

ืื˜ื•ื
Intel Atom CPU ืขื ื”ืจื—ื‘ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช, MOVBE, MMX, SSE, SSE2, SSE3 ื•-SSSE3
ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช.

k6 ืžืขื‘ื“ AMD K6 ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช MMX.

k6-2
k6-3
ื’ืจืกืื•ืช ืžืฉื•ืคืจื•ืช ืฉืœ ืžืขื‘ื“ AMD K6 ืขื MMX ื•-3DNow! ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช.

ืืชืœื•ืŸ
ืืชืœื•ืŸ-tbird
ืžืขื‘ื“ AMD Athlon ืขื MMX, 3dNOW!, 3DNow ืžืฉื•ืคืจ! ื•ื”ื•ืจืื•ืช ืื—ื–ื•ืจ ืžืจืืฉ ืฉืœ SSE
ืชื•ืžื›ื™ื.

ืืชืœื•ืŸ-4
athlon-xp
ืืชืœื•ืŸ-mp
ืžืขื‘ื“ AMD Athlon ืžืฉื•ืคืจ ืขื MMX, 3DNow!, 3DNow ืžืฉื•ืคืจ! ื•ื”ื•ืจืืช SSE ืžืœืื”
ืœื”ื’ื“ื™ืจ ืชืžื™ื›ื”.

k8
ืื•ืคื˜ืจื•ืŸ
64
athlon-fx
ืžืขื‘ื“ื™ื ื”ืžื‘ื•ืกืกื™ื ืขืœ ืœื™ื‘ืช AMD K8 ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช x86-64, ื›ื•ืœืœ
ืžืขื‘ื“ื™ AMD Opteron, Athlon 64 ื•-Athlon 64 FX. (ื–ื” ืžื—ืœื™ืฃ ืืช MMX,
SSE, SSE2, 3DNow!, 3DNow ืžืฉื•ืคืจ! ื•ื”ืจื—ื‘ื•ืช ืฉืœ ืขืจื›ืช ื”ื•ืจืื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช.)

k8-sse3
opteron-sse3
athlon64-sse3
ื’ืจืกืื•ืช ืžืฉื•ืคืจื•ืช ืฉืœ ืœื™ื‘ื•ืช AMD K8 ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช SSE3.

amdfam10
ื‘ืจืฆืœื•ื ื”
ืžืขื‘ื“ื™ื ื”ืžื‘ื•ืกืกื™ื ืขืœ ืœื™ื‘ื•ืช AMD Family 10h ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช x86-64. (ื–ึถื”
ืขืจื›ื•ืช-ืขืœ MMX, SSE, SSE2, SSE3, SSE4A, 3DNow!, 3DNow! ืžืฉื•ืคืจื•ืช, ABM ื•-64-bit
ื”ืจื—ื‘ื•ืช ืฉืœ ืขืจื›ื•ืช ื”ื•ืจืื•ืช.)

bdver1
ืžืขื‘ื“ื™ื ื”ืžื‘ื•ืกืกื™ื ืขืœ ืœื™ื‘ื•ืช AMD Family 15h ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช x86-64. (ื–ึถื”
ืขืจื›ื•ืช-ืขืœ FMA4, AVX, XOP, LWP, AES, PCL_MUL, CX16, MMX, SSE, SSE2, SSE3, SSE4A,
ื”ืจื—ื‘ื•ืช SSSE3, SSE4.1, SSE4.2, ABM ื•-64 ืกื™ื‘ื™ื•ืช.)

bdver2
ืžืขื‘ื“ื™ AMD Family 15h ืžื‘ื•ืกืกื™ ืœื™ื‘ื” ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช x86-64. (ื–ึถื”
ืขืจื›ื•ืช-ืขืœ BMI, TBM, F16C, FMA, AVX, XOP, LWP, AES, PCL_MUL, CX16, MMX, SSE, SSE2,
ื”ืจื—ื‘ื•ืช SSE3, SSE4A, SSSE3, SSE4.1, SSE4.2, ABM ื•-64 ืกื™ื‘ื™ื•ืช.)

bdver3
ืžืขื‘ื“ื™ AMD Family 15h ืžื‘ื•ืกืกื™ ืœื™ื‘ื” ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช x86-64. (ื–ึถื”
ืขืจื›ื•ืช-ืขืœ BMI, TBM, F16C, FMA, AVX, XOP, LWP, AES, PCL_MUL, CX16, MMX, SSE, SSE2,
ื”ืจื—ื‘ื•ืช SSE3, SSE4A, SSSE3, SSE4.1, SSE4.2, ABM ื•-64 ืกื™ื‘ื™ื•ืช.

btver1
ืžืขื‘ื“ื™ื ื”ืžื‘ื•ืกืกื™ื ืขืœ ืœื™ื‘ื•ืช AMD Family 14h ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช x86-64. (ื–ึถื”
ืขืจื›ื•ืช-ืขืœ MMX, SSE, SSE2, SSE3, SSSE3, SSE4A, CX16, ABM ื•-64 ืกื™ื‘ื™ื•ืช
ื”ืจื—ื‘ื•ืช.)

btver2
ืžืขื‘ื“ื™ื ื”ืžื‘ื•ืกืกื™ื ืขืœ ืœื™ื‘ื•ืช AMD Family 16h ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช x86-64. ื–ึถื”
ื›ื•ืœืœ MOVBE, F16C, BMI, AVX, PCL_MUL, AES, SSE4.2, SSE4.1, CX16, ABM, SSE4A,
ื”ืจื—ื‘ื•ืช SSSE3, SSE3, SSE2, SSE, MMX ื•-64 ืกื™ื‘ื™ื•ืช.

winchip-c6
IDT WinChip C6 CPU, ืžื˜ื•ืคืœ ื‘ืื•ืชื• ืื•ืคืŸ ื›ืžื• i486 ืขื ืขืจื›ืช ื”ื•ืจืื•ืช MMX ื ื•ืกืคืช
ืชื•ืžื›ื™ื.

winchip2
IDT WinChip 2 CPU, ืžื˜ื•ืคืœ ื‘ืื•ืชื• ืื•ืคืŸ ื›ืžื• i486 ืขื MMX ื ื•ืกืคื™ื ื•-3DNow!
ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช.

c3 VIA C3 CPU ืขื MMX ื•-3DNow! ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช. (ืื™ืŸ ืชื–ืžื•ืŸ
ืžื™ื•ืฉื ืขื‘ื•ืจ ื”ืฉื‘ื‘ ื”ื–ื”.)

c3-2
ืžืขื‘ื“ VIA C3-2 (Nehemiah/C5XL) ืขื ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช MMX ื•-SSE. (ืœื
ืชื–ืžื•ืŸ ืžื™ื•ืฉื ืขื‘ื•ืจ ืฉื‘ื‘ ื–ื”.)

ื’ืื•ื“
ืžืขื‘ื“ ืžืฉื•ื‘ืฅ AMD Geode ืขื MMX ื•-3DNow! ืชืžื™ื›ื” ื‘ืขืจื›ืช ื”ื•ืจืื•ืช.

-mtune=ืกื•ื’ ืžืขื‘ื“
ื›ื•ื•ืŸ ืœ ืกื•ื’ ืžืขื‘ื“ ื›ืœ ืžื” ืฉื™ืฉ ืœืงื•ื“ ืฉื ื•ืฆืจ, ืžืœื‘ื“ ื”-ABI
ื•ืขืจื›ืช ื”ื”ื•ืจืื•ืช ื”ื–ืžื™ื ื•ืช. ืชื•ืš ื›ื“ื™ ื‘ื—ื™ืจืช ืกืคืฆื™ืคื™ ืกื•ื’ ืžืขื‘ื“ ืœื•ื—ื•ืช ื–ืžื ื™ื
ื“ื‘ืจื™ื ื”ืžืชืื™ืžื™ื ืœืฉื‘ื‘ ื”ืžืกื•ื™ื ื”ื–ื”, ื”ืžื”ื“ืจ ืœื ืžื™ื™ืฆืจ ืฉื•ื ืงื•ื“
ืฉืื™ื ื• ื™ื›ื•ืœ ืœืคืขื•ืœ ื‘ืกื•ื’ ื”ืžื—ืฉื‘ ื”ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืืœื ืื ื›ืŸ ืืชื” ืžืฉืชืžืฉ ื‘-a -ืžืจืฅ=ืกื•ื’ ืžืขื‘ื“ ืื•ึนืคึผึฐืฆึดื™ึธื”.
ืœื“ื•ื’ืžื”, ืื GCC ืžื•ื’ื“ืจ ืขื‘ื•ืจ i686-pc-linux-gnu ืื– -mtune=pentium4 ืžื™ื™ืฆืจ
ืงื•ื“ ืฉืžื›ื•ื•ืŸ ืœ-Pentium 4 ืืš ืขื“ื™ื™ืŸ ืคื•ืขืœ ืขืœ ืžื›ื•ื ื•ืช i686.

ื”ื‘ื—ื™ืจื•ืช ืขื‘ื•ืจ ืกื•ื’ ืžืขื‘ื“ ื–ื”ื™ื ืœ -ืžืจืฅ. ื‘ื ื•ืกืฃ, -mtune ืชื•ืžืš ื‘-
ื‘ื—ื™ืจื” ื ื•ืกืคืช ืขื‘ื•ืจ ืกื•ื’ ืžืขื‘ื“:

ื’ื ืจื™ืช
ื”ืคืง ืงื•ื“ ืžื•ืชืื ืœืžืขื‘ื“ื™ IA32/AMD64/EM64T ื”ื ืคื•ืฆื™ื ื‘ื™ื•ืชืจ. ืื ืืชื”
ืœื“ืขืช ืืช ื”-CPU ืฉืขืœื™ื• ื™ืคืขืœ ื”ืงื•ื“ ืฉืœืš, ืื– ืขืœื™ืš ืœื”ืฉืชืžืฉ ื‘ืงื•ื“ ื”ืžืชืื™ื
-mtune or -ืžืจืฅ ืืคืฉืจื•ืช ื‘ืžืงื•ื -mtune=ื’ื ืจื™. ืื‘ืœ, ืื ืืชื” ืœื ื™ื•ื“ืข
ื‘ื“ื™ื•ืง ืžื” ื™ื”ื™ื” ืœืžืฉืชืžืฉื™ ื”-CPU ืฉืœ ื”ืืคืœื™ืงืฆื™ื” ืฉืœืš, ืื– ืืชื” ืฆืจื™ืš ืœื”ืฉืชืžืฉ ื‘ื–ื”
ืื•ึนืคึผึฐืฆึดื™ึธื”.

ื›ืืฉืจ ืžืขื‘ื“ื™ื ื—ื“ืฉื™ื ื ืคืจืกื™ื ื‘ืฉื•ืง, ื”ื”ืชื ื”ื’ื•ืช ืฉืœ ืืคืฉืจื•ืช ื–ื•
ื™ืฉืชื ื”. ืœื›ืŸ, ืื ืชืฉื“ืจื’ ืœื’ืจืกื” ื—ื“ืฉื” ื™ื•ืชืจ ืฉืœ GCC, ื™ืฆื™ืจืช ืงื•ื“
ื ืฉืœื˜ืช ืขืœ ื™ื“ื™ ืืคืฉืจื•ืช ื–ื• ืชืฉืชื ื” ื›ื“ื™ ืœืฉืงืฃ ืืช ื”ืžืขื‘ื“ื™ื ื”ื›ื™ ื”ืจื‘ื”
ื ืคื•ืฅ ื‘ื–ืžืŸ ืฉื—ืจื•ืจื• ืฉืœ ื’ืจืกื” ื–ื• ืฉืœ GCC.

ืื™ืŸ -ืžืจืฅ=ื’ื ืจื™ ืืคืฉืจื•ืช ื‘ื’ืœืœ -ืžืจืฅ ืžืฆื™ื™ืŸ ืืช ืขืจื›ืช ื”ื”ื•ืจืื•ืช ืืช
ืžื”ื“ืจ ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ, ื•ืื™ืŸ ืขืจื›ืช ื”ื•ืจืื•ืช ื’ื ืจื™ืช ื”ื—ืœื” ืขืœ ื›ื•ืœื
ืžืขื‘ื“ื™ื. ื‘ื ื™ื’ื•ื“, -mtune ืžืฆื™ื™ืŸ ืืช ื”ืžืขื‘ื“ (ืื•, ื‘ืžืงืจื” ื–ื”,
ืื•ืกืฃ ืžืขื‘ื“ื™ื) ืฉืขื‘ื•ืจื ื”ืงื•ื“ ืžื•ืชืื.

-mcpu=ืกื•ื’ ืžืขื‘ื“
ืžื™ืœื” ื ืจื“ืคืช ืฉื”ื•ืฆืื” ืžืฉื™ืžื•ืฉ ืขื‘ื•ืจ -mtune.

-mfpmath=ื™ื—ื™ื“ื”
ืฆื•ืจ ืืจื™ืชืžื˜ื™ืงื” ืฉืœ ื ืงื•ื“ื” ืฆืคื” ืขื‘ื•ืจ ื”ื™ื—ื™ื“ื” ืฉื ื‘ื—ืจื” ื™ื—ื™ื“ื”. ื”ื‘ื—ื™ืจื•ืช ืขื‘ื•ืจ ื™ื—ื™ื“ื” ื”ื:

387 ื”ืฉืชืžืฉ ื‘ืžืขื‘ื“ ื”ืžืฉื ื” ื”ืกื˜ื ื“ืจื˜ื™ ืฉืœ 387 ื ืงื•ื“ื•ืช ืฆืคื” ื”ืงื™ื™ื ื‘ืจื•ื‘ ื”ืฉื‘ื‘ื™ื
ื•ื—ื™ืงื•ื™ ืื—ืจืช. ืงื•ื“ ื”ื™ื“ื•ืจ ืขื ืืคืฉืจื•ืช ื–ื• ืคื•ืขืœ ื›ืžืขื˜ ื‘ื›ืœ ืžืงื•ื.
ื”ืชื•ืฆืื•ืช ื”ื–ืžื ื™ื•ืช ืžื—ื•ืฉื‘ื•ืช ื‘ื“ื™ื•ืง ืฉืœ 80 ืกื™ื‘ื™ื•ืช ื‘ืžืงื•ื ื‘ื“ื™ื•ืง
ืžื•ื’ื“ืจ ืœืคื™ ื”ืกื•ื’, ื•ื›ืชื•ืฆืื” ืžื›ืš ืชื•ืฆืื•ืช ืžืขื˜ ืฉื•ื ื•ืช ื‘ื”ืฉื•ื•ืื” ืœืจื•ื‘
ืฆ'ื™ืคืก ืื—ืจื™ื. ืœึดืจึฐืื•ึนืช -ffloat-store ืœืชื™ืื•ืจ ืžืคื•ืจื˜ ื™ื•ืชืจ.

ื–ื•ื”ื™ ื‘ื—ื™ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืžื”ื“ืจ i386.

ESS ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื” ืกืงืœืจื™ื•ืช ื”ืงื™ื™ืžื•ืช ื‘ืขืจื›ืช ื”ื”ื•ืจืื•ืช ืฉืœ SSE. ื–ึถื”
ืขืจื›ืช ื”ื”ื•ืจืื•ืช ื ืชืžื›ืช ืขืœ ื™ื“ื™ ืคื ื˜ื™ื•ื III ื•ืฉื‘ื‘ื™ื ื—ื“ืฉื™ื ื™ื•ืชืจ, ื•ื‘ืงื• AMD
ืฉืœ Athlon-4, Athlon XP ื•-Athlon MP ืฉื‘ื‘ื™. ื”ื’ืจืกื” ื”ืงื•ื“ืžืช ืฉืœ ื”-SSE
ืขืจื›ืช ื”ื”ื•ืจืื•ืช ืชื•ืžื›ืช ืจืง ื‘ื—ืฉื‘ื•ืŸ ื‘ืขืœ ื“ื™ื•ืง ื™ื—ื™ื“, ื•ืœื›ืŸ ื”ื›ืคื•ืœ ื•
ืืจื™ืชืžื˜ื™ืงื” ืขื ื“ื™ื•ืง ืžื•ืจื—ื‘ ืขื“ื™ื™ืŸ ื ืขืฉื™ื ื‘ืืžืฆืขื•ืช 387. ื’ืจืกื” ืžืื•ื—ืจืช ื™ื•ืชืจ, ืงื™ื™ืžืช
ืจืง ื‘ืฉื‘ื‘ื™ Pentium 4 ื•-AMD x86-64, ืชื•ืžืš ื’ื ื‘ืืจื™ืชืžื˜ื™ืงื” ื‘ืขืœืช ื“ื™ื•ืง ื›ืคื•ืœ.

ืขื‘ื•ืจ ืžื”ื“ืจ i386, ืขืœื™ืš ืœื”ืฉืชืžืฉ -ืžืจืฅ=ืกื•ื’ ืžืขื‘ื“, -msse or -msse2 ืขื•ื‘ืจ ืœ
ืืคืฉืจ ื”ืจื—ื‘ื•ืช SSE ื•ื”ืคื•ืš ืืช ื”ืืคืฉืจื•ืช ื”ื–ื• ืœื™ืขื™ืœื”. ืขื‘ื•ืจ ืžื”ื“ืจ x86-64,
ื”ืจื—ื‘ื•ืช ืืœื• ืžื•ืคืขืœื•ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

ื”ืงื•ื“ ื”ืžืชืงื‘ืœ ืืžื•ืจ ืœื”ื™ื•ืช ืžื”ื™ืจ ื‘ื”ืจื‘ื” ื‘ืจื•ื‘ ื”ืžืงืจื™ื ื•
ื”ื™ืžื ืข ืžื‘ืขื™ื•ืช ื—ื•ืกืจ ื”ื™ืฆื™ื‘ื•ืช ื”ืžืกืคืจื™ื•ืช ืฉืœ ืงื•ื“ 387, ืืš ืขืฉื•ื™ ืœืฉื‘ื•ืจ ื—ืœืง ืžื”ืงื™ื™ื
ืงื•ื“ ืฉืžืฆืคื” ืฉื”ื–ืžื ื™ื™ื ื™ื”ื™ื• 80 ืกื™ื‘ื™ื•ืช.

ื–ื•ื”ื™ ื‘ื—ื™ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืžื”ื“ืจ x86-64.

sse, 387
sse+387
ืฉื ื™ื”ื
ื ืกื” ืœื”ืฉืชืžืฉ ื‘ืฉื ื™ ืขืจื›ื•ืช ื”ื”ื•ืจืื•ืช ื‘ื‘ืช ืื—ืช. ื–ื” ืœืžืขืฉื” ืžื›ืคื™ืœ ืืช
ื›ืžื•ืช ื”ืจืฉืžื™ื ื”ื–ืžื™ื ื™ื, ื•ื‘ืฉื‘ื‘ื™ื ืขื ื™ื—ื™ื“ื•ืช ื‘ื™ืฆื•ืข ื ืคืจื“ื•ืช ืขื‘ื•ืจ 387
ื•-SSE ื’ื ืืช ืžืฉืื‘ื™ ื”ื‘ื™ืฆื•ืข. ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื‘ื–ื”ื™ืจื•ืช, ื›ืคื™ ืฉื”ื™ื ืขื“ื™ื™ืŸ
ื ื™ืกื™ื•ื ื™, ืžื›ื™ื•ื•ืŸ ืฉืžืงืฆื” ื”ืื•ื’ืจ ืฉืœ GCC ืื™ื ื• ื ืคืจื“ ื‘ืžื•ื“ืœ
ื™ื—ื™ื“ื•ืช ืคื•ื ืงืฆื™ื•ื ืœื™ื•ืช ื”ื™ื˜ื‘, ื•ื›ืชื•ืฆืื” ืžื›ืš ื‘ื™ืฆื•ืขื™ื ืœื ื™ืฆื™ื‘ื™ื.

-masm=ื ึดื™ื‘
ืคืœื˜ ื”ื•ืจืื•ืช ื”ืจื›ื‘ื” ื‘ืืžืฆืขื•ืช ื ื‘ื—ืจ ื ึดื™ื‘. ื‘ื—ื™ืจื•ืช ื ืชืžื›ื•ืช ื”ืŸ ืื™ื ื˜ืœ or
ืืœ (ื‘ืจื™ืจืช ื”ืžื—ื“ืœ). ื“ืจื•ื•ื™ืŸ ืœื ืชื•ืžืš ืื™ื ื˜ืœ.

-mieee-fp
-mno-ieee-fp
ืฉืœื™ื˜ื” ืื ื”ืžื”ื“ืจ ืžืฉืชืžืฉ ื‘ื”ืฉื•ื•ืื•ืช IEEE ืฉืœ ื ืงื•ื“ื” ืฆืคื” ืื• ืœื. ืืœื”
ืœื˜ืคืœ ื ื›ื•ืŸ ื‘ืžืงืจื” ื‘ื• ืชื•ืฆืืช ื”ื”ืฉื•ื•ืื” ืื™ื ื” ืžืกื•ื“ืจืช.

-msoft-float
ืฆื•ืจ ืคืœื˜ ื”ืžื›ื™ืœ ืงืจื™ืื•ืช ืœืกืคืจื™ื™ื” ืขื‘ื•ืจ ื ืงื•ื“ื” ืฆืคื”.

ืึทื–ื”ึธืจึธื”: ื”ืกืคืจื™ื•ืช ื”ื ื“ืจืฉื•ืช ืื™ื ืŸ ื—ืœืง ืž-GCC. ื‘ื“ืจืš ื›ืœืœ ื”ืžืชืงื ื™ื ืฉืœ
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืžื”ื“ืจ C ื”ืจื’ื™ืœ ืฉืœ ื”ืžื›ื•ื ื”, ืืš ืœื ื ื™ืชืŸ ืœืขืฉื•ืช ื–ืืช ื™ืฉื™ืจื•ืช ื‘-cross-
ื”ึทื”ื“ึธืจึธื”. ืขืœื™ืš ืœืขืฉื•ืช ืกื™ื“ื•ืจื™ื ืžืฉืœืš ื›ื“ื™ ืœืกืคืง ืกืคืจื™ื™ื” ืžืชืื™ืžื”
ืคื•ื ืงืฆื™ื•ืช ืขื‘ื•ืจ ืงื•ืžืคื™ืœืฆื™ื” ืฆื•ืœื‘ืช.

ื‘ืžื›ื•ื ื•ืช ื‘ื”ืŸ ืคื•ื ืงืฆื™ื” ืžื—ื–ื™ืจื” ืชื•ืฆืื•ืช ื ืงื•ื“ื” ืฆืคื” ื‘ืื•ื’ืจ 80387
ืžื—ืกื ื™ืช, ื›ืžื” ืงื•ื“ื™ ื ืงื•ื“ื” ืฆืคื” ืขืฉื•ื™ื™ื ืœื”ื™ืคืœื˜ ื’ื ืื -msoft-float ืžืฉืžืฉ.

-mno-fp-ret-in-387
ืืœ ืชืฉืชืžืฉ ื‘ืื•ื’ืจื™ FPU ืขื‘ื•ืจ ืขืจื›ื™ ื”ื—ื–ืจื” ืฉืœ ืคื•ื ืงืฆื™ื•ืช.

ืœืžื•ืกื›ืžื” ื”ืจื’ื™ืœื” ื™ืฉ ืคื•ื ืงืฆื™ื•ืช ืœื”ื—ื–ื™ืจ ืขืจื›ื™ ืžืกื•ื’ "float" ื•-"double"
ื‘ืคื ืงืก FPU, ื’ื ืื ืื™ืŸ FPU. ื”ืจืขื™ื•ืŸ ื”ื•ื ืฉืžืขืจื›ืช ื”ื”ืคืขืœื”
ืฆืจื™ืš ืœื—ืงื•ืช FPU.

ื”ืืคืฉืจื•ืช -mno-fp-ret-in-387 ื’ื•ืจื ืœื”ื—ื–ืจืช ืขืจื›ื™ื ื›ืืœื” ื‘ืžืขื‘ื“ ืจื’ื™ืœ
ื ืจืฉื ื‘ืžืงื•ื.

-mno-fancy-math-387
ื›ืžื” ืืžื•ืœื˜ื•ืจื™ื ืฉืœ 387 ืื™ื ื ืชื•ืžื›ื™ื ื‘ื”ื•ืจืื•ืช "sin", "cos" ื•-"sqrt" ืขื‘ื•ืจ
387. ืฆื™ื™ืŸ ืืคืฉืจื•ืช ื–ื• ื›ื“ื™ ืœื”ื™ืžื ืข ืžื™ืฆื™ืจืช ื”ื•ืจืื•ืช ืืœื•. ืืคืฉืจื•ืช ื–ื• ื”ื™ื
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื‘-FreeBSD, OpenBSD ื•-NetBSD. ืืคืฉืจื•ืช ื–ื• ื ื“ื—ืคืช ื›ืืฉืจ -ืžืจืฅ
ืžืฆื™ื™ืŸ ืฉืœืžืขื‘ื“ ื”ื™ืขื“ ื™ืฉ ืชืžื™ื“ FPU ื•ืœื›ืŸ ืื™ืŸ ืฆื•ืจืš ื‘ื”ื•ืจืื”
ืืžื•ืœืฆื™ื”. ื”ื•ืจืื•ืช ืืœื” ืื™ื ืŸ ื ื•ืฆืจื•ืช ืืœื ืื ื›ืŸ ืืชื” ืžืฉืชืžืฉ ื’ื ื‘-
-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math ืžืชื’.

-ืžืžืื™ืจ-ื›ืคื•ืœ
-mno-align-double
ืงื‘ืข ืื GCC ืžื™ื™ืฉืจ ืžืฉืชื ื™ื "ื›ืคื•ืœ", "ื›ืคื•ืœ ืืจื•ืš" ื•"ืืจื•ืš ืืจื•ืš" ืขืœ a
ื’ื‘ื•ืœ ืฉืœ ืฉืชื™ ืžื™ืœื™ื ืื• ื’ื‘ื•ืœ ืฉืœ ืžื™ืœื” ืื—ืช. ื™ื™ืฉื•ืจ ืžืฉืชื ื™ื "ื›ืคื•ืœื™ื" ืขืœ ืฉืชื™ ืžื™ืœื™ื
boundary ืžื™ื™ืฆืจ ืงื•ื“ ืฉืจืฅ ืงืฆืช ื™ื•ืชืจ ืžื”ืจ ืขืœ ืคื ื˜ื™ื•ื ืขืœ ื—ืฉื‘ื•ืŸ ื™ื•ืชืจ
ื–ื™ื›ืจื•ืŸ.

ื‘-x86-64, -ืžืžืื™ืจ-ื›ืคื•ืœ ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

ืึทื–ื”ึธืจึธื”: ืื ืืชื” ืžืฉืชืžืฉ ื‘- -ืžืžืื™ืจ-ื›ืคื•ืœ ืžืชื’, ืžื‘ื ื™ื ื”ืžื›ื™ืœื™ื ืืช ื”ืกื•ื’ื™ื ืœืขื™ืœ
ืžื™ื•ืฉืจื™ื ื‘ืฆื•ืจื” ืฉื•ื ื” ืžืžืคืจื˜ื™ ื”ืžืžืฉืง ื”ื‘ื™ื ืืจื™ ืฉืœ ื”ื™ื™ืฉื•ื ืฉืคื•ืจืกืžื•
ืขื‘ื•ืจ ื”-386 ื•ืื™ื ื ืชื•ืืžื™ื ื‘ื™ื ืืจื™ื™ื ืœืžื‘ื ื™ื ื‘ืงื•ื“ ืฉื”ื™ื“ื•ืจ ืœืœื
ื”ืžืชื’ ื”ื–ื”.

-m96bit-long-double
-m128bit-long-double
ืžืชื’ื™ื ืืœื” ืฉื•ืœื˜ื™ื ื‘ื’ื•ื“ืœ ืฉืœ ืกื•ื’ "ื›ืคื•ืœ ืืจื•ืš". ื”ื™ื™ืฉื•ื ื”ื‘ื™ื ืืจื™ ืฉืœ i386
ืžืžืฉืง ืžืฆื™ื™ืŸ ืืช ื”ื’ื•ื“ืœ ืœื”ื™ื•ืช 96 ืกื™ื‘ื™ื•ืช, ืื– -m96bit-long-double ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื‘
ืžืฆื‘ 32 ืกื™ื‘ื™ื•ืช.

ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืžื•ื“ืจื ื™ื•ืช (ืคื ื˜ื™ื•ื ื•ื—ื“ืฉื•ืช ื™ื•ืชืจ) ืžืขื“ื™ืคื•ืช "ื›ืคื•ืœ ืืจื•ืš" ืœื”ื™ื•ืช ืžื™ื•ืฉืจ ืœ-8-
ืื• ื’ื‘ื•ืœ ืฉืœ 16 ื‘ืชื™ื. ื‘ืžืขืจื›ื™ื ืื• ื‘ืžื‘ื ื™ื ื”ืชื•ืืžื™ื ืืช ABI, ื–ื” ืœื
ืืคืฉืจื™. ื›ืœ ื›ืš ืžืคืจื˜ -m128bit-long-double ืžื™ื™ืฉืจ ืืช "ื›ืคื•ืœ ืืจื•ืš" ืœ-16 ื‘ืชื™ื
ื’ื‘ื•ืœ ืขืœ ื™ื“ื™ ืจื™ืคื•ื“ ื”"ื›ืคื•ืœ ื”ืืจื•ืš" ื‘ืืคืก ื ื•ืกืฃ ืฉืœ 32 ืกื™ื‘ื™ื•ืช.

ื‘ืžื”ื“ืจ x86-64, -m128bit-long-double ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›-ABI ืฉืœื•
ืžืฆื™ื™ืŸ ืฉ"ื›ืคื•ืœ ืืจื•ืš" ืžื™ื•ืฉืจ ืขืœ ื’ื‘ื•ืœ ืฉืœ 16 ื‘ืชื™ื.

ืฉื™ืžื• ืœื‘ ืฉืืฃ ืื—ืช ืžื”ืืคืฉืจื•ื™ื•ืช ื”ืœืœื• ืœื ืžืืคืฉืจืช ื“ื™ื•ืง ื ื•ืกืฃ ืขืœ ืชืงืŸ x87
ืฉืœ 80 ืกื™ื‘ื™ื•ืช ืขื‘ื•ืจ "ื›ืคื•ืœ ืืจื•ืš".

ืึทื–ื”ึธืจึธื”: ืื ืชืขืงื•ืฃ ืืช ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ื”ื™ืขื“ ABI ืฉืœืš, ื–ื” ืžืฉื ื” ืืช ื”ื’ื•ื“ืœ
ืฉืœ ืžื‘ื ื™ื ื•ืžืขืจื›ื™ื ื”ืžื›ื™ืœื™ื ืžืฉืชื ื™ื "ื›ืคื•ืœื™ื ืืจื•ื›ื™ื", ื›ืžื• ื’ื ืฉื™ื ื•ื™ ืฉืœ
ืžื•ืกื›ืžื” ืฉืœ ืงืจื™ืืช ืคื•ื ืงืฆื™ื•ืช ืœืคื•ื ืงืฆื™ื•ืช ืฉืœื•ืงื—ื•ืช "ื›ืคื•ืœ ืืจื•ืš". ืžื›ืืŸ ืฉื”ื ืœื
ืชื•ืื ื‘ื™ื ืืจื™ ืขื ืงื•ื“ ื”ื™ื“ื•ืจ ืœืœื ื”ืžืชื’ ื”ื–ื”.

-ืžืœื•ื ื’-ื›ืคื•ืœ-64
-ืžืœื•ื ื’-ื›ืคื•ืœ-80
ืžืชื’ื™ื ืืœื” ืฉื•ืœื˜ื™ื ื‘ื’ื•ื“ืœ ืฉืœ ืกื•ื’ "ื›ืคื•ืœ ืืจื•ืš". ื’ื•ื“ืœ ืฉืœ 64 ืกื™ื‘ื™ื•ืช ืขื•ืฉื” ืืช
ืกื•ื’ "ื›ืคื•ืœ ืืจื•ืš" ืฉื•ื•ื” ืขืจืš ืœืกื•ื’ "ื›ืคื•ืœ". ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ Bionic C
ืกึดืคึฐืจึดื™ึธื”.

ืึทื–ื”ึธืจึธื”: ืื ืชืขืงื•ืฃ ืืช ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ื”ื™ืขื“ ABI ืฉืœืš, ื–ื” ืžืฉื ื” ืืช ื”ื’ื•ื“ืœ
ืฉืœ ืžื‘ื ื™ื ื•ืžืขืจื›ื™ื ื”ืžื›ื™ืœื™ื ืžืฉืชื ื™ื "ื›ืคื•ืœื™ื ืืจื•ื›ื™ื", ื›ืžื• ื’ื ืฉื™ื ื•ื™ ืฉืœ
ืžื•ืกื›ืžื” ืฉืœ ืงืจื™ืืช ืคื•ื ืงืฆื™ื•ืช ืœืคื•ื ืงืฆื™ื•ืช ืฉืœื•ืงื—ื•ืช "ื›ืคื•ืœ ืืจื•ืš". ืžื›ืืŸ ืฉื”ื ืœื
ืชื•ืื ื‘ื™ื ืืจื™ ืขื ืงื•ื“ ื”ื™ื“ื•ืจ ืœืœื ื”ืžืชื’ ื”ื–ื”.

-mlarge-data-threshold=ืกืฃ
ืžืชื™ -mcmodel = ื‘ื™ื ื•ื ื™ ืžืฆื•ื™ืŸ, ืื•ื‘ื™ื™ืงื˜ื™ ื ืชื•ื ื™ื ื’ื“ื•ืœื™ื ืž- ืกืฃ ืžืžื•ืงืžื™ื ื‘
ืžื“ื•ืจ ื”ื ืชื•ื ื™ื ื”ื’ื“ื•ืœื™ื. ืขืจืš ื–ื” ื—ื™ื™ื‘ ืœื”ื™ื•ืช ื–ื”ื” ื‘ื›ืœ ื”ืื•ื‘ื™ื™ืงื˜ื™ื ื”ืžืงื•ืฉืจื™ื ืืœื™ื”ื
ื”ื‘ื™ื ืืจื™, ื•ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 65535.

-mrtd
ื”ืฉืชืžืฉ ื‘ืžื•ืกื›ืžื” ืื—ืจืช ืฉืœ ืงืจื™ืืช ืคื•ื ืงืฆื™ื•ืช, ืฉื‘ื” ืคื•ื ืงืฆื™ื•ืช ืฉืœื•ืงื—ื•ืช ืงื‘ื•ืข
ืžืกืคืจ ื”ืืจื’ื•ืžื ื˜ื™ื ื—ื•ื–ืจื™ื ืขื ื”ืกื™ืžืŸ "ret ืžืกืคืจ" ื”ื•ืจืื”, ืฉืžืฆื™ื’ื” ืืช ื”ื˜ื™ืขื•ื ื™ื ืฉืœื”ื
ื‘ื–ืžืŸ ื”ื—ื–ืจื”. ื–ื” ื—ื•ืกืš ื”ื•ืจืื” ืื—ืช ืืฆืœ ื”ืžืชืงืฉืจ ืžื›ื™ื•ื•ืŸ ืฉืื™ืŸ ืฆื•ืจืš ื‘ื›ืš
ืœื”ืขืœื•ืช ืืช ื”ื˜ื™ืขื•ื ื™ื ืฉื.

ืืชื” ื™ื›ื•ืœ ืœืฆื™ื™ืŸ ืฉืคื•ื ืงืฆื™ื” ื‘ื•ื“ื“ืช ืชื™ืงืจื ืขื ืจืฆืฃ ื”ืงืจื™ืื” ื”ื–ื” ืขื
ืชื›ื•ื ืช ื”ืคื•ื ืงืฆื™ื” stdcall. ืืชื” ื™ื›ื•ืœ ื’ื ืœืขืงื•ืฃ ืืช -mrtd ืืคืฉืจื•ืช ื‘ืืžืฆืขื•ืช
ืชื›ื•ื ืช ืคื•ื ืงืฆื™ื” cdecl.

ืึทื–ื”ึธืจึธื”: ืืžื ืช ืฉื™ื—ื•ืช ื–ื• ืื™ื ื” ืชื•ืืžืช ืืช ื–ื• ื”ืžืฉืžืฉืช ื‘ื“ืจืš ื›ืœืœ ื‘-Unix,
ืื– ืืชื” ืœื ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื• ืื ืืชื” ืฆืจื™ืš ืœืงืจื•ื ืœืกืคืจื™ื•ืช ื”ื™ื“ื•ืจ ืขื ืžื”ื“ืจ Unix.

ื›ืžื• ื›ืŸ, ืขืœื™ืš ืœืกืคืง ืื‘ื•ืช ื˜ื™ืคื•ืก ืฉืœ ืคื•ื ืงืฆื™ื•ืช ืขื‘ื•ืจ ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ืฉืžืงื‘ืœื•ืช ืžืฉืชื ื™ื
ืžืกืคืจื™ ืืจื’ื•ืžื ื˜ื™ื (ื›ื•ืœืœ "printf"); ืื—ืจืช ื ื•ืฆืจ ืงื•ื“ ืฉื’ื•ื™ ืขื‘ื•ืจ
ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื•ืช ื”ืœืœื•.

ื‘ื ื•ืกืฃ, ื ื•ืฆืจ ืงื•ื“ ืฉื’ื•ื™ ื—ืžื•ืจ ืื ืืชื” ืงื•ืจื ืœืคื•ื ืงืฆื™ื” ืขื ื™ื•ืชืจ ืžื“ื™
ื˜ื™ืขื•ื ื™ื. (ื‘ื“ืจืš ื›ืœืœ, ื˜ื™ืขื•ื ื™ื ื ื•ืกืคื™ื ืžืชืขืœืžื™ื ืœืœื ืžื–ื™ืง.)

-mregparm=NUM
ืฉืœื™ื˜ื” ื‘ื›ืžื” ืื•ื’ืจื™ื ืžืฉืžืฉื™ื ืœื”ืขื‘ืจืช ืืจื’ื•ืžื ื˜ื™ื ืฉืœ ืžืกืคืจื™ื ืฉืœืžื™ื. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืœื
ืื•ื’ืจื™ื ืžืฉืžืฉื™ื ืœื”ืขื‘ืจืช ืืจื’ื•ืžื ื˜ื™ื, ื•ืœื›ืœ ื”ื™ื•ืชืจ ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘-3 ืื•ื’ืจื™ื. ืืชื” ื™ื›ื•ืœ
ืœืฉืœื•ื˜ ื‘ื”ืชื ื”ื’ื•ืช ื–ื• ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื” ืกืคืฆื™ืคื™ืช ื‘ืืžืฆืขื•ืช ืชื›ื•ื ืช ื”ืคื•ื ืงืฆื™ื” regparm.

ืึทื–ื”ึธืจึธื”: ืื ืืชื” ืžืฉืชืžืฉ ื‘ืžืชื’ ื–ื”, ื• NUM ืื™ื ื• ืืคืก, ืื– ืขืœื™ืš ืœื‘ื ื•ืช ืืช ื›ืœ ื”ืžื•ื“ื•ืœื™ื
ืขื ืื•ืชื• ืขืจืš, ื›ื•ืœืœ ื›ืœ ืกืคืจื™ื•ืช. ื–ื” ื›ื•ืœืœ ืืช ืกืคืจื™ื•ืช ื”ืžืขืจื›ืช ื•
ืžื•ื“ื•ืœื™ ื”ืคืขืœื”.

-msseregparm
ื”ืฉืชืžืฉ ื‘ืžื•ืกื›ืžื•ืช ื”ืขื‘ืจืช ืจื™ืฉื•ื SSE ืขื‘ื•ืจ ืืจื’ื•ืžื ื˜ื™ื ืฆืคื™ื ื•ื›ืคื•ืœื™ื ื•ืขืจื›ื™ ื”ื—ื–ืจื”.
ืืชื” ื™ื›ื•ืœ ืœืฉืœื•ื˜ ื‘ื”ืชื ื”ื’ื•ืช ื–ื• ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื” ืžืกื•ื™ืžืช ื‘ืืžืฆืขื•ืช ืชื›ื•ื ืช ื”ืคื•ื ืงืฆื™ื”
sseregparm.

ืึทื–ื”ึธืจึธื”: ืื ืืชื” ืžืฉืชืžืฉ ื‘ืžืชื’ ื–ื”, ืขืœื™ืš ืœื‘ื ื•ืช ืืช ื›ืœ ื”ืžื•ื“ื•ืœื™ื ืขื ืื•ืชื• ืขืจืš,
ื›ื•ืœืœ ื›ืœ ืกืคืจื™ื•ืช. ื–ื” ื›ื•ืœืœ ืืช ืกืคืจื™ื•ืช ื”ืžืขืจื›ืช ื•ืžื•ื“ื•ืœ ื”ืืชื—ื•ืœ.

-mvect8-ret-in-mem
ื”ื—ื–ืจ ื•ืงื˜ื•ืจื™ื ืฉืœ 8 ื‘ืชื™ื ื‘ื–ื™ื›ืจื•ืŸ ื‘ืžืงื•ื ืื•ื’ืจื™ MMX. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ืžื•ืคืขืœืช
Solaris@tie{}8 ื•-9 ื•-VxWorks ื›ื“ื™ ืœื”ืชืื™ื ืœ-ABI ืฉืœ ืžื”ื“ืจื™ื ืฉืœ Sun Studio ืขื“
ื’ืจืกื” 12. ื’ืจืกืื•ืช ืžื”ื“ืจ ืžืื•ื—ืจื•ืช ื™ื•ืชืจ (ื”ื—ืœ ืž-Studio 12 Update@tie{}1) ื‘ื”ืžืฉืš
ื”-ABI ื‘ืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™ ื™ืขื“ื™ x86 ืื—ืจื™ื, ืฉื”ื™ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื‘-Solaris@tie{}10 โ€‹โ€‹ื•ืื™ืœืš.
ืจืง ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืื ืืชื” ืฆืจื™ืš ืœื”ื™ืฉืืจ ืชื•ืื ืœืงื•ื“ ื”ืงื™ื™ื ื”ืžื™ื•ืฆืจ ืขืœ ื™ื“ื™
ืื•ืชืŸ ื’ืจืกืื•ืช ืžื”ื“ืจ ืงื•ื“ืžื•ืช ืื• ื’ืจืกืื•ืช ื™ืฉื ื•ืช ื™ื•ืชืจ ืฉืœ GCC.

-mpc32
-mpc64
-mpc80
ื”ื’ื“ืจ ืืช ื“ื™ื•ืง ื”ื ืงื•ื“ื” ืฆืคื” 80387 ืœ-32, 64 ืื• 80 ืกื™ื‘ื™ื•ืช. ืžืชื™ -mpc32 ืžืฆื•ื™ืŸ,
ื”ืžืฉืžืขื•ืช ืฉืœ ืชื•ืฆืื•ืช ืฉืœ ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื” ืžืขื•ื’ืœืช ืœ-24 ืกื™ื‘ื™ื•ืช
(ื“ื™ื•ืง ื™ื—ื™ื“); -mpc64 ืžืขื’ืœ ืืช ื”ืžืฉืžืขื•ืช ืฉืœ ืชื•ืฆืื•ืช ืฉืœ ื ืงื•ื“ื” ืฆืคื”
ืคืขื•ืœื•ืช ืœ-53 ืกื™ื‘ื™ื•ืช (ื“ื™ื•ืง ื›ืคื•ืœ) ื• -mpc80 ืžืขื’ืœ ืืช ืžืฉืžืขื•ื™ื•ืช ื”ืชื•ืฆืื•ืช
ืฉืœ ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื” ืœ-64 ืกื™ื‘ื™ื•ืช (ื“ื™ื•ืง ื›ืคื•ืœ ืžื•ืจื—ื‘), ืฉื–ื”ื•
ื‘ึผึฐืจึดื™ืจึทืช ืžึถื—ื“ึธืœ. ื›ืืฉืจ ืžืฉืชืžืฉื™ื ื‘ืืคืฉืจื•ืช ื–ื•, ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื” ื‘ืจืžืช ื“ื™ื•ืง ื’ื‘ื•ื”ื” ื™ื•ืชืจ
ืœื ื–ืžื™ืŸ ืœืžืชื›ื ืช ืžื‘ืœื™ ืœื”ื’ื“ื™ืจ ื‘ืžืคื•ืจืฉ ืืช ืžื™ืœืช ื”ื‘ืงืจื” ืฉืœ FPU.

ื”ื’ื“ืจืช ื”ืขื™ื’ื•ืœ ืฉืœ ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื” ืœืคื—ื•ืช ืžืืฉืจ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ 80 ืกื™ื‘ื™ื•ืช ื™ื›ื•ืœื”
ืœื”ืื™ืฅ ืชื•ื›ื ื™ื•ืช ืžืกื•ื™ืžื•ืช ื‘-2% ืื• ื™ื•ืชืจ. ืฉื™ื ืœื‘ ืฉื—ืœืง ืžื”ืกืคืจื™ื•ืช ื”ืžืชืžื˜ื™ื•ืช ืžื ื™ื—ื•ืช ื–ืืช
ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื” ืขื ื“ื™ื•ืง ืžื•ืจื—ื‘ (80 ืกื™ื‘ื™ื•ืช) ืžื•ืคืขืœื•ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ; ืฉื’ืจื•ืช
ื‘ืกืคืจื™ื•ืช ื›ืืœื” ืขืœื•ืœื™ื ืœืกื‘ื•ืœ ืžืื•ื‘ื“ืŸ ื“ื™ื•ืง ืžืฉืžืขื•ืชื™, ื‘ื“ืจืš ื›ืœืœ ื‘ืืžืฆืขื•ืช ื›ืš-
ื ืงืจื "ื‘ื™ื˜ื•ืœ ืงื˜ืกื˜ืจื•ืคืœื™", ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžืฉืžืฉืช ืœื”ื’ื“ืจืช ื”ื“ื™ื•ืง ืœ
ืคื—ื•ืช ืžื“ื™ื•ืง ืžื•ืจื—ื‘.

-mstackrealign
ื™ื™ืฉืจ ืžื—ื“ืฉ ืืช ื”ืขืจื™ืžื” ื‘ื›ื ื™ืกื”. ื‘-Intel x86, ื” -mstackrealign ืืคืฉืจื•ืช ื™ื•ืฆืจืช an
ืคืจื•ืœื•ื’ ื•ืืคื™ืœื•ื’ ื—ืœื•ืคื™ ืฉืžื™ื™ืฉืจื™ื ืžื—ื“ืฉ ืืช ืขืจื™ืžืช ื–ืžืŸ ื”ืจื™ืฆื” ื‘ืžื™ื“ืช ื”ืฆื•ืจืš. ื–ึถื”
ืชื•ืžืš ื‘ืขืจื‘ื•ื‘ ืงื•ื“ื™ื ืžื“ื•ืจ ืงื•ื“ื ื”ืฉื•ืžืจื™ื ืขืœ ื™ื™ืฉื•ืจ ืžื—ืกื ื™ืช ืฉืœ 4 ื‘ืชื™ื ืขื ืงื•ื“ื™ื ืžื•ื“ืจื ื™ื™ื
ืฉืžื•ืจ ืขืœ ื™ื™ืฉื•ืจ ืžื—ืกื ื™ืช ืฉืœ 16 ื‘ืชื™ื ืขื‘ื•ืจ ืชืื™ืžื•ืช SSE. ืจืื” ื’ื ืืช ื”ืชื›ื•ื ื”
"force_align_arg_pointer", ื™ืฉื™ื ืœืคื•ื ืงืฆื™ื•ืช ื‘ื•ื“ื“ื•ืช.

-mreferred-stack-boundary=NUM
ื ืกื” ืœืฉืžื•ืจ ืขืœ ื’ื‘ื•ืœ ื”ืขืจื™ืžื” ืžื™ื•ืฉืจ ืœ-2 ืžื•ืจื ืœ NUM ื’ื‘ื•ืœ ื‘ืชื™ื. ืื
-ื’ื‘ื•ืœ-ืžื—ืกื ื™ืช ืœื ืฆื•ื™ืŸ, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 4 (16 ื‘ืชื™ื ืื• 128 ืกื™ื‘ื™ื•ืช).

ืึทื–ื”ึธืจึธื”: ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“ ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช x86-64 ืขื ื”ืจื—ื‘ื•ืช SSE
ื ึธื›ึถื”, -mreferred-stack-boundary=3 ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื›ื“ื™ ืœืฉืžื•ืจ ืืช ื’ื‘ื•ืœ ื”ืขืจื™ืžื” ืžื™ื•ืฉืจ
ืœื’ื‘ื•ืœ 8 ื‘ืชื™ื. ืžื›ื™ื•ื•ืŸ ืฉ-x86-64 ABI ื“ื•ืจืฉ ื™ื™ืฉื•ืจ ืžื—ืกื ื™ืช ืฉืœ 16 ื‘ืชื™ื, ื–ื”ื• ABI
ืื™ื ื• ืชื•ืื ื•ืžื™ื•ืขื“ ืœืฉื™ืžื•ืฉ ื‘ืกื‘ื™ื‘ื” ืžื‘ื•ืงืจืช ืฉื‘ื” ื ืžืฆื ืฉื˜ื— ืžื—ืกื ื™ืช
ืžื’ื‘ืœื” ื—ืฉื•ื‘ื”. ืืคืฉืจื•ืช ื–ื• ืชื•ื‘ื™ืœ ืœืงื•ื“ ืฉื’ื•ื™ ื‘ืขืช ื”ื™ื“ื•ืจ ืฉืœ ืคื•ื ืงืฆื™ื•ืช
ืขื 16 ื‘ืชื™ื ื™ื™ืฉื•ืจ ืžื—ืกื ื™ืช (ื›ื’ื•ืŸ ืคื•ื ืงืฆื™ื•ืช ืžืกืคืจื™ื” ืกื˜ื ื“ืจื˜ื™ืช) ื ืงืจืื™ื
ืขื ืžื—ืกื ื™ืช ืฉื’ื•ื™ื”. ื‘ืžืงืจื” ื–ื”, ื”ื•ืจืื•ืช SSE ืขืœื•ืœื•ืช ืœื”ื•ื‘ื™ืœ ืœื–ื™ื›ืจื•ืŸ ืฉื’ื•ื™
ืžืœื›ื•ื“ื•ืช ื’ื™ืฉื”. ื‘ื ื•ืกืฃ, ืืจื’ื•ืžื ื˜ื™ื ืžืฉืชื ื™ื ื™ื˜ื•ืคืœื• ื‘ืฆื•ืจื” ืฉื’ื•ื™ื” ืขื‘ื•ืจ 16 ื‘ืชื™ื
ืื•ื‘ื™ื™ืงื˜ื™ื ืžื™ื•ืฉืจื™ื (ื›ื•ืœืœ x87 long double ื•-__int128), ืžื” ืฉืžื•ื‘ื™ืœ ืœืชื•ืฆืื•ืช ืฉื’ื•ื™ื•ืช.
ืืชื” ื—ื™ื™ื‘ ืœื‘ื ื•ืช ืืช ื›ืœ ื”ืžื•ื“ื•ืœื™ื ืขื -mreferred-stack-boundary=3, ื›ื•ืœืœ ื›ืœ ืกืคืจื™ื•ืช.
ื–ื” ื›ื•ืœืœ ืืช ืกืคืจื™ื•ืช ื”ืžืขืจื›ืช ื•ืžื•ื“ื•ืœ ื”ืืชื—ื•ืœ.

-mincoming-stack-boundary=NUM
ื ื ื™ื— ืฉื”ืžื—ืกื ื™ืช ื”ื ื›ื ืกืช ืžื™ื•ืฉืจืช ืœ-2 ืฉื”ื•ืขืœืชื” ืœ NUM ื’ื‘ื•ืœ ื‘ืชื™ื. ืื
-ื’ื‘ื•ืœ-ืžื—ืกื ื™ืช-mincoming ืœื ืฆื•ื™ืŸ, ื–ื” ืฉืฆื•ื™ืŸ ืขืœ ื™ื“ื™
-ื’ื‘ื•ืœ-ืžื—ืกื ื™ืช ืžืฉืžืฉ.

ื‘-Pentium ื•-Pentium Pro, ืขืจื›ื™ "ื›ืคื•ืœ" ื•"ื›ืคื•ืœ ืืจื•ืš" ืฆืจื™ื›ื™ื ืœื”ื™ื•ืช ืžื™ื•ืฉืจื™ื ืœ-
ื’ื‘ื•ืœ ืฉืœ 8 ื‘ืชื™ื (ืจืื” -ืžืžืื™ืจ-ื›ืคื•ืœ) ืื• ืกื•ื‘ืœื™ื ืžื‘ื™ืฆื•ืขื™ื ืžืฉืžืขื•ืชื™ื™ื ื‘ื–ืžืŸ ืจื™ืฆื”
ืขื•ื ืฉื™ื. ื‘-Pentium III, ืกื•ื’ ื”ื ืชื•ื ื™ื ืฉืœ ื”ื–ืจืžืช SIMD Extension (SSE) "__m128" ืขืฉื•ื™
ืื™ื ื• ืคื•ืขืœ ื›ืจืื•ื™ ืื ื”ื•ื ืื™ื ื• ืžื™ื•ืฉืจ ืœ-16 ื‘ืชื™ื.

ื›ื“ื™ ืœื”ื‘ื˜ื™ื— ื™ื™ืฉื•ืจ ื ื›ื•ืŸ ืฉืœ ืขืจื›ื™ื ืืœื” ื‘ืขืจื™ืžื”, ื’ื‘ื•ืœ ื”ืžื—ืกื ื™ืช ื—ื™ื™ื‘ ืœื”ื™ื•ืช ื›ืžื•
ืžื™ื•ืฉืจ ื›ื ื“ืจืฉ ืขืœ ื™ื“ื™ ื›ืœ ืขืจืš ื”ืžืื•ื—ืกืŸ ื‘ืขืจื™ืžื”. ื™ืชืจ ืขืœ ื›ืŸ, ื›ืœ ืคื•ื ืงืฆื™ื”
ื—ื™ื™ื‘ ืœื”ื™ื•ื•ืฆืจ ื›ืš ืฉื™ืฉืื™ืจ ืืช ื”ืขืจื™ืžื” ืžื™ื•ืฉืจืช. ื•ื‘ื›ืš ืงื•ืจืื™ื ืœืคื•ื ืงืฆื™ื”
ืงื•ืžืคื™ืœื“ ืขื ื’ื‘ื•ืœ ืžื—ืกื ื™ืช ืžื•ืขื“ืฃ ื’ื‘ื•ื” ื™ื•ืชืจ ืžืคื•ื ืงืฆื™ื” ืฉื”ื™ื“ื•ืจ ืขื ื ืžื•ืš ื™ื•ืชืจ
ืกื‘ื™ืจ ืœื”ื ื™ื— ืฉื’ื‘ื•ืœ ื”ืžื—ืกื ื™ืช ื”ืžื•ืขื“ืฃ ืœื ืžื™ื™ืฉืจ ืืช ื”ืขืจื™ืžื”. ื–ื” ืžื•ืžืœืฅ ืฉ
ืกืคืจื™ื•ืช ื”ืžืฉืชืžืฉื•ืช ื‘ื”ืชืงืฉืจื•ืช ื—ื•ื–ืจืช ืžืฉืชืžืฉื•ืช ืชืžื™ื“ ื‘ื”ื’ื“ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

ื™ื™ืฉื•ืจ ื ื•ืกืฃ ื–ื” ื’ื•ื–ืœ ืฉื˜ื— ืžื—ืกื ื™ืช ื ื•ืกืฃ, ื•ื‘ื“ืจืš ื›ืœืœ ืžื’ื“ื™ืœ ืืช ื”ืงื•ื“
ื’ื•ื“ืœ. ืงื•ื“ ืจื’ื™ืฉ ืœืฉื™ืžื•ืฉ ื‘ื—ืœืœ ืžื—ืกื ื™ืช, ื›ื’ื•ืŸ ืžืขืจื›ื•ืช ืžืฉื•ื‘ืฆื•ืช ื•
ืœื™ื‘ื•ืช ืžืขืจื›ืช ื”ื”ืคืขืœื”, ืื•ืœื™ ืชืจืฆื• ืœืฆืžืฆื ืืช ื”ื™ื™ืฉื•ืจ ื”ืžื•ืขื“ืฃ ืœ
-mreferred-stack-boundary=2.

-ืžืžืžืงืก
-mno-mmx
-msse
-ืžื ื•-ืกืก
-msse2
-mno-sse2
-msse3
-mno-sse3
-mssse3
-mno-ssse3
-msse4.1
-mno-sse4.1
-msse4.2
-mno-sse4.2
-msse4
-mno-sse4
-mavx
-mno-avx
-mavx2
-mno-avx2
-ืžื™ื™ืก
-mno-aes
-mpclmul
-mno-pclmul
-mfsgsbase
-mno-fsgsbase
-mrdrnd
-mno-rdrnd
-mf16c
-mno-f16c
-mfma
-mno-fma
-msse4a
-mno-sse4a
-mfma4
-mno-fma4
-mxop
-mno-xop
-mlwp
-mno-lwp
-m3dnow
-mno-3dnow
-mpopcnt
-mno-popcnt
-ืžืื‘ื
-ืžื ื•-ืื‘ื
-ืžื‘ืžื™
-mbmi2
-mno-bmi
-mno-bmi2
-mlzcnt
-mno-lzcnt
-mrtm
-mtbm
-mno-tbm
ืžืชื’ื™ื ืืœื” ืžืืคืฉืจื™ื ืื• ืžืฉื‘ื™ืชื™ื ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ื‘-MMX, SSE, SSE2, SSE3,
SSSE3, SSE4.1, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, F16C, FMA, SSE4A, FMA4, XOP,
LWP, ABM, BMI, BMI2, LZCNT, RTM ืื• 3DNow! ืขืจื›ื•ืช ื”ื•ืจืื•ืช ืžื•ืจื—ื‘ื•ืช. ืืœื”
ื”ืจื—ื‘ื•ืช ื–ืžื™ื ื•ืช ื’ื ื›ืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช: ืจืื” X86 Built-in ืคื•ื ืงืฆื™ื•ืช, ืขื‘ื•ืจ
ืคืจื˜ื™ื ืขืœ ื”ืคื•ื ืงืฆื™ื•ืช ื”ืžื•ืคืขืœื•ืช ื•ืžื•ืฉื‘ืชื•ืช ืขืœ ื™ื“ื™ ืžืชื’ื™ื ืืœื”.

ืœื™ืฆื•ืจ ื”ื•ืจืื•ืช SSE/SSE2 ื‘ืื•ืคืŸ ืื•ื˜ื•ืžื˜ื™ ืžืงื•ื“ ื ืงื•ื“ื” ืฆืคื” (ื‘ื ื™ื’ื•ื“
ืœื”ื•ืจืื•ืช 387), ืจืื” -mfpmath = sse.

GCC ืžื“ื›ื ื”ื•ืจืื•ืช SSEx ื›ืืฉืจ -mavx ืžืฉืžืฉ. ื‘ืžืงื•ื ื–ืืช, ื”ื•ื ืžื™ื™ืฆืจ AVX ื—ื“ืฉ
ื”ื•ืจืื•ืช ืื• ืฉืงื™ืœื•ืช AVX ืขื‘ื•ืจ ื›ืœ ื”ื•ืจืื•ืช ื”-SSEx ื‘ืขืช ื”ืฆื•ืจืš.

ืืคืฉืจื•ื™ื•ืช ืืœื” ืžืืคืฉืจื•ืช ืœ-GCC ืœื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ื”ืžื•ืจื—ื‘ื•ืช ื”ืœืœื• ื‘ืงื•ื“ ืฉื ื•ืฆืจ, ืืคื™ืœื•
ืœึฐืœึนื -mfpmath = sse. ื™ื™ืฉื•ืžื™ื ืฉืžื‘ืฆืขื™ื ื–ื™ื”ื•ื™ CPU ื‘ื–ืžืŸ ืจื™ืฆื” ื—ื™ื™ื‘ื™ื ืœื‘ืฆืข ืงื•ืžืคื™ืœืฆื™ื”
ืงื‘ืฆื™ื ื ืคืจื“ื™ื ืขื‘ื•ืจ ื›ืœ ืืจื›ื™ื˜ืงื˜ื•ืจื” ื ืชืžื›ืช, ืชื•ืš ืฉื™ืžื•ืฉ ื‘ื“ื’ืœื™ื ื”ืžืชืื™ืžื™ื. ื‘
ื‘ืžื™ื•ื—ื“, ื”ืงื•ื‘ืฅ ื”ืžื›ื™ืœ ืืช ืงื•ื“ ื–ื™ื”ื•ื™ ื”-CPU ืฆืจื™ืš ืœื”ื™ื•ืช ื”ื™ื“ื•ืจ ืœืœื
ืืคืฉืจื•ื™ื•ืช ืืœื”.

-mcld
ืืคืฉืจื•ืช ื–ื• ืžื•ืจื” ืœ-GCC ืœืคืœื•ื˜ ื”ื•ืจืืช "cld" ื‘ืคืจื•ืœื•ื’ ื”ืคื•ื ืงืฆื™ื•ืช
ื”ืžืฉืชืžืฉื™ื ื‘ื”ื•ืจืื•ืช ืžื—ืจื•ื–ืช. ื”ื•ืจืื•ืช ืžื—ืจื•ื–ืช ืชืœื•ื™ื•ืช ื‘ื“ื’ืœ ื”-DF ืœื‘ื—ื™ืจื”
ื‘ื™ืŸ ืžืฆื‘ ื”ื’ื“ืœื” ืื•ื˜ื•ืžื˜ื™ืช ืื• ื”ืคื—ืชื” ืื•ื˜ื•ืžื˜ื™ืช. ื‘ืขื•ื“ ื”-ABI ืžืฆื™ื™ืŸ ืืช ื“ื’ืœ ื”-DF ืœ
ื™ืฉ ืœื ืงื•ืช ื‘ื”ื–ื ืช ืคื•ื ืงืฆื™ื”, ื—ืœืง ืžืžืขืจื›ื•ืช ื”ื”ืคืขืœื” ืžืคืจื•ืช ืžืคืจื˜ ื–ื” ื‘ื›ืš ืฉืœื
ื ื™ืงื•ื™ ื“ื’ืœ DF ื‘ืฉื•ืœื—ื™ ื”ื—ืจื™ื’ ืฉืœื”ื. ื”ืžื˜ืคืœ ื—ืจื™ื’ ื™ื›ื•ืœ ืœื”ื™ื•ืช
ืžื•ืคืขืœ ืขื ืกื˜ ื“ื’ืœ DF, ืžื” ืฉืžื•ื‘ื™ืœ ืœืžืฆื‘ ื›ื™ื•ื•ืŸ ืฉื’ื•ื™ ื‘ืขืช ืžื—ืจื•ื–ืช
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช. ื ื™ืชืŸ ืœื”ืคืขื™ืœ ืืคืฉืจื•ืช ื–ื• ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ื™ืขื“ื™ x32 ืฉืœ 86 ืกื™ื‘ื™ื•ืช ืขืœ ื™ื“ื™
ื”ื’ื“ืจืช GCC ืขื ื” --enable-cld ืืคืฉืจื•ืช ืœื”ื’ื“ื™ืจ. ื“ื•ืจ ืฉืœ "cld"
ื ื™ืชืŸ ืœื“ื›ื ื”ื•ืจืื•ืช ื‘ืืžืฆืขื•ืช ื” -mno-cld ืืคืฉืจื•ืช ืžื”ื“ืจ ื‘ืžืงืจื” ื–ื”.

-mvzeroupper
ืืคืฉืจื•ืช ื–ื• ืžื•ืจื” ืœ-GCC ืœืคืœื•ื˜ ื”ื•ืจืืช "vzeroupper" ืœืคื ื™ ื”ืขื‘ืจื” ืฉืœ
ืœืฉืœื•ื˜ ื‘ื–ืจื™ืžืช ื”ืคื•ื ืงืฆื™ื” ื›ื“ื™ ืœืžื–ืขืจ ื’ื ืืช ืขื•ื ืฉ ื”ืžืขื‘ืจ ืฉืœ AVX ืœ-SSE
ื›ืžื• ืœื”ืกื™ืจ ืžืจื›ื™ื‘ื™ "ืืคืก" ืžื™ื•ืชืจื™ื.

-mrefer-avx128
ืืคืฉืจื•ืช ื–ื• ืžื•ืจื” ืœ-GCC ืœื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช 128-bit AVX ื‘ืžืงื•ื 256-bit AVX
ื”ื•ืจืื•ืช ื‘-Vectorizer ื”ืื•ื˜ื•ืžื˜ื™.

-mcx16
ืืคืฉืจื•ืช ื–ื• ืžืืคืฉืจืช ืœ-GCC ืœื™ืฆื•ืจ ื”ื•ืจืื•ืช "CMPXCHG16B". "CMPXCHG16B" ืžืืคืฉืจ
ืขื‘ื•ืจ ืคืขื•ืœื•ืช ืื˜ื•ืžื™ื•ืช ืขืœ ืกื•ื’ื™ ื ืชื•ื ื™ื ื›ืคื•ืœื™ื ืฉืœ ืืจื‘ืข ืžื™ืœื™ื (ืื• oword) ืฉืœ 128 ืกื™ื‘ื™ื•ืช. ื–ื”
ืฉื™ืžื•ืฉื™ ืขื‘ื•ืจ ืžื•ื ื™ื ื‘ืจื–ื•ืœื•ืฆื™ื” ื’ื‘ื•ื”ื” ืฉื ื™ืชืŸ ืœืขื“ื›ืŸ ืขืœ ื™ื“ื™ ืžืกืคืจ ืžืขื‘ื“ื™ื (ืื•
ืœื™ื‘ื•ืช). ื”ื•ืจืื” ื–ื• ื ื•ืฆืจืช ื›ื—ืœืง ืžืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช ืื˜ื•ืžื™ื•ืช: ืจืื”
__ืกื™ื ื›ืจื•ืŸ ืžื•ื‘ื ื” or __ืึธื˜ื•ึนืžึดื™ ืžื•ื‘ื ื” ืœืงื‘ืœืช ืคืจื˜ื™ื.

-ืžืฉืฃ
ืืคืฉืจื•ืช ื–ื• ืžืืคืฉืจืช ื™ืฆื™ืจืช ื”ื•ืจืื•ืช "SAHF" ื‘ืงื•ื“ 64 ืกื™ื‘ื™ื•ืช. ืžื•ืงื“ื ืฉืœ ืื™ื ื˜ืœ
ืžืขื‘ื“ื™ ืคื ื˜ื™ื•ื 4 ืขื ืชืžื™ื›ื” ืฉืœ ืื™ื ื˜ืœ 64, ืœืคื ื™ ื”ืฆื’ืช ืฉืœื‘ ืคื ื˜ื™ื•ื 4 G1
ื‘ื“ืฆืžื‘ืจ 2005, ื—ืกืจื• ื”ื•ืจืื•ืช "LAHF" ื•-"SAHF" ืฉื ืชืžื›ื• ืขืœ ื™ื“ื™
AMD64. ืืœื• ื”ืŸ ื”ื•ืจืื•ืช ื˜ืขื™ื ื” ื•ืื—ืกื•ืŸ, ื‘ื”ืชืืžื”, ืขื‘ื•ืจ ื“ื’ืœื™ ืกื˜ื˜ื•ืก ืžืกื•ื™ืžื™ื.
ื‘ืžืฆื‘ 64 ืกื™ื‘ื™ื•ืช, ื”ื”ื•ืจืื” "SAHF" ืžืฉืžืฉืช ืœืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ "fmod", "drem" ื•
"ืฉืืจื™ืช" ืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช; ืœึดืจึฐืื•ึนืช ืื—ืจ ืžื•ื‘ื ื” ืœืงื‘ืœืช ืคืจื˜ื™ื.

-ืžืžื•ื‘
ืืคืฉืจื•ืช ื–ื• ืžืืคืฉืจืช ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื” "movbe" ืœื™ื™ืฉื•ื "__builtin_bswap32"
ื•-"__builtin_bswap64".

-mcrc32
ืืคืฉืจื•ืช ื–ื• ืžืืคืฉืจืช ืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช "__builtin_ia32_crc32qi",
"__builtin_ia32_crc32hi", "__builtin_ia32_crc32si" ื•-"__builtin_ia32_crc32di" ืœ
ืฆื•ืจ ืืช ื”ื•ืจืืช ื”ืžื›ื•ื ื” "crc32".

-mrecip
ืืคืฉืจื•ืช ื–ื• ืžืืคืฉืจืช ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช "RCPSS" ื•-"RSQRTSS" (ื•ื‘ื•ืงื˜ื•ืจื™ื•ืช ืฉืœื”ืŸ
ื’ืจืกืื•ืช "RCPPS" ื•-"RSQRTPS") ืขื ืฉืœื‘ ื ื•ืกืฃ ืฉืœ ื ื™ื•ื˜ื•ืŸ-ืจืืคืกื•ืŸ ืœื”ื’ื“ืœื”
ื“ื™ื•ืง ื‘ืžืงื•ื "DIVSS" ื•-"SQRTSS" (ื•ื”ื’ืจืกืื•ืช ื”ื•ื•ืงื˜ื•ืจื™ื•ืช ืฉืœื”ื) ืขื‘ื•ืจ ื™ื—ื™ื“-
ื˜ื™ืขื•ื ื™ ื ืงื•ื“ื” ืฆืคื” ืžื“ื•ื™ืงืช. ื”ื•ืจืื•ืช ืืœื• ื ื•ืฆืจื•ืช ืจืง ื›ืืฉืจ
-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math ืžื•ืคืขืœ ื™ื—ื“ ืขื -ืกื•ืคื™ืช-ืžืชืžื˜ื™ืงื”-ื‘ืœื‘ื“ ื•
-fno-ืžืœื›ื•ื“ืช-ืžืชืžื˜ื™ืงื”. ืฉื™ืžื• ืœื‘ ืฉื‘ืขื•ื“ ื”ืชืคื•ืงื” ืฉืœ ื”ืจืฆืฃ ื’ื‘ื•ื”ื” ืžื”-
ืชืคื•ืงื” ืฉืœ ื”ื”ื•ืจืื” ื”ืœื ื”ื“ื“ื™ืช, ื”ื“ื™ื•ืง ืฉืœ ื”ืจืฆืฃ ื™ื›ื•ืœ ืœื”ื™ื•ืช
ื™ืจื“ ื‘ืขื“ 2 ulp (ื›ืœื•ืžืจ ื”ื”ื™ืคื•ืš ืฉืœ 1.0 ืฉื•ื•ื” ืœ-0.99999994).

ืฉื™ื ืœื‘ ืฉ-GCC ืžื™ื™ืฉืžืช ืืช "1.0f/sqrtf(ืื™ืงืก)" ื‘ืžื•ื ื—ื™ื ืฉืœ "RSQRTSS" (ืื• "RSQRTPS") ื›ื‘ืจ
ืขื -ืžื”ื™ืจ-ืžืชืžื˜ื™ืงื” (ืื• ืฉื™ืœื•ื‘ ื”ืืคืฉืจื•ื™ื•ืช ืœืขื™ืœ), ื•ืื™ื ื• ืฆืจื™ืš -mrecip.

ืฉื™ืžื• ืœื‘ ื’ื ืฉ-GCC ืคื•ืœื˜ ืืช ื”ืจืฆืฃ ืœืขื™ืœ ืขื ืฆืขื“ ื ื•ืกืฃ ืฉืœ ื ื™ื•ื˜ื•ืŸ-ืจืืคืกื•ืŸ ืขื‘ื•ืจ
ื—ืœื•ืงื” ืžื•ืฆืคืช ืื—ืช ื•ืงื˜ื•ืจื™ืช "sqrtf(ืื™ืงืก)" ื›ื‘ืจ ืขื -ืžื”ื™ืจ-ืžืชืžื˜ื™ืงื”
(ืื• ืฉื™ืœื•ื‘ ื”ืืคืฉืจื•ื™ื•ืช ืœืขื™ืœ), ื•ืื™ื ื• ืฆืจื™ืš -mrecip.

-mrecip=ืœึดื‘ื—ื•ึนืจ
ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ื‘ืื™ืœื• ื”ื•ืจืื•ืช ืื•ืžื“ืŸ ื”ื“ื“ื™ ื ื™ืชืŸ ืœื”ืฉืชืžืฉ. ืœึดื‘ื—ื•ึนืจ ื”ื•ื
ืจืฉื™ืžื” ืžื•ืคืจื“ืช ื‘ืคืกื™ืงื™ื ืฉืœ ืืคืฉืจื•ื™ื•ืช, ืืฉืจ ืขืฉื•ื™ื” ืœื”ื™ื•ืช ืงื•ื“ืžืช ืœื” ื ! ื›ื“ื™ ืœื”ืคื•ืš ืืช ื”ืืคืฉืจื•ืช:

ืืช ื›ืœ ืืคืฉืจ ืืช ื›ืœ ื”ื•ืจืื•ืช ื”ืื•ืžื“ืŸ.

ื‘ืจื™ืจืช ืžื—ื“ืœ
ืืคืฉืจ ืืช ื”ื•ืจืื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, ืฉื•ื•ื” ืขืจืš ืœ -mrecip.

ืืฃ ืœื ืื—ื“
ื”ืฉื‘ืช ืืช ื›ืœ ื”ื•ืจืื•ืช ื”ืื•ืžื“ืŸ, ืฉื•ื•ื” ืขืจืš ืœ -mno-recip.

div ืืคืฉืจ ืืช ื”ืงื™ืจื•ื‘ ืœื—ืœื•ืงื” ืกืงืœืจื™ืช.

vec-div
ืืคืฉืจ ืืช ื”ืงื™ืจื•ื‘ ืขื‘ื•ืจ ื—ืœื•ืงื” ื•ืงื˜ื•ืจื™ืช.

ืž"ืจ
ืืคืฉืจ ืืช ื”ืงื™ืจื•ื‘ ืœืฉื•ืจืฉ ืจื™ื‘ื•ืขื™ ืกืงืœืจื™.

vec-sqrt
ืืคืฉืจ ืืช ื”ืงื™ืจื•ื‘ ืœืฉื•ืจืฉ ืจื™ื‘ื•ืขื™ ื•ืงื˜ื•ืจื™.

ืื–, ืœืžืฉืœ, -mrecip=all,!sqrt ืžืืคืฉืจ ืืช ื›ืœ ื”ืงื™ืจื•ื‘ ื”ื”ื“ื“ื™ื™ื,
ื—ื•ืฅ ืžื”ืฉื•ืจืฉ ื”ืจื™ื‘ื•ืขื™.

-mveclibabi=ืกื•ื’
ืžืฆื™ื™ืŸ ืืช ืกื•ื’ ABI ืœืฉื™ืžื•ืฉ ืขื‘ื•ืจ ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ืคื ื™ืžื™ืช ื‘ืืžืฆืขื•ืช ืกืคืจื™ื™ื” ื—ื™ืฆื•ื ื™ืช.
ืขืจื›ื™ื ื ืชืžื›ื™ื ืขื‘ื•ืจ ืกื•ื’ ื™ืฉ ืœื• svml ืขื‘ื•ืจ ืกืคืจื™ื™ืช ื”ืžืชืžื˜ื™ืงื” ื”ื•ื•ืงื˜ื•ืจื™ืช ื”ืงืฆืจื” ืฉืœ ืื™ื ื˜ืœ ื• acml
ืขื‘ื•ืจ ืกืคืจื™ื™ืช ื”ืœื™ื‘ื” ื”ืžืชืžื˜ื™ืช ืฉืœ AMD. ื›ื“ื™ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื•, ืฉื ื™ื”ื -ftree-vectorize ื•
-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช ืžื•ืคืขืœื™ื, ื•-SVML ืื• ACML ABI ืชื•ืื
ื™ืฉ ืœืฆื™ื™ืŸ ืืช ื”ืกืคืจื™ื™ื” ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ.

GCC ืžืฉื“ืจ ื›ืจื’ืข ืงืจื™ืื•ืช ืœ-"vmldExp2", "vmldLn2", "vmldLog102", "vmldLog102",
"vmldPow2", "vmldTanh2", "vmldTan2", "vmldAtan2", "vmldAtanh2", "vmldCbrt2",
"vmldSinh2", "vmldSin2", "vmldAsinh2", "vmldAsin2", "vmldCosh2", "vmldCos2",
"vmldAcosh2", "vmldAcos2", "vmlsExp4", "vmlsLn4", "vmlsLog104", "vmlsLog104",
"vmlsPow4", "vmlsTanh4", "vmlsTan4", "vmlsAtan4", "vmlsAtanh4", "vmlsCbrt4",
"vmlsSinh4", "vmlsSin4", "vmlsAsinh4", "vmlsAsin4", "vmlsCosh4", "vmlsCos4",
"vmlsAcosh4" ื•-"vmlsAcos4" ืขื‘ื•ืจ ืกื•ื’ ื”ืคื•ื ืงืฆื™ื” ื”ืžืชืื™ื ื›ืืฉืจ -mveclibabi=svml is
ื‘ืฉื™ืžื•ืฉ, ื•-"__vrd2_sin", "__vrd2_cos", "__vrd2_exp", "__vrd2_log", "__vrd2_log2",
"__vrd2_log10", "__vrs4_sinf", "__vrs4_cosf", "__vrs4_expf", "__vrs4_logf",
"__vrs4_log2f", "__vrs4_log10f" ื•-"__vrs4_powf" ืขื‘ื•ืจ ืกื•ื’ ื”ืคื•ื ืงืฆื™ื” ื”ืžืชืื™ื
ืžืชื™ -mveclibabi=acml ืžืฉืžืฉ.

-ืžืื‘ื™=ืฉื
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžื•ืกื›ืžื•ืช ื”ืฉื™ื—ื•ืช ืฉืฆื•ื™ื ื”. ืขืจื›ื™ื ืžื•ืชืจื™ื ื”ื sysv ืœ
ื”-ABI ื”ืžืฉืžืฉ ื‘-GNU/Linux ื•ืžืขืจื›ื•ืช ืื—ืจื•ืช, ื• ms ืขื‘ื•ืจ Microsoft ABI. ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื”ืฉืชืžืฉ ื‘-Microsoft ABI ื›ืืฉืจ ืžืžืงื“ื™ื ืœ-Microsoft Windows ื•ืœ-SysV ABI
ื‘ื›ืœ ืฉืืจ ื”ืžืขืจื›ื•ืช. ืืชื” ื™ื›ื•ืœ ืœืฉืœื•ื˜ ื‘ื”ืชื ื”ื’ื•ืช ื–ื• ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื” ืžืกื•ื™ืžืช ืขืœ ื™ื“ื™ ืฉื™ืžื•ืฉ
ืชื›ื•ื ืช ื”ืคื•ื ืงืฆื™ื” ms_abi/sysv_abi.

-mtls-dialect=ืกื•ื’
ืฆื•ืจ ืงื•ื“ ื›ื“ื™ ืœื’ืฉืช ืœืื—ืกื•ืŸ ืžืงื•ืžื™ ื‘ืืžืฆืขื•ืช ื’ื ื• or gnu2 ืžื•ืกื›ืžื•ืช. ื’ื ื•
ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ืฉืžืจื ื™ืช; gnu2 ื”ื•ื ื™ืขื™ืœ ื™ื•ืชืจ, ืื‘ืœ ื”ื•ื ืขืฉื•ื™ ืœื”ื•ืกื™ืฃ ืงื•ืžืคื™ืœ-ื•ื”ืคืขืœื”-
ื“ืจื™ืฉื•ืช ื–ืžืŸ ืฉืœื ื ื™ืชืŸ ืœืขืžื•ื“ ื‘ื”ืŸ ื‘ื›ืœ ื”ืžืขืจื›ื•ืช.

-ืžืคื•ืฉ-ืืจื’ืก
-mno-push-args
ื”ืฉืชืžืฉ ื‘ืคืขื•ืœื•ืช PUSH ื›ื“ื™ ืœืื—ืกืŸ ืคืจืžื˜ืจื™ื ื™ื•ืฆืื™ื. ืฉื™ื˜ื” ื–ื• ืงืฆืจื” ื™ื•ืชืจ ื•ื‘ื“ืจืš ื›ืœืœ
ืžื”ื™ืจื” ื‘ืื•ืชื” ืžื™ื“ื” ื›ืžื• ืฉื™ื˜ื” ื”ืžืฉืชืžืฉืช ื‘ืคืขื•ืœื•ืช SUB/MOV ื•ื”ื™ื ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ื‘ื—ืœืง
ืžืงืจื™ื ื”ืฉื‘ืชืช ืื•ืชื• ืขืฉื•ื™ื” ืœืฉืคืจ ืืช ื”ื‘ื™ืฆื•ืขื™ื ื‘ื’ืœืœ ืชื–ืžื•ืŸ ืžืฉื•ืคืจ ื•ืžื•ืคื—ืช
ืชืœื•ืช.

-ืฆื‘ื•ืจ-ื™ื•ืฆื-ืืจื’ื™ื
ืื ืžื•ืคืขืœ, ื›ืžื•ืช ื”ืฉื˜ื— ื”ืžืงืกื™ืžืœื™ืช ื”ื ื“ืจืฉืช ืขื‘ื•ืจ ืืจื’ื•ืžื ื˜ื™ื ื™ื•ืฆืื™ื ืžื—ื•ืฉื‘ืช
ืคืจื•ืœื•ื’ ื”ืคื•ื ืงืฆื™ื”. ื–ื” ืžื”ื™ืจ ื™ื•ืชืจ ื‘ืจื•ื‘ ื”ืžืขื‘ื“ื™ื ื”ืžื•ื“ืจื ื™ื™ื ื‘ื’ืœืœ ืžื•ืคื—ืช
ืชืœื•ืช, ืชื–ืžื•ืŸ ืžืฉื•ืคืจ ื•ืฉื™ืžื•ืฉ ืžื•ืคื—ืช ื‘ืขืจื™ืžื” ื›ืืฉืจ ื”ืขืจื™ืžื” ื”ืžื•ืขื“ืคืช
ื”ื’ื‘ื•ืœ ืื™ื ื• ืฉื•ื•ื” ืœ-2. ื”ื—ื™ืกืจื•ืŸ ื”ื•ื ืขืœื™ื™ื” ื‘ื•ืœื˜ืช ื‘ื’ื•ื“ืœ ื”ืงื•ื“. ื–ึถื”
ืžืชื’ ืžืจืžื– -mno-push-args.

-ื—ื•ื˜ื™ื
ืชืžื›ื• ื‘ื˜ื™ืคื•ืœ ื—ืจื™ื’ ื‘ื˜ื•ื— ื‘-MinGW. ืชื•ื›ื ื™ื•ืช ื”ืžืกืชืžื›ื•ืช ืขืœ ื‘ื˜ื™ื—ื•ืช ืฉืจืฉื•ืจ
ื˜ื™ืคื•ืœ ื—ืจื™ื’ ื—ื™ื™ื‘ ืœื”ื“ืจ ื•ืœืงืฉืจ ืืช ื›ืœ ื”ืงื•ื“ ืขื ื”- -ื—ื•ื˜ื™ื ืื•ึนืคึผึฐืฆึดื™ึธื”. ืžืชื™
ืงื•ืžืคื™ืœืฆื™ื”, -ื—ื•ื˜ื™ื ืžื’ื“ื™ืจ "-D_MT"; ื›ืืฉืจ ืžืงืฉืจื™ื, ื–ื” ืžืงืฉืจ ื‘ืฉืจืฉื•ืจ ืžื™ื•ื—ื“
ืกืคืจื™ื™ืช ืขื•ื–ืจื™ื -lmingwthrd ืฉืžื ืงื” ื ืชื•ื ื™ ื˜ื™ืคื•ืœ ื—ืจื™ื’ื™ื ืœื›ืœ ื—ื•ื˜.

-mno-align-stringops
ืืœ ืชื™ื™ืฉืจ ืืช ื”ื™ืขื“ ืฉืœ ืคืขื•ืœื•ืช ืžื—ืจื•ื–ืช ืžื•ื˜ื‘ืขืช. ืžืชื’ ื–ื” ืžืคื—ื™ืช ืืช ื”ืงื•ื“
ื’ื•ื“ืœ ื•ืžืฉืคืจ ื‘ื™ืฆื•ืขื™ื ื‘ืžืงืจื” ืฉื”ื™ืขื“ ื›ื‘ืจ ืžื™ื•ืฉืจ, ืื‘ืœ GCC
ืœื ื™ื•ื“ืข ืขืœ ื–ื”.

-ืžื™ื ืœื™ื™ืŸ-ื›ืœ-stringops
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืคืขื•ืœื•ืช ืžื—ืจื•ื–ื•ืช ืžื•ื˜ื‘ืขื•ืช ืฉืœ GCC ืจืง ื›ืืฉืจ ื™ื“ื•ืข ืฉื”ื™ืขื“ ื”ื•ื
ืžื™ื•ืฉืจ ืœื’ื‘ื•ืœ ืฉืœ 4 ื‘ืชื™ื ืœืคื—ื•ืช. ื–ื” ืžืืคืฉืจ ืฉื™ืœื•ื‘ ืจื‘ ื™ื•ืชืจ ื•ืžื’ื“ื™ืœ ืืช ื”ืงื•ื“
ื’ื•ื“ืœ, ืืš ืขืฉื•ื™ ืœืฉืคืจ ืืช ื”ื‘ื™ืฆื•ืขื™ื ืฉืœ ืงื•ื“ ื”ืชืœื•ื™ ื‘-"memcpy", "strlen" ื•-
"ืžืžืกื˜" ืœืื•ืจื›ื™ื ืงืฆืจื™ื.

-ืžื™ื ืœื™ื™ืŸ-stringops-ื“ื™ื ืžื™ืช
ืขื‘ื•ืจ ืคืขื•ืœื•ืช ืžื—ืจื•ื–ืช ื‘ื’ื•ื“ืœ ืœื ื™ื“ื•ืข, ื”ืฉืชืžืฉ ื‘ื‘ื“ื™ืงื•ืช ื–ืžืŸ ืจื™ืฆื” ืขื ืงื•ื“ ืžื•ื˜ื‘ืข ืขื‘ื•ืจ ืงื˜ืŸ
ื‘ืœื•ืงื™ื ื•ืงืจื™ืื” ืœืกืคืจื™ื™ื” ืœื‘ืœื•ืงื™ื ื’ื“ื•ืœื™ื.

-mstringop-strategy=ALG
ืœืขืงื•ืฃ ืืช ื”ื™ื•ืจื™ืกื˜ื™ืช ื”ื”ื—ืœื˜ื” ื”ืคื ื™ืžื™ืช ืขื‘ื•ืจ ื”ืืœื’ื•ืจื™ืชื ื”ืžืกื•ื™ื ืœืฉื™ืžื•ืฉ
ืคืขื•ืœื•ืช ืžื—ืจื•ื–ื•ืช ืžื•ื˜ื‘ืขื•ืช. ื”ืขืจื›ื™ื ื”ืžื•ืชืจื™ื ืขื‘ื•ืจ ALG ื”ื:

rep_byte
rep_4 ื‘ื™ื™ื˜
rep_8 ื‘ื™ื™ื˜
ื”ืจื—ื‘ ื‘ืืžืฆืขื•ืช ื”ืงื™ื“ื•ืžืช "rep" i386 ื‘ื’ื•ื“ืœ ืฉืฆื•ื™ืŸ.

byte_loop
ืœื•ืœืื”
unrolled_loop
ื”ืจื—ื‘ ืœืœื•ืœืื” ืžื•ื˜ื‘ืขืช.

libcall
ื”ืฉืชืžืฉ ืชืžื™ื“ ื‘ืฉื™ื—ืช ืกืคืจื™ื™ื”.

-momit-leaf-frame-pointer
ืืœ ืชืฉืžื•ืจ ืืช ืžืฆื‘ื™ืข ื”ืžืกื’ืจืช ื‘ืคื ืงืก ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืขืœื™ื. ื–ื” ื ืžื ืข ืืช
ื”ื•ืจืื•ืช ืœืฉืžื™ืจื”, ื”ื’ื“ืจื” ื•ืฉื—ื–ื•ืจ ืฉืœ ืžืฆื‘ื™ืขื™ ืžืกื’ืจืช ื•ืขื•ืฉื” ืจื™ืฉื•ื ื ื•ืกืฃ
ื–ืžื™ืŸ ื‘ืคื•ื ืงืฆื™ื•ืช ืขืœื™ื. ื”ืืคืฉืจื•ืช -fomit-leaf-frame-pointer ืžืกื™ืจ ืืช ื”ืžืกื’ืจืช
ืžืฆื‘ื™ืข ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืขืœื™ื, ืžื” ืฉืขืฉื•ื™ ืœื”ืงืฉื•ืช ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื.

-mtls-direct-seg-refs
-mno-tls-direct-seg-refs
ืฉื•ืœื˜ ืื ื ื™ืชืŸ ืœื’ืฉืช ืœืžืฉืชื ื™ TLS ืขื ื”ื™ืกื˜ื™ื ืžืงื˜ืข TLS
ืœืจืฉื•ื (%gs ืขื‘ื•ืจ 32 ืกื™ื‘ื™ื•ืช, %fs ืขื‘ื•ืจ 64 ืกื™ื‘ื™ื•ืช), ืื• ืื ืžืฆื‘ื™ืข ื‘ืกื™ืก ื”ืฉืจืฉื•ืจ ื—ื™ื™ื‘ ืœื”ื™ื•ืช
ื”ื•ืกื™ืฃ. ืื ื–ื” ืชืงืฃ ืื• ืœื ืชืœื•ื™ ื‘ืžืขืจื›ืช ื”ื”ืคืขืœื”, ื•ื”ืื ื”ื™ื
ืžืžืคื” ืืช ื”ืงื˜ืข ื›ืš ืฉื™ื›ืกื” ืืช ื›ืœ ืื–ื•ืจ ื”-TLS.

ืขื‘ื•ืจ ืžืขืจื›ื•ืช ื”ืžืฉืชืžืฉื•ืช ื‘ืกืคืจื™ื™ืช GNU C, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืžื•ืคืขืœืช.

-msse2avx
-mno-sse2avx
ืฆื™ื™ืŸ ืฉื”ืืกืžื‘ืœืจ ืฆืจื™ืš ืœืงื•ื“ื“ ื”ื•ืจืื•ืช SSE ืขื ืงื™ื“ื•ืžืช VEX. ื”ืืคืฉืจื•ืช
-mavx ืžืคืขื™ืœ ืืช ื–ื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืžืคื ื˜ืจื™
-ืžื ื•-ืคื ื˜ืจื™
ืื ื”ืคืจื•ืคื™ืœ ืคืขื™ืœ (-ืขืžื•ื“), ืฉื™ื ืืช ืฉื™ื—ืช ืžื•ื ื” ื”ืคืจื•ืคื™ืœ ืœืคื ื™ ื”ืคืจื•ืœื•ื’.
ื”ืขืจื”: ื‘ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช x86 ื”ืชื›ื•ื ื” "ms_hook_prologue" ืื™ื ื” ืืคืฉืจื™ืช ื‘-
ืจื’ืข ืขื‘ื•ืจ -ืžืคื ื˜ืจื™ ื• -ืขืžื•ื“.

-m8bit-idiv
-mno-8bit-idiv
ื‘ืžืขื‘ื“ื™ื ืžืกื•ื™ืžื™ื, ื›ืžื• Intel Atom, ื—ืœื•ืงืช ืžืกืคืจื™ื ืฉืœืžื™ื ืœืœื ืกื™ืžื ื™ื ืฉืœ 8 ืกื™ื‘ื™ื•ืช ื”ื™ื ื”ืจื‘ื” ื™ื•ืชืจ ืžื”ื™ืจื”
ื—ืœื•ืงืช ืžืกืคืจื™ื ืฉืœืžื™ื ืฉืœ 32 ืกื™ื‘ื™ื•ืช/64 ืกื™ื‘ื™ื•ืช. ืืคืฉืจื•ืช ื–ื• ื™ื•ืฆืจืช ื‘ื“ื™ืงืช ื–ืžืŸ ืจื™ืฆื”. ืื ืฉื ื™ื”ื
ื“ื™ื‘ื™ื“ื ื“ ื•ืžื—ืœืง ื ืžืฆืื™ื ื‘ื˜ื•ื•ื— ืฉืœ 0 ืขื“ 255, ื—ืœื•ืงืช ืžืกืคืจ ืฉืœื ืœืœื ืกื™ืžืŸ ืฉืœ 8 ืกื™ื‘ื™ื•ืช ื”ื™ื
ื‘ืฉื™ืžื•ืฉ ื‘ืžืงื•ื ื—ืœื•ืงืช ืžืกืคืจื™ื ืฉืœืžื™ื ืฉืœ 32 ืกื™ื‘ื™ื•ืช/64 ืกื™ื‘ื™ื•ืช.

-mavx256-split-unaligned-load
-mavx256-split-unaligned-store
ืคื™ืฆื•ืœ 32-ื‘ื™ื™ื˜ AVX ืœื ืžื™ื•ืฉืจ ืขื•ืžืก ื•ืื—ืกื•ืŸ.

ืืœื” -m ืžืชื’ื™ื ื ืชืžื›ื™ื ื‘ื ื•ืกืฃ ืœืืžื•ืจ ืœืขื™ืœ ื‘ืžืขื‘ื“ื™ x86-64 ื‘-64 ืกื™ื‘ื™ื•ืช
ืกื‘ื™ื‘ื•ืช.

-ืž 32
-ืž 64
-mx32
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืกื‘ื™ื‘ืช 32 ืกื™ื‘ื™ื•ืช ืื• 64 ืกื™ื‘ื™ื•ืช. ื” -ืž 32 ื”ื’ื“ืจื•ืช ืืคืฉืจื•ื™ื•ืช "int", "long",
ื•ืžืฆื‘ื™ืข ืžืงืœื™ื“ ืœ-32 ืกื™ื‘ื™ื•ืช, ื•ืžื™ื™ืฆืจ ืงื•ื“ ืฉืจืฅ ืขืœ ื›ืœ ืžืขืจื›ืช i386.

ื”ืฉืžื™ื™ื -ืž 64 ืืคืฉืจื•ืช ืžื’ื“ื™ืจื” "int" ืœ-32 ืกื™ื‘ื™ื•ืช ื•-"long" ื•ืกื•ื’ื™ ืžืฆื‘ื™ืข ืœ-64 ืกื™ื‘ื™ื•ืช, ื•
ื™ื•ืฆืจ ืงื•ื“ ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช x86-64. ืขื‘ื•ืจ ื“ืจื•ื•ื™ืŸ ืจืง ืืช -ืž 64 ืืคืฉืจื•ืช ื’ื
ืžื›ื‘ื” ืืช -fno-pic ื• -ืžื“ื™ื ืžื™ืช-ืœืœื-ืชืžื•ื ื” ืืคืฉืจื•ื™ื•ืช.

ื”ืฉืžื™ื™ื -mx32 ืืคืฉืจื•ืช ืžื’ื“ื™ืจื” "int", "long" ื•ืกื•ื’ื™ ืžืฆื‘ื™ืข ืœ-32 ืกื™ื‘ื™ื•ืช, ื•ืžืคื™ืงื” ืงื•ื“
ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช x86-64.

-mno-red-zone
ืืœ ืชืฉืชืžืฉ ื‘ืžื” ืฉื ืงืจื "ืื–ื•ืจ ืื“ื•ื" ืขื‘ื•ืจ ืงื•ื“ x86-64. ื”ืื–ื•ืจ ื”ืื“ื•ื ืžื•ื˜ืœ ืขืœ ื™ื“ื™
x86-64 ABI; ื–ื”ื• ืื–ื•ืจ ืฉืœ 128 ื‘ืชื™ื ืžืขื‘ืจ ืœืžื™ืงื•ื ืฉืœ ืžืฆื‘ื™ืข ื”ืžื—ืกื ื™ืช ืฉืื™ื ื•
ืฉื•ื ื” ืขืœ ื™ื“ื™ ืžื˜ืคืœื™ ืื•ืชื•ืช ืื• ืคืกื™ืงื•ืช ื•ืœื›ืŸ ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื• ืขื‘ื•ืจ ื ืชื•ื ื™ื ื–ืžื ื™ื™ื
ืžื‘ืœื™ ืœื›ื•ื•ื ืŸ ืืช ืžืฆื‘ื™ืข ื”ืขืจื™ืžื”. ื”ื“ื’ืœ -mno-red-zone ืžืฉื‘ื™ืช ืืช ื”ืื–ื•ืจ ื”ืื“ื•ื ื”ื–ื”.

-mcmodel=small
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžื•ื“ืœ ื”ืงื•ื“ ื”ืงื˜ืŸ: ื™ืฉ ืœืงืฉืจ ืืช ื”ืชื•ื›ื ื™ืช ื•ื”ืกืžืœื™ื ืฉืœื”
ื”-2 GB ื”ืชื—ืชื•ื ื™ื ืฉืœ ืžืจื—ื‘ ื”ื›ืชื•ื‘ื•ืช. ืžืฆื‘ื™ืขื™ื ื”ื 64 ืกื™ื‘ื™ื•ืช. ืชื•ื›ื ื™ื•ืช ื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช
ืžืงื•ืฉืจ ืกื˜ื˜ื™ ืื• ื“ื™ื ืžื™. ื–ื”ื• ืžื•ื“ืœ ื”ืงื•ื“ ื”ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-mcmodel=kernel
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžื•ื“ืœ ืงื•ื“ ื”ืœื™ื‘ื”. ื”ืงืจื ืœ ืคื•ืขืœ ื‘-2 GB ื”ืฉืœื™ืœื™ ืฉืœ ื”-
ืžืจื—ื‘ ื›ืชื•ื‘ืช. ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืžื•ื“ืœ ื–ื” ืขื‘ื•ืจ ืงื•ื“ ืœื™ื‘ืช ืœื™ื ื•ืงืก.

-mcmodel = ื‘ื™ื ื•ื ื™
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”ื“ื’ื ื”ื‘ื™ื ื•ื ื™: ื”ืชื•ื›ื ื™ืช ืžืงื•ืฉืจืช ื‘-2 GB ื”ืชื—ืชื•ื ื™ื ืฉืœ
ืžืจื—ื‘ ื›ืชื•ื‘ืช. ื’ื ืกืžืœื™ื ืงื˜ื ื™ื ืžืžื•ืงืžื™ื ืฉื. ืกืžืœื™ื ื‘ื’ื“ืœื™ื ื’ื“ื•ืœื™ื ืž
-ื”ื’ื“ืœืช-ื ืชื•ื ื™ื-ืกืฃ ืžื•ื›ื ืกื™ื ืœืงื˜ืขื™ ื ืชื•ื ื™ื ื’ื“ื•ืœื™ื ืื• BSS ื•ื ื™ืชืŸ ืœืืชืจ ืื•ืชื
ืžืขืœ 2GB. ืชื•ื›ื ื™ื•ืช ื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช ืžืงื•ืฉืจื•ืช ื‘ืื•ืคืŸ ืกื˜ื˜ื™ ืื• ื“ื™ื ืžื™.

-mcmodel=ื’ื“ื•ืœ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”ื“ื’ื ื”ื’ื“ื•ืœ. ืžื•ื“ืœ ื–ื” ืื™ื ื• ืžื ื™ื— ื”ื ื—ื•ืช ืœื’ื‘ื™ ื›ืชื•ื‘ื•ืช
ื•ื’ื“ืœื™ื ืฉืœ ืงื˜ืขื™ื.

-ืžื“dress-mode=ืืจื•ืš
ืฆื•ืจ ืงื•ื“ ืœืžืฆื‘ ื›ืชื•ื‘ืช ืืจื•ื›ื”. ื–ื” ื ืชืžืš ืจืง ืขื‘ื•ืจ 64 ืกื™ื‘ื™ื•ืช ื•-x32
ืกื‘ื™ื‘ื•ืช. ื–ื”ื• ืžืฆื‘ ื”ื›ืชื•ื‘ืช ื”ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ ืกื‘ื™ื‘ื•ืช 64 ืกื™ื‘ื™ื•ืช.

-maddress-mode=ืงืฆืจ
ืฆื•ืจ ืงื•ื“ ืœืžืฆื‘ ื›ืชื•ื‘ืช ืงืฆืจื”. ื–ื” ื ืชืžืš ืจืง ืขื‘ื•ืจ 32 ืกื™ื‘ื™ื•ืช ื•-x32
ืกื‘ื™ื‘ื•ืช. ื–ื”ื• ืžืฆื‘ ื”ื›ืชื•ื‘ืช ื”ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ ืกื‘ื™ื‘ื•ืช 32 ืกื™ื‘ื™ื•ืช ื•-x32.

i386 ื• x86-64 Windows ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ื ื•ืกืคื•ืช ืืœื• ื–ืžื™ื ื•ืช ืขื‘ื•ืจ ื™ืขื“ื™ Microsoft Windows:

-mconsole
ืืคืฉืจื•ืช ื–ื• ืžืฆื™ื™ื ืช ืฉื™ืฉ ืœื™ืฆื•ืจ ื™ื™ืฉื•ื ืžืกื•ืฃ, ืขืœ ื™ื“ื™ ื”ื•ืจืื”
ื”ืžืงืฉืจ ื›ื“ื™ ืœื”ื’ื“ื™ืจ ืืช ืกื•ื’ ื”ืžืฉื ื” ืฉืœ ื›ื•ืชืจืช PE ื”ื ื“ืจืฉ ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ ืžืกื•ืฃ.
ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืขื‘ื•ืจ ื™ืขื“ื™ Cygwin ื•-MinGW ื•ื”ื™ื ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ
ื”ืžื˜ืจื•ืช ื”ืืœื”.

-mdll
ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืขื‘ื•ืจ ื™ืขื“ื™ Cygwin ื•-MinGW. ื–ื” ืžืฆื™ื™ืŸ ืฉ-DLL---a
ืกืคืจื™ื™ืช ืงื™ืฉื•ืจื™ื ื“ื™ื ืžื™ื™ื --- ื™ืฉ ืœื™ืฆื•ืจ, ื”ืžืืคืฉืจืช ืืช ื”ื‘ื—ื™ืจื” ืฉืœ ื”ื“ืจื•ืฉ
ืื•ื‘ื™ื™ืงื˜ ื”ืคืขืœื” ื•ื ืงื•ื“ืช ื›ื ื™ืกื” ื‘ื–ืžืŸ ืจื™ืฆื”.

-mnop-fun-dllimport
ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืขื‘ื•ืจ ื™ืขื“ื™ Cygwin ื•-MinGW. ื”ื•ื ืžืฆื™ื™ืŸ ื›ื™
ื™ืฉ ืœื”ืชืขืœื ืžืชื›ื•ื ืช "dllimport".

-ื—ื•ื˜
ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืขื‘ื•ืจ ื™ืขื“ื™ MinGW. ื”ื•ื ืžืฆื™ื™ืŸ ืืช ื”ืฉืจืฉื•ืจ ื”ืกืคืฆื™ืคื™ ืœ-MinGW
ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืชืžื™ื›ื”.

-ืžื•ื ื™ืงื•ื“
ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืขื‘ื•ืจ ื™ืขื“ื™ MinGW-w64. ื–ื” ื’ื•ืจื ืœืžืขื‘ื“ ื”ืžืงื“ื™ื "UNICODE".
ืžืืงืจื• ื™ื•ื’ื“ืจ ืžืจืืฉ, ื•ื‘ื•ื—ืจ ื‘ืงื•ื“ ื”ืคืขืœื” ืฉืœ ื–ืžืŸ ืจื™ืฆื” ื”ืžืชืื™ื ืœ-Unicode.

-mwin32
ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืขื‘ื•ืจ ื™ืขื“ื™ Cygwin ื•-MinGW. ื–ื” ืžืฆื™ื™ืŸ ื›ื™ ื˜ื™ืคื•ืกื™
ื™ืฉ ืœื”ื’ื“ื™ืจ ืคืงื•ื“ื•ืช ืžืืงืจื• ืžื•ื’ื“ืจื•ืช ืžืจืืฉ ืฉืœ Microsoft Windows ื‘ืžืขื‘ื“ ื”ืžื•ืงื“ื, ืืš ืœื
ืœื”ืฉืคื™ืข ืขืœ ื‘ื—ื™ืจืช ืกืคืจื™ื™ืช ื–ืžืŸ ื”ืจื™ืฆื”/ืงื•ื“ ื”ืืชื—ื•ืœ.

-mwindows
ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืขื‘ื•ืจ ื™ืขื“ื™ Cygwin ื•-MinGW. ื–ื” ืžืฆื™ื™ืŸ ืฉ-GUI
ื™ืฉ ืœื™ืฆื•ืจ ื™ื™ืฉื•ื ืขืœ ื™ื“ื™ ื”ื•ืจืื” ืœืžืงืฉืจ ืœื”ื’ื“ื™ืจ ืืช ื›ื•ืชืจืช PE
ืกื•ื’ ืชืช ืžืขืจื›ืช ื›ืจืื•ื™.

-fno-set-stack-ื ื™ืชืŸ ืœื”ืคืขืœื”
ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืขื‘ื•ืจ ื™ืขื“ื™ MinGW. ื–ื” ืžืฆื™ื™ืŸ ืฉื“ื’ืœ ื”ื”ืคืขืœื” ืขื‘ื•ืจ
ื”ืžื—ืกื ื™ืช ื”ืžืฉืžืฉืช ืืช ื”ืคื•ื ืงืฆื™ื•ืช ื”ืžืงื•ื ื ื•ืช ืœื ืžื•ื’ื“ืจืช. ื–ื” ื”ื›ืจื—ื™ ืœื”ืคืขืœืช ืงื‘ืฆื™ื ื‘ื™ื ืืจื™ื™ื
ื‘ืžืฆื‘ ืœื™ื‘ื” ืฉืœ Microsoft Windows, ื›ืžื• ืฉื ื”-User32 API, ื”ืžืฉืžืฉ ืœื”ื’ื“ืจื”
ื”ืจืฉืื•ืช ื”ืคืขืœื”, ืื™ื ื• ื–ืžื™ืŸ.

-fwritable-relocated-rdata
ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืขื‘ื•ืจ ื™ืขื“ื™ MinGW ื•-Cygwin. ื–ื” ืžืฆื™ื™ืŸ ืฉื”ืขื‘ืจื”-
ื ืชื•ื ื™ื ื‘ืงื˜ืข ืœืงืจื™ืื” ื‘ืœื‘ื“ ืžื•ื›ื ืกื™ื ืœืžืงื˜ืข .data. ื–ื” ื”ื›ืจื—ื™ ืœืžื‘ื•ื’ืจื™ื
ื–ืžื ื™ ืจื™ืฆื” ืœื ืชื•ืžื›ื™ื ื‘ืฉื™ื ื•ื™ ืฉืœ ืงื˜ืขื™ rdata ืขื‘ื•ืจ ืคืกืื•ื“ื•-relocation.

-mpe-aligned-commons
ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ืขื‘ื•ืจ ื™ืขื“ื™ Cygwin ื•-MinGW. ื–ื” ืžืฆื™ื™ืŸ ืฉื”-GNU
ื”ืจื—ื‘ื” ืœืคื•ืจืžื˜ ื”ืงื•ื‘ืฅ PE ื”ืžืืคืฉืจ ื™ื™ืฉื•ืจ ื ื›ื•ืŸ ืฉืœ ืžืฉืชื ื™ COMMON
ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืื GCC ืžื–ื”ื” ืฉ-
ืจื›ื™ื‘ ืžื˜ืจื” ืฉื ืžืฆื ื‘ืžื”ืœืš ื”ื”ื’ื“ืจื” ืชื•ืžืš ื‘ืชื›ื•ื ื”.

ืจืื” ื’ื ืชื—ืช i386 ื• x86-64 ืืคืฉืจื•ื™ื•ืช ืขื‘ื•ืจ ืืคืฉืจื•ื™ื•ืช ืกื˜ื ื“ืจื˜ื™ื•ืช.

IA-64 ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืฉื”ื•ื’ื“ืจื• ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช Intel IA-64.

-mbig-endian
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื™ืขื“ ื’ื“ื•ืœ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ HP-UX.

-ืžืขื˜-ืื ื“ื™ืืŸ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื™ืขื“ ืงื˜ืŸ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ AIX5 ื•-GNU/Linux.

-mgnu-as
-mno-gnu-as
ืฆื•ืจ (ืื• ืืœ ืชืขืฉื”) ืงื•ื“ ืขื‘ื•ืจ ื”-GNU assembler. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืžื’ื ื•-ืœื“
-mno-gnu-ld
ืฆื•ืจ (ืื• ืœื) ืงื•ื“ ืขื‘ื•ืจ ืžืงืฉืจ GNU. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืžื ื•-ืชืžื•ื ื”
ืฆื•ืจ ืงื•ื“ ืฉืื™ื ื• ืžืฉืชืžืฉ ื‘ืื•ื’ืจ ืžืฆื‘ื™ืข ื’ืœื•ื‘ืœื™. ื”ืชื•ืฆืื” ื”ื™ื ืœื ืžื™ืงื•ื
ืงื•ื“ ืขืฆืžืื™, ื•ืžืคืจ ืืช IA-64 ABI.

-mvolatile-asm-stop
-MNO-VOLATILE-ASM-STOP
ืฆื•ืจ (ืื• ืืœ ืชืขืฉื”) ืกื˜ื•ืค ื‘ื™ื˜ ืžื™ื“ ืœืคื ื™ ื•ืื—ืจื™ ื”ืฆื”ืจื•ืช asm ื ื“ื™ืคื•ืช.

-mregister-names
-ืžื ื•-ืจื™ืฉื•ื-ืฉืžื•ืช
ืœื™ืฆื•ืจ (ืื• ืœื) in, loc, ื• ื”ึทื—ื•ึผืฆึธื” ืจื™ืฉื•ื ืฉืžื•ืช ืขื‘ื•ืจ ื”ืื•ื’ืจื™ื ื”ืžื•ืขืจืžื™ื. ื–ึถื”
ืขืฉื•ื™ ืœื”ืคื•ืš ืืช ืคืœื˜ ื”-assembler ืœืงืจื™ืื” ื™ื•ืชืจ.

-mno-sdata
-msdata
ื”ืฉื‘ืช (ืื• ื”ืคืขืœ) ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ื”ืžืฉืชืžืฉื•ืช ื‘ืงื˜ืข ื”ื ืชื•ื ื™ื ื”ืงื˜ื ื™ื. ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™
ืœืขืงื•ืฃ ื‘ืื’ื™ื ืœืžื™ื˜ื•ื‘.

-mconstant-gp
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ ื‘ืขืจืš ืžืฆื‘ื™ืข ื’ืœื•ื‘ืœื™ ืงื‘ื•ืข ืื—ื“. ื–ื” ืฉื™ืžื•ืฉื™ ื›ืืฉืจ
ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืงื•ื“ ืœื™ื‘ื”.

-ืชืžื•ื ื” ืื•ื˜ื•ืžื˜ื™ืช
ืฆื•ืจ ืงื•ื“ ืฉื ื™ืชืŸ ืœื”ืขื‘ืจื” ืขืฆืžื™ืช. ื–ื” ืžืจืžื– -mconstant-gp. ื–ื” ืฉื™ืžื•ืฉื™
ื‘ืขืช ื”ื™ื“ื•ืจ ืงื•ื“ ืงื•ืฉื—ื”.

-ืžืจื™ืŸ-ืคืœื™ื˜ื”-ื—ืœืงื”-ืžื’ื•ื•ืŸ-ื—ื•ื–ื”
ืฆื•ืจ ืงื•ื“ ืœื—ืœื•ืงื” ืžื•ื˜ื‘ืขืช ืฉืœ ืขืจื›ื™ ื ืงื•ื“ื” ืฆืคื” ืชื•ืš ืฉื™ืžื•ืฉ ื‘ื”ืฉื”ื™ื™ื” ื”ืžื™ื ื™ืžืœื™ืช
ืืœื’ื•ืจื™ืชื.

-ืžื™ื ื™ืœื™ื™ืŸ-float-divide-max-throughput
ืฆื•ืจ ืงื•ื“ ืœื—ืœื•ืงื” ืžื•ื˜ื‘ืขืช ืฉืœ ืขืจื›ื™ ื ืงื•ื“ื” ืฆืคื” ืชื•ืš ืฉื™ืžื•ืฉ ื‘ืชืคื•ืงื” ื”ืžืงืกื™ืžืœื™ืช
ืืœื’ื•ืจื™ืชื.

-mno-inline-float-divide
ืืœ ืชื™ืฆื•ืจ ืงื•ื“ ืžื•ื˜ื‘ืข ืขื‘ื•ืจ ื—ืœื•ืงื•ืช ืฉืœ ืขืจื›ื™ ื ืงื•ื“ื” ืฆืคื”.

-minline-int-divide-min-latency
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื—ืœื•ืงื•ืช ืžื•ื˜ื‘ืขื•ืช ืฉืœ ืขืจื›ื™ ืžืกืคืจ ืฉืœืžื™ื ืชื•ืš ืฉื™ืžื•ืฉ ื‘ื”ืฉื”ื™ื™ื” ื”ืžื™ื ื™ืžืœื™ืช
ืืœื’ื•ืจื™ืชื.

-minline-int-divide-max-throughput
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื—ืœื•ืงื•ืช ืžื•ื˜ื‘ืขื•ืช ืฉืœ ืขืจื›ื™ ืžืกืคืจื™ื ืฉืœืžื™ื ื‘ืืžืฆืขื•ืช ื”ืชืคื•ืงื” ื”ืžืงืกื™ืžืœื™ืช
ืืœื’ื•ืจื™ืชื.

-mno-inline-int-divide
ืืœ ืชื™ืฆื•ืจ ืงื•ื“ ืžื•ื˜ื‘ืข ืขื‘ื•ืจ ื—ืœื•ืงื•ืช ืฉืœ ืขืจื›ื™ื ืฉืœืžื™ื.

-minline-sqrt-min-latency
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืฉื•ืจืฉื™ื ืžืจื•ื‘ืขื™ื ืžื•ื˜ื‘ืขื™ื ื‘ืืžืฆืขื•ืช ืืœื’ื•ืจื™ืชื ื”ืฉื”ื™ื™ื” ื”ืžื™ื ื™ืžืœื™ืช.

-minline-sqrt-max-throughput
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืฉื•ืจืฉื™ื ืžืจื•ื‘ืขื™ื ืžื•ื˜ื‘ืขื™ื ื‘ืืžืฆืขื•ืช ืืœื’ื•ืจื™ืชื ื”ืชืคื•ืงื” ื”ืžืงืกื™ืžืœื™ืช.

-mno-inline-sqrt
ืืœ ืชื™ืฆื•ืจ ืงื•ื“ ืžื•ื˜ื‘ืข ืขื‘ื•ืจ "sqrt".

-ืžfused-madd
-mno-fused-madd
ื”ืื (ืืœ ืชื™ืฆื•ืจ) ืงื•ื“ ืฉืžืฉืชืžืฉ ื‘ื›ืคืœ/ื”ื•ืกืคื” ืื• ื”ื›ืคืœ/ื”ื—ืกืจ
ื”ื•ืจืื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืืœื”.

-mno-dwarf2-asm
-mdwarf2-asm
ืืœ ืชื™ืฆื•ืจ (ืื• ืชืขืฉื”) ืงื•ื“ ืืกืžื‘ืœืจ ืขื‘ื•ืจ ืžื™ื“ืข ื ื™ืคื•ื™ ืžืกืคืจื™ ืฉื•ืจื” ืฉืœ DWARF 2.
ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ ื›ืืฉืจ ืœื ืžืฉืชืžืฉื™ื ื‘-GNU assembler.

-ืžืขื˜-ืขืฆื•ืจ-ื‘ื™ื˜ื™ื
-ื‘ื™ื˜ื™ื ืฉืœ ืขืฆื™ืจื” ืžื•ืงื“ืžืช
ืืคืฉืจ ืœื”ืฆื™ื‘ ืกื™ื‘ื™ื•ืช ืขืฆื•ืจ ืžื•ืงื“ื ื™ื•ืชืจ ืžืืฉืจ ืžื™ื“ ืœืคื ื™ ื”ื”ื•ืจืื” ื›ื™
ื”ืคืขื™ืœ ืืช ื”ืขืฆื•ืจ ื‘ื™ื˜. ื–ื” ื™ื›ื•ืœ ืœืฉืคืจ ืืช ืชื–ืžื•ืŸ ื”ื”ื•ืจืื”, ืื‘ืœ ืœื ืชืžื™ื“
ืขืฉื” ื›ืš.

-mfixed-range=ืจื™ืฉื•ื-ื˜ื•ื•ื—
ืฆื•ืจ ืงื•ื“ ื”ืžืชื™ื™ื—ืก ืœื˜ื•ื•ื— ื”ืื•ื’ืจ ื”ื ืชื•ืŸ ื›ืืœ ืื•ื’ืจื™ื ืงื‘ื•ืขื™ื. ืคื ืงืก ืงื‘ื•ืข
ื”ื•ื ื›ื–ื” ืฉืžืงืฆื™ ื”ืจืฉื•ืžื•ืช ืœื ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื•. ื–ื” ืฉื™ืžื•ืฉื™ ื‘ืขืช ื”ื™ื“ื•ืจ ืœื™ื‘ื”
ืงื•ื“. ื˜ื•ื•ื— ืจื™ืฉื•ื ืžืฆื•ื™ืŸ ื›ืฉื ื™ ืื•ื’ืจื™ื ืžื•ืคืจื“ื™ื ื‘ืืžืฆืขื•ืช ืžืงืฃ. ืžืจื•ื‘ื•ืช
ื ื™ืชืŸ ืœืฆื™ื™ืŸ ื˜ื•ื•ื—ื™ ืจื™ืฉื•ื ืžื•ืคืจื“ื™ื ื‘ืืžืฆืขื•ืช ืคืกื™ืง.

-mtls-size=tls-ื’ื•ื“ืœ
ืฆื™ื™ืŸ ื’ื•ื“ืœ ืกื™ื‘ื™ื•ืช ืฉืœ ืงื™ื–ื•ื– TLS ืžื™ื™ื“ื™. ืขืจื›ื™ื ื—ื•ืงื™ื™ื ื”ื 14, 22 ื•-64.

-mtune=ืกื•ื’ ืžืขื‘ื“
ื›ื•ื•ื ืŸ ืืช ืชื–ืžื•ืŸ ื”ื”ื•ืจืื•ืช ืขื‘ื•ืจ ืžืขื‘ื“ ืžืกื•ื™ื, ืขืจื›ื™ื ื—ื•ืงื™ื™ื ื”ื ืื™ื˜ื ื™ื•ื,
ืื™ื˜ื ื™ื•ื1, ืžืจืกื“, ืื™ื˜ื ื™ื•ื2, ื• ืžืงื™ื ืœื™.

-ืžื™ืœืค32
-mlp64
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืกื‘ื™ื‘ืช 32 ืกื™ื‘ื™ื•ืช ืื• 64 ืกื™ื‘ื™ื•ืช. ืกื‘ื™ื‘ืช 32 ืกื™ื‘ื™ื•ืช ืžื’ื“ื™ืจื” int,
ืืจื•ืš ื•ืžืฆื‘ื™ืข ืœ-32 ืกื™ื‘ื™ื•ืช. ืกื‘ื™ื‘ืช 64 ืกื™ื‘ื™ื•ืช ืžื’ื“ื™ืจื” int ืœ-32 ืกื™ื‘ื™ื•ืช ื•ืืจื•ืš ื•
ืžืฆื‘ื™ืข ืœ-64 ืกื™ื‘ื™ื•ืช. ืืœื• ื”ื ื“ื’ืœื™ื ืกืคืฆื™ืคื™ื™ื ืœ-HP-UX.

-mno-sched-br-data-spec
-msched-br-data-spec
(Di/En) ืืคืฉืจ ืชื–ืžื•ืŸ ืกืคืงื•ืœื˜ื™ื‘ื™ ืฉืœ ื ืชื•ื ื™ื ืœืคื ื™ ื˜ืขื™ื ื” ืžื—ื“ืฉ. ื–ื” ื’ื•ืจื ืœื™ืฆื™ืจืช
ื”ื•ืจืื•ืช "ld.a" ื•ื”ื•ืจืื•ืช ื”ืกื™ืžื•ืŸ ื”ืžืชืื™ืžื•ืช ("ld.c" / "chk.a"). ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 'ื ื˜ืจื•ืœ'.

-msched-ar-data-spec
-mno-sched-ar-data-spec
(Iw/Di) ืชื–ืžื•ืŸ ืกืคืงื•ืœื˜ื™ื‘ื™ ืœื ืชื•ื ื™ื ืœืื—ืจ ื˜ืขื™ื ื” ืžื—ื“ืฉ. ื–ื” ื’ื•ืจื ืœื™ืฆื™ืจืช
ื”ื•ืจืื•ืช "ld.a" ื•ื”ื•ืจืื•ืช ื”ืกื™ืžื•ืŸ ื”ืžืชืื™ืžื•ืช ("ld.c" / "chk.a"). ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 'ืืคืฉืจ'.

-mno-sched-control-spec
-msched-control-spec
(Dis/En) ืืคืฉืจ ืœืฉืœื•ื˜ ื‘ืชื–ืžื•ืŸ ืกืคืงื•ืœื˜ื™ื‘ื™. ืชื›ื•ื ื” ื–ื• ื–ืžื™ื ื” ืจืง ื‘ืžื”ืœืš
ืชื–ืžื•ืŸ ืื–ื•ืจ (ื›ืœื•ืžืจ ืœืคื ื™ ื˜ืขื™ื ื” ืžื—ื“ืฉ). ื–ื” ื’ื•ืจื ืœื™ืฆื™ืจืช ื”-"ld.s"
ื”ื•ืจืื•ืช ื•ื”ื•ืจืื•ืช ื”ืกื™ืžื•ืŸ ื”ืžืชืื™ืžื•ืช "chk.s". ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
'ืœื”ืฉื‘ื™ืช'.

-msched-br-in-data-spec
-mno-sched-br-in-data-spec
(He/Dis) ืชื–ืžื•ืŸ ืกืคืงื•ืœื˜ื™ื‘ื™ ืฉืœ ื”ื”ื•ืจืื•ืช ื”ืชืœื•ื™ื•ืช ื‘ื ืชื•ื ื™ื
ืขื•ืžืกื™ื ืกืคืงื•ืœื˜ื™ื‘ื™ื™ื ืœืคื ื™ ื˜ืขื™ื ื” ืžื—ื“ืฉ. ื–ื” ื™ืขื™ืœ ืจืง ืขื -msched-br-data-spec
ืžื•ืคืขืœ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 'ืืคืฉืจ'.

-msched-ar-in-data-spec
-mno-sched-ar-in-data-spec
(He/Dis) ืชื–ืžื•ืŸ ืกืคืงื•ืœื˜ื™ื‘ื™ ืฉืœ ื”ื”ื•ืจืื•ืช ื”ืชืœื•ื™ื•ืช ื‘ื ืชื•ื ื™ื
ืขื•ืžืกื™ื ืกืคืงื•ืœื˜ื™ื‘ื™ื™ื ืœืื—ืจ ื˜ืขื™ื ื” ืžื—ื“ืฉ. ื–ื” ื™ืขื™ืœ ืจืง ืขื -msched-ar-data-spec
ืžื•ืคืขืœ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 'ืืคืฉืจ'.

-Mched-in-control-spec
-mno-sched-in-control-spec
(He/Dis) ืชื–ืžื•ืŸ ืกืคืงื•ืœื˜ื™ื‘ื™ ืฉืœ ื”ื”ื•ืจืื•ืช ื”ืชืœื•ื™ื•ืช ื‘-
ืœืฉืœื•ื˜ ื‘ืขื•ืžืกื™ื ืกืคืงื•ืœื˜ื™ื‘ื™ื™ื. ื–ื” ื™ืขื™ืœ ืจืง ืขื -msched-control-spec ืžืื•ืคืฉืจ.
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 'ืืคืฉืจ'.

-mno-sched-prefer-non-data-spec-insns
-msched-prefer-non-data-spec-insns
ืื ืžื•ืคืขืœ, ื”ื•ืจืื•ืช ืกืคืงื•ืœื˜ื™ื‘ื™ื•ืช ื ืชื•ื ื™ื ื ื‘ื—ืจื•ืช ืœืœื•ื— ื–ืžื ื™ื ืจืง ืื ืื™ืŸ
ืืคืฉืจื•ื™ื•ืช ืื—ืจื•ืช ื›ืจื’ืข. ื–ื” ื”ื•ืคืš ืืช ื”ืฉื™ืžื•ืฉ ื‘ืกืคืงื•ืœืฆื™ื•ืช ื”ื ืชื•ื ื™ื ืœื”ืจื‘ื” ื™ื•ืชืจ
ืฉืžืจื ื™. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 'ื ื˜ืจื•ืœ'.

-mno-sched-prefer-non-control-spec-insns
-msched-prefer-non-control-spec-insns
ืื ืžื•ืคืขืœืช, ื”ื•ืจืื•ืช ืกืคืงื•ืœื˜ื™ื‘ื™ื•ืช ื‘ืงืจื” ื ื‘ื—ืจื•ืช ืœืœื•ื— ื”ื–ืžื ื™ื ืจืง ืื ืงื™ื™ืžื•ืช
ืื™ืŸ ืืคืฉืจื•ื™ื•ืช ืื—ืจื•ืช ื›ืจื’ืข. ื–ื” ืขื•ืฉื” ืฉื™ืžื•ืฉ ืจื‘ ื‘ืกืคืงื•ืœืฆื™ื•ืช ื”ื‘ืงืจื”
ืฉืžืจื ื™ ื™ื•ืชืจ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 'ื ื˜ืจื•ืœ'.

-mno-sched-count-spec-in-critical-path
-msched-count-spec-in-critical-path
ืื ืžื•ืคืขืœ, ืชืœื•ืช ืกืคืงื•ืœื˜ื™ื‘ื™ืช ื ื—ืฉื‘ืช ื‘ืžื”ืœืš ื—ื™ืฉื•ื‘ ื”-
ื”ื•ืจืื•ืช ืขื“ื™ืคื•ื™ื•ืช. ื–ื” ื”ื•ืคืš ืืช ื”ืฉื™ืžื•ืฉ ื‘ืกืคืงื•ืœืฆื™ื•ืช ืœืงืฆืช ื™ื•ืชืจ
ืฉืžืจื ื™. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 'ื ื˜ืจื•ืœ'.

-msched-spec-ldc
ื”ืฉืชืžืฉ ื‘ื‘ื“ื™ืงืช ืกืคืงื•ืœืฆื™ื•ืช ื ืชื•ื ื™ื ืคืฉื•ื˜ื”. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-msched-control-spec-ldc
ื”ืฉืชืžืฉ ื‘ืฆ'ืง ืคืฉื•ื˜ ืœืกืคืงื•ืœืฆื™ื•ืช ื‘ืงืจื”. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-msched-stop-bits-after-every-cycle
ื”ื ื— ื‘ื™ื˜ ืขืฆื™ืจื” ืœืื—ืจ ื›ืœ ืžื—ื–ื•ืจ ื‘ืขืช ืชื–ืžื•ืŸ. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-msched-fp-mem-deps-XNUMX-ืขืœื•ืช
ื ื ื™ื— ืฉืžืื’ืจื™ ื ืงื•ื“ื” ืฆืคื” ื•ืขื•ืžืกื™ื ืœื ืฆืคื•ื™ื™ื ืœื’ืจื•ื ืœื”ืชื ื’ืฉื•ืช ื›ืืฉืจ
ื”ื•ื›ื ืก ืœืื•ืชื” ืงื‘ื•ืฆืช ื”ื“ืจื›ื”. ืืคืฉืจื•ืช ื–ื• ืžื•ืฉื‘ืชืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-msel-sched-dont-check-control-spec
ืฆื•ืจ ืฆ'ืงื™ื ืœืกืคืงื•ืœืฆื™ื•ืช ื‘ืงืจื” ื‘ืชื–ืžื•ืŸ ืกืœืงื˜ื™ื‘ื™. ื”ื“ื’ืœ ื”ื–ื” ื”ื•ื
ืžื•ืฉื‘ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-msched-max-memory-insns=max-insns
ื”ื’ื‘ืœื” ืขืœ ืžืกืคืจ ื›ื ื™ืกื•ืช ื”ื–ื™ื›ืจื•ืŸ ืœืงื‘ื•ืฆืช ื”ื•ืจืื•ืช, ืžืชืŸ ืขื“ื™ืคื•ืช ื ืžื•ื›ื” ื™ื•ืชืจ ืœ
ื–ื›ืจื•ื ื•ืช ืขื•ืงื‘ื™ื ื”ืžื ืกื™ื ืœืชื–ืžืŸ ื‘ืื•ืชื” ืงื‘ื•ืฆืช ื”ื•ืจืื•ืช.
ืฉื™ืžื•ืฉื™ ืœืขืชื™ื ืงืจื•ื‘ื•ืช ื›ื“ื™ ืœืžื ื•ืข ื”ืชื ื’ืฉื•ื™ื•ืช ื‘ื‘ื ืง ืžื˜ืžื•ืŸ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 1.

-msched-max-memory-insns-hard-limit
ืขื•ืฉื” ืืช ื”ื’ื‘ื•ืœ ืฉืฆื•ื™ืŸ ืขืœ ื™ื“ื™ msched-max-memory-insns ื’ื‘ื•ืœ ืงืฉื”, ืœื ืžืืคืฉืจ ื™ื•ืชืจ
ืžืืฉืจ ื”ืžืกืคืจ ื”ื–ื” ื‘ืงื‘ื•ืฆืช ื”ื“ืจื›ื”. ืื—ืจืช, ื”ื’ื‘ื•ืœ ื”ื•ื "ืจืš", ื›ืœื•ืžืจ
ืฉืคืขื•ืœื•ืช ืฉืื™ื ืŸ ื–ื™ื›ืจื•ืŸ ืžื•ืขื“ืคื•ืช ื›ืืฉืจ ืžื’ื™ืขื™ื ืœื’ื‘ื•ืœ, ืื‘ืœ ื–ื™ื›ืจื•ืŸ
ื™ื™ืชื›ืŸ ืฉืคืขื•ืœื•ืช ืขื“ื™ื™ืŸ ืžืชื•ื›ื ื ื•ืช.

LM32 ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช LatticeMico32:

-mbarrel-shift-enabled
ืืคืฉืจ ื”ื•ืจืื•ืช ื”ืขื‘ืจืช ื—ื‘ื™ืช.

-mdivide ืžืื•ืคืฉืจ
ืืคืฉืจ ื”ื•ืจืื•ืช ื—ืœื•ืงื” ื•ืžื•ื“ื•ืœื•ืก.

-ืžื•ืคืขืœ ืžืจื•ื‘ื”
ืืคืฉืจ ื”ื›ืคืœ ื”ื•ืจืื•ืช.

-msign-extend-enabled
ืืคืฉืจ ื”ื•ืจืื•ืช ืœื”ืจื—ื‘ืช ืฉืœื˜.

-ืžื•ืคืขืœ ืขืœ ื™ื“ื™ muser
ืืคืฉืจ ื”ื•ืจืื•ืช ื‘ื”ื’ื“ืจืช ืžืฉืชืžืฉ.

M32C ืืคืฉืจื•ื™ื•ืช

-mcpu=ืฉื
ื‘ื—ืจ ืืช ื”ืžืขื‘ื“ ืฉืขื‘ื•ืจื• ื ื•ืฆืจ ื”ืงื•ื“. ืฉื ืขืฉื•ื™ ืœื”ื™ื•ืช ืื—ื“ ืžื”ื r8c ืขื‘ื•ืจ R8C/Tiny
ืกึดื“ืจึธื”, m16c ืขื‘ื•ืจ ืกื“ืจืช M16C (ืขื“ /60), m32 ืก"ืž ืขื‘ื•ืจ ืกื“ืจืช M16C/80, ืื• m32c
ืขื‘ื•ืจ ืกื“ืจืช M32C/80.

-ืžืกื™ื
ืžืฆื™ื™ืŸ ืฉื”ืชื•ื›ื ื™ืช ืชื•ืคืขืœ ื‘ืกื™ืžื•ืœื˜ื•ืจ. ื–ื” ื’ื•ืจื ืœื—ื™ืœื•ืคื™ืŸ
ืกืคืจื™ื™ืช ื–ืžืŸ ืจื™ืฆื” ืœืงื™ืฉื•ืจ ื‘ื” ืชื•ืžื›ืช, ืœืžืฉืœ, ื‘-I/O ืฉืœ ืงื‘ืฆื™ื. ืืกื•ืจ ืœืš
ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื‘ืขืช ื™ืฆื™ืจืช ืชื•ื›ื ื™ื•ืช ืฉื™ืคืขืœื• ืขืœ ื—ื•ืžืจื” ืืžื™ืชื™ืช; ืืชื” ื—ื™ื™ื‘
ืกืคืง ืกืคืจื™ื™ืช ื–ืžืŸ ืจื™ืฆื” ืžืฉืœืš ืขื‘ื•ืจ ื›ืœ ืคื•ื ืงืฆื™ื•ืช I/O ื”ื“ืจื•ืฉื•ืช.

-memregs=ืžืกืคืจ
ืžืฆื™ื™ืŸ ืืช ืžืกืคืจ ื”ืจืฉืžื™ื ื”ืคืกืื•ื“ื• ืžื‘ื•ืกืกื™ ื”ื–ื™ื›ืจื•ืŸ ืฉ-GCC ืžืฉืชืžืฉ ื‘ื”ื ื‘ืžื”ืœืš ื™ืฆื™ืจืช ื”ืงื•ื“.
ืคืกืื•ื“ื•-ืจื’ื™ืกื˜ืจื™ื ืืœื• ืžืฉืžืฉื™ื ื›ืžื• ืจื’ื™ืกื˜ืจื™ื ืืžื™ืชื™ื™ื, ื›ืš ืฉื™ืฉ ืคืฉืจื” ื‘ื™ื ื™ื”ื
ื”ื™ื›ื•ืœืช ืฉืœ GCC ืœื”ืชืื™ื ืืช ื”ืงื•ื“ ืœืจืฉืžื™ื ื–ืžื™ื ื™ื, ื•ืขื•ื ืฉ ื”ื‘ื™ืฆื•ืข ืฉืœ
ืฉื™ืžื•ืฉ ื‘ื–ื™ื›ืจื•ืŸ ื‘ืžืงื•ื ืื•ื’ืจื™ื. ืฉื™ื ืœื‘ ืฉื›ืœ ื”ืžื•ื“ื•ืœื™ื ื‘ืชื•ื›ื ื™ืช ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช
ื”ื™ื“ื•ืจ ืขื ืื•ืชื• ืขืจืš ืขื‘ื•ืจ ืืคืฉืจื•ืช ื–ื•. ื‘ื’ืœืœ ื–ื”, ืืกื•ืจ ืœืš ืœื”ืฉืชืžืฉ ื‘ื–ื”
ืืคืฉืจื•ืช ืขื ืกืคืจื™ื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ GCC.

M32R/D ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช Renesas M32R/D:

-M32R2.
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ M32R/2.

-m32rx
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ M32R/X.

-m32r
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ M32R. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mmodel=ืงื˜ืŸ
ื ื ื™ื— ืฉื›ืœ ื”ืื•ื‘ื™ื™ืงื˜ื™ื ื—ื™ื™ื ื‘-16MB ื”ืชื—ืชื•ืŸ ืฉืœ ื”ื–ื™ื›ืจื•ืŸ (ื›ืš ืฉื”ื›ืชื•ื‘ื•ืช ืฉืœื”ื ื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช
ื ื˜ืขืŸ ื‘ื”ื•ืจืื” "ld24"), ื•ืชื ื™ื— ืฉื›ืœ ืชืช-ื”ืฉื’ืจื•ืช ื ื™ืชื ื•ืช ืœื’ื™ืฉื” ืขื ื”-
ื”ื•ืจืืช "bl". ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

ื ื™ืชืŸ ืœื”ื’ื“ื™ืจ ืืช ื™ื›ื•ืœืช ื”ื›ืชื•ื‘ืช ืฉืœ ืื•ื‘ื™ื™ืงื˜ ืžืกื•ื™ื ื‘ืืžืฆืขื•ืช ื”ืชื›ื•ื ื” "ืžื•ื“ืœ".

-mmodel=ื‘ื™ื ื•ื ื™
ื ื ื™ื— ืฉืื•ื‘ื™ื™ืงื˜ื™ื ืขืฉื•ื™ื™ื ืœื”ื™ื•ืช ื‘ื›ืœ ืžืงื•ื ื‘ืžืจื—ื‘ ื”ื›ืชื•ื‘ื•ืช ืฉืœ 32 ืกื™ื‘ื™ื•ืช (ื”ืžื”ื“ืจ ื™ื•ืฆืจ
"seth/add3" ื”ื•ืจืื•ืช ืœื˜ืขื™ื ืช ื”ื›ืชื•ื‘ื•ืช ืฉืœื”ื), ื•ืชื ื™ื— ืฉื›ืœ ืชืชื™ ื”ืฉื’ืจื•ืช ื›ืŸ
ื ื™ืชืŸ ืœื”ื’ื™ืข ืขื ื”ื•ืจืืช "bl".

-mmodel=ื’ื“ื•ืœ
ื ื ื™ื— ืฉืื•ื‘ื™ื™ืงื˜ื™ื ืขืฉื•ื™ื™ื ืœื”ื™ื•ืช ื‘ื›ืœ ืžืงื•ื ื‘ืžืจื—ื‘ ื”ื›ืชื•ื‘ื•ืช ืฉืœ 32 ืกื™ื‘ื™ื•ืช (ื”ืžื”ื“ืจ ื™ื•ืฆืจ
"seth/add3" ื”ื•ืจืื•ืช ืœื˜ืขื™ื ืช ื”ื›ืชื•ื‘ื•ืช ืฉืœื”ื), ื•ืœื”ื ื™ื— ืฉื™ื™ืชื›ืŸ ืฉืœื ื™ื”ื™ื• ืชืชื™ ืฉื’ืจื•ืช
ื ื™ืชืŸ ืœื”ื’ื™ืข ืขื ื”ืคืงื•ื“ื” "bl" (ื”ืžื”ื“ืจ ืžื™ื™ืฆืจ ืืช ื”ืื™ื˜ื™ ื”ืจื‘ื” ื™ื•ืชืจ
"seth/add3/jl" ืจืฆืฃ ื”ื•ืจืื•ืช).

-msdata=ืื™ืŸ
ื”ืฉื‘ืช ืืช ื”ืฉื™ืžื•ืฉ ื‘ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ. ืžืฉืชื ื™ื ืžื•ื›ื ืกื™ื ืœืื—ื“ ืžื”ื ื ืชื•ื ื™ื, .bss, ืื•
.rodata (ืืœื ืื ืฆื•ื™ื ื” ืชื›ื•ื ืช "ืกืขื™ืฃ"). ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ ืžื•ืจื›ื‘ ืžืงื˜ืขื™ื .sdata ื• .sbss. ืื•ื‘ื™ื™ืงื˜ื™ื ืขืฉื•ื™ื™ื ืœื”ื™ื•ืช ื‘ืžืคื•ืจืฉ
ื”ื›ื ืก ืœืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ ืขื ื”ืชื›ื•ื ื” "ืงื˜ืข" ื‘ืืžืฆืขื•ืช ืื—ื“ ืžื”ืกืขื™ืคื™ื ื”ืืœื”.

-msdata=sdata
ืฉื™ื ื ืชื•ื ื™ื ื’ืœื•ื‘ืœื™ื™ื ื•ืกื˜ื˜ื™ื™ื ืงื˜ื ื™ื ื‘ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ื ื™ื, ืืš ืืœ ืชื™ื™ืฆืจ ืžื™ื•ื—ื“ื™ื
ืงื•ื“ ืฉื™ืคื ื” ืืœื™ื”ื.

-msdata=ืฉื™ืžื•ืฉ
ืฉื™ื ื ืชื•ื ื™ื ื’ืœื•ื‘ืœื™ื™ื ื•ืกื˜ื˜ื™ื™ื ืงื˜ื ื™ื ื‘ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ื ื™ื, ื•ื”ืคืง ืžื™ื•ื—ื“
ื”ื•ืจืื•ืช ืœื”ืชื™ื™ื—ืก ืืœื™ื”ื.

-G NUM
ืฉื™ื ืื•ื‘ื™ื™ืงื˜ื™ื ื’ืœื•ื‘ืœื™ื™ื ื•ืกื˜ื˜ื™ื™ื ืคื—ื•ืช ืื• ืฉื•ื•ื” ืœ NUM ื‘ืชื™ื ืœืชื•ืš ื”ื ืชื•ื ื™ื ื”ืงื˜ื ื™ื ืื•
ืงื˜ืขื™ BSS ื‘ืžืงื•ื ื”ื ืชื•ื ื™ื ื”ืจื’ื™ืœื™ื ืื• ืงื˜ืขื™ BSS. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ NUM is
8. -msdata ื™ืฉ ืœื”ื’ื“ื™ืจ ืืช ื”ืืคืฉืจื•ืช ืœืื—ื“ ืž sdata or ืœื”ืฉืชืžืฉ ื›ื“ื™ ืฉืชื”ื™ื” ืืคืฉืจื•ืช ื–ื•
ื”ืฉืคืขื”.

ื›ืœ ื”ืžื•ื“ื•ืœื™ื ืฆืจื™ื›ื™ื ืœื”ื™ื•ืช ืžื•ืจื›ื‘ื™ื ืขื ืื•ืชื• ื”ื“ื‘ืจ -G NUM ืขืจืš. ืงื•ืžืคื™ืœืฆื™ื” ืขื ืฉื•ื ื™ื
ืขืจื›ื™ื ืฉืœ NUM ืขืฉื•ื™ ืœืขื‘ื•ื“ ืื• ืœื; ืื ืœื, ื”ืžืงืฉืจ ื ื•ืชืŸ ืฉื’ื™ืื”
ื”ื•ื“ืขื” --- ืœื ื ื•ืฆืจ ืงื•ื“ ืฉื’ื•ื™.

-mdebug
ื’ื•ืจื ืœืงื•ื“ ื”ืกืคืฆื™ืคื™ ืœ-M32R ื‘ืžื”ื“ืจ ืœื”ืฆื™ื’ ื›ืžื” ืกื˜ื˜ื™ืกื˜ื™ืงื•ืช ืฉืขืฉื•ื™ื•ืช ืœืขื–ื•ืจ
ื‘ืชื•ื›ื ื™ื•ืช ืื™ืชื•ืจ ื‘ืื’ื™ื.

-ืžืžืื™ืจ-ืœื•ืœืื•ืช
ื™ื™ืฉืจ ืืช ื›ืœ ื”ืœื•ืœืื•ืช ืœื’ื‘ื•ืœ ืฉืœ 32 ื‘ืชื™ื.

-mno-align-ืœื•ืœืื•ืช
ืืœ ืชืื›ื•ืฃ ื™ื™ืฉื•ืจ ืฉืœ 32 ื‘ืชื™ื ืขื‘ื•ืจ ืœื•ืœืื•ืช. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืฉื™ืขื•ืจ ื—ืกืจ=ืžืกืคืจ
ื’ื™ืœื™ื•ืŸ ืžืกืคืจ ื”ื•ืจืื•ืช ืœื›ืœ ืžื—ื–ื•ืจ. ืžืกืคืจ ื™ื›ื•ืœ ืœื”ื™ื•ืช ืจืง 1 ืื• 2.

-brranch-cost=ืžืกืคืจ
ืžืกืคืจ ื™ื›ื•ืœ ืœื”ื™ื•ืช ืจืง 1 ืื• 2. ืื ื–ื” 1 ืื– ืขื ืคื™ื ืžื•ืขื“ืคื™ื ืขืœ ืคื ื™ ืžื•ืชื ื™ื
ืงื•ื“, ืื ื”ื•ื 2, ื”ื”ืคืš ื—ืœ.

-mflush-trap=ืžืกืคืจ
ืžืฆื™ื™ืŸ ืืช ืžืกืคืจ ื”ืžืœื›ื•ื“ืช ืœืฉื™ืžื•ืฉ ื›ื“ื™ ืœืฉื˜ื•ืฃ ืืช ื”ืžื˜ืžื•ืŸ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 12. ื—ื•ืงื™
ื”ืžืกืคืจื™ื ื”ื ื‘ื™ืŸ 0 ืœ-15 ื›ื•ืœืœ.

-ืžื ื•-ืคืœื•ืฉ-ืžืœื›ื•ื“ืช
ืžืฆื™ื™ืŸ ืฉืœื ื ื™ืชืŸ ืœืฉื˜ื•ืฃ ืืช ื”ืžื˜ืžื•ืŸ ื‘ืืžืฆืขื•ืช ืžืœื›ื•ื“ืช.

-mflush-func=ืฉื
ืžืฆื™ื™ืŸ ืืช ื”ืฉื ืฉืœ ืคื•ื ืงืฆื™ื™ืช ืžืขืจื›ืช ื”ื”ืคืขืœื” ืœื”ืชืงืฉืจ ื›ื“ื™ ืœืฉื˜ื•ืฃ ืืช ื”ืžื˜ืžื•ืŸ. ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื _flush_cache, ืืš ืงืจื™ืืช ืคื•ื ืงืฆื™ื” ืžืฉืžืฉืช ืจืง ืื ืžืœื›ื•ื“ืช ืื™ื ื” ื–ืžื™ื ื”.

-mno-flush-func
ืžืฆื™ื™ืŸ ืฉืื™ืŸ ืคื•ื ืงืฆื™ื™ืช ืžืขืจื›ืช ื”ืคืขืœื” ืœื ื™ืงื•ื™ ื”ืžื˜ืžื•ืŸ.

M680x0 ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืฉื”ื•ื’ื“ืจื• ืขื‘ื•ืจ ืžืขื‘ื“ื™ M680x0 ื•- ColdFire. ื”ื’ื“ืจื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ืชืœื•ื™ ื‘ืื™ื–ื• ืืจื›ื™ื˜ืงื˜ื•ืจื” ื ื‘ื—ืจื” ื›ืืฉืจ ื”ืžื”ื“ืจ ื”ื•ื’ื“ืจ; ื‘ืจื™ืจื•ืช ื”ืžื—ื“ืœ
ืขื‘ื•ืจ ื”ื‘ื—ื™ืจื•ืช ื”ื ืคื•ืฆื•ืช ื‘ื™ื•ืชืจ ื ื™ืชื ื•ืช ืœื”ืœืŸ.

-ืžืจืฅ=ืงืฉืช
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช ืขืจื›ืช ื”ื•ืจืื•ืช ืกืคืฆื™ืคื™ืช ืฉืœ M680x0 ืื• ColdFire.
ืขืจื›ื™ื ืžื•ืชืจื™ื ืฉืœ ืงืฉืช ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช M680x0 ื”ืŸ: 68000, 68010, 68020, 68030,
68040, 68060 ื• cpu32. ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ColdFire ื ื‘ื—ืจื•ืช ื‘ื”ืชืื ืœืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืฉืœ Freescale
ืกื™ื•ื•ื’ ISA ื•ื”ืขืจื›ื™ื ื”ืžื•ืชืจื™ื ื”ื: ืื™ืกืื, isaaplus, ืื™ื–ืื‘ ื• ืื™ื–ืง.

GCC ืžื’ื“ื™ืจ ืžืืงืจื• __mcfืงืฉืช__ ื‘ื›ืœ ืคืขื ืฉื”ื•ื ืžื™ื™ืฆืจ ืงื•ื“ ืขื‘ื•ืจ ื™ืขื“ ColdFire.
ื”ืฉืžื™ื™ื ืงืฉืช ื‘ืžืืงืจื• ื–ื” ื”ื•ื ืื—ื“ ืžื” -ืžืจืฅ ื”ื˜ื™ืขื•ื ื™ื ืฉื ื™ืชื ื• ืœืขื™ืœ.

ื‘ืฉื™ืžื•ืฉ ื™ื—ื“, -ืžืจืฅ ื• -mtune ื‘ื—ืจ ืงื•ื“ ืฉืคื•ืขืœ ืขืœ ืžืฉืคื—ื” ืฉืœ ื“ื•ืžื”
ืžืขื‘ื“ื™ื ืื‘ืœ ื–ื” ืžื•ืชืื ืœืžื™ืงืจื• ืืจื›ื™ื˜ืงื˜ื•ืจื” ืžืกื•ื™ืžืช.

-mcpu=ืžืขื‘ื“
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžืขื‘ื“ M680x0 ืื• ColdFire ืกืคืฆื™ืคื™. ื”-M680x0 ืžืขื‘ื“s ื”ื:
68000, 68010, 68020, 68030, 68040, 68060, 68302, 68332 ื• cpu32. ื”-ColdFire ืžืขื‘ื“s
ื ื™ืชื ื™ื ืขืœ ื™ื“ื™ ื”ื˜ื‘ืœื” ืฉืœื”ืœืŸ, ืืฉืจ ืžืกื•ื•ื’ืช ื’ื ืืช ื”ืžืขื‘ื“ื™ื ืœืžืฉืคื—ื•ืช:

ืžืฉืคื—ื”: -mcpu ื˜ื™ืขื•ื ื™ื
51 : 51 51ac 51ag 51cn 51em 51je 51jf 51jg 51jm 51mm 51qe 51qm
5206 : 5202 5204 5206
5206e : 5206e
5208 : 5207 5208
5211a : 5210a 5211a
5213 : 5211 5212 5213
5216 : 5214 5216
52235 : 52230 52231 52232 52233 52234 52235
5225 : 5224 5225
52259 : 52252 52254 52255 52256 52258 52259
5235 : 5232 5233 5234 5235 523x
5249 : 5249
5250 : 5250
5271 : 5270 5271
5272 : 5272
5275 : 5274 5275
5282 : 5280 5281 5282 528x
53017 : 53011 53012 53013 53014 53015 53016 53017
5307 : 5307
5329 : 5327 5328 5329 532x
5373 : 5372 5373 537x
5407 : 5407
5475 : 5470 5471 5472 5473 5474 5475 547x 5480 5481 5482 5483 5484 5485

-mcpu=ืžืขื‘ื“ ืžื‘ื˜ืœ -ืžืจืฅ=ืงืฉืช if ืงืฉืช ืชื•ืื ืžืขื‘ื“. ืฉื™ืœื•ื‘ื™ื ืื—ืจื™ื ืฉืœ
-mcpu ื• -ืžืจืฅ ื ื“ื—ื™ื.

GCC ืžื’ื“ื™ืจ ืืช ื”ืžืืงืจื• __mcf_cpu_ืžืขื‘ื“ ื›ืืฉืจ ColdFire ืžื˜ืจืชื• ืžืขื‘ื“ ื ื‘ื—ืจ. ื–ื” ื’ื
ืžื’ื“ื™ืจ __mcf_family_ืžืฉืคื—ื”, ืฉื ื”ืขืจืš ืฉืœ ืžืฉืคื—ื” ื ื™ืชืŸ ืขืœ ื™ื“ื™ ื”ื˜ื‘ืœื” ืœืžืขืœื”.

-mtune=ืžื ื’ื™ื ื”
ื›ื•ื•ื ืŸ ืืช ื”ืงื•ื“ ืขื‘ื•ืจ ืžื™ืงืจื•-ืืจื›ื™ื˜ืงื˜ื•ืจื” ืžืกื•ื™ืžืช ื‘ืžืกื’ืจืช ื”ืื™ืœื•ืฆื™ื ืฉื ืงื‘ืขื• ืขืœ ื™ื“ื™ -ืžืจืฅ
ื• -mcpu. ื”ืžื™ืงืจื•-ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืฉืœ M680x0 ื”ืŸ: 68000, 68010, 68020, 68030, 68040,
68060 ื• cpu32. ื”ืžื™ืงืจื•-ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ืฉืœ ColdFire ื”ืŸ: cfv1, cfv2, cfv3, cfv4 ื•
cfv4e.

ืืชื” ื™ื›ื•ืœ ื’ื ืœื”ืฉืชืžืฉ -mtune=68020-40 ืขื‘ื•ืจ ืงื•ื“ ืฉืฆืจื™ืš ืœืคืขื•ืœ ื‘ืฆื•ืจื” ื˜ื•ื‘ื” ื™ื—ืกื™ืช ื‘-68020,
68030 ื•-68040 ื™ืขื“ื™ื. -mtune=68020-60 ื“ื•ืžื” ืืš ื›ื•ืœืœ 68060 ื™ืขื“ื™ื ื›ืžื•
ื ื•. ืฉืชื™ ืืคืฉืจื•ื™ื•ืช ืืœื” ื‘ื•ื—ืจื•ืช ืืช ืื•ืชืŸ ื”ื—ืœื˜ื•ืช ื›ื•ื•ื ื•ืŸ ื›ืžื• -m68020-40 ื• -m68020-60
ื‘ื”ืชืืžื”.

GCC ืžื’ื“ื™ืจ ืืช ืคืงื•ื“ื•ืช ื”ืžืืงืจื• __mcืงืฉืช ื• __mcืงืฉืช__ ื‘ืขืช ื›ื•ื•ื ื•ืŸ ืœืืจื›ื™ื˜ืงื˜ื•ืจืช 680x0
ืงืฉืช. ื–ื” ื’ื ืžื’ื“ื™ืจ mcืงืฉืช ืืœื ืื ื›ืŸ -ืื ืกื™ ืื• ืฉืื™ื ื• ื’ื ื• -ืกื˜ื“ ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืื•ืคืฆื™ื”.
ืื GCC ืžื›ื•ื•ืŸ ืœืžื’ื•ื•ืŸ ืฉืœ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช, ื›ืคื™ ืฉื ื‘ื—ืจ ืขืœ ื™ื“ื™ -mtune=68020-40 or
-mtune=68020-60, ื”ื•ื ืžื’ื“ื™ืจ ืืช ืคืงื•ื“ื•ืช ื”ืžืืงืจื• ืขื‘ื•ืจ ื›ืœ ืืจื›ื™ื˜ืงื˜ื•ืจื” ื‘ื˜ื•ื•ื—.

GCC ื’ื ืžื’ื“ื™ืจ ืืช ื”ืžืืงืจื• __Mืžื•ืงื“ื__ ื‘ืขืช ื›ื•ื•ื ื•ืŸ ืขื‘ื•ืจ ืžื™ืงืจื•-ืืจื›ื™ื˜ืงื˜ื•ืจืช ColdFire
ืžื•ืงื“ื, ืฉื ืžื•ืงื“ื ื”ื•ื ืื—ื“ ื”ื˜ื™ืขื•ื ื™ื ืฉื”ื•ืขืœื• ืœืขื™ืœ.

-ืž 68000
-mc68000
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ 68000. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ื”ืžื”ื“ืจ ืžื•ื’ื“ืจ ืขื‘ื•ืจ
ืžืขืจื›ื•ืช ืžื‘ื•ืกืกื•ืช 68000. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -ืžืจืฅ=68000.

ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืขื‘ื•ืจ ืžื™ืงืจื•-ื‘ืงืจื™ื ืขื ืœื™ื‘ืช 68000 ืื• EC000, ื›ื•ืœืœ 68008,
68302, 68306, 68307, 68322, 68328 ื• -68356.

-ืž 68010
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ 68010. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ื”ืžื”ื“ืจ ืžื•ื’ื“ืจ ืขื‘ื•ืจ
ืžืขืจื›ื•ืช ืžื‘ื•ืกืกื•ืช 68010. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -ืžืจืฅ=68010.

-ืž 68020
-mc68020
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ 68020. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ื”ืžื”ื“ืจ ืžื•ื’ื“ืจ ืขื‘ื•ืจ
ืžืขืจื›ื•ืช ืžื‘ื•ืกืกื•ืช 68020. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -ืžืจืฅ=68020.

-ืž 68030
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ 68030. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ื”ืžื”ื“ืจ ืžื•ื’ื“ืจ ืขื‘ื•ืจ
ืžืขืจื›ื•ืช ืžื‘ื•ืกืกื•ืช 68030. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -ืžืจืฅ=68030.

-ืž 68040
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ 68040. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ื”ืžื”ื“ืจ ืžื•ื’ื“ืจ ืขื‘ื•ืจ
ืžืขืจื›ื•ืช ืžื‘ื•ืกืกื•ืช 68040. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -ืžืจืฅ=68040.

ืืคืฉืจื•ืช ื–ื• ืžื•ื ืขืช ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช 68881/68882 ืฉื™ืฉ ืœื—ืงื•ืช ืขืœ ื™ื“ื™
ืชื•ื›ื ื” ื‘-68040. ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืื ืœ-68040 ืฉืœืš ืื™ืŸ ืงื•ื“ ืœื—ื™ืงื•ื™
ื”ื”ื•ืจืื•ืช ื”ืืœื”.

-ืž 68060
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ 68060. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ื”ืžื”ื“ืจ ืžื•ื’ื“ืจ ืขื‘ื•ืจ
ืžืขืจื›ื•ืช ืžื‘ื•ืกืกื•ืช 68060. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -ืžืจืฅ=68060.

ืืคืฉืจื•ืช ื–ื• ืžื•ื ืขืช ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช 68020 ื•-68881/68882 ืฉื—ื™ื™ื‘ื•ืช ืœื”ื™ื•ืช
ื—ื™ืงื•ื™ ืขืœ ื™ื“ื™ ืชื•ื›ื ื” ื‘-68060. ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืื ืœ-68060 ืฉืœืš ืื™ืŸ ืงื•ื“
ืœื—ืงื•ืช ืืช ื”ื”ื•ืจืื•ืช ื”ืืœื”.

-mcpu32
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ CPU32. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ื”ืžื”ื“ืจ ืžื•ื’ื“ืจ ืขื‘ื•ืจ
ืžืขืจื›ื•ืช ืžื‘ื•ืกืกื•ืช CPU32. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -march=cpu32.

ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืขื‘ื•ืจ ืžื™ืงืจื•-ื‘ืงืจื™ื ืขื ืœื™ื‘ืช CPU32 ืื• CPU32+, ื›ื•ืœืœ 68330,
68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349 ื•-68360.

-ืž 5200
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ ืžืขื‘ื“ ColdFire 520X. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ื”ืžื”ื“ืจ ื”ื•ื
ืžื•ื’ื“ืจ ืขื‘ื•ืจ ืžืขืจื›ื•ืช ืžื‘ื•ืกืกื•ืช 520X. ื–ื” ืฉื•ื•ื” ืขืจืš ืœ -mcpu=5206, ื•ืขื›ืฉื™ื•
ื ื“ื—ื” ืœื˜ื•ื‘ืช ืืคืฉืจื•ืช ื–ื•.

ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืขื‘ื•ืจ ืžื™ืงืจื•-ื‘ืงืจ ืขื ืœื™ื‘ื” 5200, ื›ื•ืœืœ MCF5202, MCF5203,
MCF5204 ื•-MCF5206.

-m5206e
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ ืžืขื‘ื“ 5206e ColdFire. ื”ืืคืฉืจื•ืช ื”ื•ืฆืื” ื›ืขืช ืžืฉื™ืžื•ืฉ ืœื˜ื•ื‘ืช
ื”ืžืงื‘ื™ืœื” -mcpu=5206e.

-ืž528x
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ ื—ื‘ืจ ื‘ืžืฉืคื—ืช ColdFire 528X. ื”ืืคืฉืจื•ืช ื”ื™ื ืขื›ืฉื™ื•
ื ื“ื—ื” ืœื˜ื•ื‘ืช ื”ืžืงื‘ื™ืœื” -mcpu=528x.

-ืž 5307
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ ืžืขื‘ื“ ColdFire 5307. ื”ืื•ืคืฆื™ื” ื”ื•ืฆืื” ื›ืขืช ืžืฉื™ืžื•ืฉ ืœื˜ื•ื‘ืช ื”
ืฉื•ื•ื” -mcpu=5307.

-ืž 5407
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ ืžืขื‘ื“ ColdFire 5407. ื”ืื•ืคืฆื™ื” ื”ื•ืฆืื” ื›ืขืช ืžืฉื™ืžื•ืฉ ืœื˜ื•ื‘ืช ื”
ืฉื•ื•ื” -mcpu=5407.

-mcfv4e
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ ืžืขื‘ื“ ColdFire V4e ืžืžืฉืคื—ืช ColdFire (ืœืžืฉืœ 547x/548x). ื–ื” ื›ื•ืœืœ ืฉื™ืžื•ืฉ ื‘
ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื” ื‘ื—ื•ืžืจื”. ื”ืื•ืคืฆื™ื” ืžืงื‘ื™ืœื” ืœ -mcpu=547x, ื•ื”ื•ื
ื ื“ื—ื” ื›ืขืช ืœื˜ื•ื‘ืช ืืคืฉืจื•ืช ื–ื•.

-m68020-40
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ 68040, ืžื‘ืœื™ ืœื”ืฉืชืžืฉ ื‘ืืฃ ืื—ืช ืžื”ื”ื•ืจืื•ืช ื”ื—ื“ืฉื•ืช. ื”ืชื•ืฆืื•ืช ื”ืืœื”
ื‘ืงื•ื“ ืฉื™ื›ื•ืœ ืœืคืขื•ืœ ื‘ื™ืขื™ืœื•ืช ื™ื—ืกื™ืช ืขืœ 68020/68881 ืื• 68030 ืื• ืขืœ
68040. ื”ืงื•ื“ ืฉื ื•ืฆืจ ืื›ืŸ ืžืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช 68881 ืฉืžื—ืงื•ืช ื‘-
68040.

ื”ืื•ืคืฆื™ื” ืžืงื‘ื™ืœื” ืœ -ืžืจืฅ=68020 -mtune=68020-40.

-m68020-60
ืฆื•ืจ ืคืœื˜ ืขื‘ื•ืจ 68060, ืžื‘ืœื™ ืœื”ืฉืชืžืฉ ื‘ืืฃ ืื—ืช ืžื”ื”ื•ืจืื•ืช ื”ื—ื“ืฉื•ืช. ื”ืชื•ืฆืื•ืช ื”ืืœื”
ื‘ืงื•ื“ ืฉื™ื›ื•ืœ ืœืคืขื•ืœ ื‘ื™ืขื™ืœื•ืช ื™ื—ืกื™ืช ืขืœ 68020/68881 ืื• 68030 ืื• ืขืœ
68040. ื”ืงื•ื“ ืฉื ื•ืฆืจ ืื›ืŸ ืžืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช 68881 ืฉืžื—ืงื•ืช ื‘-
68060.

ื”ืื•ืคืฆื™ื” ืžืงื‘ื™ืœื” ืœ -ืžืจืฅ=68020 -mtune=68020-60.

-mhard-float
-ืž 68881
ืฆื•ืจ ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื”. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ 68020 ื•ืžืขืœื”, ื•
ืขื‘ื•ืจ ื”ืชืงื ื™ ColdFire ื‘ืขืœื™ FPU. ื–ื” ืžื’ื“ื™ืจ ืืช ื”ืžืืงืจื• __HAVE_68881__ ืขืœ M680x0
ืžื˜ืจื•ืช ื• __mcffpu__ ืขืœ ืžื˜ืจื•ืช ColdFire.

-msoft-float
ืืœ ืชื™ืฆื•ืจ ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื”; ื”ืฉืชืžืฉ ื‘ืฉื™ื—ื•ืช ืกืคืจื™ื™ื” ื‘ืžืงื•ื ื–ืืช. ื–ื”
ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ ื™ืขื“ื™ื 68000, 68010 ื•-68832. ื–ื•ื”ื™ ื’ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ColdFire
ืžื›ืฉื™ืจื™ื ืฉืื™ืŸ ืœื”ื FPU.

-ืžื“ื™ื‘
-mno-div
ืฆื•ืจ (ืืœ ืชื™ืฆื•ืจ) ื”ื•ืจืื•ืช ืœื—ืœื•ืงืช ื—ื•ืžืจื” ืฉืœ ColdFire. ืื
-ืžืจืฅ ืžืฉืžืฉ ื‘ืœื™ -mcpu, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื "ืžื•ืคืขืœ" ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ColdFire ื•"ื›ื‘ื•ื™"
ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช M680x0. ืื—ืจืช, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื ืœืงื—ืช ืžืžืขื‘ื“ ื”ื™ืขื“ (ืื•
ืžืขื‘ื“ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, ืื• ื–ื” ืฉืฆื•ื™ืŸ ืขืœ ื™ื“ื™ -mcpu). ืœื“ื•ื’ืžื”, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื "ื›ื‘ื•ื™"
ืœ -mcpu=5206 ื•"ืขืœ" ืขื‘ื•ืจ -mcpu=5206e.

GCC ืžื’ื“ื™ืจ ืืช ื”ืžืืงืจื• __mcfhwdiv__ ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช.

-ืžืงืฆืจ
ืฉืงื•ืœ ืืช ืกื•ื’ "int" ื‘ืจื•ื—ื‘ 16 ืกื™ื‘ื™ื•ืช, ื›ืžื• "short int". ื‘ื ื•ืกืฃ, ืคืจืžื˜ืจื™ื
ืฉื”ื•ืขื‘ืจื• ืขืœ ื”ืžื—ืกื ื™ืช ืžื™ื•ืฉืจื™ื ื’ื ืœื’ื‘ื•ืœ ืฉืœ 16 ืกื™ื‘ื™ื•ืช ืืคื™ืœื• ืขืœ ื™ืขื“ื™ื ืฉื”-API ืฉืœื”ื
ืžื—ื™ื™ื‘ ืงื™ื“ื•ื ืœ-32 ืกื™ื‘ื™ื•ืช.

-ืžื ื•-ืงืฆืจ
ืืœ ืชื—ืฉื•ื‘ ืขืœ ืกื•ื’ "int" ื‘ืจื•ื—ื‘ ืฉืœ 16 ืกื™ื‘ื™ื•ืช. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืžื ื•ื‘ื™ื˜ืคื™ืœื“
-mno-bitfield
ืืœ ืชืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืฉื“ื” ืกื™ื‘ื™ื•ืช. ื” -ืž 68000, -mcpu32 ื• -ืž 5200 ืืคืฉืจื•ื™ื•ืช ืžืจืžื–ื•ืช
-ืžื ื•ื‘ื™ื˜ืคื™ืœื“.

-ืžื‘ื™ื˜ืคื™ืœื“
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืฉื“ื” ื”ืกื™ื‘ื™ื•ืช. ื” -ืž 68020 ื”ืื•ืคืฆื™ื” ืžืจืžื–ืช -ืžื‘ื™ื˜ืคื™ืœื“. ื–ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืื ืืชื” ืžืฉืชืžืฉ ื‘ืชืฆื•ืจื” ื”ืžื™ื•ืขื“ืช ืœ-68020.

-mrtd
ื”ืฉืชืžืฉ ื‘ืžื•ืกื›ืžื” ืื—ืจืช ืฉืœ ืงืจื™ืืช ืคื•ื ืงืฆื™ื•ืช, ืฉื‘ื” ืคื•ื ืงืฆื™ื•ืช ืฉืœื•ืงื—ื•ืช ืงื‘ื•ืข
ืžืกืคืจ ื”ืืจื’ื•ืžื ื˜ื™ื ื—ื•ื–ืจื™ื ืขื ื”ื•ืจืืช "rtd", ืฉืžืฆื™ื’ื” ืืช ื”ื˜ื™ืขื•ื ื™ื ืฉืœื”ื
ื‘ื–ืžืŸ ื”ื—ื–ืจื”. ื–ื” ื—ื•ืกืš ื”ื•ืจืื” ืื—ืช ืืฆืœ ื”ืžืชืงืฉืจ ืžื›ื™ื•ื•ืŸ ืฉืื™ืŸ ืฆื•ืจืš ื‘ื›ืš
ืœื”ืขืœื•ืช ืืช ื”ื˜ื™ืขื•ื ื™ื ืฉื.

ืืžื ืช ืฉื™ื—ื•ืช ื–ื• ืื™ื ื” ืชื•ืืžืช ืืช ื–ื• ื”ืžืฉืžืฉืช ื‘ื“ืจืš ื›ืœืœ ื‘-Unix, ืื– ืืชื”
ืœื ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื• ืื ืืชื” ืฆืจื™ืš ืœืงืจื•ื ืœืกืคืจื™ื•ืช ื”ื™ื“ื•ืจ ืขื ืžื”ื“ืจ Unix.

ื›ืžื• ื›ืŸ, ืขืœื™ืš ืœืกืคืง ืื‘ื•ืช ื˜ื™ืคื•ืก ืฉืœ ืคื•ื ืงืฆื™ื•ืช ืขื‘ื•ืจ ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ืฉืžืงื‘ืœื•ืช ืžืฉืชื ื™ื
ืžืกืคืจื™ ืืจื’ื•ืžื ื˜ื™ื (ื›ื•ืœืœ "printf"); ืื—ืจืช ื ื•ืฆืจ ืงื•ื“ ืฉื’ื•ื™ ืขื‘ื•ืจ
ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื•ืช ื”ืœืœื•.

ื‘ื ื•ืกืฃ, ื ื•ืฆืจ ืงื•ื“ ืฉื’ื•ื™ ื—ืžื•ืจ ืื ืืชื” ืงื•ืจื ืœืคื•ื ืงืฆื™ื” ืขื ื™ื•ืชืจ ืžื“ื™
ื˜ื™ืขื•ื ื™ื. (ื‘ื“ืจืš ื›ืœืœ, ื˜ื™ืขื•ื ื™ื ื ื•ืกืคื™ื ืžืชืขืœืžื™ื ืœืœื ืžื–ื™ืง.)

ื”ื•ืจืืช "rtd" ื ืชืžื›ืช ืขืœ ื™ื“ื™ 68010, 68020, 68030, 68040, 68060 ื•-CPU32
ืžืขื‘ื“ื™ื, ืื‘ืœ ืœื ืœืคื™ 68000 ืื• 5200.

-mno-rtd
ืืœ ืชืฉืชืžืฉ ื‘ืžื•ืกื›ืžื•ืช ื”ืฉื™ื—ื•ืช ืฉื ื‘ื—ืจื• ืขืœ ื™ื“ื™ -mrtd. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืžalign-int
-mno-align-int
ืฉืœื™ื˜ื” ืื GCC ืžื™ื™ืฉืจ ืืช "int", "long", "long long", "float", "double" ื•-"long"
ืžืฉืชื ื™ื ื›ืคื•ืœื™ื ืขืœ ื’ื‘ื•ืœ ืฉืœ 32 ืกื™ื‘ื™ื•ืช (-ืžalign-int) ืื• ื’ื‘ื•ืœ ืฉืœ 16 ืกื™ื‘ื™ื•ืช
(-mno-align-int). ื™ื™ืฉื•ืจ ืžืฉืชื ื™ื ืขืœ ื’ื‘ื•ืœื•ืช 32 ืกื™ื‘ื™ื•ืช ืžื™ื™ืฆืจ ืงื•ื“ ืฉืจืฅ
ืงืฆืช ื™ื•ืชืจ ืžื”ื™ืจ ื‘ืžืขื‘ื“ื™ื ืขื ืืคื™ืงื™ 32 ืกื™ื‘ื™ื•ืช ืขืœ ื—ืฉื‘ื•ืŸ ื™ื•ืชืจ ื–ื™ื›ืจื•ืŸ.

ืึทื–ื”ึธืจึธื”: ืื ืืชื” ืžืฉืชืžืฉ ื‘- -ืžalign-int ืžืชื’, GCC ืžื™ื™ืฉืจ ืžื‘ื ื™ื ื”ืžื›ื™ืœื™ื ืืช ื”ืืžื•ืจ ืœืขื™ืœ
ืกื•ื’ื™ื ืฉื•ื ื™ื ืžืžืคืจื˜ื™ ื”ืžืžืฉืง ื”ื‘ื™ื ืืจื™ ืฉืœ ื”ื™ื™ืฉื•ืžื™ื ื”ืžืคื•ืจืกืžื™ื ื‘ื™ื•ืชืจ ืขื‘ื•ืจ
ื”-m68k.

-mpcrel
ื”ืฉืชืžืฉ ื‘ืžืฆื‘ ื”ื›ืชื•ื‘ืช ื”ื™ื—ืกื™ืช ืœืžื—ืฉื‘ ืฉืœ ื”-68000 ื™ืฉื™ืจื•ืช, ื‘ืžืงื•ื ืœื”ืฉืชืžืฉ ื‘ื’ืœื•ื‘ืœ
ื˜ื‘ืœืช ืื•ืคืกื˜. ื ื›ื•ืŸ ืœืขื›ืฉื™ื•, ืืคืฉืจื•ืช ื–ื• ืžืจืžื–ืช -fpic, ื”ืžืืคืฉืจ ื”ื™ืกื˜ ืฉืœ 16 ืกื™ื‘ื™ื•ืช ืœื›ืœ ื”ื™ื•ืชืจ
ืขื‘ื•ืจ ื›ืชื•ื‘ืช ื™ื—ืกื™ืช ืœืžื—ืฉื‘. -fPIC ืื™ื ื• ื ืชืžืš ื›ืขืช ืขื -mpcrel, ืื ื›ื™
ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ื ืชืžืš ืขื‘ื•ืจ ืžืขื‘ื“ื™ื 68020 ื•ืžืขืœื”.

-mno-strict-align
-mstrict-align
ืืœ ืชื ื™ื— ืฉื”ืžืขืจื›ืช ืžื˜ืคืœืช ื‘ื”ืคื ื™ื•ืช ื–ื™ื›ืจื•ืŸ ืœื ืžื™ื•ืฉืจื•ืช.

-msep-ื ืชื•ื ื™ื
ืฆื•ืจ ืงื•ื“ ื”ืžืืคืฉืจ ืœืžืงื ืืช ืžืงื˜ืข ื”ื ืชื•ื ื™ื ื‘ืื–ื•ืจ ืื—ืจ ื‘ื–ื™ื›ืจื•ืŸ
ืžืงื˜ืข ื”ื˜ืงืกื˜. ื–ื” ืžืืคืฉืจ ื‘ื™ืฆื•ืข ื‘ืžืงื•ื ื‘ืกื‘ื™ื‘ื” ืœืœื
ื ื™ื”ื•ืœ ื–ื™ื›ืจื•ืŸ ื•ื™ืจื˜ื•ืืœื™. ืืคืฉืจื•ืช ื–ื• ืžืจืžื–ืช -fPIC.

-mno-sep-data
ืฆื•ืจ ืงื•ื“ ืฉืžื ื™ื— ืฉืงื˜ืข ื”ื ืชื•ื ื™ื ืขื•ืงื‘ ืื—ืจ ืงื˜ืข ื”ื˜ืงืกื˜. ื–ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืืžืฆืข ื”ืกืคืจื™ื™ื” ื”ืžืฉื•ืชืคืช
ืฆื•ืจ ืงื•ื“ ื”ืชื•ืžืš ื‘ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ื‘ืืžืฆืขื•ืช ืฉื™ื˜ืช ืžื–ื”ื” ื”ืกืคืจื™ื™ื”. ื–ื” ืžืืคืฉืจ
ืขื‘ื•ืจ ืกืคืจื™ื•ืช ื‘ื™ืฆื•ืข ื‘ืžืงื•ื ื•ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ื‘ืกื‘ื™ื‘ื” ืœืœื ื–ื™ื›ืจื•ืŸ ื•ื™ืจื˜ื•ืืœื™
ื”ึทื ื”ึธืœึธื”. ืืคืฉืจื•ืช ื–ื• ืžืจืžื–ืช -fPIC.

-mno-id-shared-library
ืฆื•ืจ ืงื•ื“ ืฉืื™ื ื• ืžื ื™ื— ืฉืžืฉืชืžืฉื™ื ื‘ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ืžื‘ื•ืกืกื•ืช ืžื–ื”ื”. ื–ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mshared-library-id=n
ืžืฆื™ื™ืŸ ืืช ืžืกืคืจ ื”ื–ื™ื”ื•ื™ ืฉืœ ื”ืกืคืจื™ื™ื” ื”ืžืฉื•ืชืคืช ื”ืžื‘ื•ืกืกืช ืขืœ ืžื–ื”ื” ื”ื ืขืจืš.
ืฆื™ื•ืŸ ืขืจืš ืฉืœ 0 ื™ื•ืฆืจ ืงื•ื“ ืงื•ืžืคืงื˜ื™ ื™ื•ืชืจ; ืฆื™ื•ืŸ ื›ื•ื—ื•ืช ืขืจื›ื™ื ืื—ืจื™ื
ื”ืงืฆืืช ื”ืžืกืคืจ ื”ื–ื” ืœืกืคืจื™ื™ื” ื”ื ื•ื›ื—ื™ืช, ืื‘ืœ ื”ื™ื ื›ื‘ืจ ืœื ืžืงื•ื ืื• ื–ืžืŸ-
ื™ืขื™ืœ ืžืืฉืจ ื”ืฉืžื˜ืช ืืคืฉืจื•ืช ื–ื•.

-mxgot
-mno-xgot
ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“ ื‘ืœืชื™ ืชืœื•ื™ ื‘ืžื™ืงื•ื ืขื‘ื•ืจ ColdFire, ืฆื•ืจ ืงื•ื“ ืฉืขื•ื‘ื“ ืื
ืœ-GOT ื™ืฉ ื™ื•ืชืจ ืž-8192 ืขืจื›ื™ื. ืงื•ื“ ื–ื” ื’ื“ื•ืœ ื•ืื™ื˜ื™ ื™ื•ืชืจ ืžืงื•ื“
ื ื•ืฆืจ ืœืœื ืืคืฉืจื•ืช ื–ื•. ื‘ืžืขื‘ื“ื™ M680x0, ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ื ื—ื•ืฆื”; -fPIC
ืžืกืคื™ืง.

GCC ืžืฉืชืžืฉ ื‘ื“ืจืš ื›ืœืœ ื‘ื”ื•ืจืื” ื™ื—ื™ื“ื” ื›ื“ื™ ืœื˜ืขื•ืŸ ืขืจื›ื™ื ืžื”-GOT. ื‘ื–ืžืŸ ืฉื–ื” ื›ืŸ
ื™ืขื™ืœ ื™ื—ืกื™ืช, ื–ื” ืขื•ื‘ื“ ืจืง ืื ื”-GOT ืงื˜ืŸ ืž-64k ื‘ืขืจืš. ื›ืœ ื“ื‘ืจ
ื’ื“ื•ืœ ื™ื•ืชืจ ื’ื•ืจื ืœืžืงืฉืจ ืœื“ื•ื•ื— ืขืœ ืฉื’ื™ืื” ื›ื’ื•ืŸ:

ืจื™ืœื•ืงื™ื™ืฉืŸ ืงื˜ื•ืข ื›ื“ื™ ืœื”ืชืื™ื: R_68K_GOT16O foobar

ืื ื–ื” ืงื•ืจื”, ืขืœื™ืš ืœื”ืจื›ื™ื‘ ืžื—ื“ืฉ ืืช ื”ืงื•ื“ ืฉืœืš ืขื -mxgot. ืื– ื–ื” ืืžื•ืจ ืœืขื‘ื•ื“ ืขื
GOTs ื’ื“ื•ืœื™ื ืžืื•ื“. ืขื ื–ืืช, ืงื•ื“ ืฉื ื•ืฆืจ ืขื -mxgot ื”ื•ื ืคื—ื•ืช ื™ืขื™ืœ, ืฉื›ืŸ ื”ื•ื
ืœื•ืงื— 4 ื”ื•ืจืื•ืช ื›ื“ื™ ืœื”ื‘ื™ื ืืช ื”ืขืจืš ืฉืœ ืกืžืœ ื’ืœื•ื‘ืœื™.

ืฉื™ืžื• ืœื‘ ืฉื—ืœืง ืžื”ืžืงืฉืจื™ื, ื›ื•ืœืœ ื’ืจืกืื•ืช ื—ื“ืฉื•ืช ื™ื•ืชืจ ืฉืœ ื”ืžืงืฉืจ GNU, ื™ื›ื•ืœื™ื ืœื™ืฆื•ืจ
ืžืกืคืจ GOTs ื•ืžื™ื•ืŸ ืขืจื›ื™ GOT. ืื ื™ืฉ ืœืš ืžืงืฉืจ ื›ื–ื”, ืืชื” ืฆืจื™ืš ืจืง
ื›ื“ื™ ืœื”ืฉืชืžืฉ -mxgot ื‘ืขืช ื”ื™ื“ื•ืจ ืฉืœ ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ื‘ื•ื“ื“ ื”ื ื™ื’ืฉ ืœื™ื•ืชืจ ืž-8192 GOT
ืขืจื›ื™ื. ืžืขื˜ ืžืื•ื“ ืขื•ืฉื™ื ื–ืืช.

ืœืืคืฉืจื•ื™ื•ืช ืืœื” ืื™ืŸ ื”ืฉืคืขื” ืืœื ืื ื›ืŸ GCC ืžื™ื™ืฆืจ ืงื•ื“ ื‘ืœืชื™ ืชืœื•ื™ ื‘ืžื™ืงื•ื.

MCore ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืฉื”ื•ื’ื“ืจื• ืขื‘ื•ืจ ืžืขื‘ื“ื™ Motorola M*Core.

-ืžื”ืจื“ืœื™ื˜
-ืžื ื•-ืžื•ืืจ
ืงื‘ื•ืขื™ื ืžื•ื˜ื‘ืขื™ื ื‘ื–ืจื ื”ืงื•ื“ ืื ื ื™ืชืŸ ืœืขืฉื•ืช ื–ืืช ื‘ืฉืชื™ ื”ื•ืจืื•ืช ืื• ืคื—ื•ืช.

-ืžื“ื™ื‘
-mno-div
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืืช ื”ื—ืœื•ืงื”. (ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ).

-mrelax-ืžื™ื™ื“ื™
-ืžื ื•-ืœื”ื™ืจื’ืข-ืžื™ื™ื“ื™
ืืคืฉืจ ืžื™ื™ื“ื™ื™ื ื‘ื’ื•ื“ืœ ืฉืจื™ืจื•ืชื™ ื‘ืคืขื•ืœื•ืช ืกื™ื‘ื™ื•ืช.

-mwide-bitfields
-mno-wide-bitfields
ื”ืชื™ื™ื—ืก ืชืžื™ื“ ืœืฉื“ื•ืช ืกื™ื‘ื™ื•ืช ื‘ื’ื•ื“ืœ "int".

-m4byte-ืคื•ื ืงืฆื™ื•ืช
-mno-4byte-functions
ื›ืคื” ืขืœ ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ืœื”ื™ื•ืช ืžื™ื•ืฉืจื•ืช ืœื’ื‘ื•ืœ ืฉืœ 4 ื‘ืชื™ื.

-mcallgraph-data
-mno-callgraph-data
ืคืœื˜ ืžื™ื“ืข ืงื•ืœื’ืจืฃ.

-mslow-bytes
-mno-slow-bytes
ื”ืขื“ื™ืคื• ื’ื™ืฉื” ืœืžื™ืœื™ื ื‘ืขืช ืงืจื™ืืช ื›ืžื•ื™ื•ืช ื‘ืชื™ื.

-ืžืขื˜-ืื ื“ื™ืืŸ
-mbig-endian
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื™ืขื“ ืงื˜ืŸ.

-ืž 210
-ืž 340
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžืขื‘ื“ 210.

-ืžื ื•-ืœืกื™ื
ื ื ื™ื— ืฉืกื•ืคืงื” ืชืžื™ื›ื” ื‘ื–ืžืŸ ืจื™ืฆื” ื•ืœื›ืŸ ื”ืฉืžื™ื˜ ืืช ืกืคืจื™ื™ืช ื”ืกื™ืžื•ืœื˜ื•ืจ
(libsim.a) ืžืฉื•ืจืช ื”ืคืงื•ื“ื” ื”ืžืงืฉืจืช.

-mstack-increment=ื’ื•ื“ืœ
ื”ื’ื“ืจ ืืช ื”ื›ืžื•ืช ื”ืžืงืกื™ืžืœื™ืช ืขื‘ื•ืจ ืคืขื•ืœืช ืชื•ืกืคืช ืžื—ืกื ื™ืช ื‘ื•ื“ื“ืช. ืขืจื›ื™ื ื’ื“ื•ืœื™ื ื™ื›ื•ืœื™ื
ืœื”ื’ื‘ื™ืจ ืืช ื”ืžื”ื™ืจื•ืช ืฉืœ ืชื•ื›ื ื™ื•ืช ื”ืžื›ื™ืœื•ืช ืคื•ื ืงืฆื™ื•ืช ืฉืฆืจื™ื›ื•ืช ื›ืžื•ืช ื’ื“ื•ืœื” ืฉืœ
ืฉื˜ื— ืžื—ืกื ื™ืช, ืื‘ืœ ื”ื ื™ื›ื•ืœื™ื ื’ื ืœื”ืคืขื™ืœ ืชืงืœืช ืคื™ืœื•ื— ืื ื”ืขืจื™ืžื” ืžื•ืจื—ื‘ืช
ื™ื•ืชืจ ืžื“ื™. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื 0x1000.

MeP ืืคืฉืจื•ื™ื•ืช

-mabsdiff
ืžืืคืฉืจ ืืช ื”ื•ืจืืช "abs", ืฉื”ื™ื ื”ื”ื‘ื“ืœ ื”ืžื•ื—ืœื˜ ื‘ื™ืŸ ืฉื ื™ ืื•ื’ืจื™ื.

-ืงื ื™ื•ื ื™ื-ืื•ืคื˜ื™ื
ืžืืคืฉืจ ืืช ื›ืœ ื”ื”ื•ืจืื•ืช ื”ืื•ืคืฆื™ื•ื ืœื™ื•ืช --- ืžืžื•ืฆืข, ื›ืคืœ, ื—ืœืง, ืคืขื•ืœื•ืช ืกื™ื‘ื™ื•ืช,
ืืคืก ืžื•ื‘ื™ืœ, ื”ื‘ื“ืœ ืžื•ื—ืœื˜, ืžื™ื ื™ืžื•ื/ืžืงืกื™ืžื•ื, ืงืœื™ืค ื•ืจื•ื•ื™ื”.

-ืžืžื•ืฆืข
ืžืืคืฉืจ ืืช ื”ื•ืจืืช "ave", ืืฉืจ ืžื—ืฉื‘ืช ืืช ื”ืžืžื•ืฆืข ืฉืœ ืฉื ื™ ืื•ื’ืจื™ื.

-mbased=n
ืžืฉืชื ื™ื ืฉืœ ื’ื•ื“ืœ n ื‘ืชื™ื ืื• ืคื—ื•ืช ืžืžื•ืงืžื™ื ื‘ืงื˜ืข ".based" ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.
ืžืฉืชื ื™ื ืžื‘ื•ืกืกื™ื ืžืฉืชืžืฉื™ื ื‘ืื•ื’ืจ $tp ื›ืื•ื’ืจ ื‘ืกื™ืก, ื•ื™ืฉ ืžื’ื‘ืœื” ืฉืœ 128 ื‘ืชื™ื
ืœืงื˜ืข ".based".

-ืžื‘ื™ื˜ื•ืคื™ื
ืžืืคืฉืจ ืืช ื”ื•ืจืื•ืช ืคืขื•ืœืช ื”ืกื™ื‘ื™ื•ืช --- ื‘ื“ื™ืงืช ืกื™ื‘ื™ื•ืช ("btstm"), ื”ื’ื“ืจ ("bsetm"), ื ืงื”
("bclrm"), ื”ืคื•ืš ("bnotm"), ื•-test-and-set ("tas").

-mc=ืฉื
ื‘ื•ื—ืจ ื‘ืื™ื–ื” ืงื˜ืข ื ืชื•ื ื™ื ืงื‘ื•ืขื™ื ืžืžื•ืงืžื™ื. ืฉื ื™ื›ื•ืœ ืœื”ื™ื•ืช "ืงื˜ื ื˜ืŸ", "ืงืจื•ื‘", ืื•
"ืจึธื—ื•ึนืง".

-mclip
ืžืืคืฉืจ ืืช ื”ื•ืจืืช "ืงืœื™ืค". ืฉื™ื ืœื‘ ืฉ"-mclip" ืื™ื ื• ืฉื™ืžื•ืฉื™ ืืœื ืื ื›ืŸ ืืชื” ื’ื
ืœืกืคืง "-mminmax".

-mconfig=ืฉื
ื‘ื•ื—ืจ ืื—ืช ืžืชืฆื•ืจื•ืช ื”ืœื™ื‘ื” ื”ืžื•ื‘ื ื•ืช. ืœื›ืœ ืฉื‘ื‘ MeP ื™ืฉ ืื—ื“ ืื• ื™ื•ืชืจ
ืžื•ื“ื•ืœื™ื ื‘ื•; ืœื›ืœ ืžื•ื“ื•ืœ ื™ืฉ ืžืขื‘ื“ ืœื™ื‘ื” ื•ืžื’ื•ื•ืŸ ืžืขื‘ื“ื™ ืฉื•ืชืคื™ื, ืื•ืคืฆื™ื•ื ืœื™
ื”ื•ืจืื•ืช ื•ืฆื™ื•ื“ ื”ื™ืงืคื™. ื”ื›ืœื™ "MeP-Integrator", ืฉืื™ื ื• ื—ืœืง ืž-GCC, ืžืกืคืง
ืชืฆื•ืจื•ืช ืืœื” ื“ืจืš ืืคืฉืจื•ืช ื–ื•; ื”ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื–ื”ื” ืœืฉื™ืžื•ืฉ ื‘ื›ื•ืœื
ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื”ืžืชืื™ืžื•ืช. ืชืฆื•ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื "ื‘ืจื™ืจืช ืžื—ื“ืœ".

-ืžืงื•ืค
ืžืืคืฉืจ ืืช ื”ื•ืจืื•ืช ื”ืžืขื‘ื“. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื–ื”ื• ืžืขื‘ื“ ืžืฉื•ืชืฃ ืฉืœ 32 ืกื™ื‘ื™ื•ืช. ื”ืขืจื”
ืฉื”ืžืขื‘ื“ ื”ืžืฉื ื” ืžื•ืคืขืœ ื‘ื“ืจืš ื›ืœืœ ื‘ืืžืฆืขื•ืช ื”ืืคืฉืจื•ืช "-mconfig=".

-MCOP32.
ืžืืคืฉืจ ื”ื•ืจืื•ืช ืฉืœ ืžืขื‘ื“ 32 ืกื™ื‘ื™ื•ืช.

-MCOP64.
ืžืืคืฉืจ ื”ื•ืจืื•ืช ืฉืœ ืžืขื‘ื“ 64 ืกื™ื‘ื™ื•ืช.

-mivc2
ืžืืคืฉืจ ืชื–ืžื•ืŸ IVC2. IVC2 ื”ื•ื ืžืขื‘ื“ ืฉื•ืชืฃ VLIW ืฉืœ 64 ืกื™ื‘ื™ื•ืช.

-mdc
ื’ื•ืจื ืœื”ืฆื‘ืช ืžืฉืชื ื™ื ืงื‘ื•ืขื™ื ื‘ืกืขื™ืฃ ".near".

-ืžื“ื™ื‘
ืžืืคืฉืจ ืืช ื”ื”ื•ืจืื•ืช "div" ื•-"divu".

-ืžื‘
ืฆื•ืจ ืงื•ื“ ื’ื“ื•ืœ.

-ืžืœ
ืฆื•ืจ ืงื•ื“ ืงื˜ืŸ-ืื ื“ื™ืืŸ.

-ืžื™ื• ื ื“ื™ืฃ
ืื•ืžืจ ืœืžื”ื“ืจ ืฉื›ืœ ืžืฉืชื ื” ื”ืžืกื•ืžืŸ ื‘ืชื›ื•ื ืช "io" ืืžื•ืจ ืœื”ื™ื•ืช
ื ื—ืฉื‘ ื ื“ื™ืฃ.

-ืžืœ ื’ื•ืจื ืœื”ืงืฆืืช ืžืฉืชื ื™ื ืœืžืงื˜ืข ".far" ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืžืœืื“ื–
ืžืืคืฉืจ ืืช ื”ื•ืจืืช "leadz" (ืืคืก ืžื•ื‘ื™ืœ).

-ืž ื’ื•ืจื ืœื”ืงืฆืืช ืžืฉืชื ื™ื ืœืžืงื˜ืข ".near" ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืžืžื™ื ืžืงืก
ืžืืคืฉืจ ืืช ื”ื”ื•ืจืื•ืช "ืžื™ื ื™ืžื•ื" ื•"ืžืงืกื™ืžื•ื".

-ืžื•ืœื˜
ืžืืคืฉืจ ื”ื›ืคืœ ื•ื”ื•ืจืื•ืช ื›ืคืœ-ืฆื‘ื™ืจื”.

-mno-opts
ืžืฉื‘ื™ืช ืืช ื›ืœ ื”ื”ื•ืจืื•ืช ื”ืื•ืคืฆื™ื•ื ืœื™ื•ืช ื”ืžื•ืคืขืœื•ืช ืขืœ ื™ื“ื™ "-mall-opts".

-ื—ื•ื–ืจ ืขืœ ืขืฆืžื•
ืžืืคืฉืจ ืืช ื”ื”ื•ืจืื•ืช "ื—ื–ืจื”" ื•"ื—ื–ืจื”", ื”ืžืฉืžืฉื•ืช ืœืœื•ืœืื” ื ืžื•ื›ื”.

-ื’ื‘ืจืช ื’ื•ืจื ืœื›ืœ ื”ืžืฉืชื ื™ื ืœื”ื™ื›ื ืก ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืœืงื˜ืข ". ื–ืขื™ืจ". ืฉื™ืžื• ืœื‘ ืฉื™ืฉ ื
ืžื’ื‘ืœื” ืฉืœ 65536 ื‘ืชื™ื ืœืกืขื™ืฃ ื–ื”. ื’ื™ืฉื” ืœืžืฉืชื ื™ื ืืœื” ืžืฉืชืžืฉืช ื‘ื‘ืกื™ืก %gp
ืœื”ื™ืจืฉื.

-ืžืกื˜ื•ืจ
ืžืืคืฉืจ ืืช ื”ื•ืจืื•ืช ื”ืจื•ื•ื™ื”. ืฉื™ืžื• ืœื‘ ืฉื”ืžื”ื“ืจ ืœื ืขื•ืฉื” ื–ืืช ื›ืจื’ืข
ืœื™ืฆื•ืจ ืืช ืืœื” ื‘ืขืฆืžื•, ืื‘ืœ ืืคืฉืจื•ืช ื–ื• ื›ืœื•ืœื” ืขื‘ื•ืจ ืชืื™ืžื•ืช ืขื ื›ืœื™ื ืื—ืจื™ื,
ื›ืžื• "ื›ืžื•".

-msdram
ืงืฉืจ ืืช ื–ืžืŸ ื”ืจื™ืฆื” ืžื‘ื•ืกืก SDRAM ื‘ืžืงื•ื ืืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ื–ืžืŸ ื”ืจื™ืฆื” ืžื‘ื•ืกืก ื”-ROM.

-ืžืกื™ื
ืงืฉืจ ืืช ืกืคืจื™ื•ืช ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ ื”ืกื™ืžื•ืœื˜ื•ืจ.

-msimnovec
ืงืฉืจ ืืช ืกืคืจื™ื•ืช ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ ื”ืกื™ืžื•ืœื˜ื•ืจ, ืœืžืขื˜ ืชืžื™ื›ื” ืžื•ื‘ื ื™ืช ื‘ืื™ืคื•ืก ื•
ื•ืงื˜ื•ืจื™ื ื•ื˜ื‘ืœืื•ืช ื—ืจื™ื’ื™ื.

-mtf
ื’ื•ืจื ืœื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ืœืขื‘ื•ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืœืงื˜ืข ".far". ืœืœื ืืคืฉืจื•ืช ื–ื•, ืžืชืคืงื“
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืœืงื˜ืข ".near".

-mtiny=n
ืžืฉืชื ื™ื ืฉื”ื n ื‘ืชื™ื ืื• ืคื—ื•ืช ืžื•ืงืฆื™ื ืœืงื˜ืข ". ื–ืขื™ืจ". ืืœื”
ืžืฉืชื ื™ื ืžืฉืชืžืฉื™ื ื‘ืื•ื’ืจ ื”ื‘ืกื™ืก ืฉืœ $gp. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืืคืฉืจื•ืช ื–ื• ื”ื™ื 4, ืืš ืฉื™ื ืœื‘ ืœื›ืš
ื™ืฉ ืžื’ื‘ืœื” ืฉืœ 65536 ื‘ืชื™ื ืœืงื˜ืข ". ื–ืขื™ืจ".

MicroBlaze ืืคืฉืจื•ื™ื•ืช

-msoft-float
ื”ืฉืชืžืฉ ื‘ืืžื•ืœืฆื™ื™ืช ืชื•ื›ื ื” ืขื‘ื•ืจ ื ืงื•ื“ื” ืฆืคื” (ื‘ืจื™ืจืช ืžื—ื“ืœ).

-mhard-float
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื” ื‘ื—ื•ืžืจื”.

-ืžืžืžืคื™
ืืœ ืชื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืžื”ืœื›ื™ ื‘ืœื•ืง, ื”ืฉืชืžืฉ ื‘-"memcpy".

-mno-clearbss
ืืคืฉืจื•ืช ื–ื• ื”ื•ืฆืื” ืžืฉื™ืžื•ืฉ. ืœื”ืฉืชืžืฉ -fno-zero-initialized-in-bss ื‘ืžืงื•ื.

-mcpu=ืกื•ื’ ืžืขื‘ื“
ื”ืฉืชืžืฉ ื‘ืชื›ื•ื ื•ืช ืฉืœ, ื•ื‘ืงื•ื“ ืชื–ืžื•ืŸ ืขื‘ื•ืจ, ื”ืžืขื‘ื“ ื”ื ืชื•ืŸ. ื”ืขืจื›ื™ื ื”ื ืชืžื›ื™ื ื ืžืฆืื™ื ื‘-
ืคื•ึผืจืžึธื˜ vX.YY.Z, ืฉื X ื”ื™ื ื’ืจืกื” ืžืจื›ื–ื™ืช, YY ื”ื™ื ื”ื’ืจืกื” ื”ืžืฉื ื™ืช, ื• Z is
ืงื•ื“ ืชืื™ืžื•ืช. ืขืจื›ื™ื ืœื“ื•ื’ืžื” ื”ื v3.00.a, v4.00.b, v5.00.a, v5.00.b, v5.00.b,
v6.00.a.

-mxl-soft-mul
ื”ืฉืชืžืฉ ื‘ืืžื•ืœืฆื™ื™ืช ื›ืคืœ ืชื•ื›ื ื” (ื‘ืจื™ืจืช ืžื—ื“ืœ).

-mxl-soft-div
ื”ืฉืชืžืฉ ื‘ืืžื•ืœืฆื™ื™ืช ืชื•ื›ื ื” ืœื—ืœื•ืงื” (ื‘ืจื™ืจืช ืžื—ื“ืœ).

-mxl-barrel-shift
ื”ืฉืชืžืฉ ื‘ืžืฉืžืจืช ื—ื‘ื™ืช ื”ื—ื•ืžืจื”.

-mxl-pattern-compare
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืœื”ืฉื•ื•ืืช ื“ืคื•ืกื™ื.

-ืžืกืžื•ืœ-ืžื—ืœืง
ื”ืฉืชืžืฉ ื‘ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื—ื™ืคื•ืฉ ื˜ื‘ืœื” ืขื‘ื•ืจ ื—ื˜ื™ื‘ื•ืช ืžืกืคืจ ืฉืœื ื—ืชื•ืžื•ืช ืงื˜ื ื•ืช.

-mxl-stack-check
ืืคืฉืจื•ืช ื–ื• ื”ื•ืฆืื” ืžืฉื™ืžื•ืฉ. ืœื”ืฉืชืžืฉ -fstack-check ื‘ืžืงื•ื.

-mxl-gp-opt
ื”ืฉืชืžืฉ ื‘ืงื˜ืขื™ ".sdata"/.sbss" ื‘ื™ื—ืก ืœ-GP.

-mxl-ื›ืคื™ืœ-ื’ื‘ื•ื”
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ื›ืคืœ ื’ื‘ื•ื” ืขื‘ื•ืจ ื—ืœืง ื’ื‘ื•ื” ืฉืœ ื›ืคืœ 32x32.

-mxl-float-convert
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ื”ืžืจืช ื ืงื•ื“ื” ืฆืคื” ื‘ื—ื•ืžืจื”.

-mxl-float-sqrt
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืืช ืฉื•ืจืฉ ื ืงื•ื“ื” ืฆืคื” ื‘ื—ื•ืžืจื”.

-mbig-endian
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื™ืขื“ ื’ื“ื•ืœ.

-ืžืขื˜-ืื ื“ื™ืืŸ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื™ืขื“ ืงื˜ืŸ.

-mxl-ืกื“ืจ ืžื—ื“ืฉ
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืœืกื“ืจ ืžื—ื“ืฉ (ื”ื—ืœืคื” ื•ื˜ืขื™ื ื”/ื—ื ื•ืช ื”ืคื•ื›ื” ืฉืœ ื‘ืชื™ื).

-mxl-mode-ื“ื’ื ืืคืœื™ืงืฆื™ื”
ื‘ื—ืจ ื“ื’ื ื™ื™ืฉื•ื ื“ื’ื ืืคืœื™ืงืฆื™ื”. ื“ื’ืžื™ื ืชืงืคื™ื ื”ื

ื”ืคืขืœื”
ืงื•ื‘ืฅ ื”ืคืขืœื” ืจื’ื™ืœ (ื‘ืจื™ืจืช ืžื—ื“ืœ), ืžืฉืชืžืฉ ื‘ืงื•ื“ ื”ืคืขืœื” crt0.o.

xmdstub
ืœืฉื™ืžื•ืฉ ืขื ื ื™ืคื•ื™ ื‘ืื’ื™ื ืคื•ืœืฉื ื™ ื‘ืชื•ื›ื ื” ืžื‘ื•ืกืกืช ืชื•ื›ื ื” Xilinx Microprocessor Debugger (XMD).
ืกื•ื›ืŸ ื‘ืฉื xmdstub. ื–ื” ืžืฉืชืžืฉ ื‘ืงื•ื‘ืฅ ื”ืคืขืœื” crt1.o ื•ืงื•ื‘ืข ืืช ื›ืชื•ื‘ืช ื”ื”ืชื—ืœื” ืฉืœ
ื”ืชื•ื›ื ื™ืช ืœ-0x800.

ืึนื–ึถืŸ ื”ึทื ึทืขึทืœ
ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ื ืฉื ื˜ืขื ื™ื ื‘ืืžืฆืขื•ืช ื˜ื•ืขืŸ ืืชื—ื•ืœ. ืžื•ื“ืœ ื–ื” ืžืฉืชืžืฉ ื‘ืงื•ื‘ืฅ ื”ืคืขืœื”
crt2.o ืฉืื™ื ื• ืžื›ื™ืœ ืžื˜ืคืœ ื•ืงื˜ื•ืจ ืœืื™ืคื•ืก ืžืขื‘ื“. ื–ื” ืžืชืื™ื
ืœื”ืขื‘ืจืช ืฉืœื™ื˜ื” ืขืœ ืื™ืคื•ืก ืžืขื‘ื“ ืœืžื˜ืขืŸ ื”ืืชื—ื•ืœ ื•ืœื ืœ-
ื™ื™ืฉื•ื.

ื ื•ื‘ืงื˜ื•ืจื™ื
ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ื ืฉืื™ื ื ื“ื•ืจืฉื™ื ืืฃ ืื—ื“ ืžื”ื•ื•ืงื˜ื•ืจื™ื ืฉืœ MicroBlaze. ืืคืฉืจื•ืช ื–ื•
ืขืฉื•ื™ ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ื ื”ืคื•ืขืœื™ื ื‘ืชื•ืš ื™ื™ืฉื•ื ื ื™ื˜ื•ืจ. ื”ื“ื’ื ื”ื–ื”
ืฉื™ืžื•ืฉื™ื crt3.o ื›ืงื•ื‘ืฅ ื”ืคืขืœื”.

ืืคืฉืจื•ืช -xl-mode-ื“ื’ื ืืคืœื™ืงืฆื™ื” ื”ื•ื ื›ื™ื ื•ื™ ืฉื”ื•ืฆื ืžืฉื™ืžื•ืฉ ืขื‘ื•ืจ -mxl-mode-ื“ื’ื ืืคืœื™ืงืฆื™ื”.

MIPS ืืคืฉืจื•ื™ื•ืช

-EB ืฆื•ืจ ืงื•ื“ ื’ื“ื•ืœ.

-ื” ืฆื•ืจ ืงื•ื“ ืงื˜ืŸ-ืื ื“ื™ืืŸ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืžื™ืค*ืืœ-*-* ืชืฆื•ืจื•ืช.

-ืžืจืฅ=ืงืฉืช
ืฆื•ืจ ืงื•ื“ ืฉืคื•ืขืœ ืขืœ ืงืฉืช, ืฉื™ื›ื•ืœ ืœื”ื™ื•ืช ื”ืฉื ืฉืœ MIPS ISA ื’ื ืจื™, ืื• ื”-
ืฉื ืฉืœ ืžืขื‘ื“ ืžืกื•ื™ื. ืฉืžื•ืช ื”ืจืฉื•ืช ื”ื: mips1, mips2, mips3, mips4,
mips32, MIPS32R2, mips64 ื• MIPS64R2. ืฉืžื•ืช ื”ืžืขื‘ื“ื™ื ื”ื: 4kc, 4km, 4kp, 4ืฉืง,
4kec, 4 ืง"ืž, 4 ืงืค, 4ksd, 5kc, 5 ืงื™ืœื•ื’ืจื, 20kc, 24kc, 24KF2_1, 24KF1_1, 24kec, 24kef2_1,
24kef1_1, 34kc, 34KF2_1, 34KF1_1, 34kn, 74kc, 74KF2_1, 74KF1_1, 74KF3_2, 1004kc,
1004KF2_1, 1004KF1_1, loongson2e, longson2f, longson3a, M4K, ืื•ืงื˜ืื•ืŸ, ืื•ืงื˜ืื•ืŸ+,
ืื•ืงื˜ืื•ืŸ2, ืื•ืจื™ื•ืŸ, r2000, r3000, r3900, r4000, r4400, r4600, r4650, r4700, r6000, r8000,
rm7000, rm9000, r10000, r12000, r14000, r16000, sb1, sr71000, vr4100, vr4111, vr4120,
vr4130, vr4300, vr5000, vr5400, vr5500, xlr ื• xlp. ื”ืขืจืš ื”ืžื™ื•ื—ื“ ืž-abi
ื‘ื•ื—ืจ ืืช ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ื”ืชื•ืืžืช ื‘ื™ื•ืชืจ ืขื‘ื•ืจ ื”-ABI ื”ื ื‘ื—ืจ (ื›ืœื•ืžืจ, mips1 ืœ
32 ืกื™ื‘ื™ื•ืช ABI ื• mips3 ืขื‘ื•ืจ ABI ืฉืœ 64 ืกื™ื‘ื™ื•ืช).

ืฉืจืฉืจืช ื”ื›ืœื™ื ื”ืžืงื•ืจื™ืช ืฉืœ Linux/GNU ืชื•ืžื›ืช ื’ื ื”ื™ื ื‘ืขืจืš ื™ืœื™ื“, ืฉื‘ื•ื—ืจ ืืช ื”ื˜ื•ื‘ ื‘ื™ื•ืชืจ
ืืคืฉืจื•ืช ืืจื›ื™ื˜ืงื˜ื•ืจื” ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื”ืžืืจื—. -ืฆืขื“ื” = ื™ืœื™ื“ ืื™ืŸ ื”ืฉืคืขื” ืื GCC ื›ืŸ
ืœื ืžื–ื”ื” ืืช ื”ืžืขื‘ื“.

ื‘ืฉืžื•ืช ื”ืžืขื‘ื“ื™ื, ืกื•ืคื™ 000 ื ื™ืชืŸ ืœืงื™ืฆื•ืจ ื›- k (ืœื“ื•ื’ืžื”, -ืžืจืฅ=r2k).
ืงื™ื“ื•ืžื•ืช ื”ืŸ ืื•ืคืฆื™ื•ื ืœื™ื•ืช, ื• vr ืขืฉื•ื™ ืœื”ื™ื›ืชื‘ r.

ืฉืžื•ืช ื”ื˜ื•ืคืก nf2_1 ืขื™ื™ืŸ ื‘ืžืขื‘ื“ื™ื ืขื FPUs ืขื ืฉืขื•ืŸ ื‘ืžื—ืฆื™ืช ืžื”ืงืฆื‘ ืฉืœ
ืœื™ื‘ื”, ืฉืžื•ืช ื”ืฆื•ืจื” nf1_1 ืžืชื™ื™ื—ืกื™ื ืœืžืขื‘ื“ื™ื ืขื FPUs ืขื ืฉืขื•ืŸ ื‘ืื•ืชื• ืงืฆื‘
ื‘ืชื•ืจ ื”ืœื™ื‘ื”, ื•ืฉืžื•ืช ื”ืฆื•ืจื” nf3_2 ืขื™ื™ืŸ ื‘ืžืขื‘ื“ื™ื ืขื FPUs ืขื ื™ื—ืก ืฉืขื•ืŸ
ืฉืœ 3:2 ื‘ื™ื—ืก ืœืœื™ื‘ื”. ืžื˜ืขืžื™ ืชืื™ืžื•ืช, nf ืžืชืงื‘ืœ ื‘ืชื•ืจ ื
ืžื™ืœื” ื ืจื“ืคืช ืœ nf2_1 ื‘ื–ืžืŸ nx ื• bfx ืžืชืงื‘ืœื™ื ื›ืžื™ืœื™ื ื ืจื“ืคื•ืช ืขื‘ื•ืจ nf1_1.

GCC ืžื’ื“ื™ืจ ืฉืชื™ ืคืงื•ื“ื•ืช ืžืืงืจื• ืขืœ ืกืžืš ื”ืขืจืš ืฉืœ ืืคืฉืจื•ืช ื–ื•. ื”ืจืืฉื•ืŸ ื”ื•ื _MIPS_ARCH,
ืžื” ืฉื ื•ืชืŸ ืืช ื”ืฉื ืฉืœ ืืจื›ื™ื˜ืงื˜ื•ืจืช ื”ืžื˜ืจื”, ื›ืžื—ืจื•ื–ืช. ืœืฉื ื™ ื™ืฉ ืืช ื”ืฆื•ืจื”
_MIPS_ARCH_Foo, ืฉื Foo ื”ื•ื ื”ืขืจืš ื”ืžื”ื•ื•ืŸ ืฉืœ _MIPS_ARCH. ืœื“ื•ื’ืžื”,
-March=r2000 ืกื˜ื™ื _MIPS_ARCH ืœ "r2000" ื•ืžื’ื“ื™ืจ ืืช ื”ืžืืงืจื• _MIPS_ARCH_R2000.

ืฉื™ื ืœื‘ ื›ื™ _MIPS_ARCH ืžืืงืจื• ืžืฉืชืžืฉ ื‘ืฉืžื•ืช ื”ืžืขื‘ื“ื™ื ืฉืฆื•ื™ื ื• ืœืžืขืœื”. ื‘ืžื™ืœื™ื ืื—ืจื•ืช,
ื™ืฉ ืœื• ืืช ื”ืงื™ื“ื•ืžืช ื”ืžืœืื” ื•ืื™ื ื• ืžืงืฆืจ 000 as k. ื‘ืžืงืจื” ืฉืœ ืž-abi, ื”
ืžืืงืจื• ื ื•ืชืŸ ืฉื ืœืืจื›ื™ื˜ืงื˜ื•ืจื” ืฉื ืคืชืจื” (ืื• "mips1" or "mips3"). ื–ื” ืงื•ืจื ืœ
ืืจื›ื™ื˜ืงื˜ื•ืจืช ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ ืœื -ืžืจืฅ ื ื™ืชื ืช ืืคืฉืจื•ืช.

-mtune=ืงืฉืช
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืขื‘ื•ืจ ืงืฉืช. ื‘ื™ืŸ ื”ื™ืชืจ, ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ื‘ืฆื•ืจืช ื”ื”ื•ืจืื•ืช
ืžืชื•ื›ื ืŸ, ื•ื”ืขืœื•ืช ื”ื ืชืคืกืช ืฉืœ ืคืขื•ืœื•ืช ืืจื™ืชืžื˜ื™ื•ืช. ืจืฉื™ืžืช ืงืฉืช ืขืจื›ื™ื
ื–ื”ื” ืœื–ื” ืฉืœ -ืžืจืฅ.

ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ื‘ืฉื™ืžื•ืฉ, GCC ืžื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืขื‘ื•ืจ ื”ืžืขื‘ื“ ืฉืฆื•ื™ืŸ ืขืœ ื™ื“ื™ -ืžืจืฅ. ืขืœ ื™ื“ื™
ื‘ืืžืฆืขื•ืช -ืžืจืฅ ื• -mtune ื™ื—ื“, ืืคืฉืจ ืœื™ืฆื•ืจ ืงื•ื“ ืฉืคื•ืขืœ ืขืœ a
ืžืฉืคื—ืช ื”ืžืขื‘ื“ื™ื, ืืš ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื”ืงื•ื“ ืขื‘ื•ืจ ื—ื‘ืจ ืžืกื•ื™ื ื‘ืžืฉืคื—ื” ื–ื•.

-mtune ืžื’ื“ื™ืจ ืืช ืคืงื•ื“ื•ืช ื”ืžืืงืจื• _MIPS_TUNE ื• _MIPS_TUNE_Foo, ืืฉืจ ืคื•ืขืœื™ื ื‘ืื•ืชื• ืื•ืคืŸ ื›ืžื•
ืžื” ื”ื™ื -ืžืจืฅ ืืœื” ืฉืชื•ืืจื• ืœืขื™ืœ.

-ืžื™ืคืก1
ืฉื•ื•ื” ืขืจืš ืœ -march=mips1.

-ืžื™ืคืก2
ืฉื•ื•ื” ืขืจืš ืœ -march=mips2.

-ืžื™ืคืก3
ืฉื•ื•ื” ืขืจืš ืœ -march=mips3.

-ืžื™ืคืก4
ืฉื•ื•ื” ืขืจืš ืœ -march=mips4.

-ืžื™ืคืก32
ืฉื•ื•ื” ืขืจืš ืœ -march=mips32.

-mips32r2
ืฉื•ื•ื” ืขืจืš ืœ -march=mips32r2.

-ืžื™ืคืก64
ืฉื•ื•ื” ืขืจืš ืœ -march=mips64.

-mips64r2
ืฉื•ื•ื” ืขืจืš ืœ -march=mips64r2.

-ืžื™ืคืก16
-mno-mips16
ืฆื•ืจ (ืืœ ืชื™ืฆื•ืจ) ืงื•ื“ MIPS16. ืื GCC ืžื›ื•ื•ืŸ ืœ-MIPS32 ืื• MIPS64
ืืจื›ื™ื˜ืงื˜ื•ืจื”, ื”ื•ื ืขื•ืฉื” ืฉื™ืžื•ืฉ ื‘-MIPS16e ASE.

ื ื™ืชืŸ ืœืฉืœื•ื˜ ื‘ื”ืคืงืช ืงื•ื“ MIPS16 ื’ื ืขืœ ื‘ืกื™ืก ืคื•ื ืงืฆื™ื” ื‘ืืžืฆืขื•ืช
ืชื›ื•ื ื•ืช "mips16" ื•-"nomips16".

-mflip-mips16
ืฆื•ืจ ืงื•ื“ MIPS16 ืขืœ ืคื•ื ืงืฆื™ื•ืช ืžืชื—ืœืคื•ืช. ืืคืฉืจื•ืช ื–ื• ื ื™ืชื ืช ืขื‘ื•ืจ ืจื’ืจืกื™ื”
ื‘ื“ื™ืงื” ืฉืœ ื™ืฆื™ืจืช ืงื•ื“ ืžืขื•ืจื‘ MIPS16/ืœื MIPS16, ื•ืื™ื ื” ืžื™ื•ืขื“ืช ืœืจื’ื™ืœ
ืœื”ืฉืชืžืฉ ื‘ื”ื™ื“ื•ืจ ืงื•ื“ ืžืฉืชืžืฉ.

-minterlink-mips16
-mno-interlink-mips16
ื“ืจื•ืฉ (ืœื ื“ื•ืจืฉ) ืฉืงื•ื“ ืฉืื™ื ื• MIPS16 ื™ื”ื™ื” ืชื•ืื ืงื™ืฉื•ืจ ืœืงื•ื“ MIPS16.

ืœื“ื•ื’ืžื”, ืงื•ื“ ืฉืื™ื ื• MIPS16 ืื™ื ื• ื™ื›ื•ืœ ืœืงืคื•ืฅ ื™ืฉื™ืจื•ืช ืœืงื•ื“ MIPS16; ื–ื” ื—ื™ื™ื‘ ืœื”ืฉืชืžืฉ ื‘-a
ืฉื™ื—ื” ืื• ืงืคื™ืฆื” ืขืงื™ืคื”. -minterlink-mips16 ืœื›ืŸ ืžืฉื‘ื™ืช ืงืคื™ืฆื•ืช ื™ืฉื™ืจื•ืช ืืœื ืื ื›ืŸ
GCC ื™ื•ื“ืข ืฉื™ืขื“ ื”ืงืคื™ืฆื” ืื™ื ื• MIPS16.

-ืžืื‘ื™=32
-mabi=o64
-mabi=n32
-ืžืื‘ื™=64
-mabi=eabi
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”-ABI ื”ื ืชื•ืŸ.

ืฉื™ืžื• ืœื‘ ืฉืœ-EABI ื™ืฉ ื’ืจืกื” ืฉืœ 32 ืกื™ื‘ื™ื•ืช ื•-64 ืกื™ื‘ื™ื•ืช. GCC ื™ื•ืฆืจ ื‘ื“ืจืš ื›ืœืœ 64 ืกื™ื‘ื™ื•ืช
ืงื•ื“ ื›ืืฉืจ ืืชื” ื‘ื•ื—ืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช 64 ืกื™ื‘ื™ื•ืช, ืื‘ืœ ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ -mgp32 ื›ื“ื™ ืœืงื‘ืœ ืงื•ื“ 32 ืกื™ื‘ื™ื•ืช
ื‘ืžืงื•ื.

ืœืžื™ื“ืข ืขืœ O64 ABI, ืจืื”http://gcc.gnu.org/projects/mipso64-abi.html>.

GCC ืชื•ืžืš ื‘ื’ืจืกื” ืฉืœ o32 ABI ืฉื‘ื” ืื•ื’ืจื™ ื ืงื•ื“ื” ืฆืคื” ื”ื 64 ื‘ืžืงื•ื ื–ืืช
ืจื•ื—ื‘ ืฉืœ ื™ื•ืชืจ ืž-32 ื‘ื™ื˜ื™ื. ืืชื” ื™ื›ื•ืœ ืœื‘ื—ื•ืจ ืืช ื”ืฉื™ืœื•ื‘ ื”ื–ื” ืขื -ืžืื‘ื™=32 -mfp64. ื”-ABI ื”ื–ื”
ืžืกืชืžืš ืขืœ ื”ื”ื•ืจืื•ืช "mthc1" ื•-"mfhc1" ื•ืœื›ืŸ ื”ื•ื ื ืชืžืš ืจืง ืขื‘ื•ืจ
ืžืขื‘ื“ื™ MIPS32R2.

ื”ืงืฆืื•ืช ื”ืื•ื’ืจ ืขื‘ื•ืจ ืืจื’ื•ืžื ื˜ื™ื ื•ืขืจื›ื™ ื”ื—ื–ืจ ื ืฉืืจื•ืช ื–ื”ื•ืช, ืื‘ืœ ื›ืœ ืื—ืช ืžื”ืŸ
ืขืจืš ืกืงืœืจื™ ืžื•ืขื‘ืจ ื‘ืื•ื’ืจ ื‘ื•ื“ื“ ืฉืœ 64 ืกื™ื‘ื™ื•ืช ื•ืœื ื‘ื–ื•ื’ ืฉืœ 32 ืกื™ื‘ื™ื•ืช
ืจื•ืฉืžืช. ืœื“ื•ื’ืžื”, ืขืจื›ื™ ื ืงื•ื“ื” ืฆืคื” ืกืงืœืจื™ืช ืžื•ื—ื–ืจื™ื ืคื ื™ืžื” $f0 ืจืง, ืœื ื
$f0/$f1 ื–ื•ื’. ืกื˜ ื”ืื•ื’ืจื™ื ืฉื ืฉืžืจื• ื‘ืฉื™ื—ื•ืช ื ืฉืืจ ื–ื”ื”, ืื‘ืœ ื›ืœ 64 ื”ืกื™ื‘ื™ื•ืช
ื ืฉืžืจื™ื.

-ืžืื‘ื™ืงืœื™ื
-ืžื ื•-ืื‘ื™ืงืœ
ืฆื•ืจ (ืืœ ืชื™ืฆื•ืจ) ืงื•ื“ ืฉืžืชืื™ื ืœืื•ื‘ื™ื™ืงื˜ื™ื ื“ื™ื ืžื™ื™ื ื‘ืกื’ื ื•ืŸ SVR4.
-ืžืื‘ื™ืงืœื™ื ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืžืขืจื›ื•ืช ืžื‘ื•ืกืกื•ืช SVR4.

-mshared
-mno-ืžืฉื•ืชืฃ
ืฆื•ืจ (ืืœ ืชื™ืฆื•ืจ) ืงื•ื“ ืฉืื™ื ื• ืชืœื•ื™ ืžื™ืงื•ื ืœื—ืœื•ื˜ื™ืŸ, ื•ื–ื” ื™ื›ื•ืœ
ืœื›ืŸ ืœื”ื™ื•ืช ืžืงื•ืฉืจื™ื ืœืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช. ืืคืฉืจื•ืช ื–ื• ืžืฉืคื™ืขื” ืจืง -ืžืื‘ื™ืงืœื™ื.

ืชืขืฉื™ื•ืช -ืžืื‘ื™ืงืœื™ื ื”ืงื•ื“ ื”ื™ื” ื‘ืื•ืคืŸ ืžืกื•ืจืชื™ ื‘ืœืชื™ ืชืœื•ื™ ื‘ืžื™ืงื•ื, ืœืœื ืงืฉืจ ืœืืคืฉืจื•ื™ื•ืช
ื›ืžื• -fPIC ื• -fpic. ืขื ื–ืืช, ื›ื”ืจื—ื‘ื”, ืฉืจืฉืจืช ื”ื›ืœื™ื ืฉืœ GNU ืžืืคืฉืจืช ืงื•ื‘ืฆื™ ื”ืคืขืœื”
ืœื”ืฉืชืžืฉ ื‘ื’ื™ืฉื” ืžื•ื—ืœื˜ืช ืขื‘ื•ืจ ืกืžืœื™ื ืžื—ื™ื™ื‘ื™ื ืžืงื•ืžื™ืช. ื–ื” ื™ื›ื•ืœ ื’ื ืœื”ืฉืชืžืฉ ื‘-GP ืงืฆืจ ื™ื•ืชืจ
ืจืฆืคื™ ืืชื—ื•ืœ ื•ื™ืฆื™ืจืช ืงืจื™ืื•ืช ื™ืฉื™ืจื•ืช ืœืคื•ื ืงืฆื™ื•ืช ื”ืžื•ื’ื“ืจื•ืช ืžืงื•ืžื™ืช. ื–ึถื”
ืžืฆื‘ ื ื‘ื—ืจ ืขืœ ื™ื“ื™ -mno-ืžืฉื•ืชืฃ.

-mno-ืžืฉื•ืชืฃ ืชืœื•ื™ ื‘-binutils 2.16 ื•ืžืขืœื” ื•ืžื™ื™ืฆืจ ืื•ื‘ื™ื™ืงื˜ื™ื ืฉื™ื›ื•ืœื™ื ืœื”ื™ื•ืช ืจืง
ืžืงื•ืฉืจ ืขืœ ื™ื“ื™ ืžืงืฉืจ GNU. ืขื ื–ืืช, ื”ืื•ืคืฆื™ื” ืื™ื ื” ืžืฉืคื™ืขื” ืขืœ ื”-ABI ืฉืœ ื”ื’ืžืจ
ื‘ืจ ื”ืคืขืœื”; ื–ื” ืžืฉืคื™ืข ืจืง ืขืœ ABI ืฉืœ ืื•ื‘ื™ื™ืงื˜ื™ื ื”ื ื™ืชื ื™ื ืœื”ื–ื–ื”. ื‘ืืžืฆืขื•ืช -mno-ืžืฉื•ืชืฃ
ื‘ื“ืจืš ื›ืœืœ ื”ื•ืคืš ืืช ืงื•ื‘ืฆื™ ื”ื”ืคืขืœื” ืœืงื˜ื ื™ื ื™ื•ืชืจ ื•ืžื”ื™ืจื™ื ื™ื•ืชืจ.

-mshared ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mplt
-mno-plt
ื ื ื™ื— (ืืœ ืชื ื™ื—) ืฉื”ืžืงืฉืจื™ื ื”ืกื˜ื˜ื™ื™ื ื•ื”ื“ื™ื ืžื™ื™ื ืชื•ืžื›ื™ื ื‘-PLTs ื•ื”ืขืชืงื”
ืจื™ืœื•ืงื™ื™ืฉืŸ. ืืคืฉืจื•ืช ื–ื• ืžืฉืคื™ืขื” ืจืง -mno-ืžืฉื•ืชืฃ -ืžืื‘ื™ืงืœื™ื. ืขื‘ื•ืจ ื”-n64 ABI, ื–ื”
ืœืื•ืคืฆื™ื” ืื™ืŸ ื”ืฉืคืขื” ื‘ืœืขื“ื™ื• -msym32.

ืืชื” ื™ื›ื•ืœ ืœื”ืจื•ื•ื™ื— -mplt ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขืœ ื™ื“ื™ ื”ื’ื“ืจืช GCC ืขื --with-mips-plt. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
is -mno-plt ืื—ืจืช.

-mxgot
-mno-xgot
ื”ืจื (ืืœ ืชืจื™ื) ืืช ื”ื”ื’ื‘ืœื•ืช ื”ืจื’ื™ืœื•ืช ืขืœ ื’ื•ื“ืœ ื˜ื‘ืœืช ื”ืงื™ื–ื•ื– ื”ืขื•ืœืžื™ืช.

GCC ืžืฉืชืžืฉ ื‘ื“ืจืš ื›ืœืœ ื‘ื”ื•ืจืื” ื™ื—ื™ื“ื” ื›ื“ื™ ืœื˜ืขื•ืŸ ืขืจื›ื™ื ืžื”-GOT. ื‘ื–ืžืŸ ืฉื–ื” ื›ืŸ
ื™ืขื™ืœ ื™ื—ืกื™ืช, ื–ื” ืขื•ื‘ื“ ืจืง ืื ื”-GOT ืงื˜ืŸ ืž-64k ื‘ืขืจืš. ื›ืœ ื“ื‘ืจ
ื’ื“ื•ืœ ื™ื•ืชืจ ื’ื•ืจื ืœืžืงืฉืจ ืœื“ื•ื•ื— ืขืœ ืฉื’ื™ืื” ื›ื’ื•ืŸ:

ืจื™ืœื•ืงื™ื™ืฉืŸ ืงื˜ื•ืข ื›ื“ื™ ืœื”ืชืื™ื: R_MIPS_GOT16 foobar

ืื ื–ื” ืงื•ืจื”, ืขืœื™ืš ืœื”ืจื›ื™ื‘ ืžื—ื“ืฉ ืืช ื”ืงื•ื“ ืฉืœืš ืขื -mxgot. ื–ื” ืขื•ื‘ื“ ืขื ืžืื•ื“
GOTs ื’ื“ื•ืœื™ื, ืื ื›ื™ ื”ืงื•ื“ ื’ื ืคื—ื•ืช ื™ืขื™ืœ, ืžื›ื™ื•ื•ืŸ ืฉื”ื•ื ื“ื•ืจืฉ ืฉืœื•ืฉื”
ื”ื•ืจืื•ืช ืœืื—ื–ื•ืจ ื”ืขืจืš ืฉืœ ืกืžืœ ื’ืœื•ื‘ืœื™.

ืฉื™ื ืœื‘ ืฉื—ืœืง ืžื”ืžืงืฉืจื™ื ื™ื›ื•ืœื™ื ืœื™ืฆื•ืจ GOT ืžืจื•ื‘ื™ื. ืื ื™ืฉ ืœืš ืžืงืฉืจ ื›ื–ื”, ืืชื”
ืฆืจื™ืš ืจืง ืœื”ืฉืชืžืฉ -mxgot ื›ืืฉืจ ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ื‘ื•ื“ื“ ื ื™ื’ืฉ ืœื™ื•ืชืจ ืž-64k
ื‘ืฉื•ื•ื™ ื›ื ื™ืกื•ืช GOT. ืžืขื˜ ืžืื•ื“ ืขื•ืฉื™ื ื–ืืช.

ืœืืคืฉืจื•ื™ื•ืช ืืœื• ืื™ืŸ ื”ืฉืคืขื” ืืœื ืื ื›ืŸ GCC ืžื™ื™ืฆืจ ืงื•ื“ ื‘ืœืชื™ ืชืœื•ื™ ื‘ืžื™ืงื•ื.

-mgp32
ื ื ื™ื— ืฉื”ืจื’ื™ืกื˜ืจื™ื ืœืฉื™ืžื•ืฉ ื›ืœืœื™ ื”ื ื‘ืจื•ื—ื‘ ืฉืœ 32 ืกื™ื‘ื™ื•ืช.

-mgp64
ื ื ื™ื— ืฉื”ืจื’ื™ืกื˜ืจื™ื ืœืฉื™ืžื•ืฉ ื›ืœืœื™ ื”ื ื‘ืจื•ื—ื‘ ืฉืœ 64 ืกื™ื‘ื™ื•ืช.

-mfp32
ื ื ื™ื— ืฉืจื•ื—ื‘ ืื•ื’ืจื™ ื ืงื•ื“ื” ืฆืคื” ื”ื 32 ืกื™ื‘ื™ื•ืช.

-mfp64
ื ื ื™ื— ืฉืจื•ื—ื‘ ืื•ื’ืจื™ ื ืงื•ื“ื” ืฆืคื” ื”ื 64 ืกื™ื‘ื™ื•ืช.

-mhard-float
ื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืžืขื‘ื“ ืฉื•ืชืฃ ื‘ื ืงื•ื“ื” ืฆืคื”.

-msoft-float
ืืœ ืชืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืžืขื‘ื“ ืฉื•ืชืฃ ื‘ื ืงื•ื“ื” ืฆืคื”. ื™ื™ืฉื ื ืงื•ื“ื” ืฆืคื”
ื—ื™ืฉื•ื‘ื™ื ื‘ืืžืฆืขื•ืช ืฉื™ื—ื•ืช ืกืคืจื™ื™ื” ื‘ืžืงื•ื.

-mno-float
ืฉื•ื•ื” ืขืจืš ืœ -msoft-float, ืืš ื‘ื ื•ืกืฃ ื˜ื•ืขื ืช ืฉื”ืชื•ื›ื ื™ืช ื”ื•ืœื›ืช
ืื™ื ื• ืžื‘ืฆืข ืฉื•ื ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”. ืืคืฉืจื•ืช ื–ื• ื ืชืžื›ืช ื›ืขืช
ืจืง ืขืœ ื™ื“ื™ ื›ืžื” ืชืฆื•ืจื•ืช MIPS ืžืžืชื›ืช ื—ืฉื•ืคื”, ืฉื‘ื”ืŸ ื”ื•ื ืขืฉื•ื™ ืœื‘ื—ื•ืจ ืกื˜ ืžื™ื•ื—ื“ ืฉืœ
ืกืคืจื™ื•ืช ื—ืกืจื•ืช ื›ืœ ืชืžื™ื›ื” ื‘ื ืงื•ื“ื” ืฆืคื” (ื›ื•ืœืœ, ืœืžืฉืœ, ื”-floating-
ืคื•ืจืžื˜ื™ื ืฉืœ ื ืงื•ื“ื” "printf"). ืื ืงื•ื“ ื”ื™ื“ื•ืจ ืขื "-mno-float" ืžื›ื™ืœ ื‘ื˜ืขื•ืช
ืคืขื•ืœื•ืช ืฉืœ ื ืงื•ื“ื” ืฆืคื”, ื”ื™ื ืฆืคื•ื™ื” ืœืกื‘ื•ืœ ืžื›ืฉืœ ื‘ื–ืžืŸ ืงื™ืฉื•ืจ ืื• ืจื™ืฆื”.

ืฆื™ืคื” ืื—ืช
ื ื ื™ื— ืฉื”ืžืขื‘ื“ ื”ืžืฉื ื” ื‘ื ืงื•ื“ื” ืฆืคื” ืชื•ืžืš ืจืง ื‘ืคืขื•ืœื•ืช ื‘ืขืœื•ืช ื“ื™ื•ืง ื™ื—ื™ื“.

-mdouble-float
ื ื ื™ื— ืฉื”ืžืขื‘ื“ ื”ืžืฉื ื” ื‘ื ืงื•ื“ื” ืฆืคื” ืชื•ืžืš ื‘ืคืขื•ืœื•ืช ื“ื™ื•ืง ื›ืคื•ืœ. ื–ึถื”
ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mllsc
-mno-llsc
ื”ืฉืชืžืฉ (ืœื ืœื”ืฉืชืžืฉ) ll, sc, ื• ืœืกื ื›ืจืŸ ื”ื•ืจืื•ืช ืœื™ื™ืฉื•ื ื–ื™ื›ืจื•ืŸ ืื˜ื•ืžื™ ืžื•ื‘ื ื”
ืคื•ื ืงืฆื™ื•ืช. ื›ืืฉืจ ืืฃ ืื—ืช ืžื”ืืคืฉืจื•ื™ื•ืช ืœื ืฆื•ื™ื ื”, GCC ืžืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ืื ื”ื™ืขื“
ื”ืื“ืจื™ื›ืœื•ืช ืชื•ืžื›ืช ื‘ื”ื.

-mllsc ืฉื™ืžื•ืฉื™ ืื ืกื‘ื™ื‘ืช ื–ืžืŸ ื”ืจื™ืฆื” ื™ื›ื•ืœื” ืœื—ืงื•ืช ืืช ื”ื”ื•ืจืื•ืช ื• -mno-llsc
ื™ื›ื•ืœ ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืขื‘ื•ืจ ISAs ืœื ืกื˜ื ื“ืจื˜ื™ื™ื. ืืชื” ื™ื›ื•ืœ ืœื”ืคื•ืš ื›ืœ ืื—ืช ืžื”ืืคืฉืจื•ื™ื•ืช ืœ-
ื‘ืจื™ืจืช ืžื—ื“ืœ ืขืœ ื™ื“ื™ ื”ื’ื“ืจืช GCC ืขื --with-llsc ื• --ืœืœื-llsc ื‘ื”ืชืืžื”.
--with-llsc ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืชืฆื•ืจื•ืช ืžืกื•ื™ืžื•ืช; ืขื™ื™ืŸ ื‘ืชื™ืขื•ื“ ื”ื”ืชืงื ื”
ืœืงื‘ืœืช ืคืจื˜ื™ื.

-mdsp
-mno-dsp
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ื’ืจืกื” 1 ืฉืœ MIPS DSP ASE.
ืืคืฉืจื•ืช ื–ื• ืžื’ื“ื™ืจื” ืืช ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“ __mips_dsp. ื–ื” ื’ื ืžื’ื“ื™ืจ
__mips_dsp_rev ืืœ 1.

-mdspr2
-mno-dspr2
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ื’ืจืกื” 2 ืฉืœ MIPS DSP ASE.
ืืคืฉืจื•ืช ื–ื• ืžื’ื“ื™ืจื” ืืช ืคืงื•ื“ื•ืช ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“ __mips_dsp ื• __mips_dspr2. ื’ื ื–ื”
ืžื’ื“ื™ืจ __mips_dsp_rev ืืœ 2.

-msmartmips
-mno-smartmips
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘-MIPS SmartMIPS ASE.

-ืœืงื•ื™-ืจื•ื•ืง
-mno-ื–ื•ื’ื™-ืกื™ื ื’ืœ
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ืฉืœ ื ืงื•ื“ื” ืฆืคื” ื™ื—ื™ื“ื” ื–ื•ื’ื™ืช.
ืืคืฉืจื•ืช ื–ื• ืžื—ื™ื™ื‘ืช ืชืžื™ื›ื” ื‘ื ืงื•ื“ื” ืฆืคื” ื‘ื—ื•ืžืจื” ื›ื“ื™ ืœื”ื™ื•ืช ื–ืžื™ื ื”.

-mdmx
-mno-mdmx
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช MIPS Digital Media Extension. ืืคืฉืจื•ืช ื–ื• ื™ื›ื•ืœื” ืœื”ื™ื•ืช ืจืง
ืžืฉืžืฉ ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“ 64 ืกื™ื‘ื™ื•ืช ื•ื“ื•ืจืฉ ืชืžื™ื›ืช ื—ื•ืžืจื” ื‘ื ืงื•ื“ื” ืฆืคื”
ืžืื•ืคืฉืจ.

-mips3d
-mno-mips3d
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘-MIPS-3D ASE. ื”ืืคืฉืจื•ืช -mips3d ืžืจืžื– -ืœืงื•ื™-ืจื•ื•ืง.

-ืžืžืฅ
-ืžื ื•-ืžื˜
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช MT Multithreading.

-ืžืžืงื•
-mno-mcu
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช MIPS MCU ASE.

-ืžืœื•ื ื’64
ื›ืคื” ืขืœ ืกื•ื’ื™ "ืืจื•ื›ื™ื" ืœื”ื™ื•ืช ื‘ืจื•ื—ื‘ ืฉืœ 64 ืกื™ื‘ื™ื•ืช. ืœึดืจึฐืื•ึนืช -ืžืœื•ื ื’32 ืœื”ืกื‘ืจ ืขืœ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื•ื”ื“ืจืš ืฉื‘ื” ื ืงื‘ืข ื’ื•ื“ืœ ื”ืžืฆื‘ื™ืข.

-ืžืœื•ื ื’32
ื›ืคื” ืขืœ ืกื•ื’ื™ "long", "int" ื•-pointer ืœื”ื™ื•ืช ื‘ืจื•ื—ื‘ ืฉืœ 32 ืกื™ื‘ื™ื•ืช.

ื’ื•ื“ืœ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ "int"s, "long" ื•-pointers ืชืœื•ื™ ื‘-ABI. ื›ืœ ื”
ABI ื ืชืžื›ื™ื ืžืฉืชืžืฉื™ื ื‘-"int" ืฉืœ 32 ืกื™ื‘ื™ื•ืช. ื”-n64 ABI ืžืฉืชืžืฉ ื‘"ืืจื•ื›ื™ื" ืฉืœ 64 ืกื™ื‘ื™ื•ืช, ื•ื›ืš ื’ื ื‘-64 ืกื™ื‘ื™ื•ืช
EABI; ื”ืื—ืจื™ื ืžืฉืชืžืฉื™ื ื‘"ืืจื•ื›ื™ื" ืฉืœ 32 ืกื™ื‘ื™ื•ืช. ืžืฆื‘ื™ืขื™ื ื–ื”ื™ื ื‘ื’ื•ื“ืœ ืฉืœ "ืืจื•ื›ื™ื" ืื• ืฉืœ
ื–ื”ื” ืœื’ื•ื“ืœ ืฉืœ ืื•ื’ืจื™ื ืฉืœืžื™ื, ื”ืงื˜ืŸ ืžื‘ื™ื ื™ื”ื.

-msym32
-mno-sym32
ื ื ื™ื— (ืืœ ืชื ื™ื—) ืฉืœื›ืœ ื”ืกืžืœื™ื ื™ืฉ ืขืจื›ื™ 32 ืกื™ื‘ื™ื•ืช, ืœืœื ืงืฉืจ ืœื‘ื—ื™ืจื”
ABI. ืืคืฉืจื•ืช ื–ื• ืฉื™ืžื•ืฉื™ืช ื‘ืฉื™ืœื•ื‘ ืขื -ืžืื‘ื™=64 ื• -ืžื ื•-ืื‘ื™ืงืœ ื›ื™ ื–ื”
ืžืืคืฉืจ ืœ-GCC ืœื™ืฆื•ืจ ื”ืคื ื™ื•ืช ืงืฆืจื•ืช ื•ืžื”ื™ืจื•ืช ื™ื•ืชืจ ืœื›ืชื•ื‘ื•ืช ืกืžืœื™ื•ืช.

-G NUM
ืฉื™ื ื”ื’ื“ืจื•ืช ืฉืœ ื ืชื•ื ื™ื ื’ืœื•ื™ื™ื ื›ืœืคื™ ื—ื•ืฅ ื‘ืงื˜ืข ื ืชื•ื ื™ื ืงื˜ืŸ ืื ื”ื ืชื•ื ื™ื ื”ืืœื” ืื™ื ื
ื’ื“ื•ืœ ื™ื•ืชืจ ืž NUM ื‘ืชื™ื. ืœืื—ืจ ืžื›ืŸ, GCC ื™ื›ื•ืœ ืœื™ืฆื•ืจ ื’ื™ืฉื” ื™ืขื™ืœื” ื™ื•ืชืจ ืœื ืชื•ื ื™ื; ืœึดืจึฐืื•ึนืช
-mgpopt ืœืงื‘ืœืช ืคืจื˜ื™ื.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ -G ื”ืืคืฉืจื•ืช ืชืœื•ื™ื” ื‘ืชืฆื•ืจื”.

-mlocal-sdata
-mno-local-sdata
ืœื”ืืจื™ืš (ืœื ืœื”ืืจื™ืš) ืืช -G ื”ืชื ื”ื’ื•ืช ื’ื ืœื ืชื•ื ื™ื ืžืงื•ืžื™ื™ื, ื›ืžื• ืžืฉืชื ื™ื ืกื˜ื˜ื™ื™ื
ื‘- C. -mlocal-sdata ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ื›ืœ ื”ืชืฆื•ืจื•ืช.

ืื ื”ืžืงืฉืจ ืžืชืœื•ื ืŸ ืขืœ ื›ืš ืฉืืคืœื™ืงืฆื™ื” ืžืฉืชืžืฉืช ื‘ื ืชื•ื ื™ื ืงื˜ื ื™ื ืžื“ื™, ืื•ืœื™
ืจื•ืฆื” ืœื ืกื•ืช ืœื‘ื ื•ืช ืžื—ื“ืฉ ืืช ื”ื—ืœืงื™ื ื”ืคื—ื•ืช ืงืจื™ื˜ื™ื™ื ืœื‘ื™ืฆื•ืขื™ื ืขื -mno-local-sdata. ืืชื”
ืื•ืœื™ ืชืจืฆื” ื’ื ืœื‘ื ื•ืช ืกืคืจื™ื•ืช ื’ื“ื•ืœื•ืช ืื™ืชืŸ -mno-local-sdata, ื›ื“ื™ ืฉื”ืกืคืจื™ื•ืช
ืœื”ืฉืื™ืจ ื™ื•ืชืจ ืžืงื•ื ืœืชื•ื›ื ื™ืช ื”ืจืืฉื™ืช.

-mextern-sdata
-mno-extern-sdata
ื ื ื™ื— (ืืœ ืชื ื™ื—) ืฉื”ื ืชื•ื ื™ื ื”ืžื•ื’ื“ืจื™ื ื—ื™ืฆื•ื ื™ืช ื ืžืฆืื™ื ื‘ืงื˜ืข ื ืชื•ื ื™ื ืงื˜ืŸ ืื
ื’ื•ื“ืœ ื”ื ืชื•ื ื™ื ื”ืœืœื• ื ืžืฆื ื‘- -G ืžื’ื‘ืœื”. -mextern-sdata ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ื›ื•ืœื
ืชืฆื•ืจื•ืช.

ืื ืชืจื›ื™ื‘ ืžื•ื“ื•ืœ ื“ืจืš ืขื -mextern-sdata -G NUM -mgpopt, ื• ื“ืจืš ื”ืคื ื™ื•ืช ื
ืžืฉืชื ื” ื›ืœ ืฉื–ื” ืœื ื™ื•ืชืจ ื’ื“ื•ืœ ืž NUM ื‘ืชื™ื, ืขืœื™ืš ืœื•ื•ื“ื ื–ืืช ื›ืœ ืžืžื•ืงื
ื‘ืงื˜ืข ื ืชื•ื ื™ื ืงื˜ืŸ. ืื ื›ืœ ืžื•ื’ื“ืจ ืขืœ ื™ื“ื™ ืžื•ื“ื•ืœ ืื—ืจ, ืขืœื™ืš ืœื‘ืฆืข ืงื•ืžืคื™ืœืฆื™ื”
ื”ืžื•ื“ื•ืœ ื”ื–ื” ืขื ื’ื‘ื•ื” ืžืกืคื™ืง -G ืœื”ื’ื“ื™ืจ ืื• ืœืฆืจืฃ ืชื›ื•ื ื” "ืกืขื™ืฃ". ื›ืœ's
ื”ึทื’ื“ึธืจึธื”. ืื ื›ืœ ื ืคื•ืฅ, ืขืœื™ืš ืœืงืฉืจ ืืช ื”ื™ื™ืฉื•ื ืขื ื’ื‘ื•ื” ืžืกืคื™ืง -G
ื”ื’ื“ืจื”.

ื”ื“ืจืš ื”ืงืœื” ื‘ื™ื•ืชืจ ืœืขืžื•ื“ ื‘ื”ื’ื‘ืœื•ืช ืืœื• ื”ื™ื ืœื”ื“ืจ ื•ืœืงืฉืจ ื›ืœ ืžื•ื“ื•ืœ
ืขื ืื•ืชื• -G ืื•ึนืคึผึฐืฆึดื™ึธื”. ืขื ื–ืืช, ื™ื™ืชื›ืŸ ืฉืชืจืฆื” ืœื‘ื ื•ืช ืกืคืจื™ื™ื” ืฉืชื•ืžื›ืช
ืžืกืคืจ ืžื’ื‘ืœื•ืช ืฉื•ื ื•ืช ืฉืœ ื ืชื•ื ื™ื ืงื˜ื ื™ื. ืืชื” ื™ื›ื•ืœ ืœืขืฉื•ืช ื–ืืช ืขืœ ื™ื“ื™ ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ื”ืกืคืจื™ื™ื” ืขื
ื”ื ืชืžื›ืช ื”ื’ื‘ื•ื”ื” ื‘ื™ื•ืชืจ -G ื”ื’ื“ืจื” ื•ื‘ื ื•ืกืฃ ืฉื™ืžื•ืฉ -mno-extern-sdata ืœืขืฆื•ืจ ืืช
ื”ืกืคืจื™ื™ื” ืžืœื”ื ื™ื— ื”ื ื—ื•ืช ืœื’ื‘ื™ ื ืชื•ื ื™ื ืžื•ื’ื“ืจื™ื ื—ื™ืฆื•ื ื™ืช.

-mgpopt
-mno-gpopt
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ื’ื™ืฉื” ื™ื—ืกื™ืช ืœ-GP ืขื‘ื•ืจ ืกืžืœื™ื ืฉื™ื“ื•ืข ืฉื”ื ื ืžืฆืื™ื ื‘ื ืชื•ื ื™ื ืงื˜ื ื™ื
ืกึธืขึดื™ืฃ; ืœึดืจึฐืื•ึนืช -G, -mlocal-sdata ื• -mextern-sdata. -mgpopt ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ื›ื•ืœื
ืชืฆื•ืจื•ืช.

-mno-gpopt ืฉื™ืžื•ืฉื™ ืœืžืงืจื™ื ืฉื‘ื”ื ื”ืื•ื’ืจ $gp ืขืฉื•ื™ ืฉืœื ืœื”ื›ื™ืœ ืืช ื”ืขืจืš ืฉืœ
"_gp". ืœื“ื•ื’ืžื”, ืื ื”ืงื•ื“ ื”ื•ื ื—ืœืง ืžืกืคืจื™ื” ืฉืขืฉื•ื™ ืœืฉืžืฉ ื‘ืืชื—ื•ืœ
ืžื•ื ื™ื˜ื•ืจ, ืชื•ื›ื ื™ื•ืช ื”ืงื•ืจืื•ืช ืœืฉื’ืจื•ืช ืืชื—ื•ืœ ืžื•ื ื™ื˜ื•ืจ ืžืขื‘ื™ืจื•ืช ืขืจืš ืœื ื™ื“ื•ืข ื‘-$gp. (ื‘
ื‘ืžืฆื‘ื™ื ื›ืืœื”, ื‘ื“ืจืš ื›ืœืœ ืžื•ืจื›ื‘ ืฆื’ ื”ืืชื—ื•ืœ ืขืฆืžื• -G0.)

-mno-gpopt ืžืจืžื– -mno-local-sdata ื• -mno-extern-sdata.

-ื ืชื•ื ื™ื ืžืฉื•ื‘ืฆื™ื
-mno-embedded-data
ื”ืงืฆืืช ืžืฉืชื ื™ื ืœืžืงื˜ืข ื”ื ืชื•ื ื™ื ืœืงืจื™ืื” ื‘ืœื‘ื“ ืื ืืคืฉืจ ืชื—ื™ืœื”, ื•ืื– ืœืื—ืจ ืžื›ืŸ ื‘-
ืงื˜ืข ื ืชื•ื ื™ื ืงื˜ืŸ ืื ืืคืฉืจ, ืื—ืจืช ื‘ื ืชื•ื ื™ื. ื–ื” ื ื•ืชืŸ ืงื•ื“ ืงืฆืช ื™ื•ืชืจ ืื™ื˜ื™
ืžืืฉืจ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, ืืš ืžืคื—ื™ืช ืืช ื›ืžื•ืช ื”-RAM ื”ื ื“ืจืฉืช ื‘ืขืช ื‘ื™ืฆื•ืข, ื•ื›ืš ืขืฉื•ื™
ืœื”ื™ื•ืช ืžื•ืขื“ืฃ ืขื‘ื•ืจ ื›ืžื” ืžืขืจื›ื•ืช ืžืฉื•ื‘ืฆื•ืช.

-muninit-const-in-rodata
-mno-uninit-const-in-rodata
ืฉื™ื ืžืฉืชื ื™ "const" ืœื ืžืื•ืชื—ืœื™ื ื‘ืงื˜ืข ื”ื ืชื•ื ื™ื ืœืงืจื™ืื” ื‘ืœื‘ื“. ืืคืฉืจื•ืช ื–ื• ื”ื™ื
ืžืฉืžืขื•ืชื™ ืจืง ื‘ืฉื™ืœื•ื‘ ืขื -ื ืชื•ื ื™ื ืžืฉื•ื‘ืฆื™ื.

-mcode-readable=ื”ืฆื‘ื”
ืฆื™ื™ืŸ ืื GCC ืขืฉื•ื™ ืœื™ืฆื•ืจ ืงื•ื“ ืฉืงื•ืจื ืžืงื˜ืขื™ ื”ืคืขืœื”. ื™ืฉ
ืฉืœื•ืฉ ื”ื’ื“ืจื•ืช ืืคืฉืจื™ื•ืช:

-mcode-readable=ื›ืŸ
ื”ื•ืจืื•ืช ืขืฉื•ื™ื•ืช ืœื’ืฉืช ื‘ืื•ืคืŸ ื—ื•ืคืฉื™ ืœืงื˜ืขื™ ื”ืคืขืœื”. ื–ื•ื”ื™ ื”ื’ื“ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mcode-readable=pcrel
MIPS16 ื”ื•ืจืื•ืช ื˜ืขื™ื ื” ื™ื—ืกื™ืช ืœืžื—ืฉื‘ ื™ื›ื•ืœื•ืช ืœื’ืฉืช ืœืงื˜ืขื™ ื”ืคืขืœื”, ืืš ืื—ืจื•ืช
ืืกื•ืจ ืœืขืฉื•ืช ื–ืืช ื‘ื”ื•ืจืื•ืช. ืืคืฉืจื•ืช ื–ื• ืฉื™ืžื•ืฉื™ืช ื‘ืžืขื‘ื“ื™ 4KSc ื•-4KSd
ื›ืืฉืจ ืœ-TLBs ื”ืงื•ื“ ืžื•ื’ื“ืจ ื”-Read Inhibit bit. ื–ื” ืฉื™ืžื•ืฉื™ ื’ื ื‘ืžืขื‘ื“ื™ื
ืฉื ื™ืชืŸ ืœื”ื’ื“ื™ืจ ืฉื™ื”ื™ื” ืœื• ืžืžืฉืง SRAM ื›ืคื•ืœ ื”ื•ืจืื•ืช/ื ืชื•ื ื™ื ื•ืฉ,
ื›ืžื• ื”-M4K, ืžืคื ื” ืื•ื˜ื•ืžื˜ื™ืช ืขื•ืžืกื™ื ื™ื—ืกื™ื™ื ืœืžื—ืฉื‘ ืœ-RAM ื”ื”ื•ืจืื•ืช.

-mcode-readable=ืœื
ืืกื•ืจ ืœื”ื•ืจืื•ืช ืœื’ืฉืช ืœืงื˜ืขื™ ื”ืคืขืœื”. ืืคืฉืจื•ืช ื–ื• ื™ื›ื•ืœื” ืœื”ื™ื•ืช ืฉื™ืžื•ืฉื™ืช ื‘
ื™ืขื“ื™ื ื”ืžื•ื’ื“ืจื™ื ืœื‘ืขืœื™ ืžืžืฉืง SRAM ื›ืคื•ืœ ื”ื•ืจืื•ืช/ื ืชื•ื ื™ื ืื‘ืœ
ืฉ(ื‘ื ื™ื’ื•ื“ ืœ-M4K) ืื™ื ื ืžืคื ื™ื ืื•ื˜ื•ืžื˜ื™ืช ืขื•ืžืกื™ื ื™ื—ืกื™ื™ื ืœืžื—ืฉื‘ ื”ืื™ืฉื™
ื”ื•ืจืื•ืช RAM.

-mssplit-ื›ืชื•ื‘ื•ืช
-mno-split-ื›ืชื•ื‘ื•ืช
ืืคืฉืจ (ื”ืฉื‘ืช) ืฉื™ืžื•ืฉ ื‘ืื•ืคืจื˜ื•ืจื™ื ืฉืœ ื”ืขื‘ืจืช ื”ื”ืจื›ื‘ื™ื "%hi()" ื•-"%lo()". ื–ึถื”
ื”ืื•ืคืฆื™ื” ื”ื•ื—ืœืคื” ืขืœ ื™ื“ื™ -ืžืคื•ืจืฉ-ืจื™ืœื•ืงื™ื ืื‘ืœ ื ืฉืžืจ ืœืื—ื•ืจ
ืชืื™ืžื•ืช.

-ืžืคื•ืจืฉ-ืจื™ืœื•ืงื™ื
-mno-explicit-relocs
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ืžืคืขื™ืœื™ ืจื™ืœื•ืงื™ื™ืฉืŸ ืฉืœ ืืกืžื‘ืœืจ ื‘ืขืช ื”ืชืžื•ื“ื“ื•ืช ืขื ื›ืชื•ื‘ื•ืช ืกืžืœื™ื•ืช.
ื”ืืœื˜ืจื ื˜ื™ื‘ื”, ืฉื ื‘ื—ืจื” ืขืœ ื™ื“ื™ -mno-explicit-relocs, ื”ื•ื ืœื”ืฉืชืžืฉ ื‘ืคืงื•ื“ื•ืช ืžืืงืจื• ืฉืœ ืืกืžื‘ืœืจ ื‘ืžืงื•ื ื–ืืช.

-ืžืคื•ืจืฉ-ืจื™ืœื•ืงื™ื ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืื GCC ื”ื•ื’ื“ืจ ืœื”ืฉืชืžืฉ ื‘-assembler ืฉ
ืชื•ืžืš ื‘ืžืคืขื™ืœื™ ืจื™ืœื•ืงื™ื™ืฉืŸ.

-ืžืฆ'ืง-ืืคืก-ื—ืœื•ืงื”
-ืžื ื•-ืฆ'ืง-ืืคืก-ื—ืœื•ืงื”
ืžืœื›ื•ื“ืช (ืืœ ืชืœื›ื•ื“) ื‘ื—ืœื•ืงื” ืฉืœ ืžืกืคืจ ืฉืœื ื‘ืืคืก.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ืžืฆ'ืง-ืืคืก-ื—ืœื•ืงื”.

-ืžื—ืœืง-ืžืœื›ื•ื“ื•ืช
-ืžื—ืœืง-ื”ืคืกืงื•ืช
ืžืขืจื›ื•ืช MIPS ื‘ื•ื“ืงื•ืช ื—ืœื•ืงื” ื‘ืืคืก ืขืœ ื™ื“ื™ ื™ืฆื™ืจืช ืžืœื›ื•ื“ืช ืžื•ืชื ื™ืช ืื• ื
ื”ืคืกืงืช ื”ื•ืจืื”. ืฉื™ืžื•ืฉ ื‘ืžืœื›ื•ื“ื•ืช ืžื‘ื™ื ืœืงื•ื“ ืงื˜ืŸ ื™ื•ืชืจ, ืืš ื”ื•ื ื ืชืžืš ืจืง ื‘-MIPS
II ื•ืžืื•ื—ืจ ื™ื•ืชืจ. ื›ืžื• ื›ืŸ, ื‘ื—ืœืง ืžื”ื’ืจืกืื•ืช ืฉืœ ืœื™ื‘ืช ืœื™ื ื•ืงืก ื™ืฉ ื‘ืื’ ืฉืžื•ื ืข ืžืœื›ื•ื“ื•ืช
ืžื™ืฆื™ืจืช ื”ืื•ืช ื”ืžืชืื™ื ("SIGFPE"). ืœื”ืฉืชืžืฉ -ืžื—ืœืง-ืžืœื›ื•ื“ื•ืช ืœืืคืฉืจ ืžื•ืชื ื”
ืžืœื›ื•ื“ื•ืช ืขืœ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ื”ืชื•ืžื›ื•ืช ื‘ื”ืŸ ื• -ืžื—ืœืง-ื”ืคืกืงื•ืช ืœื›ืคื•ืช ืฉื™ืžื•ืฉ ื‘
ื ืฉื‘ืจ.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ื‘ื“ืจืš ื›ืœืœ -ืžื—ืœืง-ืžืœื›ื•ื“ื•ืช, ืืš ื ื™ืชืŸ ืœืขืงื•ืฃ ื–ืืช ื‘ื–ืžืŸ ื”ื”ื’ื“ืจื”
ื‘ืืžืฆืขื•ืช --ืขื-ื—ืœื•ืงื”=ื”ืคืกืงื•ืช. ื ื™ืชืŸ ืœื”ืฉื‘ื™ืช ืœื—ืœื•ื˜ื™ืŸ ื‘ื“ื™ืงื•ืช ื—ืœื•ืงื” ื‘ืืคืก ื‘ืืžืฆืขื•ืช
-ืžื ื•-ืฆ'ืง-ืืคืก-ื—ืœื•ืงื”.

-ืžืžืžืคื™
-mno-memcpy
ืœืืœืฅ (ืœื ืœื›ืคื•ืช) ืืช ื”ืฉื™ืžื•ืฉ ื‘-"memcpy()" ืขื‘ื•ืจ ืžื”ืœื›ื™ ื‘ืœื•ืง ืœื ื˜ืจื™ื•ื•ื™ืืœื™ื™ื. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
is -mno-memcpy, ื”ืžืืคืฉืจ ืœ-GCC ืœื”ื˜ืžื™ืข ืืช ืจื•ื‘ ื”ืขื•ืชืงื™ื ื‘ื’ื•ื“ืœ ืงื‘ื•ืข.

-ืžืœื•ื ื’-ืฉื™ื—ื•ืช
-ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช
ื”ืฉื‘ืช (ืืœ ืชื‘ื˜ืœ) ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื” "jal". ืงืจื™ืื” ืœืคื•ื ืงืฆื™ื•ืช ื‘ืืžืฆืขื•ืช "jal"
ื”ื•ื ื™ืขื™ืœ ื™ื•ืชืจ ืืš ืžื—ื™ื™ื‘ ืืช ื”ืžืชืงืฉืจ ื•ื”ืžืชืงืฉืจ ืœื”ื™ื•ืช ื‘ืื•ืชื• 256 ืžื’ื” ื‘ื™ื™ื˜
ืžื’ื–ืจ.

ืœืืคืฉืจื•ืช ื–ื• ืื™ืŸ ื”ืฉืคืขื” ืขืœ ืงื•ื“ abicalls. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช.

-ืžืื“
-ืžื ื•ืŸ-ืžืฉื•ื’ืข
ืืคืฉืจ (ื”ืฉื‘ืช) ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช "mad", "madu" ื•-"mul", ื›ืคื™ ืฉืกื•ืคืงื• ืขืœ ื™ื“ื™
R4650 ISA.

-ืžfused-madd
-mno-fused-madd
ืืคืฉืจ (ื”ืฉื‘ืช) ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ื”ื›ืคืœื”-ืฆื‘ื™ืจื” ืฉืœ ื ืงื•ื“ื” ืฆืคื”, ื›ืืฉืจ ื”ืŸ
ืคื ื•ื™ื™ื. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ืžfused-madd.

ื‘ืžืขื‘ื“ R8000 ื›ืืฉืจ ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ื›ืคืœ-ืฆื‘ื™ืจื”, ื”ืืžืฆืขื™
ื”ืžื•ืฆืจ ืžื—ื•ืฉื‘ ืœื“ื™ื•ืง ืื™ื ืกื•ืคื™ ื•ืื™ื ื• ื›ืคื•ืฃ ืœ-FCSR Flush to
ืืคืก ื‘ื™ื˜. ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ืœื ืจืฆื•ื™ ื‘ื ืกื™ื‘ื•ืช ืžืกื•ื™ืžื•ืช. ื‘ืžืขื‘ื“ื™ื ืื—ืจื™ื ื”
ื”ืชื•ืฆืื” ื–ื”ื” ืžื‘ื—ื™ื ื” ืžืกืคืจื™ืช ืœื—ื™ืฉื•ื‘ ื”ืžืงื‘ื™ืœ ื‘ืืžืฆืขื•ืช ื›ืคืœ ื ืคืจื“,
ืœื”ื•ืกื™ืฃ, ืœื”ื—ืกื™ืจ ื•ืœืฉืœื•ืœ ื”ื•ืจืื•ืช.

-nocpp
ืืžื•ืจ ืœ-MIPS assembler ืœื ืœื”ืคืขื™ืœ ืืช ืžืขื‘ื“ ื”ืงื“ื ืฉืœื• ืขืœ ืงื‘ืฆื™ assembler ืฉืœ ืžืฉืชืžืฉ (ืขื ื
.s ืกื™ื•ืžืช) ื‘ืขืช ื”ืจื›ื‘ืชื.

-mfix-24k
-mno-fix-24k
ืขืงื•ืฃ ืืช ื”ืชืงืœื” ืฉืœ 24K E48 (ืื‘ื•ื“ ื ืชื•ื ื™ื ื‘ื—ื ื•ื™ื•ืช ื‘ืžื”ืœืš ืžื™ืœื•ื™ ื—ื•ื–ืจ). ื”ื“ืจื›ื™ื ืœืขืงื™ืคืช ื”ื‘ืขื™ื”
ืžื™ื•ืฉืžื™ื ืขืœ ื™ื“ื™ ื”-assembler ื•ืœื ืขืœ ื™ื“ื™ GCC.

-mfix-r4000
-mno-fix-r4000
ืขืงื™ืคืช ืฉื’ื™ืื•ืช ืžืขื‘ื“ R4000 ืžืกื•ื™ืžื•ืช:

- ืžื™ืœื” ื›ืคื•ืœื” ืื• ื”ืกื˜ืช ืžืฉืชื ื” ืขืฉื•ื™ื” ืœืชืช ืชื•ืฆืื” ืฉื’ื•ื™ื” ืื ื”ื™ื ืžื‘ื•ืฆืขืช
ืžื™ื“ ืœืื—ืจ ืชื—ื™ืœืช ื—ืœื•ืงืช ืžืกืคืจื™ื ืฉืœืžื™ื.

- ืžื™ืœื” ื›ืคื•ืœื” ืื• ืฉื™ื ื•ื™ ืžืฉืชื ื” ืขืœื•ืœื™ื ืœืชืช ืชื•ืฆืื” ืฉื’ื•ื™ื” ืื ื”ื ืžื‘ื•ืฆืขื™ื ืชื•ืš ื›ื“ื™
ื›ืคืœ ืฉืœืžื™ื ืžืชื‘ืฆืข.

- ื—ืœื•ืงื” ืฉืœ ืžืกืคืจื™ื ืฉืœืžื™ื ืขืœื•ืœื” ืœืชืช ืชื•ืฆืื” ืฉื’ื•ื™ื” ืื ืžืชื—ื™ืœื™ื ื‘ืžืฉื‘ืฆืช ื”ืฉื”ื™ื” ืฉืœ a
ืœืงื— ืขื ืฃ ืื• ืงืคื™ืฆื”.

-mfix-r4400
-mno-fix-r4400
ืขืงื™ืคืช ืฉื’ื™ืื•ืช ืžืขื‘ื“ R4400 ืžืกื•ื™ืžื•ืช:

- ืžื™ืœื” ื›ืคื•ืœื” ืื• ื”ืกื˜ืช ืžืฉืชื ื” ืขืฉื•ื™ื” ืœืชืช ืชื•ืฆืื” ืฉื’ื•ื™ื” ืื ื”ื™ื ืžื‘ื•ืฆืขืช
ืžื™ื“ ืœืื—ืจ ืชื—ื™ืœืช ื—ืœื•ืงืช ืžืกืคืจื™ื ืฉืœืžื™ื.

-mfix-r10000
-mno-fix-r10000
ืขืงื™ืคืช ืฉื’ื™ืื•ืช ืžืกื•ื™ืžื•ืช ืฉืœ R10000:

- ื™ื™ืชื›ืŸ ืฉืจืฆืคื™ "ll"/"sc" ืœื ื™ืชื ื”ื’ื• ื‘ืฆื•ืจื” ืื˜ื•ืžื™ืช ืขืœ ื’ืจืกืื•ืช ืœืคื ื™ 3.0. ื”ื ืขืœื•ืœื™ื
ืžื‘ื•ื™ ืกืชื•ื ื‘ื’ืจืกืื•ืช 2.6 ื•ืื™ืœืš.

ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืจืง ืื ืืจื›ื™ื˜ืงื˜ื•ืจืช ื”ื™ืขื“ ืชื•ืžื›ืช ื‘ืกื ื™ืฃ ืกื‘ื™ืจ
ื”ื•ืจืื•ืช. -mfix-r10000 ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืžืชื™ -March=r10000 ืžืฉืžืฉ; -mno-fix-r10000
ื”ื™ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืื—ืจืช.

-mfix-vr4120
-mno-fix-vr4120
ืขืงื™ืคืช ืฉื’ื™ืื•ืช ืžืกื•ื™ืžื•ืช ืฉืœ VR4120:

- "dmultu" ืœื ืชืžื™ื“ ืžื ื™ื‘ ืืช ื”ืชื•ืฆืื” ื”ื ื›ื•ื ื”.

- "div" ื•-"ddiv" ืœื ืชืžื™ื“ ืžื™ื™ืฆืจื™ื ืืช ื”ืชื•ืฆืื” ื”ื ื›ื•ื ื” ืื ืื—ื“ ืžื”ืื•ืคืจื ื“ื™ื
ื”ื•ื ืฉืœื™ืœื™.

ื”ื“ืจื›ื™ื ืœืขืงื™ืคืช ื”ื‘ืขื™ื” ืฉืœ ืฉื’ื™ืื•ืช ื”ื—ืœื•ืงื” ืžืกืชืžื›ื•ืช ืขืœ ืคื•ื ืงืฆื™ื•ืช ืžื™ื•ื—ื“ื•ืช ื‘ libgcc.a. ืœื™ื“
ื‘ื”ื•ื•ื”, ืคื•ื ืงืฆื™ื•ืช ืืœื• ืžืกื•ืคืงื•ืช ืจืง ืขืœ ื™ื“ื™ ืชืฆื•ืจื•ืช "mips64vr*-elf".

ืฉื’ื™ืื•ืช ืื—ืจื•ืช ืฉืœ VR4120 ื“ื•ืจืฉื•ืช ื”ื›ื ืกืช NOP ื‘ื™ืŸ ื–ื•ื’ื•ืช ืžืกื•ื™ืžื™ื ืฉืœ
ื”ื•ืจืื•ืช. ืฉื’ื™ืื•ืช ืืœื• ืžื˜ื•ืคืœื•ืช ืขืœ ื™ื“ื™ ื”ืžืจื›ื™ื‘, ืœื ืขืœ ื™ื“ื™ GCC ืขืฆืžื•.

-mfix-vr4130
ืขืงืฃ ืืช VR4130 "mflo"/"mfhi" errata. ื”ื“ืจื›ื™ื ืœืขืงื™ืคืช ื”ื‘ืขื™ื” ืžื™ื•ืฉืžื•ืช ืขืœ ื™ื“ื™
assembler ื•ืœื ืขืœ ื™ื“ื™ GCC, ืื ื›ื™ GCC ื ืžื ืข ืžืฉื™ืžื•ืฉ ื‘-"mflo" ื•-"mfhi" ืื
ื”ื•ืจืื•ืช VR4130 "macc", "macchi", "dmacc" ื•-"dmacchi" ื–ืžื™ื ื•ืช ื‘ืžืงื•ื ื–ืืช.

-mfix-sb1
-mno-fix-sb1
ืขืงื™ืคืช ืฉื’ื™ืื•ืช ื”ืœื™ื‘ื” ืฉืœ ืžืขื‘ื“ SB-1 ืžืกื•ื™ืžื•ืช. (ื“ื’ืœ ื–ื” ืคื•ืขืœ ื›ืขืช ืกื‘ื™ื‘ ื”-SB-1
ื’ืจืกื” 2 "F1" ื•-"F2" ืฉื’ื™ืื•ืช ื‘ื ืงื•ื“ื” ืฆืคื”.)

-mr10k-cache-barrier=ื”ืฆื‘ื”
ืฆื™ื™ืŸ ืื GCC ืฆืจื™ืš ืœื”ื›ื ื™ืก ืžื—ืกื•ืžื™ ืžื˜ืžื•ืŸ ื›ื“ื™ ืœืžื ื•ืข ืืช ืชื•ืคืขื•ืช ื”ืœื•ื•ืื™ ืฉืœ
ืกืคืงื•ืœืฆื™ื•ืช ืœื’ื‘ื™ ืžืขื‘ื“ื™ R10K.

ื‘ืžืฉื•ืชืฃ ืœืžืขื‘ื“ื™ื ืจื‘ื™ื, ื”-R10K ืžื ืกื” ืœื—ื–ื•ืช ืืช ื”ืชื•ืฆืื” ืฉืœ ืชื ืื™
ืกื ื™ืฃ ื•ืžื‘ืฆืข ื‘ืื•ืคืŸ ืกืคืงื•ืœื˜ื™ื‘ื™ ื”ื•ืจืื•ืช ืžื”ืกื ื™ืฃ ื”"ื ืœืงื—". ื–ื” ืžืื•ื—ืจ ื™ื•ืชืจ
ืžื‘ื˜ืœ ื”ื•ืจืื•ืช ืืœื” ืื ื”ืชื•ืฆืื” ื”ื—ื–ื•ื™ื” ืฉื’ื•ื™ื”. ืขื ื–ืืช, ื‘-R10K,
ืืคื™ืœื• ื”ื•ืจืื•ืช ืฉื”ื•ืคืกืงื• ื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช ืชื•ืคืขื•ืช ืœื•ื•ืื™.

ื‘ืขื™ื” ื–ื• ืžืฉืคื™ืขื” ืจืง ืขืœ ืžืื’ืจื™ ื”ืœื™ื‘ื”, ื•ื‘ื”ืชืื ืœืžืขืจื›ืช, ื˜ืขื™ื ืช ื”ืœื™ื‘ื”.
ื›ื“ื•ื’ืžื”, ื—ื ื•ืช ื”ืžื‘ื•ืฆืขืช ื‘ืื•ืคืŸ ืกืคืงื•ืœื˜ื™ื‘ื™ ืขืฉื•ื™ ืœื˜ืขื•ืŸ ืืช ื–ื™ื›ืจื•ืŸ ื”ื™ืขื“ ืœืžื˜ืžื•ืŸ
ื•ืœืกืžืŸ ืืช ืฉื•ืจืช ื”ืžื˜ืžื•ืŸ ื›ืžืœื•ื›ืœื›ืช, ื’ื ืื ื”ื—ื ื•ืช ืขืฆืžื” ืชื‘ื•ื˜ืœ ืžืื•ื—ืจ ื™ื•ืชืจ. ืื DMA
ื”ืคืขื•ืœื” ื›ื•ืชื‘ืช ืœืื•ืชื• ืื–ื•ืจ ื–ื™ื›ืจื•ืŸ ืœืคื ื™ ืฉื”ืงื• "ื”ืžืœื•ื›ืœืš" ื ืฉื˜ืฃ, ื”-
ื ืชื•ื ื™ื ืžืื•ื—ืกื ื™ื ื‘ืžื˜ืžื•ืŸ ืžื—ืœื™ืคื™ื ืืช ื”ื ืชื•ื ื™ื ื‘-DMA. ืขื™ื™ืŸ ื‘ืžื“ืจื™ืš ื”ืžืขื‘ื“ R10K ืœืงื‘ืœืช ืžื™ื“ืข ืžืœื
ืชื™ืื•ืจ, ื›ื•ืœืœ ื‘ืขื™ื•ืช ืคื•ื˜ื ืฆื™ืืœื™ื•ืช ืื—ืจื•ืช.

ื“ืจืš ืื—ืช ืœืขืงื™ืคืช ื”ื‘ืขื™ื” ื”ื™ื ืœื”ื•ืกื™ืฃ ื”ื•ืจืื•ืช ืžื—ืกื•ื ืžื˜ืžื•ืŸ ืœืคื ื™ ื›ืœ ื’ื™ืฉื” ืœื–ื™ื›ืจื•ืŸ
ืขืฉื•ื™ ืœื”ื™ื•ืช ืžื‘ื•ืฆืข ื‘ืื•ืคืŸ ืกืคืงื•ืœื˜ื™ื‘ื™ ื•ืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ืœื›ืš ืชื•ืคืขื•ืช ืœื•ื•ืื™ ื’ื ืื ื™ื•ืคืœื•.
-mr10k-cache-barrier=ื”ืฆื‘ื” ืฉื•ืœื˜ ื‘ื™ื™ืฉื•ื ืฉืœ ืคืชืจื•ืŸ ื–ื” ืขืœ ื™ื“ื™ GCC. ื–ื”
ืžื ื™ื— ืฉืœื’ื™ืฉื•ืช ืฉื‘ื•ื˜ืœื• ืœื›ืœ ื‘ื™ื™ื˜ ื‘ืื–ื•ืจื™ื ื”ื‘ืื™ื ืื™ืŸ ืฆื“
ืืคืงื˜ื™ื:

1. ื”ื–ื™ื›ืจื•ืŸ ืฉื ื›ื‘ืฉ ืขืœ ื™ื“ื™ ืžืกื’ืจืช ื”ืžื—ืกื ื™ืช ืฉืœ ื”ืคื•ื ืงืฆื™ื” ื”ื ื•ื›ื—ื™ืช;

2. ื”ื–ื™ื›ืจื•ืŸ ืฉื ื›ื‘ืฉ ืขืœ ื™ื“ื™ ืืจื’ื•ืžื ื˜ ืžื—ืกื ื™ืช ื ื›ื ืก;

3. ื”ื–ื™ื›ืจื•ืŸ ืฉื ื›ื‘ืฉ ืขืœ ื™ื“ื™ ืื•ื‘ื™ื™ืงื˜ ืขื ื›ืชื•ื‘ืช ืงื‘ื•ืขื” ื‘ื–ืžืŸ ืงื™ืฉื•ืจ.

ื‘ืื—ืจื™ื•ืช ื”ืงืจื ืœ ืœื”ื‘ื˜ื™ื— ื’ื™ืฉื” ืกืคืงื•ืœื˜ื™ื‘ื™ืช ืœืื–ื•ืจื™ื ืืœื”
ื”ื ืื›ืŸ ื‘ื˜ื•ื—ื™ื.

ืื ืชื•ื›ื ื™ืช ื”ืงืœื˜ ืžื›ื™ืœื” ื”ืฆื”ืจืช ืคื•ื ืงืฆื™ื” ื›ื’ื•ืŸ:

void foo (ืจื™ืง);

ืื– ื”ื™ื™ืฉื•ื ืฉืœ "foo" ื—ื™ื™ื‘ ืœืืคืฉืจ ื‘ื™ืฆื•ืข ืฉืœ "j foo" ื•-"jal foo".
ื‘ืื•ืคืŸ ืกืคืงื•ืœื˜ื™ื‘ื™. GCC ืžื›ื‘ื“ืช ืžื’ื‘ืœื” ื–ื• ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืฉื”ื™ื ืžืจื›ื™ื‘ื” ื‘ืขืฆืžื”. ื–ื”
ืžืฆืคื” ืžืคื•ื ืงืฆื™ื•ืช ืฉืื™ื ืŸ GCC (ื›ื’ื•ืŸ ืงื•ื“ ื”ืจื›ื‘ื” ื‘ื›ืชื‘ ื™ื“) ืœืขืฉื•ืช ืืช ืื•ืชื• ื”ื“ื‘ืจ.

ืœืืคืฉืจื•ืช ืฉืœื•ืฉ ืฆื•ืจื•ืช:

-mr10k-cache-barrier=load-store
ื”ื›ื ืก ืžื—ืกื•ื ืžื˜ืžื•ืŸ ืœืคื ื™ ื˜ืขื™ื ื” ืื• ื—ื ื•ืช ืฉืขืœื•ืœื™ื ืœื”ืชื‘ืฆืข ื‘ืื•ืคืŸ ืกืคืงื•ืœื˜ื™ื‘ื™
ื•ืœื›ืš ืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ืชื•ืคืขื•ืช ืœื•ื•ืื™ ื’ื ืื ื™ื•ืคืœื•.

-mr10k-cache-barrier=ื—ื ื•ืช
ื”ื›ื ืก ืžื—ืกื•ื ืžื˜ืžื•ืŸ ืœืคื ื™ ื—ื ื•ืช ืฉืื•ืœื™ ืชื‘ื•ืฆืข ื‘ืื•ืคืŸ ืกืคืงื•ืœื˜ื™ื‘ื™ ื•
ืฉื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช ืœื”ืŸ ืชื•ืคืขื•ืช ืœื•ื•ืื™ ื’ื ืื ื™ื•ืคืœื•.

-mr10k-cache-barrier=none
ื”ืฉื‘ืช ืืช ื”ื›ื ืกืช ืžื—ืกื•ืžื™ ื”ืžื˜ืžื•ืŸ. ื–ื•ื”ื™ ื”ื’ื“ืจืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mflush-func=func
-mno-flush-func
ืžืฆื™ื™ืŸ ืืช ื”ืคื•ื ืงืฆื™ื” ืœื”ืชืงืฉืจ ื›ื“ื™ ืœืฉื˜ื•ืฃ ืืช ื”ืžื˜ืžื•ืŸ I ื•-D, ืื• ืœื ืœืงืจื•ื ืœืืฃ ืื—ื“ ื›ื–ื”
ืคื•ึผื ืงืฆึดื™ึธื”. ืื ื ืงืจืืช, ื”ืคื•ื ืงืฆื™ื” ื—ื™ื™ื‘ืช ืœืงื‘ืœ ืืช ืื•ืชื ืืจื’ื•ืžื ื˜ื™ื ื›ืžื• ื”-common
"_flush_func()", ื›ืœื•ืžืจ, ื”ื›ืชื•ื‘ืช ืฉืœ ื˜ื•ื•ื— ื”ื–ื™ื›ืจื•ืŸ ืฉืขื‘ื•ืจื• ื ืžืฆื ื”ืžื˜ืžื•ืŸ
flushed, ื’ื•ื“ืœ ื˜ื•ื•ื— ื”ื–ื™ื›ืจื•ืŸ ื•ื”ืžืกืคืจ 3 (ื›ื“ื™ ืœืฉื˜ื•ืฃ ืืช ืฉื ื™ ื”ืžื˜ืžื•ื ื™ื). ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืชืœื•ื™ื” ื‘ื™ืขื“ ืฉ-GCC ื”ื•ื’ื“ืจ ืขื‘ื•ืจื•, ืืš ื‘ื“ืจืš ื›ืœืœ ื”ื•ื ื’ื ื›ืŸ
_flush_func or __cpu_flush.

mbranch-cost=NUM
ื”ื’ื“ืจ ืืช ืขืœื•ืช ื”ืกื ื™ืคื™ื ืœืขืจืš NUM ื”ื•ืจืื•ืช "ืคืฉื•ื˜ื•ืช". ืขืœื•ืช ื–ื• ื”ื™ื ืจืง ื
ื”ื™ื•ืจื™ืกื˜ื™ืช ื•ืื™ื ื” ืžื•ื‘ื˜ื—ืช ืœื”ืคื™ืง ืชื•ืฆืื•ืช ืขืงื‘ื™ื•ืช ื‘ื›ืœ ืžื”ื“ื•ืจื•ืช. ืืคืก
ืขืœื•ืช ื‘ื•ื—ืจืช ื‘ืื•ืคืŸ ืžื™ื•ืชืจ ืืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, ื”ืžื‘ื•ืกืกืช ืขืœ -mtune ื”ื’ื“ืจื”.

-ืกื‘ื™ืจ ืขื ืฃ
-ืžื•ื ื•-ืขื ืฃ-ืกื‘ื™ืจ
ืืคืฉืจ ืื• ื”ืฉื‘ืช ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช Branch Likely, ืœืœื ืงืฉืจ ืœื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ
ืืจื›ื™ื˜ืงื˜ื•ืจื” ื ื‘ื—ืจื”. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื ื™ืชืŸ ืœื”ืคื™ืง ื”ื•ืจืื•ืช Branch Likely ืื
ื”ื ื ืชืžื›ื™ื ืขืœ ื™ื“ื™ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ืฉื ื‘ื—ืจื”. ื—ืจื™ื’ ื”ื•ื ืขื‘ื•ืจ MIPS32 ื•
ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ื•ืžืขื‘ื“ื™ื MIPS64 ื”ืžื™ื™ืฉืžื™ื ืืช ื”ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ื”ืœืœื•; ืœืืœื”,
ื”ื•ืจืื•ืช ืกื ื™ืฃ ืกื‘ื™ืจื•ืช ืื™ื ืŸ ื ื•ืฆืจื•ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืžื›ื™ื•ื•ืŸ ืฉื”-MIPS32 ื•
ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช MIPS64 ืคื•ืกืœื•ืช ื‘ืื•ืคืŸ ืกืคืฆื™ืคื™ ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ืŸ.

-mfp-ื—ืจื™ื’ื™ื
-mno-fp-ื—ืจื™ื’ื™ื
ืžืฆื™ื™ืŸ ืื ื—ืจื™ื’ื•ืช FP ืžื•ืคืขืœื•ืช. ื–ื” ืžืฉืคื™ืข ืขืœ ืื™ืš ื”ื•ืจืื•ืช FP
ืžืชื•ื›ื ืŸ ืœืžืขื‘ื“ื™ื ืžืกื•ื™ืžื™ื. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืฉื—ืจื™ื’ื•ืช FP ืžื•ืคืขืœื•ืช.

ืœื“ื•ื’ืžื”, ื‘-SB-1, ืื ื—ืจื™ื’ื•ืช FP ืžื•ืฉื‘ืชื•ืช, ื•ืื ื• ืคื•ืœื˜ื™ื 64 ืกื™ื‘ื™ื•ืช
ืงื•ื“, ืื– ื ื•ื›ืœ ืœื”ืฉืชืžืฉ ื‘ืฉื ื™ ืฆื™ื ื•ืจื•ืช ื”-FP. ืื—ืจืช, ื ื•ื›ืœ ืœื”ืฉืชืžืฉ ืจืง ื‘ืฆื™ื ื•ืจ FP ืื—ื“.

-mvr4130-align
-mno-vr4130-align
ืฆื™ื ื•ืจ ื”-VR4130 ื”ื•ื ื“ื•-ื›ื™ื•ื•ื ื™ ืขืœ-ืกืงืœืืจื™, ืืš ื™ื›ื•ืœ ืœื”ื•ืฆื™ื ืฉืชื™ ื”ื•ืจืื•ืช ื‘ืœื‘ื“
ื™ื—ื“ ืื ื”ืจืืฉื•ืŸ ืžื™ื•ืฉืจ ืœ-8 ื‘ืชื™ื. ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช, GCC ืžืชื™ื™ืฉืจ
ื–ื•ื’ื•ืช ื”ื•ืจืื•ืช ืฉืœื“ืขืชื” ืฆืจื™ื›ื•ืช ืœื‘ืฆืข ื‘ืžืงื‘ื™ืœ.

ืืคืฉืจื•ืช ื–ื• ืžืฉืคื™ืขื” ืจืง ื‘ืขืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืขื‘ื•ืจ ื”-VR4130. ื–ื” ื‘ื“ืจืš ื›ืœืœ ืขื•ืฉื” ืงื•ื“
ืžื”ืจ ื™ื•ืชืจ, ืื‘ืœ ืขืœ ื—ืฉื‘ื•ืŸ ื”ืคื™ื›ืชื• ืœื’ื“ื•ืœ ื™ื•ืชืจ. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘
ืจืžืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” -O3.

-msynci
-mno-synci
ืืคืฉืจ (ื”ืฉื‘ืช) ื™ืฆื™ืจืช ื”ื•ืจืื•ืช "ืกื™ื ืงื™" ื‘ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ื”ืชื•ืžื›ื•ืช ื‘ื›ืš.
ื”ื•ืจืื•ืช ื”-"synci" (ืื ืžื•ืคืขืœื•ืช) ื ื•ืฆืจื•ืช ื›ืืฉืจ "__builtin___clear_cache()"
ืžื•ืจื›ื‘.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ืืคืฉืจื•ืช ื–ื• ื”ื™ื "-mno-synci", ืืš ื ื™ืชืŸ ืœืขืงื•ืฃ ืืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขืœ ื™ื“ื™ ื”ื’ื“ืจื”
ืขื "--with-synci".

ื‘ืขืช ื”ื™ื“ื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžืขืจื›ื•ืช ืžืขื‘ื“ ื‘ื•ื“ื“, ื–ื” ื‘ื“ืจืš ื›ืœืœ ื‘ื˜ื•ื— ืœื”ืฉืชืžืฉ ื‘-"synci".
ืขื ื–ืืช, ื‘ืžืขืจื›ื•ืช ืžืจื•ื‘ื•ืช ืœื™ื‘ื•ืช (SMP) ืจื‘ื•ืช, ื–ื” ืœื ืžื‘ื˜ืœ ืืช ื”ื”ื•ืจืื”
ืžื˜ืžื•ืŸ ื‘ื›ืœ ื”ืœื™ื‘ื•ืช ื•ืขืœื•ืœ ืœื”ื•ื‘ื™ืœ ืœื”ืชื ื”ื’ื•ืช ืœื ืžื•ื’ื“ืจืช.

-mrelax-pic-calls
-mno-relax-pic-calls
ื ืกื” ืœื”ืคื•ืš ืฉื™ื—ื•ืช PIC ื”ื ืฉืœื—ื•ืช ื‘ื“ืจืš ื›ืœืœ ื‘ืืžืฆืขื•ืช 25$ ืœืจืฉื•ื ืœืฉื™ื—ื•ืช ื™ืฉื™ืจื•ืช.
ื–ื” ืืคืฉืจื™ ืจืง ืื ื”ืžืงืฉืจ ื™ื›ื•ืœ ืœืคืชื•ืจ ืืช ื”ื™ืขื“ ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ ื•ืื
ื”ื™ืขื“ ื ืžืฆื ื‘ื˜ื•ื•ื— ืœืฉื™ื—ื” ื™ืฉื™ืจื”.

-mrelax-pic-calls ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืื GCC ื”ื•ื’ื“ืจ ืœื”ืฉืชืžืฉ ื‘-assembler ื•-a
ืงื™ืฉื•ืจ ื”ืชื•ืžื›ื™ื ื‘ื”ื•ืจืืช ื”ืจื›ื‘ื” ".reloc" ื•-"-mexplicit-relocs" ื ืžืฆื ื‘
ื”ืฉืคืขื”. ืขื "-mno-explicit-relocs", ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื–ื• ื™ื›ื•ืœื” ืœื”ืชื‘ืฆืข ืขืœ ื™ื“ื™
assembler ื•ื”ืžืงืฉืจ ืœื‘ื“ ืœืœื ืขื–ืจื” ืžื”ืžื”ื“ืจ.

-mmcount-ra-address
-mno-mcount-ra-address
ืฉืœื— (ืืœ ืชืคืœื™ื˜) ืงื•ื“ ื”ืžืืคืฉืจ ืœ-"_mcount" ืœืฉื ื•ืช ืืช ื”ื—ื–ืจืช ื”ืคื•ื ืงืฆื™ื” ื”ืงื•ืจืืช
ื›ืชื•ื‘ืช. ื›ืืฉืจ ืžื•ืคืขืœืช, ืืคืฉืจื•ืช ื–ื• ืžืจื—ื™ื‘ื” ืืช ื”ืžืžืฉืง ื”ืจื’ื™ืœ "_mcount" ืขื ืžืžืฉืง ื—ื“ืฉ
ื›ืชื•ื‘ืช ra ืคืจืžื˜ืจ, ื‘ืขืœ ื”ืกื•ื’ "intptr_t *" ื•ืžื•ืขื‘ืจ ื‘ืจื™ืฉื•ื $12.
ืœืื—ืจ ืžื›ืŸ, "_mcount" ื™ื›ื•ืœ ืœืฉื ื•ืช ืืช ื›ืชื•ื‘ืช ื”ื”ื—ื–ืจื” ืขืœ ื™ื“ื™ ื‘ื™ืฆื•ืข ืฉืชื™ ื”ืคืขื•ืœื•ืช ื”ื‘ืื•ืช:

ยท ื”ื—ื–ืจืช ื”ื›ืชื•ื‘ืช ื”ื—ื“ืฉื” ื‘ืคื ืงืก 31$.

ยท ืื—ืกื•ืŸ ื”ื›ืชื•ื‘ืช ื”ื—ื“ืฉื” ื‘"*ื›ืชื•ื‘ืช ra", ืื ื›ืชื•ื‘ืช ra ืื™ื ื• ื‘ื˜ืœ.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mno-mcount-ra-address.

MMIX ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืืœื” ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื”-MMIX:

-mlibfuncs
-mno-libfuncs
ืฆื™ื™ืŸ ืฉืคื•ื ืงืฆื™ื•ืช ืกืคืจื™ื™ื” ืžื”ื•ืชื™ืช ืขื•ื‘ืจื•ืช ืงื•ืžืคื™ืœืฆื™ื”, ืชื•ืš ื”ืขื‘ืจืช ื›ืœ ื”ืขืจื›ื™ื ืคื ื™ืžื”
ืจื•ืฉืžื™ื, ืœื ืžืฉื ื” ื”ื’ื•ื“ืœ.

-ืžืคืกื™ืœื•ืŸ
-ืžื ื•-ืืคืกื™ืœื•ืŸ
ืฆื•ืจ ื”ื•ืจืื•ืช ื”ืฉื•ื•ืื” ืฉืœ ื ืงื•ื“ื” ืฆืคื” ืฉืžืฉื•ื•ืช ื‘ื™ื—ืก ืœ-"rE"
ืจื™ืฉื•ื ืืคืกื™ืœื•ืŸ.

-mabi=mmixware
-ืžืื‘ื™=ื’ื ื•
ืฆื•ืจ ืงื•ื“ ืฉืžืขื‘ื™ืจ ืคืจืžื˜ืจื™ื ืฉืœ ืคื•ื ืงืฆื™ื” ื•ืžื—ื–ื™ืจ ืขืจื›ื™ื ืฉ(ื‘-call
function) ื ืชืคืกื™ื ื›ืจื™ืกื˜ืจื™ื ืฉืœ $0 ื•ืžืขืœื”, ื‘ื ื™ื’ื•ื“ ืœ-GNU ABI ืฉืžืฉืชืžืฉ ื’ืœื•ื‘ืœื™
ืจื•ืฉื $231 ื•ืžืขืœื”.

-mzero-extend
-mno-zero-extend
ื‘ืขืช ืงืจื™ืืช ื ืชื•ื ื™ื ืžื”ื–ื™ื›ืจื•ืŸ ื‘ื’ื“ืœื™ื ืงืฆืจื™ื ืž-64 ืกื™ื‘ื™ื•ืช, ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ืืคืก-
ื”ืจื—ื‘ืช ื”ื•ืจืื•ืช ื”ื˜ืขื™ื ื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื‘ืžืงื•ื ื”ืจื—ื‘ืช ืกื™ืžื ื™ื.

-mknuthdiv
-ืžื ื•-ืงื ื•ื˜ื“ื™ื™ื‘
ื”ืคื•ืš ืืช ื”ืชื•ืฆืื” ืฉืœ ื—ืœื•ืงื” ืฉืžื ื™ื‘ื” ืฉืืจื™ืช ืœื”ื™ื•ืช ื‘ืขืœ ืกื™ืžืŸ ื–ื”ื” ืœืžื—ืœืง.
ืขื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, -ืžื ื•-ืงื ื•ื˜ื“ื™ื™ื‘, ืกื™ืžืŸ ื”ืฉืืจื™ืช ืขื•ืงื‘ ืื—ืจ ืกื™ืžืŸ ื”
ื“ื™ื‘ื™ื“ื ื“. ืฉืชื™ ื”ืฉื™ื˜ื•ืช ืชืงืคื•ืช ืžื‘ื—ื™ื ื” ืืจื™ืชืžื˜ื™ืช, ื›ืืฉืจ ื”ืื—ืจื•ื ื” ื”ื™ื ื›ืžืขื˜ ื‘ืœืขื“ื™ืช
ืžึฐืฉืื•ึผืžึธืฉื.

-mtoplevel-ืกืžืœื™ื
-mno-toplevel-ืกืžืœื™ื
ืœื”ืงื“ื™ื (ืœื ืœื”ืงื“ื™ื) ื : ืœื›ืœ ื”ืกืžืœื™ื ื”ื’ืœื•ื‘ืืœื™ื™ื, ื›ืš ืฉื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืงื•ื“ ื”ื”ืจื›ื‘ื”
ืขื ื”ื•ืจืืช ื”ื”ืจื›ื‘ื” "PREFIX".

-ืžืœืฃ
ืฆื•ืจ ืงื•ื‘ืฅ ื”ืคืขืœื” ื‘ืคื•ืจืžื˜ ELF, ื‘ืžืงื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ mmo ืคื•ืจืžื˜ ื‘ืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™
ืžื” ื”ื™ื ืžืžื™ืงืก ืžึทื“ืžึถื”.

-ืขื ืฃ-ื ื™ื‘ื•ื™
-ืžื ื•-ืขื ืฃ-ื ื™ื‘ื•ื™
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ื”ืกื ื™ืฃ ื”ืกื‘ื™ืจ, ื›ืืฉืจ ื—ื™ื–ื•ื™ ืขื ืฃ ืกื˜ื˜ื™
ืžืฆื™ื™ืŸ ืขื ืฃ ืกื‘ื™ืจ.

-ื›ืชื•ื‘ื•ืช-base
-ื›ืชื•ื‘ื•ืช-mno-base
ืฆื•ืจ (ืืœ ืชื™ืฆื•ืจ) ืงื•ื“ ืฉืžืฉืชืžืฉ ื‘ืกื™ืก ื›ืชื•ื‘ื•ืช. ืฉื™ืžื•ืฉ ื‘ื›ืชื•ื‘ืช ื‘ืกื™ืก
ืžื™ื™ืฆืจ ืื•ื˜ื•ืžื˜ื™ืช ื‘ืงืฉื” (ืžื˜ื•ืคืœืช ืขืœ ื™ื“ื™ ื”ืืกืžื‘ืœืจ ื•ื”ืžืงืฉืจ) ืขื‘ื•ืจ ื
ืงื‘ื•ืข ืฉื™ื•ืงื ื‘ืžืจืฉื ืขื•ืœืžื™. ื”ืื•ื’ืจ ืžืฉืžืฉ ืœื‘ืกื™ืก ืื—ื“ ืื• ื™ื•ืชืจ
ื‘ืงืฉื•ืช ื›ืชื•ื‘ืช ื‘ื˜ื•ื•ื— ืฉืœ 0 ืขื“ 255 ืžื”ืขืจืš ื”ืžื•ื—ื–ืง ื‘ืžืื’ืจ. ื”
ื‘ื“ืจืš ื›ืœืœ ืžื•ื‘ื™ืœ ืœืงื•ื“ ืงืฆืจ ื•ืžื”ื™ืจ, ืื‘ืœ ืžืกืคืจ ืคืจื™ื˜ื™ ื ืชื•ื ื™ื ืฉื•ื ื™ื ื–ื”
ื ื™ืชืŸ ืœื˜ืคืœ ืžื•ื’ื‘ืœ. ื–ื” ืื•ืžืจ ืฉืชื•ื›ื ื™ืช ืฉืžืฉืชืžืฉืช ื‘ื”ืจื‘ื” ื ืชื•ื ื™ื ืกื˜ื˜ื™ื™ื
ืขืฉื•ื™ ืœื“ืจื•ืฉ -ื›ืชื•ื‘ื•ืช-mno-base.

-ื™ืฆื™ืื”-ื™ื—ื™ื“ื”
-mno-ื™ืฆื™ืื”-ื™ื—ื™ื“ื”
ื›ืคื” (ืืœ ืชื›ืจื™ื—) ืงื•ื“ ืฉื ื•ืฆืจ ืฉืชื”ื™ื” ืœื• ื ืงื•ื“ืช ื™ืฆื™ืื” ืื—ืช ื‘ื›ืœ ืคื•ื ืงืฆื™ื”.

MN10300 ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจื•ืช Matsushita MN10300:

-ืžื•ืœื˜-ื‘ืื’
ืฆื•ืจ ืงื•ื“ ื›ื“ื™ ืœืžื ื•ืข ื‘ืื’ื™ื ื‘ื”ื•ืจืื•ืช ื”ื›ืคืœ ืขื‘ื•ืจ ืžืขื‘ื“ื™ MN10300.
ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mno-mult-bug
ืืœ ืชื™ืฆื•ืจ ืงื•ื“ ื›ื“ื™ ืœืžื ื•ืข ื‘ืื’ื™ื ื‘ื”ื•ืจืื•ืช ื”ื›ืคืœ ืฉืœ ื”-MN10300
ืžืขื‘ื“ื™ื.

-ืืžื33
ืฆื•ืจ ืงื•ื“ ื‘ืืžืฆืขื•ืช ืชื›ื•ื ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœืžืขื‘ื“ AM33.

-mno-am33
ืืœ ืชื™ืฆื•ืจ ืงื•ื“ ื‘ืืžืฆืขื•ืช ืชื›ื•ื ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœืžืขื‘ื“ AM33. ื–ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืžืืž33-2
ืฆื•ืจ ืงื•ื“ ื‘ืืžืฆืขื•ืช ืชื›ื•ื ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœืžืขื‘ื“ AM33/2.0.

-ืืžื34
ืฆื•ืจ ืงื•ื“ ื‘ืืžืฆืขื•ืช ืชื›ื•ื ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœืžืขื‘ื“ AM34.

-mtune=ืกื•ื’ ืžืขื‘ื“
ื”ืฉืชืžืฉ ื‘ืžืืคื™ื™ื ื™ ื”ืชื–ืžื•ืŸ ืฉืœ ืกื•ื’ ื”ืžืขื‘ื“ ื”ืžืฆื•ื™ืŸ ื‘ืขืช โ€‹โ€‹ืชื–ืžื•ืŸ ื”ื•ืจืื•ืช.
ื–ื” ืœื ืžืฉื ื” ืืช ืกื•ื’ ื”ืžืขื‘ื“ ื”ืžืžื•ืงื“. ืกื•ื’ ื”ืžืขื‘ื“ ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืื—ื“
mn10300, am33, ื‘ื‘ื•ืงืจ 33-2 or am34.

-mreturn-pointer-on-d0
ื‘ืขืช ื™ืฆื™ืจืช ืคื•ื ืงืฆื™ื” ืฉืžื—ื–ื™ืจื” ืžืฆื‘ื™ืข, ื”ื—ื–ืจ ืืช ื”ืžืฆื‘ื™ืข ื’ื ื‘-"a0" ื•ื’ื
"d0". ืื—ืจืช, ื”ืžืฆื‘ื™ืข ืžื•ื—ื–ืจ ืจืง ื‘-"a0", ื•ืžื ืกื” ืœืงืจื•ื ืœื–ื”
ืคื•ื ืงืฆื™ื•ืช ืœืœื ืื‘ ื˜ื™ืคื•ืก ื’ื•ืจืžื•ืช ืœืฉื’ื™ืื•ืช. ืฉื™ืžื• ืœื‘ ืฉื”ืืคืฉืจื•ืช ื”ื–ื• ืคื•ืขืœืช ืขื“
ื‘ึผึฐืจึดื™ืจึทืช ืžึถื—ื“ึธืœ; ืœื”ืฉืชืžืฉ -mno-return-pointer-on-d0 ื›ื“ื™ ืœื”ืฉื‘ื™ืช ืื•ืชื•.

-mno-crt0
ืื™ืŸ ืœืงืฉืจ ื‘ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ื”ืืชื—ื•ืœ ื‘ื–ืžืŸ ืจื™ืฆื” C.

-ืœื”ื™ืจื’ืข
ืฆื™ื™ืŸ ืœืžืงืฉืจ ืฉืขืœื™ื• ืœื‘ืฆืข ืžืขื‘ืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื”ืจืคื™ื” ืืœื™ื•
ืœืงืฆืจ ืกื ื™ืคื™ื, ืฉื™ื—ื•ืช ื•ื›ืชื•ื‘ื•ืช ื–ื™ื›ืจื•ืŸ ืžื•ื—ืœื˜ื•ืช. ืืคืฉืจื•ืช ื–ื• ืžืฉืคื™ืขื” ืจืง
ื›ืืฉืจ ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื” ืขื‘ื•ืจ ืฉืœื‘ ื”ืงื™ืฉื•ืจ ื”ืื—ืจื•ืŸ.

ืืคืฉืจื•ืช ื–ื• ื”ื•ืคื›ืช ืื™ืชื•ืจ ื‘ืื’ื™ื ืกืžืœื™ ืœื‘ืœืชื™ ืืคืฉืจื™.

-mliw
ืืคืฉืจ ืœืžื”ื“ืจ ืœื™ืฆื•ืจ ืืจื•ืš ื”ื•ืจืื” Word ื”ื•ืจืื•ืช ืื ื”ืžื˜ืจื” ื”ื™ื
AM33 ืื• ืžืื•ื—ืจ ื™ื•ืชืจ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ. ืืคืฉืจื•ืช ื–ื• ืžื’ื“ื™ืจื” ืืช ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“
__LIW__.

-ืžื ื•ืœื™ื‘
ืืœ ืชืืคืฉืจ ืœืžื”ื“ืจ ืœื™ืฆื•ืจ ืืจื•ืš ื”ื•ืจืื” Word ื”ื•ืจืื•ืช. ืืคืฉืจื•ืช ื–ื•
ืžื’ื“ื™ืจ ืืช ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“ __NO_LIW__.

-ืžืกืชืœื‘
ืืคืฉืจ ืœืžื”ื“ืจ ืœื™ืฆื•ืจ ืืช ื” SETLB ื• Lcc ื”ื•ืจืื•ืช ืื ื”ืžื˜ืจื” ื”ื™ื
AM33 ืื• ืžืื•ื—ืจ ื™ื•ืชืจ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ. ืืคืฉืจื•ืช ื–ื• ืžื’ื“ื™ืจื” ืืช ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“
__SETLB__.

-mnosetlb
ืืœ ืชืืคืฉืจ ืœืžื”ื“ืจ ืœื™ืฆื•ืจ SETLB or Lcc ื”ื•ืจืื•ืช. ืืคืฉืจื•ืช ื–ื• ืžื’ื“ื™ืจื”
ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“ __NO_SETLB__.

ืžื•ืงืกื™ ืืคืฉืจื•ื™ื•ืช

-ืžื‘
ืฆื•ืจ ืงื•ื“ ื’ื“ื•ืœ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ืžื•ืงืกื™-*-* ืชืฆื•ืจื•ืช.

-ืžืœ
ืฆื•ืจ ืงื•ื“ ืงื˜ืŸ-ืื ื“ื™ืืŸ.

-mno-crt0
ืื™ืŸ ืœืงืฉืจ ื‘ืงื•ื‘ืฅ ืื•ื‘ื™ื™ืงื˜ ื”ืืชื—ื•ืœ ื‘ื–ืžืŸ ืจื™ืฆื” C.

PDP-11 ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืืœื” ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ PDP-11:

-mfpu
ื”ืฉืชืžืฉ ื‘ื—ื•ืžืจื” FPP ื ืงื•ื“ื” ืฆืคื”. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ. (ื ืงื•ื“ื” ืฆืคื” FIS ืขืœ
PDP-11/40 ืื™ื ื• ื ืชืžืš.)

-msoft-float
ืืœ ืชืฉืชืžืฉ ื‘ื ืงื•ื“ื” ืฆืคื” ื—ื•ืžืจื”.

-mac0
ื”ื—ื–ืจ ืชื•ืฆืื•ืช ื ืงื•ื“ื” ืฆืคื” ื‘-ac0 (fr0 ื‘ืชื—ื‘ื™ืจ ืืกืžื‘ืœืจ ื™ื•ื ื™ืงืก).

-mno-ac0
ื”ื—ื–ืจ ืชื•ืฆืื•ืช ื ืงื•ื“ื” ืฆืคื” ื‘ื–ื™ื›ืจื•ืŸ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืž 40
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ PDP-11/40.

-ืž 45
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ PDP-11/45. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืž 10
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ PDP-11/10.

-mbcopy-builtin
ื”ืฉืชืžืฉ ื‘ืชื‘ื ื™ื•ืช "movmemhi" ืžื•ื˜ื‘ืขื•ืช ืœื”ืขืชืงืช ื–ื™ื›ืจื•ืŸ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mbcopy
ืืœ ืชืฉืชืžืฉ ื‘ืชื‘ื ื™ื•ืช "movmemhi" ืžื•ื˜ื‘ืขื•ืช ืœื”ืขืชืงืช ื–ื™ื›ืจื•ืŸ.

-ืžื ื˜ื”16
-mno-int32
ื”ืฉืชืžืฉ ื‘-16 ืกื™ื‘ื™ื•ืช "int". ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืžื ื˜ื”32
-mno-int16
ื”ืฉืชืžืฉ ื‘-32 ืกื™ื‘ื™ื•ืช "int".

-mfloat64
-mno-float32
ื”ืฉืชืžืฉ ื‘-"float" ืฉืœ 64 ืกื™ื‘ื™ื•ืช. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mfloat32
-mno-float64
ื”ืฉืชืžืฉ ื‘-"float" ืฉืœ 32 ืกื™ื‘ื™ื•ืช.

-ืžื‘ืฉื™
ื”ืฉืชืžืฉ ื‘ืชื‘ื ื™ืช "abshi2". ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืžื ื•-ืื‘ืฉื™
ืืœ ืชืฉืชืžืฉ ื‘ืชื‘ื ื™ืช "abshi2".

-ืขื ืฃ-ื™ืงืจ
ื”ืขืžื™ื“ื• ืคื ื™ื ืฉื”ืกื ื™ืคื™ื ื™ืงืจื™ื. ื–ื” ื‘ืฉื‘ื™ืœ ืœื”ืชื ืกื•ืช ื‘ื™ืฆื™ืจืช ืงื•ื“
ื‘ืœื‘ื“.

-ืขื ืฃ-ื–ื•ืœ
ืืœ ืชืขืžื™ื“ ืคื ื™ื ืฉื”ืกื ื™ืคื™ื ื™ืงืจื™ื. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-munix-asm
ื”ืฉืชืžืฉ ื‘ืชื—ื‘ื™ืจ ื”-Unix assembler. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ื”ื™ื ืžื•ื’ื“ืจืช ืขื‘ื•ืจ pdp11-*-bsd.

-mdec-asm
ื”ืฉืชืžืฉ ื‘ืชื—ื‘ื™ืจ DEC assembler. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ื”ื™ื ืžื•ื’ื“ืจืช ืขื‘ื•ืจ ื›ืœ ื™ืขื“ PDP-11
ืื—ืจ ืžืืฉืจ pdp11-*-bsd.

picoChip ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ picoChip:

-ืžื™ื™=ae_type
ื”ื’ื“ืจ ืืช ืขืจื›ืช ื”ื”ื•ืจืื•ืช, ืขืจื›ืช ื”ืจื™ืฉื•ื ื•ืชื–ืžื•ืŸ ื”ื”ื•ืจืื•ืช ืขื‘ื•ืจ ืžืขืจืš
ืกื•ื’ ืืœืžื ื˜ ae_type. ืขืจื›ื™ื ื ืชืžื›ื™ื ืขื‘ื•ืจ ae_type ื™ืฉ ืœื• ื›ืœ, MUL, ื• ืžืง.

-mae=ื›ืœ ื‘ื•ื—ืจ ืกื•ื’ AE ื’ื ืจื™ ืœื—ืœื•ื˜ื™ืŸ. ืงื•ื“ ืฉื ื•ืฆืจ ืขื ืืคืฉืจื•ืช ื–ื• ืคื•ืขืœ
ืขืœ ื›ืœ ืื—ื“ ืžืกื•ื’ื™ AE ืื—ืจื™ื. ื”ืงื•ื“ ืื™ื ื• ื™ืขื™ืœ ื›ืคื™ ืฉื”ื•ื ื”ื™ื” ืื ื”ื™ื” ืžื•ืจื›ื‘
ืขื‘ื•ืจ ืกื•ื’ AE ืกืคืฆื™ืคื™, ื•ืกื•ื’ื™ ืคืขื•ืœื” ืžืกื•ื™ืžื™ื (ืœืžืฉืœ, ื›ืคืœ) ืื™ื ื ืคื•ืขืœื™ื
ื›ืจืื•ื™ ืขืœ ื›ืœ ืกื•ื’ื™ AE.

-mae=MUL ื‘ื•ื—ืจ ืกื•ื’ MUL AE. ื–ื”ื• ืกื•ื’ ื”-AE ื”ืฉื™ืžื•ืฉื™ ื‘ื™ื•ืชืจ ืขื‘ื•ืจ ืงื•ื“ ื”ื™ื“ื•ืจ,
ื•ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mae=MAC ื‘ื•ื—ืจ MAC AE ื‘ืกื’ื ื•ืŸ DSP. ืงื•ื“ ืฉื ืขืจืš ืขื ืืคืฉืจื•ืช ื–ื• ืขืœื•ืœ ืœืกื‘ื•ืœ
ื‘ื™ืฆื•ืขื™ื ื’ืจื•ืขื™ื ืฉืœ ืžื ื™ืคื•ืœืฆื™ื” ืฉืœ ื‘ืชื™ื (char), ืžื›ื™ื•ื•ืŸ ืฉื”-DSP AE ืื™ื ื• ืžืกืคืง
ืชืžื™ื›ืช ื—ื•ืžืจื” ืœืขื•ืžืก ื‘ืชื™ื/ื—ื ื•ื™ื•ืช.

-msymbol-as-address
ืืคืฉืจ ืœืžื”ื“ืจ ืœื”ืฉืชืžืฉ ื™ืฉื™ืจื•ืช ื‘ืฉื ืกืžืœ ื›ื›ืชื•ื‘ืช ื‘ื˜ืขื™ื ื”/ื—ื ื•ืช
ื”ื•ืจืื”, ืžื‘ืœื™ ืœื˜ืขื•ืŸ ืื•ืชื” ืชื—ื™ืœื” ืœืคื ืงืก. ื‘ื“ืจืš ื›ืœืœ, ื”ืฉื™ืžื•ืฉ ื‘ื–ื”
option ืžื™ื™ืฆืจ ืชื•ื›ื ื™ื•ืช ื’ื“ื•ืœื•ืช ื™ื•ืชืจ, ืืฉืจ ืคื•ืขืœื•ืช ืžื”ืจ ื™ื•ืชืจ ืžืืฉืจ ื›ืืฉืจ ื”ืืคืฉืจื•ืช ืื™ื ื” ื‘ืฉื™ืžื•ืฉ.
ืขื ื–ืืช, ื”ืชื•ืฆืื•ืช ืžืฉืชื ื•ืช ืžืชื•ื›ื ื™ืช ืœืชื•ื›ื ื™ืช, ื•ืœื›ืŸ ื”ื™ื ื ืฉืืจืช ื›ืืคืฉืจื•ืช ืžืฉืชืžืฉ,
ื‘ืžืงื•ื ืœื”ื™ื•ืช ืžื•ืคืขืœ ืœืฆืžื™ืชื•ืช.

-ืื–ื”ืจื•ืช-ืœื-ื™ืขื™ืœื•ืช
ืžืฉื‘ื™ืช ืื–ื”ืจื•ืช ืœื’ื‘ื™ ื™ืฆื™ืจืช ืงื•ื“ ืœื ื™ืขื™ืœ. ืื–ื”ืจื•ืช ืืœื” ื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช
ื ื•ืฆืจ, ืœืžืฉืœ, ื‘ืขืช ื”ื™ื“ื•ืจ ืงื•ื“ ืฉืžื‘ืฆืข ืคืขื•ืœื•ืช ื–ื™ื›ืจื•ืŸ ื‘ืจืžืช ื‘ืชื™ื
ืขืœ ืกื•ื’ MAC AE. ืœ-MAC AE ืื™ืŸ ืชืžื™ื›ื” ื‘ื—ื•ืžืจื” ืขื‘ื•ืจ ื–ื™ื›ืจื•ืŸ ื‘ืจืžืช ื‘ืชื™ื
ืคืขื•ืœื•ืช, ื›ืš ืฉื›ืœ ื”ื˜ืขื™ื ื”/ืžืื’ืจื™ ื”ื‘ืชื™ื ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช ืžืกื•ื ืชื–ื™ื ืž-load/store ืฉืœ ืžื™ืœื™ื
ืคืขื•ืœื•ืช. ื–ื” ืœื ื™ืขื™ืœ ื•ืžื•ืคืงืช ืื–ื”ืจื” ื›ื“ื™ ืœืฆื™ื™ืŸ ืฉืืชื”
ืฆืจื™ืš ืœืฉื›ืชื‘ ืืช ื”ืงื•ื“ ื›ื“ื™ ืœื”ื™ืžื ืข ืžืคืขื•ืœื•ืช ื‘ื™ื™ื˜, ืื• ื›ื“ื™ ืœืžืงื“ ืœืกื•ื’ AE ืฉื™ืฉ ืœื• ืืช
ืชืžื™ื›ืช ื—ื•ืžืจื” ื”ื›ืจื—ื™ืช. ืืคืฉืจื•ืช ื–ื• ืžืฉื‘ื™ืชื” ืืช ื”ืื–ื”ืจื•ืช ื”ืœืœื•.

PowerPC ืืคืฉืจื•ื™ื•ืช

ืืœื” ืžืคื•ืจื˜ื™ื ืœืžื˜ื”

RL78 ืืคืฉืจื•ื™ื•ืช

-ืžืกื™ื
ืงื™ืฉื•ืจื™ื ื‘ืกืคืจื™ื•ืช ื™ืขื“ ื ื•ืกืคื•ืช ืœืชืžื™ื›ื” ื‘ื”ืคืขืœื” ื‘ืชื•ืš ืกื™ืžื•ืœื˜ื•ืจ.

-ืžืžื•ืœ=ืื™ืŸ
-mmul=g13
-mmul=rl78
ืžืฆื™ื™ืŸ ืืช ืกื•ื’ ื”ืชืžื™ื›ื” ื‘ื›ืคืœ ื”ื—ื•ืžืจื” ืฉื™ืฉ ืœื”ืฉืชืžืฉ ื‘ื”. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
"ืœืœื", ื”ืžืฉืชืžืฉ ื‘ืคื•ื ืงืฆื™ื•ืช ื›ืคืœ ืชื•ื›ื ื”. ื”ืืคืฉืจื•ืช "g13" ืžื™ื•ืขื“ืช ืœ-
ื”ื›ืคืœ/ื—ืœืง ืฆื™ื•ื“ ื”ื™ืงืคื™ ืฉืœ ื—ื•ืžืจื” ืจืง ื‘ื™ืขื“ื™ RL78/G13. ืืคืฉืจื•ืช "rl78".
ืžื™ื•ืขื“ ืœื›ืคืœ ื”ื—ื•ืžืจื” ื”ืกื˜ื ื“ืจื˜ื™ ื”ืžื•ื’ื“ืจ ื‘ืžื“ืจื™ืš ื”ืชื•ื›ื ื” RL78.

ื™ื‘ืž RS/6000 ื• PowerPC ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ IBM RS/6000 ื•-PowerPC:

-mpowerpc-gpopt
-mno-powerpc-gpopt
-mpowerpc-gfxopt
-mno-powerpc-gfxopt
-mpowerpc64
-mno-powerpc64
-mmfcrf
-mno-mfcrf
-mpopcntb
-mno-popcntb
-mpopcntd
-mno-popcntd
-mfprnd
-mno-fprnd
-mcmpb
-mno-cmpb
-mmfpgpr
-mno-mfpgpr
-mhard-dfp
-mno-hard-dfp
ืืชื” ืžืฉืชืžืฉ ื‘ืืคืฉืจื•ื™ื•ืช ืืœื” ื›ื“ื™ ืœืฆื™ื™ืŸ ืื™ืœื• ื”ื•ืจืื•ืช ื–ืžื™ื ื•ืช ื‘ืžืขื‘ื“ ืฉืืชื”
ืžืฉืชืžืฉื™ื. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ืืคืฉืจื•ื™ื•ืช ืืœื” ื ืงื‘ืข ื‘ืขืช ื”ื’ื“ืจืช GCC.
ืฆื™ื•ืŸ ื”- -mcpu=cpu_type ืขื•ืงืฃ ืืช ื”ืžืคืจื˜ ืฉืœ ืืคืฉืจื•ื™ื•ืช ืืœื”. ืึธื ื•ึผ
ืžืžืœื™ืฅ ืœืš ืœื”ืฉืชืžืฉ ื‘ -mcpu=cpu_type ืืคืฉืจื•ืช ื‘ืžืงื•ื ื”ืืคืฉืจื•ื™ื•ืช ื”ืžืคื•ืจื˜ื•ืช ืœืžืขืœื”.

ืžืคืจื˜ -mpowerpc-gpopt ืžืืคืฉืจ ืœ-GCC ืœื”ืฉืชืžืฉ ื‘ืืจื›ื™ื˜ืงื˜ื•ืจืช PowerPC ื”ืื•ืคืฆื™ื•ื ืœื™ืช
ื”ื•ืจืื•ืช ื‘ืงื‘ื•ืฆืช ื”ืžื˜ืจื” ื”ื›ืœืœื™ืช, ื›ื•ืœืœ ืฉื•ืจืฉ ืจื™ื‘ื•ืขื™ ืฉืœ ื ืงื•ื“ื” ืฆืคื”.
ืžืคืจื˜ -mpowerpc-gfxopt ืžืืคืฉืจ ืœ-GCC ืœื”ืฉืชืžืฉ ื‘ืืจื›ื™ื˜ืงื˜ื•ืจืช PowerPC ื”ืื•ืคืฆื™ื•ื ืœื™ืช
ื”ื•ืจืื•ืช ื‘ืงื‘ื•ืฆืช ื’ืจืคื™ืงื”, ื›ื•ืœืœ ื‘ื—ื™ืจืช ื ืงื•ื“ื” ืฆืคื”.

ื”ืฉืžื™ื™ื -mmfcrf ื”ืืคืฉืจื•ืช ืžืืคืฉืจืช ืœ-GCC ืœื™ืฆื•ืจ ืืช ื”ืžืขื‘ืจ ืžืฉื“ื” ืื•ื’ืจ ื”ืชื ืื™ื
ื”ื•ืจืื” ื”ืžื™ื•ืฉืžืช ืขืœ ืžืขื‘ื“ POWER4 ื•ืžืขื‘ื“ื™ื ืื—ืจื™ื ื”ืชื•ืžื›ื™ื ื‘
ืืจื›ื™ื˜ืงื˜ื•ืจืช PowerPC V2.01. ื” -mpopcntb ื”ืืคืฉืจื•ืช ืžืืคืฉืจืช ืœ-GCC ืœื™ืฆื•ืจ ืืช ื”-popcount
ื•ื”ื•ืจืืช ืื•ืžื“ืŸ ื”ื“ื“ื™ืช FP ื‘ืขืœืช ื“ื™ื•ืง ื›ืคื•ืœ ื”ืžื™ื•ืฉืžืช ื‘-POWER5
ืžืขื‘ื“ ื•ืžืขื‘ื“ื™ื ืื—ืจื™ื ื”ืชื•ืžื›ื™ื ื‘ืืจื›ื™ื˜ืงื˜ื•ืจืช PowerPC V2.02. ื”
-mpopcntd ื”ืืคืฉืจื•ืช ืžืืคืฉืจืช ืœ-GCC ืœื™ืฆื•ืจ ืืช ื”ื•ืจืืช ื”-popcount ื”ืžื™ื•ืฉืžืช ื‘-
ืžืขื‘ื“ POWER7 ื•ืžืขื‘ื“ื™ื ืื—ืจื™ื ื”ืชื•ืžื›ื™ื ื‘ืืจื›ื™ื˜ืงื˜ื•ืจืช PowerPC V2.06.
ื”ืฉืžื™ื™ื -mfprnd ื”ืืคืฉืจื•ืช ืžืืคืฉืจืช ืœ-GCC ืœื™ืฆื•ืจ ืืช ื”ื•ืจืื•ืช ื”ืกื™ื‘ื•ื‘ ืฉืœ ื”-FP ืœืžืกืคืจ ืฉืœื
ืžื™ื•ืฉื ื‘ืžืขื‘ื“ POWER5+ ื•ื‘ืžืขื‘ื“ื™ื ืื—ืจื™ื ื”ืชื•ืžื›ื™ื ื‘-PowerPC
ืืจื›ื™ื˜ืงื˜ื•ืจืช V2.03. ื” -mcmpb ืืคืฉืจื•ืช ืžืืคืฉืจืช ืœ-GCC ืœื™ืฆื•ืจ ืืช ื”ื‘ืชื™ื ืœื”ืฉื•ื•ืื”
ื”ื•ืจืื” ื”ืžื™ื•ืฉืžืช ืขืœ ืžืขื‘ื“ POWER6 ื•ืžืขื‘ื“ื™ื ืื—ืจื™ื ื”ืชื•ืžื›ื™ื ื‘
ืืจื›ื™ื˜ืงื˜ื•ืจืช PowerPC V2.05. ื” -mmfpgpr ื”ืืคืฉืจื•ืช ืžืืคืฉืจืช ืœ-GCC ืœื™ืฆื•ืจ ืืช ืžื”ืœืš ื”-FP
ืืœ/ืžื”ื•ืจืื•ืช ืจื™ืฉื•ื ืœืžื˜ืจื•ืช ื›ืœืœื™ื•ืช ื”ืžื™ื•ืฉืžื•ืช ื‘ืžืขื‘ื“ POWER6X ื•
ืžืขื‘ื“ื™ื ืื—ืจื™ื ื”ืชื•ืžื›ื™ื ื‘ืืจื›ื™ื˜ืงื˜ื•ืจืช PowerPC V2.05 ื”ืžื•ืจื—ื‘ืช. ื” -mhard-dfp
ืืคืฉืจื•ืช ืžืืคืฉืจืช ืœ-GCC ืœื™ืฆื•ืจ ืืช ื”ื•ืจืื•ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื”ืขืฉืจื•ื ื™ืช ื”ืžื™ื•ืฉืžืช ืขืœ
ื›ืžื” ืžืขื‘ื“ื™ POWER.

ื”ืฉืžื™ื™ื -mpowerpc64 ื”ืืคืฉืจื•ืช ืžืืคืฉืจืช ืœ-GCC ืœื™ืฆื•ืจ ืืช ื”ื”ื•ืจืื•ืช ื”ื ื•ืกืคื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช
ื ืžืฆืื™ื ื‘ืืจื›ื™ื˜ืงื˜ื•ืจืช PowerPC64 ื”ืžืœืื” ื•ื›ื“ื™ ืœื”ืชื™ื™ื—ืก ืœ-GPR ื›ืืœ 64-bit, doubleword
ื›ืžื™ื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ GCC ื”ื™ื -mno-powerpc64.

-mcpu=cpu_type
ื”ื’ื“ืจ ืกื•ื’ ืืจื›ื™ื˜ืงื˜ื•ืจื”, ืจื™ืฉื•ื ืฉื™ืžื•ืฉ ื•ืคืจืžื˜ืจื™ื ืฉืœ ืชื–ืžื•ืŸ ื”ื•ืจืื•ืช ืขื‘ื•ืจ
ืกื•ื’ ืžื›ื•ื ื” cpu_type. ืขืจื›ื™ื ื ืชืžื›ื™ื ืขื‘ื•ืจ cpu_type ื™ืฉ ืœื• 401, 403, 405, 405fp, 440,
440fp, 464, 464fp, 476, 476fp, 505, 601, 602, 603, 603e, 604, 604e, 620, 630, 740,
7400, 7450, 750, 801, 821, 823, 860, 970, 8540, a2, e300c2, e300c3, e500mc, E500MC64,
e5500, e6500, EC603E, G3, G4, G5, ืขึฒื ึธืง, power3, power4, power5, power5+, power6,
ื›ื•ื— 6x, power7, power8, ืžื—ืฉื‘ ื›ื•ื—, powerpc64, powerpc64le, ื• rs64.

-mcpu=powerpc, -mcpu=powerpc64, ื• -mcpu=powerpc64le ืฆื™ื™ืŸ PowerPC ื˜ื”ื•ืจ ืฉืœ 32 ืกื™ื‘ื™ื•ืช
(ื›ืœ ืื—ื“ ืื ื“ื™ืืŸ), 64 ืกื™ื‘ื™ื•ืช ื’ื“ื•ืœ ืื ื“ื™ืืŸ PowerPC ื•-64 ืกื™ื‘ื™ื•ืช ืื ื“ื™ืืŸ ืงื˜ืŸ PowerPC
ืกื•ื’ื™ ืžื›ื•ื ื•ืช ืืจื›ื™ื˜ืงื˜ื•ืจื”, ืขื ืžื•ื“ืœ ืžืขื‘ื“ ื’ื ืจื™ ืžืชืื™ื
ืžื˜ืจื•ืช ืชื–ืžื•ืŸ.

ื”ืืคืฉืจื•ื™ื•ืช ื”ืื—ืจื•ืช ืžืฆื™ื™ื ื•ืช ืžืขื‘ื“ ืกืคืฆื™ืคื™. ืงื•ื“ ืฉื ื•ืฆืจ ืชื—ืช ืืคืฉืจื•ื™ื•ืช ืืœื”
ืคื•ืขืœ ื‘ืฆื•ืจื” ื”ื˜ื•ื‘ื” ื‘ื™ื•ืชืจ ืขืœ ื”ืžืขื‘ื“ ื”ื–ื”, ื•ืื•ืœื™ ืœื ื™ืคืขืœ ื›ืœืœ ืขืœ ืื—ืจื™ื.

ื”ืฉืžื™ื™ื -mcpu ืืคืฉืจื•ื™ื•ืช ืžืืคืฉืจื•ืช ืื• ืžืฉื‘ื™ืชื•ืช ื‘ืื•ืคืŸ ืื•ื˜ื•ืžื˜ื™ ืืช ื”ืืคืฉืจื•ื™ื•ืช ื”ื‘ืื•ืช:

-maltivec -mfprnd -mhard-float -mmfcrf -ืžืจื•ื‘ื” -mpopcntb -mpopcntd -mpowerpc64
-mpowerpc-gpopt -mpowerpc-gfxopt ืฆื™ืคื” ืื—ืช -mdouble-float -msimple-fpu -mstring
-ืžืžื•ืœื”ื•ื• -mdlmzb -mmfpgpr -mvsx -mcrypto -mdirect-move -mpower8-fusion
-mpower8-ื•ืงื˜ื•ืจ -mquad-memory -mquad-memory-atomic

ื”ืืคืฉืจื•ื™ื•ืช ื”ืกืคืฆื™ืคื™ื•ืช ืฉื”ื•ื’ื“ืจื• ืขื‘ื•ืจ ื›ืœ ืžืขื‘ื“ ืžืกื•ื™ื ืžืฉืชื ื•ืช ื‘ื™ืŸ ื’ืจืกืื•ืช ื”ืžื”ื“ืจ,
ืชืœื•ื™ ื‘ืื™ื–ื• ื”ื’ื“ืจื” ื ืจืื” ืœื™ื™ืฆื•ืจ ืงื•ื“ ืื•ืคื˜ื™ืžืœื™ ืขื‘ื•ืจ ืื•ืชื• ืžืขื‘ื“; ื–ื” ืœื
ืžืฉืงืฃ ื‘ื”ื›ืจื— ืืช ื™ื›ื•ืœื•ืช ื”ื—ื•ืžืจื” ื‘ืคื•ืขืœ. ืื ื‘ืจืฆื•ื ืš ืœื”ื’ื“ื™ืจ an
ืืคืฉืจื•ืช ืื™ื ื“ื™ื‘ื™ื“ื•ืืœื™ืช ืœืขืจืš ืžืกื•ื™ื, ืชื•ื›ืœ ืœืฆื™ื™ืŸ ืื•ืชื” ืœืื—ืจ ื”- -mcpu ืื•ึนืคึผึฐืฆึดื™ึธื”,
ื›ืžื• -mcpu=970 -mno-altivec.

ื‘-AIX, ื” -maltivec ื• -mpowerpc64 ื”ืืคืฉืจื•ื™ื•ืช ืื™ื ืŸ ืžื•ืคืขืœื•ืช ืื• ืžื•ืฉื‘ืชื•ืช ืขืœ ื™ื“ื™ -mcpu
ืืคืฉืจื•ืช ื›ืจื’ืข ืžื›ื™ื•ื•ืŸ ืฉืœ-AIX ืื™ืŸ ืชืžื™ื›ื” ืžืœืื” ื‘ืืคืฉืจื•ื™ื•ืช ืืœื•. ืืชื” ื™ื›ื•ืœ
ืขื“ื™ื™ืŸ ื”ืคืขืœ ืื• ื”ืฉื‘ืช ืื•ืชื ื‘ื ืคืจื“ ืื ืืชื” ื‘ื˜ื•ื— ืฉื–ื” ื™ืขื‘ื•ื“ ืืฆืœืš
ืกื‘ื™ื‘ื”.

-mtune=cpu_type
ื”ื’ื“ืจ ืืช ืคืจืžื˜ืจื™ ืชื–ืžื•ืŸ ื”ื”ื•ืจืื•ืช ืขื‘ื•ืจ ืกื•ื’ ื”ืžื›ื•ื ื” cpu_type, ืื‘ืœ ืœื ืœื”ื’ื“ื™ืจ
ืกื•ื’ ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ืื• ืฉื™ืžื•ืฉ ื‘ืจื™ืฉื•ื, ื›ืžื• -mcpu=cpu_type ืขื•ืฉื”. ืื•ืชื ืขืจื›ื™ื ืขื‘ื•ืจ
cpu_type ืžืฉืžืฉื™ื ืœ -mtune ื‘ื ื•ื’ืข ืœ -mcpu. ืื ืฉื ื™ื”ื ืžืฆื•ื™ื ื™ื, ื”ืงื•ื“ ืฉื ื•ืฆืจ
ืžืฉืชืžืฉ ื‘ืืจื›ื™ื˜ืงื˜ื•ืจื” ื•ื‘ืจื™ืฉื•ืžื™ื ืฉื ืงื‘ืขื• ืขืœ ื™ื“ื™ -mcpu, ืื‘ืœ ืคืจืžื˜ืจื™ ื”ืชื–ืžื•ืŸ ืฉื ืงื‘ืขื• ืขืœ ื™ื“ื™
-mtune.

-mcmodel=small
ืฆื•ืจ ืงื•ื“ PowerPC64 ืขื‘ื•ืจ ื”ื“ื’ื ื”ืงื˜ืŸ: ื”-TOC ืžื•ื’ื‘ืœ ืœ-64k.

-mcmodel = ื‘ื™ื ื•ื ื™
ืฆื•ืจ ืงื•ื“ PowerPC64 ืขื‘ื•ืจ ื”ื“ื’ื ื”ื‘ื™ื ื•ื ื™: ื”-TOC ื•ื ืชื•ื ื™ื ืกื˜ื˜ื™ื™ื ืื—ืจื™ื ืขืฉื•ื™ื™ื ืœื”ื™ื•ืช ืœืžืขืœื”
ื‘ื’ื•ื“ืœ ื›ื•ืœืœ ืฉืœ 4G.

-mcmodel=ื’ื“ื•ืœ
ืฆื•ืจ ืงื•ื“ PowerPC64 ืขื‘ื•ืจ ื”ื“ื’ื ื”ื’ื“ื•ืœ: ื”-TOC ืขืฉื•ื™ ืœื”ื™ื•ืช ื‘ื’ื•ื“ืœ ืฉืœ ืขื“ 4G. ืึทื—ึตืจ
ื ืชื•ื ื™ื ื•ืงื•ื“ ืžื•ื’ื‘ืœื™ื ืจืง ืขืœ ื™ื“ื™ ืžืจื—ื‘ ื”ื›ืชื•ื‘ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช.

-maltivec
-mno-altivec
ืฆื•ืจ ืงื•ื“ ื”ืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช AltiVec, ื•ืืคืฉืจ ื’ื ืืช ื”ืฉื™ืžื•ืฉ
ืฉืœ ืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช ื”ืžืืคืฉืจื•ืช ื’ื™ืฉื” ื™ืฉื™ืจื” ื™ื•ืชืจ ืœืกื˜ ื”ื”ื•ืจืื•ืช ืฉืœ AltiVec.
ื™ื™ืชื›ืŸ ืฉืชืฆื˜ืจืš ื’ื ืœื”ื’ื“ื™ืจ -mabi=altivec ื›ื“ื™ ืœื”ืชืื™ื ืืช ื”-ABI ื”ื ื•ื›ื—ื™ ืขื AltiVec ABI
ืฉื™ืคื•ืจื™ื.

ืžืชื™ -maltivec ืžืฉืžืฉ, ื‘ืžืงื•ื -maltivec=le or -maltivec=ืœื”ื™ื•ืช, ืกื“ืจ ื”ืืœืžื ื˜ื™ื
ืขื‘ื•ืจ ืžืืคื™ื™ื ื™ื ืคื ื™ืžื™ื™ื ืฉืœ Altivec ื›ื’ื•ืŸ "vec_splat", "vec_extract" ื•-"vec_insert" ื™ืชืื™ืžื•
ืกื“ืจ ืจื›ื™ื‘ื™ ืžืขืจืš ื”ืชื•ืื ืืช ื”ืงืฆื” ืฉืœ ื”ืžื˜ืจื”. ื›ืœื•ืžืจ ืืœืžื ื˜
ืืคืก ืžื–ื”ื” ืืช ื”ืืœืžื ื˜ ื”ืฉืžืืœื™ ื‘ื™ื•ืชืจ ื‘ืื•ื’ืจ ื•ืงื˜ื•ืจ ื‘ืขืช ืžื™ืงื•ื“ ืœ- big-endian
ืคืœื˜ืคื•ืจืžื”, ื•ืžื–ื”ื” ืืช ื”ืืœืžื ื˜ ื”ื™ืžื ื™ ื‘ื™ื•ืชืจ ื‘ืื•ื’ืจ ื•ืงื˜ื•ืจ ื‘ืขืช ืžื™ืงื•ื“ ืœ-a
ืคืœื˜ืคื•ืจืžื” ืงื˜ื ื”-ืื ื“ื™ืื ื™ืช.

-maltivec=ืœื”ื™ื•ืช
ืฆื•ืจ ื”ื•ืจืื•ืช Altivec ื‘ืืžืฆืขื•ืช ืกื“ืจ ืืœืžื ื˜ื™ื ื’ื“ื•ืœื™ื, ืœืœื ืงืฉืจ ืœืฉืืœื” ืื
ื”ืžื˜ืจื” ื”ื™ื ื’ื“ื•ืœื” ืื• ืงื˜ื ื”. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ืžืžืงื“ื™ื ืœื‘ื™ื’-ืื ื“ื™ืืŸ
ืคืœื˜ืคื•ืจืžื”.

ืกื“ืจ ื”ืืœืžื ื˜ื™ื ืžืฉืžืฉ ืœืคื™ืจื•ืฉ ืžืกืคืจื™ ืืœืžื ื˜ื™ื ื‘ืžื”ื•ืชื™ื•ืช ืฉืœ Altivec ื›ื’ื•ืŸ
"vec_splat", "vec_extract" ื•-"vec_insert". ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืืœื” ื™ืชืื™ืžื• ืœืžืขืจืš
ืกื“ืจ ื”ืืœืžื ื˜ื™ื ื”ืชื•ืื ืืช ื”ืžื™ื“ื” ืฉืœ ื”ื™ืขื“.

-maltivec=le
ืฆื•ืจ ื”ื•ืจืื•ืช Altivec ื‘ืืžืฆืขื•ืช ืกื“ืจ ื”ืืœืžื ื˜ื™ื ื”ืงื˜ื ื™ื, ืœืœื ืงืฉืจ ืœืฉืืœื” ืื
ื”ืžื˜ืจื” ื”ื™ื ื’ื“ื•ืœื” ืื• ืงื˜ื ื”. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ืžืžืงื“ื™ื ืžืขื˜-
ืคืœื˜ืคื•ืจืžืช ืื ื“ื™ืื ื™ืช. ื›ืจื’ืข ืžืชืขืœืžื™ื ืžื”ืืคืฉืจื•ืช ื”ื–ื• ื‘ืขืช ืžื™ืงื•ื“ ืœ-Big-Endian
ืคืœื˜ืคื•ืจืžื”.

ืกื“ืจ ื”ืืœืžื ื˜ื™ื ืžืฉืžืฉ ืœืคื™ืจื•ืฉ ืžืกืคืจื™ ืืœืžื ื˜ื™ื ื‘ืžื”ื•ืชื™ื•ืช ืฉืœ Altivec ื›ื’ื•ืŸ
"vec_splat", "vec_extract" ื•-"vec_insert". ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืืœื” ื™ืชืื™ืžื• ืœืžืขืจืš
ืกื“ืจ ื”ืืœืžื ื˜ื™ื ื”ืชื•ืื ืืช ื”ืžื™ื“ื” ืฉืœ ื”ื™ืขื“.

-mvrsave
-mno-vrsave
ืฆื•ืจ ื”ื•ืจืื•ืช VRSAVE ื‘ืขืช ื”ืคืงืช ืงื•ื“ AltiVec.

-mgen-cell-microcode
ืฆื•ืจ ื”ื•ืจืื•ืช ืžื™ืงืจื•ืงื•ื“ ืฉืœ ืชื.

-mwarn-cell-microcode
ืื–ื”ืจื” ื›ืืฉืจ ื ืคืœื˜ืช ื”ื•ืจืืช ืžื™ืงืจื•ืงื•ื“ ืฉืœ ืชื. ื“ื•ื’ืžื” ืœืžื™ืงืจื•ืงื•ื“ ืฉืœ ืชื
ื”ื”ื•ืจืื” ื”ื™ื ืฉื™ื ื•ื™ ืžืฉืชื ื”.

-msecure-plt
ืฆื•ืจ ืงื•ื“ ืฉืžืืคืฉืจ ld ื• ld.so ืœื‘ื ื•ืช ืื™ืชื ืงื•ื‘ืฆื™ ื”ืคืขืœื” ื•ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช
ืงื˜ืขื™ ".plt" ื•-".got" ืฉืื™ื ื ื ื™ืชื ื™ื ืœื”ืคืขืœื”. ื–ื•ื”ื™ ืืคืฉืจื•ืช PowerPC 32 ืกื™ื‘ื™ื•ืช SYSV ABI.

-mbss-plt
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ ื‘ืงื˜ืข BSS ".plt" ืฉ ld.so ืžืžืœื ื•ื“ื•ืจืฉ ".plt"
ื•ืงื˜ืขื™ ".got" ืฉื ื™ืชื ื™ื ืœื›ืชื™ื‘ื” ื•ื’ื ืœื”ืคืขืœื”. ื–ื”ื• PowerPC 32 ืกื™ื‘ื™ื•ืช
ืืคืฉืจื•ืช SYSV ABI.

-ืžื™ื–ืœ
-mno-isel
ืžืชื’ ื–ื” ืžืืคืฉืจ ืื• ืžืฉื‘ื™ืช ืืช ื™ืฆื™ืจืช ื”ื•ืจืื•ืช ISEL.

-ืžื™ื–ืœ=ื›ืŸ ืœื
ืžืชื’ ื–ื” ื”ื•ืฆื ืžืฉื™ืžื•ืฉ. ืœื”ืฉืชืžืฉ -ืžื™ื–ืœ ื• -mno-isel ื‘ืžืงื•ื.

-mspe
-ืžื ื•-ืกืค
ืžืชื’ ื–ื” ืžืืคืฉืจ ืื• ืžืฉื‘ื™ืช ืืช ื™ืฆื™ืจืช ื”ื•ืจืื•ืช SPE simd.

-ืคื’ื•ืข
-ืžื•ืฆืžื“ื™ื
ืžืชื’ ื–ื” ืžืืคืฉืจ ืื• ืžืฉื‘ื™ืช ืืช ื”ื™ืฆื™ืจื” ืฉืœ PAIRED ื”ื•ืจืื•ืช simd.

-mspe=ื›ืŸ ืœื
ืืคืฉืจื•ืช ื–ื• ื”ื•ืฆืื” ืžืฉื™ืžื•ืฉ. ืœื”ืฉืชืžืฉ -mspe ื• -ืžื ื•-ืกืค ื‘ืžืงื•ื.

-mvsx
-mno-vsx
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ื•ืงื˜ื•ืจ/ืกืงืœืจ (VSX), ื•ื’ื
ืœืืคืฉืจ ืฉื™ืžื•ืฉ ื‘ืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช ื”ืžืืคืฉืจื•ืช ื’ื™ืฉื” ื™ืฉื™ืจื” ื™ื•ืชืจ ืœ-VSX
ืกื˜ ื”ื•ืจืื•ืช.

-mcrypto
-mno-crypto
ืืคืฉืจ ืืช ื”ืฉื™ืžื•ืฉ (ื”ืฉื‘ืช) ื‘ืคื•ื ืงืฆื™ื•ืช ื”ืžื•ื‘ื ื•ืช ื”ืžืืคืฉืจื•ืช ื’ื™ืฉื” ื™ืฉื™ืจื” ืœ-
ื”ื•ืจืื•ืช ื”ืฆืคื ื” ืฉื ื•ืกืคื• ื‘ื’ืจืกื” 2.07 ืฉืœ PowerPC ISA.

-mdirect-move
-mno-direct-move
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ืœื”ืขื‘ืจืช ื ืชื•ื ื™ื ื‘ื™ืŸ
ืจื’ื™ืกื˜ืจื™ื ืœืžื˜ืจื•ืช ื›ืœืœื™ื•ืช ื•ื”ืจื’ื™ืกื˜ืจื™ื ื”ื•ืงื˜ื•ืจื™ื/ืกืงืœืจื™ื (VSX) ืฉื ื•ืกืคื•
ื’ืจืกื” 2.07 ืฉืœ PowerPC ISA.

-mpower8-fusion
-mno-power8-fusion
ืฆื•ืจ ืงื•ื“ ืฉืฉื•ืžืจ (ืœื ืฉื•ืžืจ) ื›ืžื” ืคืขื•ืœื•ืช ืฉืœืžื™ื ืฆืžื•ื“ื•ืช ื›ืš ืฉื”
ื ื™ืชืŸ ืœืžื–ื’ ื”ื•ืจืื•ืช ื™ื—ื“ ื‘ืžืขื‘ื“ื™ power8 ื•ืื™ืœืš.

-mpower8-ื•ืงื˜ื•ืจ
-mno-power8-ื•ืงื˜ื•ืจ
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ื”ื•ื•ืงื˜ื•ืจ ื•ื”ืกืงืœืจื™ื•ืช ืฉื”ื™ื•
ื ื•ืกืฃ ื‘ื’ืจืกื” 2.07 ืฉืœ PowerPC ISA. ืืคืฉืจ ื’ื ืฉื™ืžื•ืฉ ื‘ืคื•ื ืงืฆื™ื•ืช ืžื•ื‘ื ื•ืช
ื”ืžืืคืฉืจื™ื ื’ื™ืฉื” ื™ืฉื™ืจื” ื™ื•ืชืจ ืœื”ื•ืจืื•ืช ื”ื•ื•ืงื˜ื•ืจื™ื•ืช.

-mquad-memory
-mno-quad-memory
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ื”ื–ื™ื›ืจื•ืŸ ื”ืœื-ืื˜ื•ืžื™ื•ืช ืฉืœ ืืจื‘ืข ืžื™ืœื™ื.
ื”ืฉืžื™ื™ื -mquad-memory ื”ืืคืฉืจื•ืช ื“ื•ืจืฉืช ืฉื™ืžื•ืฉ ื‘ืžืฆื‘ 64 ืกื™ื‘ื™ื•ืช.

-mquad-memory-atomic
-mno-quad-memory-atomic
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ื”ื–ื™ื›ืจื•ืŸ ืฉืœ ืืจื‘ืข ืžื™ืœื™ื ื”ืื˜ื•ืžื™ื•ืช. ื”
-mquad-memory-atomic ื”ืืคืฉืจื•ืช ื“ื•ืจืฉืช ืฉื™ืžื•ืฉ ื‘ืžืฆื‘ 64 ืกื™ื‘ื™ื•ืช.

-mfloat-gprs=ื›ืŸ/ื™ื—ื™ื“/ื–ื•ื’ื™/ืœื
-mfloat-gprs
ืžืชื’ ื–ื” ืžืืคืฉืจ ืื• ืžืฉื‘ื™ืช ืืช ื”ื™ืฆื™ืจื” ืฉืœ ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื” ื‘-
ืื•ื’ืจื™ื ืœืžื˜ืจื•ืช ื›ืœืœื™ื•ืช ืœืืจื›ื™ื˜ืงื˜ื•ืจื•ืช ื”ืชื•ืžื›ื•ืช ื‘ื•.

ื”ื•ื•ื™ื›ื•ื— ื›ืŸ or ื™ื—ื™ื“ ืžืืคืฉืจ ืฉื™ืžื•ืฉ ื‘ื ืงื•ื“ื” ืฆืคื” ื‘ืขืœืช ื“ื™ื•ืง ื™ื—ื™ื“
ืคืขื•ืœื•ืช.

ื”ื•ื•ื™ื›ื•ื— ืœึฐื”ึทื›ืคึผึดื™ืœ ืžืืคืฉืจ ืฉื™ืžื•ืฉ ื‘ื ืงื•ื“ื” ืฆืคื” ื‘ืขืœืช ื“ื™ื•ืง ื™ื—ื™ื“ ื•ื›ืคื•ืœ
ืคืขื•ืœื•ืช.

ื”ื•ื•ื™ื›ื•ื— ืœื ืžืฉื‘ื™ืช ืคืขื•ืœื•ืช ืฉืœ ื ืงื•ื“ื” ืฆืคื” ื‘ืจื’ื™ืกื˜ืจื™ื ืœืžื˜ืจื•ืช ื›ืœืœื™ื•ืช.

ืืคืฉืจื•ืช ื–ื• ื–ืžื™ื ื” ื›ืจื’ืข ืจืง ื‘-MPC854x.

-ืž 32
-ืž 64
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืกื‘ื™ื‘ื•ืช 32 ืกื™ื‘ื™ื•ืช ืื• 64 ืกื™ื‘ื™ื•ืช ืฉืœ ื™ืขื“ื™ Darwin ื•-SVR4 (ื›ื•ืœืœ
GNU/Linux). ืกื‘ื™ื‘ืช 32 ืกื™ื‘ื™ื•ืช ืžื’ื“ื™ืจื” int, long ื•-pointer ืœ-32 ืกื™ื‘ื™ื•ืช ื•
ื™ื•ืฆืจ ืงื•ื“ ืฉืจืฅ ืขืœ ื›ืœ ื•ืจื™ืืฆื™ื” ืฉืœ PowerPC. ืกื‘ื™ื‘ืช 64 ืกื™ื‘ื™ื•ืช ืžื•ื’ื“ืจืช ืœ
32 ืกื™ื‘ื™ื•ืช ื•ืืจื•ืš ื•ืžืฆื‘ื™ืข ืœ-64 ืกื™ื‘ื™ื•ืช, ื•ืžื™ื™ืฆืจ ืงื•ื“ ืขื‘ื•ืจ PowerPC64, ื›ืžื• ืขื‘ื•ืจ
-mpowerpc64.

-mfull-toc
-mno-fp-in-toc
-mno-sum-in-toc
-ืžื™ื ื™ืžืœื™-ื˜ื•ืง
ืฉื ื” ืืช ื”ื“ื•ืจ ืฉืœ TOC (ืชื•ื›ืŸ ืขื ื™ื™ื ื™ื), ืฉื ื•ืฆืจ ืขื‘ื•ืจ ื›ืœ
ืงื•ื‘ืฅ ื”ืจืฆื”. ื” -mfull-toc ื”ืืคืฉืจื•ืช ื ื‘ื—ืจื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ื‘ืžืงืจื” ื›ื–ื”, GCC
ืžืงืฆื” ืœืคื—ื•ืช ืจืฉื•ืžืช TOC ืื—ืช ืขื‘ื•ืจ ื›ืœ ื”ืชื™ื™ื—ืกื•ืช ืžืฉืชื ื” ืœื ืื•ื˜ื•ืžื˜ื™ืช ื™ื™ื—ื•ื“ื™ืช ื‘
ื”ืชื•ื›ื ื™ืช ืฉืœืš. GCC ืžืฆื™ื‘ ื’ื ืงื‘ื•ืขื™ ื ืงื•ื“ื” ืฆืคื” ื‘-TOC. ืขื ื–ืืช, ืจืง
16,384 ืขืจื›ื™ื ื–ืžื™ื ื™ื ื‘-TOC.

ืื ืืชื” ืžืงื‘ืœ ื”ื•ื“ืขืช ืฉื’ื™ืื” ืžืงืฉืจ ืฉืื•ืžืจืช ืฉื”ื’ื–ืžืช ืืช ื”ื–ืžื™ืŸ
ืฉื˜ื— TOC, ืืชื” ื™ื›ื•ืœ ืœื”ืคื—ื™ืช ืืช ื›ืžื•ืช ืฉื˜ื— TOC ื‘ืฉื™ืžื•ืฉ ืขื -mno-fp-in-toc ื•
-mno-sum-in-toc ืืคืฉืจื•ื™ื•ืช. -mno-fp-in-toc ืžื•ื ืข ืž-GCC ืœืฉื™ื ื ืงื•ื“ื” ืฆืคื”
ืงื‘ื•ืขื™ื ื‘-TOC ื• -mno-sum-in-toc ืžืืœืฅ ืืช GCC ืœื™ืฆื•ืจ ืงื•ื“ ื›ื“ื™ ืœื—ืฉื‘ ืืช
ืกื›ื•ื ืฉืœ ื›ืชื•ื‘ืช ื•ืงื‘ื•ืข ื‘ื–ืžืŸ ืจื™ืฆื” ื‘ืžืงื•ื ืœื”ื›ื ื™ืก ืืช ื”ืกื›ื•ื ื”ื–ื” ืœ-TOC.
ืืชื” ื™ื›ื•ืœ ืœืฆื™ื™ืŸ ืืช ืื—ืช ืžื”ืืคืฉืจื•ื™ื•ืช ื”ืœืœื• ืื• ืืช ืฉืชื™ื”ืŸ. ื›ืœ ืื—ื“ ื’ื•ืจื ืœ-GCC ืœื™ื™ืฆืจ ืžืื•ื“
ืงื•ื“ ืžืขื˜ ืื™ื˜ื™ ื•ื’ื“ื•ืœ ื™ื•ืชืจ ืขืœ ื—ืฉื‘ื•ืŸ ืฉื™ืžื•ืจ ืฉื˜ื— TOC.

ืื ืขื“ื™ื™ืŸ ื ื’ืžืจ ืœืš ื”ืžืงื•ื ื‘-TOC ื’ื ื›ืฉืืชื” ืžืฆื™ื™ืŸ ืืช ืฉืชื™ ื”ืืคืฉืจื•ื™ื•ืช ื”ืืœื”,
ืœืคืจื˜ -ืžื™ื ื™ืžืœื™-ื˜ื•ืง ื‘ืžืงื•ื ื–ืืช. ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช ืœ-GCC ืœื‘ืฆืข ืจืง ื›ื ื™ืกื” ืื—ืช ืฉืœ TOC ืขื‘ื•ืจ
ื›ืœ ืงื•ื‘ืฅ. ื›ืืฉืจ ืืชื” ืžืฆื™ื™ืŸ ืืคืฉืจื•ืช ื–ื•, GCC ืžื™ื™ืฆืจ ืงื•ื“ ืื™ื˜ื™ ื•ื’ื“ื•ืœ ื™ื•ืชืจ
ืื‘ืœ ืฉืžืฉืชืžืฉ ื‘ืžืขื˜ ืžืื•ื“ ืฉื˜ื— TOC. ื™ื™ืชื›ืŸ ืฉืชืจืฆื” ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืจืง ื‘-
ืงื‘ืฆื™ื ื”ืžื›ื™ืœื™ื ืงื•ื“ ื”ืžื•ืคืขืœ ื‘ืชื“ื™ืจื•ืช ื ืžื•ื›ื” ื™ื•ืชืจ.

-ืžืื™ืงืก 64
-ืžืื™ืงืก 32
ืืคืฉืจ 64 ืกื™ื‘ื™ื•ืช AIX ABI ื•ืžื•ืกื›ืžื•ืช ืฉื™ื—ื•ืช: ืžืฆื‘ื™ืขื™ 64 ืกื™ื‘ื™ื•ืช, ืกื•ื’ "ืืจื•ืš" ืฉืœ 64 ืกื™ื‘ื™ื•ืช, ื•
ื”ืชืฉืชื™ืช ื”ื“ืจื•ืฉื” ื›ื“ื™ ืœืชืžื•ืš ื‘ื”ื. ืžืคืจื˜ -ืžืื™ืงืก 64 ืžืจืžื– -mpowerpc64,
ื‘ื–ืžืŸ -ืžืื™ืงืก 32 ืžืฉื‘ื™ืช ืืช ื”-ABI ืฉืœ 64 ืกื™ื‘ื™ื•ืช ื•ืžืฉืชืžืข -mno-powerpc64. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ GCC ื”ื™ื
-ืžืื™ืงืก 32.

-mxl-compat
-mno-xl-compat
ื”ืคืง ืงื•ื“ ื”ืชื•ืื ื™ื•ืชืจ ืœืกืžื ื˜ื™ืงื” ืฉืœ ืžื”ื“ืจ IBM XL ื‘ืขืช ืฉื™ืžื•ืฉ ื‘-AIX-
ABI ืชื•ืื. ื”ืขื‘ืจ ืืจื’ื•ืžื ื˜ื™ื ืฉืœ ื ืงื•ื“ื” ืฆืคื” ืœืคื•ื ืงืฆื™ื•ืช ืขื ืื‘ ื˜ื™ืคื•ืก ืžืขื‘ืจ ืœ-
ืจืฉื•ื ืื–ื•ืจ ืฉืžื™ืจื” (RSA) ื‘ืขืจื™ืžื” ื‘ื ื•ืกืฃ ืœ-FPRs ืฉืœ ืืจื’ื•ืžื ื˜ื™ื. ืืœ ืชื ื™ื—
ื”ื›ืคืœ ื”ืžืฉืžืขื•ืชื™ ื‘ื™ื•ืชืจ ื‘ืขืจืš ื”ื›ืคื•ืœ ื”ืืจื•ืš ืฉืœ 128 ืกื™ื‘ื™ื•ืช ืžืขื•ื’ืœ ื›ืจืื•ื™ ื›ืืฉืจ
ื”ืฉื•ื•ืืช ืขืจื›ื™ื ื•ื”ืžืจื” ืœื›ืคื•ืœื”. ื”ืฉืชืžืฉ ื‘ืฉืžื•ืช ืกืžืœื™ื XL ืขื‘ื•ืจ ื›ืคื•ืœ ืืจื•ืš
ืฉื’ืจื•ืช ืชืžื™ื›ื”.

ืืžื ืช ืฉื™ื—ื•ืช AIX ื”ื•ืืจื›ื” ืืš ืœื ืชื•ืขื“ื” ื‘ืชื—ื™ืœื” ืœื˜ื™ืคื•ืœ ื‘-
ืžืงืจื” ืžืขื•ืจืคืœ ืฉืœ K&R C ืฉืœ ืงืจื™ืื” ืœืคื•ื ืงืฆื™ื” ืฉืœื•ืงื—ืช ืืช ื”ื›ืชื•ื‘ืช ืฉืœ ื”ืืจื’ื•ืžื ื˜ื™ื ืฉืœื”
ืคื—ื•ืช ื•ื™ื›ื•ื—ื™ื ืžืžื” ืฉื”ื•ืฆื”ืจ. ืžื”ื“ืจื™ื ืฉืœ IBM XL ื ื™ื’ืฉื™ื ืœืืจื’ื•ืžื ื˜ื™ื ืฉืœ ื ืงื•ื“ื” ืฆืคื”
ืื™ื ื ืžืชืื™ืžื™ื ืœ-RSA ืžื”ืžื—ืกื ื™ืช ื›ืืฉืจ ืชืช ืฉื’ืจืช ืงื•ืžืคื™ืœืฆื™ื” ืœืœื
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”. ื›ื™ ืชืžื™ื“ ืื—ืกื•ืŸ ืืจื’ื•ืžื ื˜ื™ื ืฉืœ ื ืงื•ื“ื” ืฆืคื” ืขืœ ื”ืขืจื™ืžื” ื”ื™ื
ืœื ื™ืขื™ืœ ื•ืœืขืชื™ื ืจื—ื•ืงื•ืช ืฆื•ืจืš, ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื•ืจืง ื”ื™ื
ื”ื›ืจื—ื™ ื‘ืขืช ืงืจื™ืื” ืœืฉื’ืจื•ืช ืžืฉื ื” ืฉื”ื™ื“ื•ืจ ืขืœ ื™ื“ื™ ืžื”ื“ืจื™ื ืฉืœ IBM XL ืœืœื ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.

-ืžืคื”
ืชืžื™ื›ื” ื™ื‘ืž RS/6000 SP ืžืงื‘ื™ืœ ืกื‘ื™ื‘ื” (ืค). ืงื™ืฉื•ืจ ืืคืœื™ืงืฆื™ื” ืฉื ื›ืชื‘ื” ืœืฉื™ืžื•ืฉ
ื”ื•ื“ืขื” ืขื•ื‘ืจืช ืขื ืงื•ื“ ื”ืคืขืœื” ืžื™ื•ื—ื“ ื›ื“ื™ ืœืืคืฉืจ ืœืืคืœื™ืงืฆื™ื” ืœืคืขื•ืœ. ื”
ื”ืžืขืจื›ืช ื—ื™ื™ื‘ืช ืœื”ืชืงื™ืŸ PE ื‘ืžื™ืงื•ื ื”ืกื˜ื ื“ืจื˜ื™ (/usr/lpp/ppe.poe/), ืื• ื”
ืžืคืจื˜ ื˜ื›ื ื™ ื™ืฉ ืœืขืงื•ืฃ ืืช ื”ืงื•ื‘ืฅ ืขื ื”- -ืžืคืจื˜ = ืืคืฉืจื•ืช ืœืฆื™ื™ืŸ ืืช ื”ืžืชืื™ื
ืžื™ืงื•ื ืกืคืจื™ื™ื”. ื”ืกื‘ื™ื‘ื” ื”ืžืงื‘ื™ืœื” ืื™ื ื” ืชื•ืžื›ืช ื‘ืฉืจืฉื•ืจื™ื, ื•ืœื›ืŸ -ืžืคื”
ืืคืฉืจื•ืช ื•ื” -phthread ื”ืืคืฉืจื•ื™ื•ืช ืื™ื ืŸ ืชื•ืืžื•ืช.

-ืžืžืื™ืจ-ื˜ื‘ืขื™
-ืžืžืื™ืจ-ื›ื•ื—
ื‘-AIX, 32-bit Darwin ื•-64-bit PowerPC GNU/Linux, ื”ืืคืฉืจื•ืช -ืžืžืื™ืจ-ื˜ื‘ืขื™
ืขื•ืงืฃ ืืช ื”ื™ื™ืฉื•ืจ ื”ืžื•ื’ื“ืจ ื‘-ABI ืฉืœ ืกื•ื’ื™ื ื’ื“ื•ืœื™ื ื™ื•ืชืจ, ื›ื’ื•ืŸ ื›ืคืœ ื ืงื•ื“ื” ืฆืคื”,
ืขืœ ื”ื’ื‘ื•ืœ ื”ื˜ื‘ืขื™ ืžื‘ื•ืกืก ื”ื’ื•ื“ืœ ืฉืœื”ื. ื”ืืคืฉืจื•ืช -ืžืžืื™ืจ-ื›ื•ื— ืžื•ืจื” ืœ-GCC ืœืขืฉื•ืช ื–ืืช
ืคืขืœ ืœืคื™ ื›ืœืœื™ ื”ื™ื™ืฉื•ืจ ืฉืฆื•ื™ื ื• ื‘-ABI. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ GCC ื”ื™ื ื”ื™ื™ืฉื•ืจ ื”ืกื˜ื ื“ืจื˜ื™
ืžื•ื’ื“ืจ ื‘-ABI.

ื‘-Darwin 64 ืกื™ื‘ื™ื•ืช, ื™ื™ืฉื•ืจ ื˜ื‘ืขื™ ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, ื• -ืžืžืื™ืจ-ื›ื•ื— ืœื
ื ืชืžืš.

-msoft-float
-mhard-float
ืฆื•ืจ ืงื•ื“ ืฉืื™ื ื• ืžืฉืชืžืฉ (ืžืฉืชืžืฉ) ื‘ืขืจื›ืช ื”ืื•ื’ืจ ืฉืœ ื”ื ืงื•ื“ื” ื”ืฆืคื”. ืชื•ึนื›ื ึธื”
ืืžื•ืœืฆื™ื™ืช ื ืงื•ื“ื” ืฆืคื” ืžืกื•ืคืงืช ืื ืืชื” ืžืฉืชืžืฉ ื‘- -msoft-float ืืคืฉืจื•ืช, ื•ื”ืขื‘ื™ืจื• ืืช
ืืคืฉืจื•ืช ืœ-GCC ื‘ืขืช ื”ืงื™ืฉื•ืจ.

ืฆื™ืคื” ืื—ืช
-mdouble-float
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื” ื‘ืขืœืช ื“ื™ื•ืง ื™ื—ื™ื“ ืื• ื›ืคื•ืœ.
-mdouble-float ืžืจืžื– ืฆื™ืคื” ืื—ืช.

-msimple-fpu
ืืœ ืชื™ืฆื•ืจ ื”ื•ืจืื•ืช "sqrt" ื•-"div" ืขื‘ื•ืจ ื™ื—ื™ื“ืช ื ืงื•ื“ื” ืฆืคื” ื‘ื—ื•ืžืจื”.

-mfpu=ืฉื
ืฆื™ื™ืŸ ืกื•ื’ ื™ื—ื™ื“ืช ื ืงื•ื“ื” ืฆืคื”. ืขืจื›ื™ื ื—ื•ืงื™ื™ื ืขื‘ื•ืจ ืฉื ื™ืฉ ืœื• sp_lite (ืฉื•ื•ื” ืขืจืš ืœ
ืฆื™ืคื” ืื—ืช -msimple-fpu), dp_lite (ืฉื•ื•ื” ืขืจืš ืœ -mdouble-float -msimple-fpu),
sp_full (ืฉื•ื•ื” ืขืจืš ืœ ืฆื™ืคื” ืื—ืช,) ื• dp_full (ืฉื•ื•ื” ืขืจืš ืœ -mdouble-float).

-mxilinx-fpu
ื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืขื‘ื•ืจ ื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื‘- Xilinx PPC 405/440.

-ืžืจื•ื‘ื”
-mno-ื›ืคื•ืœ
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ื”ื˜ืขื™ื ื” ืฉืœ ืžื™ืœื™ื ืžืจื•ื‘ื•ืช ื•ื‘-
ืื—ืกืŸ ื”ื•ืจืื•ืช ืžื™ืœื™ื ืžืจื•ื‘ื•ืช. ื”ื•ืจืื•ืช ืืœื• ื ื•ืฆืจื•ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘-
ืžืขืจื›ื•ืช POWER, ื•ืœื ื ื•ืฆืจื•ืช ืขืœ ืžืขืจื›ื•ืช PowerPC. ืืœ ืชืฉืชืžืฉ -ืžืจื•ื‘ื” ืขืœ ืงื˜ืŸ-
ืžืขืจื›ื•ืช endian PowerPC, ืžื›ื™ื•ื•ืŸ ืฉื”ื•ืจืื•ืช ืืœื• ืื™ื ืŸ ืคื•ืขืœื•ืช ื›ืืฉืจ ื”ืžืขื‘ื“ ื ืžืฆื
ืžืฆื‘ little-endian. ื”ื—ืจื™ื’ื™ื ื”ื PPC740 ื•-PPC750 ืฉืžืชื™ืจื™ื ื–ืืช
ื”ื•ืจืื•ืช ื‘ืžืฆื‘ little-endian.

-mstring
-mno-ืžื—ืจื•ื–ืช
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ืžื—ืจื•ื–ืช ื”ื˜ืขื™ื ื” ื•ื‘ื—ื ื•ืช
ืžื—ืจื•ื–ืช ื”ื•ืจืื•ืช ืžื™ืœื™ื ืœืฉืžื™ืจืช ืื•ื’ืจื™ื ืžืจื•ื‘ื™ื ื•ืœื‘ืฆืข ืžื”ืœื›ื™ ื‘ืœื•ืง ืงื˜ื ื™ื. ืืœื”
ื”ื•ืจืื•ืช ืžื•ืคืงื•ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ืžืขืจื›ื•ืช POWER, ื•ืœื ืžื•ืคืงื•ืช ื‘-PowerPC
ืžืขืจื›ื•ืช. ืืœ ืชืฉืชืžืฉ -mstring ืขืœ ืžืขืจื›ื•ืช PowerPC ื”ืงื˜ื ื•ืช, ืžืื– ืืœื”
ื”ื”ื•ืจืื•ืช ืื™ื ืŸ ืคื•ืขืœื•ืช ื›ืืฉืจ ื”ืžืขื‘ื“ ื‘ืžืฆื‘ little-endian. ื”ื—ืจื™ื’ื™ื
ื”ื PPC740 ื•-PPC750 ื”ืžืืคืฉืจื™ื ื”ื•ืจืื•ืช ืืœื” ื‘ืžืฆื‘ little-endian.

-ืขื“ื›ื•ืŸ
-mno-ืขื“ื›ื•ืŸ
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ื”ื˜ืขื™ื ื” ืื• ื”ืื—ืกื•ืŸ ืฉืžืขื“ื›ื ื•ืช ืืช
ืื•ื’ืจ ื‘ืกื™ืก ืœื›ืชื•ื‘ืช ืฉืœ ืžื™ืงื•ื ื”ื–ื™ื›ืจื•ืŸ ื”ืžื—ื•ืฉื‘. ื”ื•ืจืื•ืช ืืœื•
ื ื•ืฆืจื™ื ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ืื ืืชื” ืžืฉืชืžืฉ -mno-ืขื“ื›ื•ืŸ, ื™ืฉ ื—ืœื•ืŸ ืงื˜ืŸ ื‘ื™ืŸ ื”
ื”ื–ืžืŸ ืฉื‘ื• ืžืฆื‘ื™ืข ื”ืžื—ืกื ื™ืช ืžืชืขื“ื›ืŸ ื•ื”ื›ืชื•ื‘ืช ืฉืœ ื”ืžืกื’ืจืช ื”ืงื•ื“ืžืช ื”ื™ื
ืžืื•ื—ืกืŸ, ื›ืœื•ืžืจ ืงื•ื“ ืฉืขื•ื‘ืจ ืืช ืžืกื’ืจืช ื”ืžื—ืกื ื™ืช ืขืœ ืคื ื™ ืคืกื™ืงื•ืช ืื• ืื•ืชื•ืช ืขืฉื•ื™
ืœืงื‘ืœ ื ืชื•ื ื™ื ืคื’ื•ืžื™ื.

-mavoid-ืื™ื ื“ืงืก-ื›ืชื•ื‘ื•ืช
-mno-avoid-ืื™ื ื“ืงืก-ื›ืชื•ื‘ื•ืช
ืฆื•ืจ ืงื•ื“ ืฉืžื ืกื” ืœื”ื™ืžื ืข (ืœื ืœื”ื™ืžื ืข) ืžืฉื™ืžื•ืฉ ื‘ืขื•ืžืก ืื• ื‘ื—ื ื•ืช ื‘ืื™ื ื“ืงืก
ื”ื•ืจืื•ืช. ื”ื•ืจืื•ืช ืืœื• ืขืœื•ืœื•ืช ืœื’ืจื•ืจ ืขื•ื ืฉ ื‘ื™ืฆื•ืขื™ื ื‘ืžืขื‘ื“ื™ Power6
ื‘ืžืฆื‘ื™ื ืžืกื•ื™ื™ืžื™ื, ื›ืžื• ืœืžืฉืœ ื›ืืฉืจ ืขื•ื‘ืจื™ื ื“ืจืš ืžืขืจื›ื™ื ื’ื“ื•ืœื™ื ืฉื—ื•ืฆื™ื 16M
ื’ึฐื‘ื•ึผืœ. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ืขืช ืžื™ืงื•ื“ ืœ-Power6 ื•ืžื•ืฉื‘ืชืช
ืื—ืจืช.

-ืžfused-madd
-mno-fused-madd
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืื™ื ื• ืžืฉืชืžืฉ) ื‘ื ืงื•ื“ื” ื”ืฆืคื” ื›ืคื•ืœื” ื•ืฆื‘ื™ืจื”
ื”ื•ืจืื•ืช. ื”ื•ืจืื•ืช ืืœื” ื ื•ืฆืจื•ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืื ื—ื•ืžืจื” ื ืงื•ื“ื” ืฆืคื”
ืžืฉืžืฉ. ื”ืชืœื•ื™ ื‘ืžื›ื•ื ื” -ืžfused-madd ื”ืืคืฉืจื•ืช ืžืžื•ืคื” ื›ืขืช ืœืžื›ื•ื ื”-
ืขืฆืžืื™ -ffp-contract=ืžื”ื™ืจ ืืคืฉืจื•ืช ื• -mno-fused-madd ืžืžื•ืคื” ืœ
-ffp-contract=off.

-ืžืžื•ืœื”ื•ื•
-ืžื ื•-ืžื•ืœื”ื•ื•
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘ื—ืฆื™ ื”ืžื™ืœื” ื›ืคืœ ื•ื›ืคืœ-ืฆื‘ื•ืจ
ื”ื•ืจืื•ืช ืขืœ ืžืขื‘ื“ื™ IBM 405, 440, 464 ื•-476. ื”ื•ืจืื•ืช ืืœื• ื”ืŸ
ื ื•ืฆืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ืขืช ืžื™ืงื•ื“ ืœืžืขื‘ื“ื™ื ืืœื”.

-mdlmzb
-mno-dlmzb
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืœื ืžืฉืชืžืฉ) ื‘-string-search dlmzb ื”ื“ืจื›ื” ืขืœ IBM
ืžืขื‘ื“ื™ 405, 440, 464 ื•-476. ื”ื•ืจืื” ื–ื• ื ื•ืฆืจืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ
ื”ืชืžืงื“ื•ืช ื‘ืžืขื‘ื“ื™ื ื”ืืœื”.

-mno-bit-align
-mbit-align
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช ืื™ื ืŸ (ืขื•ืฉื™ื) ืžืืœืฆื•ืช ืžื‘ื ื™ื ื•ืื™ื’ื•ื“ื™ื
ื”ืžื›ื™ืœื™ื ืฉื“ื•ืช ืกื™ื‘ื™ื•ืช ืฉื™ืฉ ืœื™ื™ืฉื•ืจ ืœืกื•ื’ ื”ื‘ืกื™ืก ืฉืœ ืฉื“ื” ื”ืกื™ื‘ื™ื•ืช.

ืœื“ื•ื’ืžื”, ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืžื‘ื ื” ื”ืžื›ื™ืœ ืจืง 8 ืฉื“ื•ืช ืกื™ื‘ื™ื•ืช "ืœื ื—ืชื•ืžื™ื" ืฉืœ
ืื•ืจืš 1 ืžื™ื•ืฉืจ ืœื’ื‘ื•ืœ ืฉืœ 4 ื‘ืชื™ื ื•ื™ืฉ ืœื• ื’ื•ื“ืœ ืฉืœ 4 ื‘ืชื™ื. ืขืœ ื™ื“ื™ ืฉื™ืžื•ืฉ ื‘
-mno-bit-align, ื”ืžื‘ื ื” ืžื™ื•ืฉืจ ืœื’ื‘ื•ืœ ืฉืœ 1 ื‘ื™ื™ื˜ ื•ื’ื•ื“ืœื• ืฉืœ ื‘ื™ื™ื˜ ืื—ื“.

-mno-strict-align
-mstrict-align
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช ืื™ื ืŸ (ืขื•ืฉื™ื) ืžื ื™ื—ื•ืช ื›ื™ ื–ื™ื›ืจื•ืŸ ืœื ืžื™ื•ืฉืจ
ื”ืคื ื™ื•ืช ืžื˜ื•ืคืœื•ืช ืขืœ ื™ื“ื™ ื”ืžืขืจื›ืช.

-ื ื™ืชืŸ ืœื”ื–ื–ื”
-mno-relocationable
ืฆื•ืจ ืงื•ื“ ืฉืžืืคืฉืจ (ืœื ืžืืคืฉืจ) ื”ืขื‘ืจื” ืฉืœ ืงื•ื‘ืฅ ื”ืคืขืœื” ืกื˜ื˜ื™ ืœ-a
ื›ืชื•ื‘ืช ืฉื•ื ื” ื‘ื–ืžืŸ ืจื™ืฆื”. ืžื˜ืขื™ืŸ ืžืขืจื›ืช PowerPC ืคืฉื•ื˜ ืžืฉื•ื‘ืฅ ืฆืจื™ืš
ื”ืขื‘ืจ ืืช ื›ืœ ื”ืชื•ื›ืŸ ืฉืœ ืžื™ืงื•ืžื™ ".got2" ื•-4 ื‘ืชื™ื ื”ืžืคื•ืจื˜ื™ื ื‘-".fixup"
ืกืขื™ืฃ, ื˜ื‘ืœื” ืฉืœ ื›ืชื•ื‘ื•ืช ืฉืœ 32 ืกื™ื‘ื™ื•ืช ืฉื ื•ืฆืจื” ืขืœ ื™ื“ื™ ืืคืฉืจื•ืช ื–ื•. ื›ื“ื™ ืฉื–ื” ื™ืขื‘ื•ื“, ื”ื›ืœ
ื™ืฉ ืœื‘ืฆืข ืงื•ืžืคื™ืœืฆื™ื” ืขื ืื•ื‘ื™ื™ืงื˜ื™ื ื”ืžืงื•ืฉืจื™ื ื™ื—ื“ -ื ื™ืชืŸ ืœื”ื–ื–ื” or -mrelocatable-lib.
-ื ื™ืชืŸ ืœื”ื–ื–ื” ืงื•ื“ ืžื™ื™ืฉืจ ืืช ื”ืžื—ืกื ื™ืช ืœื’ื‘ื•ืœ ืฉืœ 8 ื‘ืชื™ื.

-mrelocatable-lib
-mno-relocatable-lib
ื›ืžื• -ื ื™ืชืŸ ืœื”ื–ื–ื”, -mrelocatable-lib ื™ื•ืฆืจ ืงื˜ืข ".fixup" ื›ื“ื™ ืœืืคืฉืจ ืกื˜ื˜ื™
ืงื•ื‘ืฆื™ ื”ืคืขืœื” ืฉื™ื•ืขื‘ืจื• ื‘ื–ืžืŸ ืจื™ืฆื”, ืื‘ืœ -mrelocatable-lib ืื™ื ื• ืžืฉืชืžืฉ ื‘-
ื™ื™ืฉื•ืจ ืžื—ืกื ื™ืช ืงื˜ืŸ ื™ื•ืชืจ ืฉืœ -ื ื™ืชืŸ ืœื”ื–ื–ื”. ืื•ื‘ื™ื™ืงื˜ื™ื ื”ื™ื“ื•ืจ ืขื -mrelocatable-lib ืื•ืœื™
ืœื”ื™ื•ืช ืžืงื•ืฉืจ ืขื ืื•ื‘ื™ื™ืงื˜ื™ื ื”ืžื•ืจื›ื‘ื™ื ืขื ื›ืœ ืฉื™ืœื•ื‘ ืฉืœ ื” -ื ื™ืชืŸ ืœื”ื–ื–ื” ืืคืฉืจื•ื™ื•ืช.

-mno-toc
-ืžื˜ื•ืง
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช ืื™ื ืŸ (ืขื•ืฉื™ื) ืžื ื™ื—ื•ืช ืฉื”ืื•ื’ืจ 2 ืžื›ื™ืœ
ืžืฆื‘ื™ืข ืœืื–ื•ืจ ื’ืœื•ื‘ืœื™ ื”ืžืฆื‘ื™ืข ืขืœ ื”ื›ืชื•ื‘ื•ืช ื”ืžืฉืžืฉื•ืช ื‘ืชื•ื›ื ื™ืช.

-ืžืขื˜
-ืžืขื˜-ืื ื“ื™ืืŸ
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช ืงื•ืžืคืœื˜ ืงื•ื“ ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื‘-
ืžืฆื‘ ืื ื“ื™ืืŸ. ื” -ืžืขื˜-ืื ื“ื™ืืŸ ืืคืฉืจื•ืช ื–ื”ื” ืœ -ืžืขื˜.

-ืžื‘ื™ื’
-mbig-endian
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช ืงื•ืžืคืœื˜ ืงื•ื“ ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื‘-
ืžืฆื‘ ืื ื“ื™ืืŸ. ื” -mbig-endian ืืคืฉืจื•ืช ื–ื”ื” ืœ -ืžื‘ื™ื’.

-ืžื“ื™ื ืžื™ืช-ืœืœื-ืชืžื•ื ื”
ื‘ืžืขืจื›ื•ืช Darwin ื•-Mac OS X, ืงื•ืžืคื™ืœื• ืงื•ื“ ื›ืš ืฉืœื ื ื™ืชืŸ ื™ื”ื™ื” ืœื”ืขื‘ื™ืจ ืื•ืชื• ืžื—ื“ืฉ, ืื‘ืœ ื–ื”
ื”ืคื ื™ื•ืช ื”ื—ื™ืฆื•ื ื™ื•ืช ืฉืœื• ื ื™ืชื ื•ืช ืœื”ื–ื–ื”. ื”ืงื•ื“ ื”ืžืชืงื‘ืœ ืžืชืื™ื ืœ
ื™ื™ืฉื•ืžื™ื, ืืš ืœื ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช.

-ื‘ืกื™ืก ืชืžื•ื ื” ืื—ืช
ื”ืชื™ื™ื—ืก ืœืื•ื’ืจ ื”ืžืฉืžืฉ ืขื‘ื•ืจ ื›ืชื•ื‘ืช PIC ื›ืงืจื™ืื” ื‘ืœื‘ื“, ื‘ืžืงื•ื ืœื˜ืขื•ืŸ ืื•ืชื• ื‘-
ืคืจื•ืœื•ื’ ืœื›ืœ ืคื•ื ืงืฆื™ื”. ืžืขืจื›ืช ื–ืžืŸ ื”ืจื™ืฆื” ืื—ืจืื™ืช ืœืืชื—ืœ ื–ืืช
ื”ื™ืจืฉื ืขื ืขืจืš ืžืชืื™ื ืœืคื ื™ ืชื—ื™ืœืช ื”ื‘ื™ืฆื•ืข.

-mprioritize-restricted-insns=ืขื“ื™ืคื•ืช
ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ื‘ืขื“ื™ืคื•ืช ื”ืžื•ืงืฆื” ืœ-dispatch-slot ืžื•ื’ื‘ืœ
ื”ื•ืจืื•ืช ื‘ืžื”ืœืš ืžืขื‘ืจ ื”ืชื–ืžื•ืŸ ื”ืฉื ื™. ื”ื˜ื™ืขื•ืŸ ืขื“ื™ืคื•ืช ืœื•ืงื— ืืช ื”ืขืจืš
0, 1, ืื• 2 ืœื”ืงืฆื•ืช ืขื“ื™ืคื•ืช ืœื, ื”ื’ื‘ื•ื”ื” ื‘ื™ื•ืชืจ ืื• ื”ืฉื ื™ื™ื” ื”ื’ื‘ื•ื”ื” ื‘ื™ื•ืชืจ (ื‘ื”ืชืืžื”).
ื”ื•ืจืื•ืช ืžื•ื’ื‘ืœื•ืช ืœืžืฉื‘ืฆืช.

-msched-costly-dep=ืกื•ื’_ืชืœื•ืช
ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ืื™ืœื• ืชืœื•ืช ื ื—ืฉื‘ื•ืช ื™ืงืจื•ืช ืขืœ ื™ื“ื™ ื”ื™ืขื“ ื‘ืžื”ืœืš
ืชื–ืžื•ืŸ ื”ื•ืจืื•ืช. ื”ื˜ื™ืขื•ืŸ ืกื•ื’_ืชืœื•ืช ืœื•ืงื— ืื—ื“ ืžื”ื“ื‘ืจื™ื ื”ื‘ืื™ื
ืขืจื›ื™ื:

ืœื ืฉื•ื ืชืœื•ืช ืœื ืขื•ืœื” ื‘ื™ื•ืงืจ.

ืืช ื›ืœ ื›ืœ ื”ืชืœื•ืช ืขื•ืœื” ื‘ื™ื•ืงืจ.

true_store_to_load
ืชืœื•ืช ืืžื™ืชื™ืช ืžื—ื ื•ืช ืœืขื•ืžืก ื”ื™ื ื™ืงืจื”.

store_to_load
ื›ืœ ืชืœื•ืช ืžื—ื ื•ืช ืœืขื•ืžืก ื”ื™ื ื™ืงืจื”.

ืžืกืคืจ
ื›ืœ ืชืœื•ืช ืฉืขื‘ื•ืจื” ื”ื”ืฉื”ื™ื” ื’ื“ื•ืœื” ืื• ืฉื•ื•ื” ืœื” ืžืกืคืจ ื”ื•ื ื™ืงืจ.

-minsert-sched-nops=ืชื›ื ื™ืช
ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ื‘ืื™ื–ื• ืกื›ื™ืžืช ื”ื›ื ืกืช NOP ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืžื”ืœืš ื”ืชื–ืžื•ืŸ ื”ืฉื ื™
ืœึทืขึฒื‘ื•ึนืจ. ื”ื˜ื™ืขื•ืŸ ืชื›ื ื™ืช ืœื•ืงื— ืื—ื“ ืžื”ืขืจื›ื™ื ื”ื‘ืื™ื:

ืœื ืืœ ืชื›ื ื™ืก NOPs.

ื ืชื™ื‘ ืจืคื“ ืขื NOPs ืœื›ืœ ืงื‘ื•ืฆืช ืฉื™ื’ื•ืจ ืฉื™ืฉ ืœื” ืžืฉื‘ืฆื•ืช ื ื•ืฉื ืคื ื•ื™ื•ืช, ืขืœ ืคื™
ื”ืงื™ื‘ื•ืฅ ืฉืœ ื”ืžืชื–ืžืŸ.

regroup_exact
ื”ื›ื ืก NOPs ื›ื“ื™ ืœืืœืฅ insns ืชืœื•ื™ื™ื ื™ืงืจื™ื ืœืงื‘ื•ืฆื•ืช ื ืคืจื“ื•ืช. ื”ื›ื ืก ื‘ื“ื™ื•ืง
ืžืกืคืจ NOPs ืฉื ื“ืจืฉ ื›ื“ื™ ืœืืœืฅ insn ืœืงื‘ื•ืฆื” ื—ื“ืฉื”, ืขืœ ืคื™ ื”ื”ืขืจื›ื”
ืงื™ื‘ื•ืฅ ืžืขื‘ื“ื™ื.

ืžืกืคืจ
ื”ื›ื ืก NOPs ื›ื“ื™ ืœืืœืฅ insns ืชืœื•ื™ื™ื ื™ืงืจื™ื ืœืงื‘ื•ืฆื•ืช ื ืคืจื“ื•ืช. ืœึฐื”ึทื›ื ึดื™ืก ืžืกืคืจ
NOPs ืœืืœืฅ insn ืœืงื‘ื•ืฆื” ื—ื“ืฉื”.

-mcall-sysv
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ืงื•ืžืคืœื˜ ืงื•ื“ ื‘ืืžืฆืขื•ืช ืžื•ืกื›ืžื•ืช ืงื•ืจื ื–ื”
ืœื“ื‘ื•ืง ื‘ื˜ื™ื•ื˜ื” ืฉืœ โ€‹โ€‹ืžืจืฅ 1995 ืฉืœ System V Application Binary Interface, PowerPC
ืชื•ืกืคืช ืžืขื‘ื“. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืืœื ืื ื”ื’ื“ืจืช ืืช GCC ื‘ืืžืฆืขื•ืช
powerpc-*-eabiaix.

-mcall-sysv-eabi
-mcall-eabi
ืฆื™ื™ืŸ ืืช ืฉื ื™ื”ื -mcall-sysv ื• -ืžืื‘ื™ ืืคืฉืจื•ื™ื•ืช.

-mcall-sysv-noeabi
ืฆื™ื™ืŸ ืืช ืฉื ื™ื”ื -mcall-sysv ื• -ืžื ื•-ืื™ื‘ื™ ืืคืฉืจื•ื™ื•ืช.

-mcall-aixdesc
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ืงื•ืžืคืœื˜ื• ืงื•ื“ ืขื‘ื•ืจ ืžืขืจื›ืช ื”ื”ืคืขืœื” AIX.

-mcall-linux
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžื•ื˜ืžืขื•ืช, ืงื•ืžืคืœื˜ื• ืงื•ื“ ืขื‘ื•ืจ GNU ืžื‘ื•ืกืก ืœื™ื ื•ืงืก
ืžืขืจื›ืช.

-mcall-freebsd
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ืงื•ืžืคืœื˜ื• ืงื•ื“ ืขื‘ื•ืจ ืคืขื•ืœืช FreeBSD
ืžืขืจื›ืช.

-mcall-netbsd
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ืงื•ืžืคืœื˜ื• ืงื•ื“ ืขื‘ื•ืจ ืคืขื•ืœืช NetBSD
ืžืขืจื›ืช.

-mcall-openbsd
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ืงื•ืžืคืœื˜ื• ืงื•ื“ ืขื‘ื•ืจ ืคืขื•ืœืช OpenBSD
ืžืขืจื›ืช.

-maix-struct-return
ื”ื—ื–ืจ ืืช ื›ืœ ื”ืžื‘ื ื™ื ื‘ื–ื™ื›ืจื•ืŸ (ื›ืคื™ ืฉืฆื•ื™ืŸ ืขืœ ื™ื“ื™ AIX ABI).

-msvr4-struct-return
ื”ื—ื–ืจ ืžื‘ื ื™ื ืงื˜ื ื™ื ืž-8 ื‘ืชื™ื ื‘ืื•ื’ืจื™ื (ื›ืคื™ ืฉืฆื•ื™ืŸ ืขืœ ื™ื“ื™ SVR4 ABI).

-ืžืื‘ื™=ื˜ื™ืคื•ืก ืื‘ื™
ื”ืจื—ื‘ ืืช ื”-ABI ื”ื ื•ื›ื—ื™ ืขื ื”ืจื—ื‘ื” ืžืกื•ื™ืžืช, ืื• ื”ืกืจ ื”ืจื—ื‘ื” ื›ื–ื•. ืชึธืงึตืฃ
ื”ืขืจื›ื™ื ื”ื altivec, no-altivec, ืกืคืฆื™ืคื™, ืœื-ืกืค, ibmlongdouble, ieeelongdouble, elfv1,
elfv2.

-ืžืื‘ื™=ืกืค
ื”ืจื—ื‘ ืืช ื”-ABI ื”ื ื•ื›ื—ื™ ืขื ื”ืจื—ื‘ื•ืช SPE ABI. ื–ื” ืœื ืžืฉื ื” ืืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ABI,
ื‘ืžืงื•ื ื–ืืช ื”ื•ื ืžื•ืกื™ืฃ ืืช ื”ืจื—ื‘ื•ืช SPE ABI ืœ-ABI ื”ื ื•ื›ื—ื™.

-ืžืื‘ื™=ืœื-ืกืค
ื”ืฉื‘ืช ืืช ื”ืจื—ื‘ื•ืช ABI ืฉืœ Book-E SPE ืขื‘ื•ืจ ื”-ABI ื”ื ื•ื›ื—ื™.

-mabi=ibmlongdouble
ืฉื ื” ืืช ื”-ABI ื”ื ื•ื›ื—ื™ ืœืฉื™ืžื•ืฉ ื‘-IBM ืขื ื“ื™ื•ืง ืืจื•ืš ื›ืคื•ืœ ืžื•ืจื—ื‘. ื–ื” PowerPC
ืืคืฉืจื•ืช SYSV ABI ืฉืœ 32 ืกื™ื‘ื™ื•ืช.

-mabi=ieeelongdouble
ืฉื ื” ืืช ื”-ABI ื”ื ื•ื›ื—ื™ ืœืฉื™ืžื•ืฉ ื‘-IEEE ื“ื™ื•ืง ืืจื•ืš ื›ืคื•ืœ ืžื•ืจื—ื‘. ื–ื” PowerPC
ืืคืฉืจื•ืช 32-bit Linux ABI.

-mabi=elfv1
ืฉื ื” ืืช ื”-ABI ื”ื ื•ื›ื—ื™ ืœืฉื™ืžื•ืฉ ื‘-ELFv1 ABI. ื–ื”ื• ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ABI ืขื‘ื•ืจ big-endian
PowerPC 64 ืกื™ื‘ื™ื•ืช ืœื™ื ื•ืงืก. ืœืขืงื•ืฃ ืืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ABI ื ื“ืจืฉืช ืชืžื™ื›ืช ืžืขืจื›ืช ืžื™ื•ื—ื“ืช ื•
ืฆืคื•ื™ ืœื”ื™ื›ืฉืœ ื‘ื“ืจื›ื™ื ืžืจื”ื™ื‘ื•ืช.

-mabi=elfv2
ืฉื ื” ืืช ื”-ABI ื”ื ื•ื›ื—ื™ ืœืฉื™ืžื•ืฉ ื‘-ELFv2 ABI. ื–ื”ื• ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ABI ืขื‘ื•ืจ ืžืขื˜-
endian PowerPC 64 ืกื™ื‘ื™ื•ืช ืœื™ื ื•ืงืก. ืœืขืงื•ืฃ ืืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ABI ื ื“ืจืฉืช ืžืขืจื›ืช ืžื™ื•ื—ื“ืช
ืชืžื™ื›ื” ื•ืกื‘ื™ืจ ืœื”ื ื™ื— ืฉื™ื›ืฉืœ ื‘ื“ืจื›ื™ื ืžืจื”ื™ื‘ื•ืช.

-ืืคืจื•ื˜ื•ื˜ื™ื™ืค
-mno-ืื‘ ื˜ื™ืคื•ืก
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช ืžื ื™ื—ื•ืช ืฉื›ืœ ื”ืงืจื™ืื•ืช ืœืืจื’ื•ืžื ื˜ ืžืฉืชื ื”
ืคื•ื ืงืฆื™ื•ืช ื”ืŸ ืื‘ ื˜ื™ืคื•ืก ื›ืจืื•ื™. ืื—ืจืช, ื”ืžื”ื“ืจ ื—ื™ื™ื‘ ืœื”ื•ืกื™ืฃ ื”ื•ืจืื”
ืœืคื ื™ ื›ืœ ืงืจื™ืื” ืœืœื ืื‘ ื˜ื™ืคื•ืก ืœื”ื’ื“ื™ืจ ืื• ืœื ืงื•ืช ืกื™ื‘ื™ื•ืช 6 ืฉืœ ืื•ื’ืจ ืงื•ื“ ื”ืชื ืื™ื
(CR) ื›ื“ื™ ืœืฆื™ื™ืŸ ืื ืขืจื›ื™ ื ืงื•ื“ื” ืฆืคื” ืžื•ืขื‘ืจื™ื ื‘ื ืงื•ื“ื” ื”ืฆืคื”
ืจื•ืฉื ื‘ืžืงืจื” ืฉื”ืคื•ื ืงืฆื™ื” ืœื•ืงื—ืช ืืจื’ื•ืžื ื˜ื™ื ืžืฉืชื ื™ื. ืขื -ืืคืจื•ื˜ื•ื˜ื™ื™ืค, ืจืง ืฉื™ื—ื•ืช
ืœืคื•ื ืงืฆื™ื•ืช ืืจื’ื•ืžื ื˜ ืžืฉืชื ื” ืฉืœ ืื‘ ื˜ื™ืคื•ืก ืœื”ื’ื“ื™ืจ ืื• ืœื ืงื•ืช ืืช ื”ื‘ื™ื˜.

-ืžืกื™ื
ื‘ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ื ื ื™ื— ืฉืžื•ื“ื•ืœ ื”ืืชื—ื•ืœ ื ืงืจื sim-crt0.o ื•
ืฉืกืคืจื™ื•ืช C ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ื”ืŸ ืœื™ื‘ืกื™ื.ื ื• libc.a. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ
powerpc-*-eabisim ืชืฆื•ืจื•ืช.

-ืžืžืžืžื”
ื‘ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ื ื ื™ื— ืฉืžื•ื“ื•ืœ ื”ืืชื—ื•ืœ ื ืงืจื crt0.o ื•
ืกืคืจื™ื•ืช C ืกื˜ื ื“ืจื˜ื™ื•ืช ื”ืŸ libmvme.a ื• libc.a.

-ืžืฉื•ื’ืขื™ื
ื‘ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ื ื ื™ื— ืฉืžื•ื“ื•ืœ ื”ืืชื—ื•ืœ ื ืงืจื crt0.o ื•
ืกืคืจื™ื•ืช C ืกื˜ื ื“ืจื˜ื™ื•ืช ื”ืŸ ืœื™ื‘ื“ืก.ื ื• libc.a.

-myellowknife
ื‘ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ื ื ื™ื— ืฉืžื•ื“ื•ืœ ื”ืืชื—ื•ืœ ื ืงืจื crt0.o ื•
ืกืคืจื™ื•ืช C ืกื˜ื ื“ืจื˜ื™ื•ืช ื”ืŸ libyk.a ื• libc.a.

-mvxworks
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ืฆื™ื™ืŸ ืฉืืชื” ืžื‘ืฆืข ืงื•ืžืคื™ืœืฆื™ื” ืขื‘ื•ืจ ื
ืžืขืจื›ืช VxWorks.

-ื—ื‘ืจ
ื‘ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ื”ื’ื“ืจ ืืช PPC_EMB ืงืฆืช ื‘ื›ื•ืชืจืช ื“ื’ืœื™ ELF ื›ื“ื™ ืœืฆื™ื™ืŸ
ื–ึถื” eabi ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืจื™ืœื•ืงื™ื™ืฉืŸ ืžืžื•ืฉืš.

-ืžืื‘ื™
-ืžื ื•-ืื™ื‘ื™
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช (ืื™ื ืŸ) ื ืฆืžื“ื•ืช ืœ-Embedded
ืžืžืฉืง ื‘ื™ื ืืจื™ ื™ื™ืฉื•ืžื™ื (EABI), ืฉื”ื•ื ืื•ืกืฃ ืฉืœ ืฉื™ื ื•ื™ื™ื ื‘ืžืขืจื›ืช
ืžืคืจื˜ V.4. ื‘ื—ื™ืจื” -ืžืื‘ื™ ืคื™ืจื•ืฉื• ืฉื”ืžื—ืกื ื™ืช ืžื™ื•ืฉืจืช ืœ-8 ื‘ืชื™ื
ื’ื‘ื•ืœ, ืคื•ื ืงืฆื™ื” "__eabi" ื ืงืจืืช ืž-"main" ื›ื“ื™ ืœื”ื’ื“ื™ืจ ืืช ืกื‘ื™ื‘ืช EABI,
ื• -msdata ืืคืฉืจื•ืช ื™ื›ื•ืœื” ืœื”ืฉืชืžืฉ ื’ื ื‘-"r2" ื•ื’ื "r13" ื›ื“ื™ ืœื”ืฆื‘ื™ืข ืขืœ ืฉื ื™ ื ืชื•ื ื™ื ืงื˜ื ื™ื ื ืคืจื“ื™ื
ืื–ื•ืจื™ื. ื‘ื—ื™ืจื” -ืžื ื•-ืื™ื‘ื™ ืคื™ืจื•ืฉื• ืฉื”ืžื—ืกื ื™ืช ืžื™ื•ืฉืจืช ืœื’ื‘ื•ืœ ืฉืœ 16 ื‘ืชื™ื, ืœื
ืคื•ื ืงืฆื™ื™ืช ื”ืืชื—ื•ืœ EABI ื ืงืจืืช ืž-"main", ื•ื”- -msdata ืืคืฉืจื•ืช ืžืฉืชืžืฉืช ื‘ืœื‘ื“
"r13" ื›ื“ื™ ืœื”ืฆื‘ื™ืข ืขืœ ืื–ื•ืจ ื ืชื•ื ื™ื ืงื˜ืŸ ื™ื—ื™ื“. ื” -ืžืื‘ื™ ื”ืืคืฉืจื•ืช ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืื ืืชื”
ื”ื’ื“ื™ืจ ืืช GCC ื‘ืืžืฆืขื•ืช ืื—ื“ ืžื”- powerpc*-*-eabi* ืืคืฉืจื•ื™ื•ืช.

-msdata=eabi
ืขืœ ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ืฉื™ื ืืช "ืงื•ื ืกื˜" ื’ืœื•ื‘ืœื™ื•ืช ืงื˜ืŸ ืžืื•ืชื—ืœ ื•
ื ืชื•ื ื™ื ืกื˜ื˜ื™ื™ื ื‘- .sdata2 ืกืขื™ืฃ, ืฉืืœื™ื• ืžืฆื‘ื™ืข ื”ืจืฉื•ื "r2". ืœืฉื™ื ืงื˜ืŸ
ื ืชื•ื ื™ื ื’ืœื•ื‘ืœื™ื™ื ื•ืกื˜ื˜ื™ื™ื ืžืืชื—ืœื™ื ืฉืื™ื ื "ืงื•ื ืกื˜ื˜ื™ื" ื‘- .sdata ืกืขื™ืฃ, ืฉื”ื•ื ืžื—ื•ื“ื“
ืขืœ ื™ื“ื™ ื”ืจืฉืžื” "r13". ืฉื™ื ื ืชื•ื ื™ื ื’ืœื•ื‘ืœื™ื™ื ื•ืกื˜ื˜ื™ื™ื ืงื˜ื ื™ื ืœื ืžืื•ืชื—ืœื™ื ื‘- .sbss
ืงื˜ืข, ืืฉืจ ืฆืžื•ื“ ืœ .sdata ืกึธืขึดื™ืฃ. ื” -msdata=eabi ื”ืืคืฉืจื•ืช ื”ื™ื
ืœื ืชื•ืื ืืช -ื ื™ืชืŸ ืœื”ื–ื–ื” ืื•ึนืคึผึฐืฆึดื™ึธื”. ื” -msdata=eabi ืืคืฉืจื•ืช ืžื’ื“ื™ืจ ื’ื ืืช
-ื—ื‘ืจ ืื•ึนืคึผึฐืฆึดื™ึธื”.

-msdata=sysv
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ื”ื›ื ืก ื ืชื•ื ื™ื ื’ืœื•ื‘ืœื™ื™ื ื•ืกื˜ื˜ื™ื™ื ืงื˜ื ื™ื ื‘-
.sdata ืกืขื™ืฃ, ืฉืืœื™ื• ืžืฆื‘ื™ืข ื”ืจืฉื•ื "r13". ืฉื™ื ืขื•ืœืžื™ ืงื˜ืŸ ืœื ืžืื•ืชื—ืœ
ื•ื ืชื•ื ื™ื ืกื˜ื˜ื™ื™ื ื‘- .sbss ืงื˜ืข, ืืฉืจ ืฆืžื•ื“ ืœ .sdata ืกึธืขึดื™ืฃ. ื”
-msdata=sysv ื”ืืคืฉืจื•ืช ืื™ื ื” ืชื•ืืžืช ืืช -ื ื™ืชืŸ ืœื”ื–ื–ื” ืื•ึนืคึผึฐืฆึดื™ึธื”.

-msdata = ื‘ืจื™ืจืช ืžื—ื“ืœ
-msdata
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ืื -ืžืื‘ื™ ื ืขืฉื” ืฉื™ืžื•ืฉ, ืงื•ื“ ืงื•ืžืคื™ืœืฆื™ื” ื–ื”ื”
as -msdata=eabi, ืื—ืจืช ื”ื™ื“ื•ืจ ืงื•ื“ ื–ื”ื” ืœ -msdata=sysv.

-msdata=ื ืชื•ื ื™ื
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ื”ื›ื ืก ื ืชื•ื ื™ื ื’ืœื•ื‘ืœื™ื™ื ืงื˜ื ื™ื ื‘- .sdata
ืกึธืขึดื™ืฃ. ืฉื™ื ื ืชื•ื ื™ื ื’ืœื•ื‘ืœื™ื™ื ืงื˜ื ื™ื ืœื ืžืื•ืชื—ืœื™ื ื‘- .sbss ืกึธืขึดื™ืฃ. ืืœ ืชืฉืชืžืฉ
ืขื ื–ืืช, ืจืฉื•ื "r13" ื›ื“ื™ ืœื˜ืคืœ ื‘ื ืชื•ื ื™ื ืงื˜ื ื™ื. ื–ื•ื”ื™ ื”ืชื ื”ื’ื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืืœื ืื ื›ืŸ
ืึทื—ึตืจ -msdata ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ื™ื•ืช.

-msdata=ืื™ืŸ
-mno-sdata
ื‘ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ืฉื™ื ืืช ื›ืœ ื”ื ืชื•ื ื™ื ื”ื’ืœื•ื‘ืืœื™ื™ื ื•ื”ืกื˜ื˜ื™ื™ื ื”ืžืืชื—ืœื™ื ื‘- ื ืชื•ื ื™ื
ืกืขื™ืฃ, ื•ื›ืœ ื”ื ืชื•ื ื™ื ื”ืœื ืžืื•ืชื—ืœื™ื ื‘- .bss ืกึธืขึดื™ืฃ.

-mblock-move-inline-limit=NUM
ื›ืœ ืžื”ืœื›ื™ ื”ื‘ืœื•ืง (ื›ื’ื•ืŸ ืงืจื™ืื•ืช ืœ-"memcpy" ืื• ืขื•ืชืงื™ ืžื‘ื ื”) ืžื•ื˜ื‘ืขื™ื ืคื—ื•ืช ืž- ืื•
ืฉื•ื•ื” ืœ NUM ื‘ืชื™ื. ื”ืขืจืš ื”ืžื™ื ื™ืžืœื™ ืขื‘ื•ืจ NUM ื”ื•ื 32 ื‘ืชื™ื ืขืœ ื™ืขื“ื™ื ืฉืœ 32 ืกื™ื‘ื™ื•ืช ื•-64
ื‘ืชื™ื ืขืœ ื™ืขื“ื™ื ืฉืœ 64 ืกื™ื‘ื™ื•ืช. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื ื™ืขื“ ืกืคืฆื™ืคื™.

-G NUM
ื‘ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช, ืฉื™ื ืคืจื™ื˜ื™ื ื’ืœื•ื‘ืœื™ื™ื ื•ืกื˜ื˜ื™ื™ื ืคื—ื•ืช ืื• ืฉื•ื•ื” ืœ NUM
ื‘ืชื™ื ืœืชื•ืš ืงื˜ืขื™ ื”ื ืชื•ื ื™ื ื”ืงื˜ื ื™ื ืื• BSS ื‘ืžืงื•ื ืœืงื˜ืข ื”ื ืชื•ื ื™ื ื”ืจื’ื™ืœ ืื• BSS.
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, NUM ื”ื•ื ื‘ืŸ 8. ื” -G NUM ืžืชื’ ืžื•ืขื‘ืจ ื’ื ืœืžืงืฉืจ. ื›ืœ ื”ืžื•ื“ื•ืœื™ื
ืฆืจื™ืš ืœื”ื™ื•ืช ืžื•ืจื›ื‘ ืขื ืื•ืชื• ื”ื“ื‘ืจ -G NUM ืขืจืš.

-ืžืจื’ืฉืžื•ืช
-mno-regnames
ื‘ืžืขืจื›ืช V.4 ื•ืžืขืจื›ื•ืช PowerPC ืžืฉื•ื‘ืฆื•ืช (ืœื) ืคื•ืœื˜ื•ืช ืฉืžื•ืช ืจื™ืฉื•ื ื‘-
ืคืœื˜ ืฉืคืช assembly ื‘ืืžืฆืขื•ืช ืฆื•ืจื•ืช ืกืžืœื™ื•ืช.

-mlongcall
-mno-longcall
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื ื ื™ื— ืฉื›ืœ ื”ืฉื™ื—ื•ืช ืจื—ื•ืงื•ืช ื›ืš ืฉื™ื•ืชืจ ื•ื™ืงืจ ื™ื•ืชืจ
ื ื“ืจืฉ ืจืฆืฃ ืฉื™ื—ื•ืช. ื–ื” ื ื“ืจืฉ ืขื‘ื•ืจ ืฉื™ื—ื•ืช ืจื—ื•ืงื•ืช ืž-32 ืžื’ื” ื‘ื™ื™ื˜
(33,554,432 ื‘ืชื™ื) ืžื”ืžื™ืงื•ื ื”ื ื•ื›ื—ื™. ื ื•ืฆืจืช ืฉื™ื—ื” ืงืฆืจื” ืื
ื”ืžื”ื“ืจ ื™ื•ื“ืข ืฉื”ืฉื™ื—ื” ืœื ื™ื›ื•ืœื” ืœื”ื™ื•ืช ื›ืœ ื›ืš ืจื—ื•ืงื”. ื ื™ืชืŸ ืœืขืงื•ืฃ ื”ื’ื“ืจื” ื–ื• ืขืœ ื™ื“ื™
ืชื›ื•ื ืช ื”ืคื•ื ืงืฆื™ื” "shortcall", ืื• ืœืคื™ "#pragma ืฉื™ื—ื” ืืจื•ื›ื”(0) ".

ื—ืœืง ืžื”ืžืงืฉืจื™ื ืžืกื•ื’ืœื™ื ืœื–ื”ื•ืช ืฉื™ื—ื•ืช ืžื—ื•ืฅ ืœื˜ื•ื•ื— ื•ืœื”ืคื™ืง ืงื•ื“ ื“ื‘ืง
ื”ื–ื‘ื•ื‘. ื‘ืžืขืจื›ื•ืช ืืœื• ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช ืžื™ื•ืชืจื•ืช ื•ืžื™ื™ืฆืจื•ืช ืงื•ื“ ืื™ื˜ื™ ื™ื•ืชืจ. ื›ืคื™ ืฉ
ืœืคื™ ื›ืชื™ื‘ืช ืฉื•ืจื•ืช ืืœื”, ืžืงืฉืจ AIX ื™ื›ื•ืœ ืœืขืฉื•ืช ื–ืืช, ื•ื›ืš ื’ื ืžืงืฉืจ GNU ืขื‘ื•ืจ PowerPC/64. ื–ื”
ืžืชื•ื›ื ืŸ ืœื”ื•ืกื™ืฃ ืชื›ื•ื ื” ื–ื• ืœืžืงืฉืจ ืฉืœ GNU ื’ื ืขื‘ื•ืจ ืžืขืจื›ื•ืช PowerPC ืฉืœ 32 ืกื™ื‘ื™ื•ืช.

ื‘ืžืขืจื›ื•ืช Darwin/PPC, "#pragma longcall" ืžื™ื™ืฆืจ "jbsr callee, L42", ืคืœื•ืก ืกื ื™ืฃ
ืื™ (ืงื•ื“ ื“ื‘ืง). ืฉืชื™ ื›ืชื•ื‘ื•ืช ื”ื™ืขื“ ืžื™ื™ืฆื’ื•ืช ืืช ื”ืžื•ืงื“ืŸ ื•ืืช ื”ืกื ื™ืฃ
ืึดื™. ื”ืžืงืฉืจ ืฉืœ Darwin/PPC ืžืขื“ื™ืฃ ืืช ื”ื›ืชื•ื‘ืช ื”ืจืืฉื•ื ื” ื•ื™ื•ืฆืจ "bl callee"
ืื ื”ื•ืจืืช ื”-PPC "bl" ืžื’ื™ืขื” ื™ืฉื™ืจื•ืช ืœืžื•ืงื“ืŸ; ืื—ืจืช, ื”ืžืงืฉืจ
ื™ื•ืฆืจ "bl L42" ื›ื“ื™ ืœืงืจื•ื ืœืื™ ื”ืกื ื™ืฃ. ื”ืื™ ื”ืกื ื™ืฃ ืžืฆื•ืจืฃ ืœ-
ื’ื•ืฃ ื”ืคื•ื ืงืฆื™ื” ื”ืžืชืงืฉืจืช; ื”ื•ื ืžื—ืฉื‘ ืืช ื”ื›ืชื•ื‘ืช ื”ืžืœืื” ืฉืœ 32 ืกื™ื‘ื™ื•ืช ืฉืœ ื”ื ืžืขืŸ ื•
ืงื•ืคืฅ ืืœื™ื•.

ื‘ืžืขืจื›ื•ืช Mach-O (Darwin), ืืคืฉืจื•ืช ื–ื• ืžื›ื•ื•ื ืช ืืช ืคืœื™ื˜ืช ื”ืžื”ื“ืจ ืœื“ื‘ืง ืขื‘ื•ืจ
ื›ืœ ืฉื™ื—ื” ื™ืฉื™ืจื”, ื•ื”ืžืงืฉืจ ืฉืœ ื“ืืจื•ื•ื™ืŸ ืžื—ืœื™ื˜ ืื ืœื”ืฉืชืžืฉ ื‘ื” ืื• ืœื”ืฉืœื™ืš ืื•ืชื”.

ื‘ืขืชื™ื“, GCC ืขืฉื•ื™ ืœื”ืชืขืœื ืžื›ืœ ืžืคืจื˜ื™ ื”-longcall ื›ืืฉืจ ื”ืžืงืฉืจ ื™ื“ื•ืข
ืœื™ืฆื•ืจ ื“ื‘ืง.

-mtls-markers
-mno-tls-markers
ืกืžืŸ (ืืœ ืชืกืžืŸ) ืงืจื™ืื•ืช ืœ-"__tls_get_addr" ืขื ืจื™ืœื•ืงื™ื™ืฉืŸ ื”ืžืฆื™ื™ืŸ ืืช ื”ืคื•ื ืงืฆื™ื”
ื˜ึทืขึฒื ึธื”. ื”ื”ืขื‘ืจื” ืžืืคืฉืจืช ืœืžืงืฉืจ ืœืฉื™ื™ืš ื‘ืื•ืคืŸ ืžื”ื™ืžืŸ ืืช ืงืจื™ืืช ื”ืคื•ื ืงืฆื™ื”
ื”ื•ืจืื•ืช ื”ื’ื“ืจืช ืืจื’ื•ืžื ื˜ื™ื ืขื‘ื•ืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ TLS, ืืฉืจ ื‘ืชื•ืจื” ืžืืคืฉืจืช ืœ-GCC ืœื”ืฉืชืคืจ
ืœืชื–ืžืŸ ืืช ื”ืจืฆืฃ.

-phthread
ืžื•ืกื™ืฃ ืชืžื™ื›ื” ื‘ืจื™ื‘ื•ื™ ื”ืฉื—ืœื•ืช ืขื ื—ื•ื˜ื™ื ืกึดืคึฐืจึดื™ึธื”. ืืคืฉืจื•ืช ื–ื• ืžื’ื“ื™ืจื” ื“ื’ืœื™ื ืขื‘ื•ืจ
ื’ื ื”ืคืจื”ืžืขื‘ื“ ื•ื’ื ื”ืžืงืฉืจ.

-mrecip
-mno-recip
ืืคืฉืจื•ืช ื–ื• ืžืืคืฉืจืช ืฉื™ืžื•ืฉ ื‘ืื•ืžื“ืŸ ื”ื”ื“ื“ื™ื•ืช ื•ื‘ืื•ืžื“ืŸ ืฉื•ืจืฉ ืจื™ื‘ื•ืขื™ ื”ื“ื“ื™
ื”ื•ืจืื•ืช ืขื ืฉืœื‘ื™ื ื ื•ืกืคื™ื ืฉืœ ื ื™ื•ื˜ื•ืŸ-ืจืืคืกื•ืŸ ืœื”ื’ื‘ืจืช ื”ื“ื™ื•ืง ื‘ืžืงื•ื
ื‘ื™ืฆื•ืข ื—ืœื•ืงื” ืื• ืฉื•ืจืฉ ืจื™ื‘ื•ืขื™ ื•ื—ืœื•ืงื” ืขื‘ื•ืจ ืืจื’ื•ืžื ื˜ื™ื ืฉืœ ื ืงื•ื“ื” ืฆืคื”. ืืชื” ืฆืจื™ืš ืœื”ืฉืชืžืฉ
ืžื” ื”ื™ื -ืžื”ื™ืจ-ืžืชืžื˜ื™ืงื” ืืคืฉืจื•ืช ื‘ืขืช ื”ืฉื™ืžื•ืฉ -mrecip (ืื• ืœืคื—ื•ืช -ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math,
-ืกื•ืคื™ืช-ืžืชืžื˜ื™ืงื”-ื‘ืœื‘ื“, -ืชื“ืžื™ืชื™-ืžืชืžื˜ื™ืงื” ื• -fno-ืžืœื›ื•ื“ืช-ืžืชืžื˜ื™ืงื”). ืฉื™ืžื• ืœื‘ ืฉื‘ืขื•ื“ ื”
ื”ืชืคื•ืงื” ืฉืœ ื”ืจืฆืฃ ื”ื™ื ื‘ื“ืจืš ื›ืœืœ ื’ื‘ื•ื”ื” ื™ื•ืชืจ ืžื”ืชืคื•ืงื” ืฉืœ ื”ืœื-
ื”ื•ืจืื” ื”ื“ื“ื™ืช, ื ื™ืชืŸ ืœื”ืคื—ื™ืช ืืช ื“ื™ื•ืง ื”ืจืฆืฃ ื‘ืขื“ 2 ulp
(ื›ืœื•ืžืจ ื”ื”ื™ืคื•ืš ืฉืœ 1.0 ืฉื•ื•ื” ืœ-0.99999994) ืขื‘ื•ืจ ืฉื•ืจืฉื™ื ืจื™ื‘ื•ืขื™ื™ื ื”ื“ื“ื™ื™ื.

-mrecip=ืœึดื‘ื—ื•ึนืจ
ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ื‘ืื™ืœื• ื”ื•ืจืื•ืช ืื•ืžื“ืŸ ื”ื“ื“ื™ ื ื™ืชืŸ ืœื”ืฉืชืžืฉ. ืœึดื‘ื—ื•ึนืจ ื”ื•ื
ืจืฉื™ืžื” ืžื•ืคืจื“ืช ื‘ืคืกื™ืงื™ื ืฉืœ ืืคืฉืจื•ื™ื•ืช, ืืฉืจ ืขืฉื•ื™ื” ืœื”ื™ื•ืช ืงื•ื“ืžืช ืœื”ืŸ "!" ื›ื“ื™ ืœื”ืคื•ืš ืืช ื”ืืคืฉืจื•ืช:
"ื”ื›ืœ": ืืคืฉืจ ืืช ื›ืœ ื”ื•ืจืื•ืช ื”ืื•ืžื“ืŸ, "ื‘ืจื™ืจืช ืžื—ื“ืœ": ืืคืฉืจ ืืช ื”ื•ืจืื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ,
ืฉื•ื•ื” ืขืจืš ืœ -mrecip, "ืœืœื": ื”ืฉื‘ืช ืืช ื›ืœ ื”ื•ืจืื•ืช ื”ืื•ืžื“ืŸ, ืฉื•ื•ื” ืขืจืš ืœ
-mno-recip; "div": ืืคืฉืจ ืืช ื”ื•ืจืื•ืช ื”ืงื™ืจื•ื‘ ื”ื”ื“ื“ื™ื•ืช ืขื‘ื•ืจ ืฉื ื™ ื™ื—ื™ื“ื™ื
ื•ื“ื™ื•ืง ื›ืคื•ืœ; "divf": ืืคืฉืจ ืืช ื”ืงื™ืจื•ื‘ ื”ื”ื“ื“ื™ ื‘ืขืœ ื“ื™ื•ืง ื™ื—ื™ื“
ื”ื•ืจืื•ืช; "divd": ืืคืฉืจ ืืช ื”ืงื™ืจื•ื‘ ื”ื“ื“ื™ ื‘ืขืœ ื“ื™ื•ืง ื›ืคื•ืœ
ื”ื•ืจืื•ืช; "rsqrt": ืืคืฉืจ ืืช ื”ื•ืจืื•ืช ืงื™ืจื•ื‘ ื”ืฉื•ืจืฉ ื”ืจื™ื‘ื•ืขื™ ื”ื”ื“ื“ื™ื•ืช
ืœื“ื™ื•ืง ื™ื—ื™ื“ ื•ื›ืคื•ืœ ื›ืื—ื“; "rsqrtf": ืืคืฉืจ ืืช ื”ื”ื“ื“ื™ื•ืช ืขื ื“ื™ื•ืง ื™ื—ื™ื“
ื”ื•ืจืื•ืช ืงื™ืจื•ื‘ ืฉื•ืจืฉ ืจื™ื‘ื•ืขื™; "rsqrtd": ืืคืฉืจ ืืช ื”ื“ื™ื•ืง ื”ื›ืคื•ืœ
ื”ื•ืจืื•ืช ืงื™ืจื•ื‘ ืฉื•ืจืฉ ืจื™ื‘ื•ืขื™ ื”ื“ื“ื™;

ืื–, ืœืžืฉืœ, -mrecip=all,!rsqrtd ืžืืคืฉืจ ืืช ื›ืœ ื”ื”ืขืจื›ื” ื”ื”ื“ื“ื™ืช
ื”ื•ืจืื•ืช, ืœืžืขื˜ ื”ื”ื•ืจืื•ืช "FRSQRTE", "XSRSQRTEDP" ื•-"XVRSQRTEDP"
ื”ืžื˜ืคืœื™ื ื‘ื—ื™ืฉื•ื‘ื™ ืฉื•ืจืฉ ืจื™ื‘ื•ืขื™ ื”ื“ื“ื™ ื‘ืขืœ ื“ื™ื•ืง ื›ืคื•ืœ.

-mrecip-ื“ื™ื•ืง
-ืžื ื•-ืžืชื›ื•ื ื™ื-ื“ื™ื•ืง
ื ื ื™ื— (ืืœ ืชื ื™ื—) ืฉื”ื•ืจืื•ืช ื”ืื•ืžื“ืŸ ื”ื”ื“ื“ื™ื•ืช ืžืกืคืงื•ืช ื™ื•ืชืจ-
ืื•ืžื“ื ื™ ื“ื™ื•ืง ืžืžื” ืฉืžื—ื™ื™ื‘ ื”- PowerPC ABI. ื‘ื—ื™ืจื” -mcpu=power6,
-mcpu=power7 or -mcpu=power8 ื‘ื•ื—ืจ ืื•ื˜ื•ืžื˜ื™ืช -mrecip-ื“ื™ื•ืง. ื”ื›ืคื•ืœ-
ื”ื•ืจืื•ืช ืื•ืžื“ืŸ ืฉื•ืจืฉ ืจื™ื‘ื•ืขื™ ืžื“ื•ื™ืง ืื™ื ืŸ ื ื•ืฆืจื•ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘-low-
ืžื›ื•ื ื•ืช ืžื“ื•ื™ืงื•ืช, ืฉื›ืŸ ื”ืŸ ืื™ื ืŸ ืžืกืคืงื•ืช ืื•ืžื“ืŸ ืฉืžืชื›ื ืก ืœืื—ืจ ืฉืœื•ืฉ
ืฆืขื“ื™ื.

-mveclibabi=ืกื•ื’
ืžืฆื™ื™ืŸ ืืช ืกื•ื’ ABI ืœืฉื™ืžื•ืฉ ืขื‘ื•ืจ ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ืคื ื™ืžื™ืช ื‘ืืžืฆืขื•ืช ืกืคืจื™ื™ื” ื—ื™ืฆื•ื ื™ืช.
ื”ืกื•ื’ ื”ื™ื—ื™ื“ ื”ื ืชืžืš ื›ืจื’ืข ื”ื•ื "ืžืกื”", ืฉืžืฆื™ื™ืŸ ืœื”ืฉืชืžืฉ ื‘-IBM
ืกืคืจื™ื•ืช ืชืช-ืžืขืจื›ืช ืชืื•ืฆื” ืžืชืžื˜ื™ืช (MASS) ืขื‘ื•ืจ ื•ืงื˜ื•ืจื™ื–ืฆื™ื” ืฉืœ ืžืจื›ื™ื‘ื™ื ืคื ื™ืžื™ื™ื ื‘ืืžืฆืขื•ืช
ืกืคืจื™ื•ืช ื—ื™ืฆื•ื ื™ื•ืช. GCC ืžืฉื“ืจ ื›ืจื’ืข ืงืจื™ืื•ืช ืœ-"acosd2", "acosf4", "acoshd2",
"acoshf4", "asind2", "asinf4", "asinhd2", "asinhf4", "atan2d2", "atan2f4", "atand2",
"atanf4", "atanhd2", "atanhf4", "cbrtd2", "cbrtf4", "cosd2", "cosf4", "coshd2",
"coshf4", "erfcd2", "erfcf4", "erfd2", "erff4", "exp2d2", "exp2f4", "expd2", "expf4",
"expm1d2", "expm1f4", "hypotd2", "hypotf4", "lgammad2", "lgammaf4", "log10d2",
"log10f4", "log1pd2", "log1pf4", "log2d2", "log2f4", "logd2", "logf4", "powd2",
"powf4", "sind2", "sinf4", "sinhd2", "sinhf4", "sqrtd2", "sqrtf4", "tand2", "tanf4",
"tanhd2", ื•-"tanhf4" ื‘ืขืช ื”ืคืงืช ืงื•ื“ ืขื‘ื•ืจ power7. ืฉื ื™ื”ื -ftree-vectorize ื•
-ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืžื•ืคืขืœ ื’ื. ืกืคืจื™ื•ืช MASS ื—ื™ื™ื‘ื•ืช ืœื”ื™ื•ืช
ืฆื•ื™ืŸ ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ.

-ืžืคืจื™ื–
-ืžื ื•-ืคืจื™ื–
ืฆื•ืจ (ืืœ ืชื™ืฆื•ืจ) ืืช ื”ื•ืจืืช ื”-"friz" ื›ืืฉืจ -ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math
ื”ืื•ืคืฆื™ื” ืžืฉืžืฉืช ืœืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ืขื™ื’ื•ืœ ืขืจื›ื™ ื ืงื•ื“ื” ืฆืคื” ืœืžืกืคืจ ืฉืœื ืฉืœ 64 ืกื™ื‘ื™ื•ืช ื•
ื—ื–ืจื” ืœื ืงื•ื“ื” ืฆืคื”. ื”ื”ื•ืจืื” "friz" ืœื ืžื—ื–ื™ืจื” ืืช ืื•ืชื• ืขืจืš ืื
ืžืกืคืจ ื”ื ืงื•ื“ื” ื”ืฆืคื” ื’ื“ื•ืœ ืžื›ื“ื™ ืœื”ืชืื™ื ืœืžืกืคืจ ืฉืœื.

-mpointers-to-nested-functions
-mno-pointers-to-nested-functions
ืฆื•ืจ (ืืœ ืชื™ืฆื•ืจ) ืงื•ื“ ื›ื“ื™ ืœื˜ืขื•ืŸ ืืช ืื•ื’ืจ ื”ืฉืจืฉืจืช ื”ืกื˜ื˜ื™ (r11) ืžืชื™
ืงืจื™ืื” ื“ืจืš ืžืฆื‘ื™ืข ื‘ืžืขืจื›ื•ืช AIX ื•-64 ืกื™ื‘ื™ื•ืช ืœื™ื ื•ืงืก ืฉื‘ื”ืŸ ืžืฆื‘ื™ืข ืคื•ื ืงืฆื™ื”
ืžืฆื‘ื™ืข ืขืœ ืžืชืืจ ื‘ืŸ 3 ืžื™ืœื™ื ืฉื ื•ืชืŸ ืืช ื›ืชื•ื‘ืช ื”ืคื•ื ืงืฆื™ื”, ืขืจืš TOC ืœื˜ืขื™ื ื”
ื”ื™ืจืฉื r2, ื•ืขืจืš ืฉืจืฉืจืช ืกื˜ื˜ื™ ืฉื™ื™ื˜ืขืŸ ื‘ืžืื’ืจ r11. ื”
-mpointers-to-nested-functions ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ืืชื” ืœื ื™ื›ื•ืœ ืœื”ืชืงืฉืจ ื“ืจืš ืžืฆื‘ื™ืขื™ื ืœ
ืคื•ื ืงืฆื™ื•ืช ืžืงื•ื ื ื•ืช ืื• ืžืฆื‘ื™ืขื™ื ืœืคื•ื ืงืฆื™ื•ืช ืฉื”ื•ืจื›ื‘ื• ื‘ืฉืคื•ืช ืื—ืจื•ืช ื”ืžืฉืชืžืฉื•ืช ื‘-
ืฉืจืฉืจืช ืกื˜ื˜ื™ืช ืื ืืชื” ืžืฉืชืžืฉ ื‘ -mno-pointers-to-nested-functions.

-msave-toc-ืขืงื™ืฃ
-mno-save-toc-ืขืงื™ืฃ
ืฆื•ืจ (ืืœ ืชื™ืฆื•ืจ) ืงื•ื“ ื›ื“ื™ ืœืฉืžื•ืจ ืืช ืขืจืš ื”-TOC ื‘ืžื™ืงื•ื ื”ืžื—ืกื ื™ืช ื”ืฉืžื•ืจื”
ื‘ืคืจื•ืœื•ื’ ื”ืคื•ื ืงืฆื™ื” ืื ื”ืคื•ื ืงืฆื™ื” ืงื•ืจืืช ื“ืจืš ืžืฆื‘ื™ืข ื‘-AIX ื•ื‘-64 ืกื™ื‘ื™ื•ืช
ืžืขืจื›ื•ืช ืœื™ื ื•ืงืก. ืื ืขืจืš ื”-TOC ืœื ื ืฉืžืจ ื‘ืคืจื•ืœื•ื’, ื”ื•ื ื ืฉืžืจ ืžืžืฉ ืœืคื ื™
ื”ืฉื™ื—ื” ื“ืจืš ื”ืžืฆื‘ื™ืข. ื” -mno-save-toc-ืขืงื™ืฃ ืืคืฉืจื•ืช ื”ื™ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mcompat-align-parm
-mno-compat-align-parm
ืฆื•ืจ (ืืœ ืชื™ืฆื•ืจ) ืงื•ื“ ื›ื“ื™ ืœื”ืขื‘ื™ืจ ืคืจืžื˜ืจื™ื ืฉืœ ืžื‘ื ื” ืขื ื™ื™ืฉื•ืจ ืžืงืกื™ืžืœื™
ืฉืœ 64 ืกื™ื‘ื™ื•ืช, ืœืชืื™ืžื•ืช ืขื ื’ืจืกืื•ืช ื™ืฉื ื•ืช ื™ื•ืชืจ ืฉืœ GCC.

ื’ืจืกืื•ืช ื™ืฉื ื•ืช ื™ื•ืชืจ ืฉืœ GCC (ืœืคื ื™ 4.9.0) ืœื ื™ื™ืฉืจื• ืคืจืžื˜ืจ ืžื‘ื ื” ื‘ืื•ืคืŸ ืฉื’ื•ื™
ืขืœ ื’ื‘ื•ืœ ืฉืœ 128 ืกื™ื‘ื™ื•ืช ื›ืืฉืจ ืžื‘ื ื” ื–ื” ื”ื›ื™ืœ ืื™ื‘ืจ ื”ื“ื•ืจืฉ 128 ืกื™ื‘ื™ื•ืช
ื™ื™ืฉื•ืจ. ื–ื” ืชื•ืงืŸ ื‘ื’ืจืกืื•ืช ืขื“ื›ื ื™ื•ืช ื™ื•ืชืจ ืฉืœ GCC. ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื•
ื›ื“ื™ ืœื™ืฆื•ืจ ืงื•ื“ ื”ืชื•ืื ืœืคื•ื ืงืฆื™ื•ืช ืฉืงื•ืžืคืœื• ืขื ื’ืจืกืื•ืช ื™ืฉื ื•ืช ื™ื•ืชืจ ืฉืœ
GCC.

ื‘ื’ืจืกื” ื–ื• ืฉืœ ื”ืžื”ื“ืจ, ื” -mcompat-align-parm ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, ืœืžืขื˜ ืžืชื™
ื‘ืืžืฆืขื•ืช Linux ELFv2 ABI.

RX ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื”ืืœื” ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื™ืขื“ื™ RX:

-m64bit-ื›ืคื™ืœื™ื
-m32bit-ื›ืคื™ืœื™ื
ื”ืคื•ืš ืืช ืกื•ื’ ื”ื ืชื•ื ื™ื "ื›ืคื•ืœ" ืœื”ื™ื•ืช 64 ืกื™ื‘ื™ื•ืช (-m64bit-ื›ืคื™ืœื™ื) ืื• 32 ืกื™ื‘ื™ื•ืช (-m32bit-ื›ืคื™ืœื™ื)
ื‘ืžื™ื“ื”. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -m32bit-ื›ืคื™ืœื™ื. ื”ืขืจื•ืช ื—ื•ืžืจืช ื ืงื•ื“ื” ืฆืคื” RX ืขื•ื‘ื“ืช ืจืง
ืขืœ ืขืจื›ื™ 32 ืกื™ื‘ื™ื•ืช, ื•ื–ื• ื”ืกื™ื‘ื” ืฉื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -m32bit-ื›ืคื™ืœื™ื.

-fpu
-nofpu
ืžืืคืฉืจ (-fpu) ืื• ืžืฉื‘ื™ืช (-nofpu) ื”ืฉื™ืžื•ืฉ ื‘ื—ื•ืžืจืช ื ืงื•ื“ื” ืฆืคื” RX. ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืžื•ืคืขืœืช ืขื‘ื•ืจ RX600 ืกื“ืจื” ื•ืžื•ืฉื‘ืช ืขื‘ื•ืจ RX200 ืกื“ืจื”.

ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื” ื ื•ืฆืจื•ืช ืจืง ืขื‘ื•ืจ ืขืจื›ื™ ื ืงื•ื“ื” ืฆืคื” ืฉืœ 32 ืกื™ื‘ื™ื•ืช,
ืขื ื–ืืช, ื›ืš ืฉื—ื•ืžืจืช ื”-FPU ืื™ื ื” ืžืฉืžืฉืช ืœื›ืคื•ืœื•ืช ืื -m64bit-ื›ืคื™ืœื™ื ื”ืืคืฉืจื•ืช ื”ื™ื
ืžึฐืฉืื•ึผืžึธืฉื.

ื”ืขืจื•ืช ืื -fpu ื”ืืคืฉืจื•ืช ืžื•ืคืขืœืช ืื– -ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช-funsafe-math ืžื•ืคืขืœ ื’ื
ืื•ื˜ื•ืžื˜ื™ืช. ื”ืกื™ื‘ื” ืœื›ืš ื”ื™ื ืฉื”ื•ืจืื•ืช RX FPU ืื™ื ืŸ ื‘ื˜ื•ื—ื•ืช ื‘ืขืฆืžืŸ.

-mcpu=ืฉื
ื‘ื•ื—ืจ ืืช ืกื•ื’ ื”-RX CPU ืฉืืœื™ื• ื™ืฉ ืœืžืงื“. ื ื›ื•ืŸ ืœืขื›ืฉื™ื•, ืฉืœื•ืฉื” ืกื•ื’ื™ื ื ืชืžื›ื™ื, ื”
ื’ื ืจื™ืช RX600 ื• RX200 ื—ื•ืžืจืช ื”ืกื“ืจื” ื•ื”ืกืคืฆื™ืคื™ RX610 ืžืขื‘ื“. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
RX600.

ื”ื”ื‘ื“ืœ ื”ื™ื—ื™ื“ ื‘ื™ืŸ RX600 ื• RX610 ื”ื•ื ื›ื™ RX610 ืื™ื ื• ืชื•ืžืš ื‘
ื”ื•ืจืืช "MVTIPL".

ื”ืฉืžื™ื™ื RX200 ืœืกื“ืจื” ืื™ืŸ ื™ื—ื™ื“ืช ื ืงื•ื“ื” ืฆืคื” ื‘ื—ื•ืžืจื” ื•ื›ืŸ -nofpu ืžืื•ืคืฉืจ
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ ืกื•ื’ ื–ื” ื ื‘ื—ืจ.

-mbig-endian-data
-mlittle-endian-data
ืื—ืกืŸ ื ืชื•ื ื™ื (ืืš ืœื ืงื•ื“) ื‘ืคื•ืจืžื˜ ื”ื’ื“ื•ืœ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
-mlittle-endian-data, ื›ืœื•ืžืจ ืœืื—ืกืŸ ื ืชื•ื ื™ื ื‘ืคื•ืจืžื˜ ื”ืงื˜ืŸ-ืื ื“ื™ืืŸ.

-msmall-data-limit=N
ืžืฆื™ื™ืŸ ืืช ื”ื’ื•ื“ืœ ื”ืžืจื‘ื™ ื‘ื‘ืชื™ื ืฉืœ ืžืฉืชื ื™ื ื’ืœื•ื‘ืœื™ื™ื ื•ืกื˜ื˜ื™ื™ื ืฉื ื™ืชืŸ ืœืžืงื
ืœืชื•ืš ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ. ืฉื™ืžื•ืฉ ื‘ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ ื™ื›ื•ืœ ืœื”ื•ื‘ื™ืœ ืœืงื˜ืŸ ื•ืžื”ื™ืจ ื™ื•ืชืจ
ืงื•ื“, ืืš ื’ื•ื“ืœ ื”ืฉื˜ื— ืžื•ื’ื‘ืœ ื•ืชืœื•ื™ืช ื”ืžืชื›ื ืช ืœื”ื‘ื˜ื™ื— ื–ืืช
ื”ืื–ื•ืจ ืื™ื ื• ืขื•ืœื” ืขืœ ื’ื“ื•ืชื™ื•. ื’ื ื›ืืฉืจ ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ ื‘ืื—ื“ ืžื”-RX
registers (ื‘ื“ืจืš ื›ืœืœ "r13") ืฉืžื•ืจ ืœืฉื™ืžื•ืฉ ื”ืžืฆื‘ื™ืข ืขืœ ืื–ื•ืจ ื–ื”, ื›ืš ืฉื”ื•ื ืœื
ื–ืžื™ืŸ ื™ื•ืชืจ ืœืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ. ื–ื” ื™ื›ื•ืœ ืœื’ืจื•ื ืœืื˜ ื™ื•ืชืจ ื•/ืื• ื’ื“ื•ืœ ื™ื•ืชืจ
ืงื•ื“ ืื ืžืฉืชื ื™ื ื ื“ื—ืคื™ื ืืœ ื”ืžื—ืกื ื™ืช ื‘ืžืงื•ื ืœื”ื—ื–ื™ืง ื‘ืžืื’ืจ ื”ื–ื”.

ืฉื™ืžื• ืœื‘, ืžืฉืชื ื™ื ื ืคื•ืฆื™ื (ืžืฉืชื ื™ื ืฉืœื ืื•ื—ืœื•) ื•ืงื‘ื•ืขื™ื ื”ื
ืœื ืžืžื•ืงืžื™ื ื‘ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ ืžื›ื™ื•ื•ืŸ ืฉื”ื ืžื•ืงืฆื™ื ืœืžืงื˜ืขื™ื ืื—ืจื™ื ื‘-
ืงื•ื‘ืฅ ื”ืคืขืœื” ืฉืœ ืคืœื˜.

ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื ืืคืก, ืžื” ืฉืžื‘ื˜ืœ ืืช ื”ืชื›ื•ื ื” ื”ื–ื•. ืฉื™ืžื• ืœื‘, ืชื›ื•ื ื” ื–ื• ืœื
ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื ืจืžื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื’ื‘ื•ื”ื•ืช ื™ื•ืชืจ (-O2 ื•ื›ื•') ื‘ื’ืœืœ ื”
ื”ืฉืคืขื•ืช ืžื–ื™ืงื•ืช ืคื•ื˜ื ืฆื™ืืœื™ื•ืช ืฉืœ ืฉืžื™ืจืช ืคื ืงืก. ื–ื” ืชืœื•ื™ ื‘ืžืชื›ื ืช
ืœื”ืชื ืกื•ืช ื•ืœื’ืœื•ืช ืื ืชื›ื•ื ื” ื–ื• ืžื•ืขื™ืœื” ืœืชื•ื›ื ื™ืช ืฉืœื”ื. ืœึดืจึฐืื•ึนืช
ื”ืชื™ืื•ืจ ืฉืœ ื” -mpid ืืคืฉืจื•ืช ืœืชื™ืื•ืจ ืฉืœ ืื•ืคืŸ ื”ืจื™ืฉื•ื ื‘ืคื•ืขืœ
ื”ื—ื–ืง ืืช ืžืฆื‘ื™ืข ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ ื ื‘ื—ืจ.

-ืžืกื™ื
-ืžื ื•-ืกื™ื
ื”ืฉืชืžืฉ ื‘ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ ื”ืกื™ืžื•ืœื˜ื•ืจ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื”ืฉืชืžืฉ ื‘ื–ืžืŸ ื”ืจื™ืฆื” ื”ืกืคืฆื™ืคื™ ืœืœื•ื— libgloss.

-mas100-ืชื—ื‘ื™ืจ
-mno-as100-ืชื—ื‘ื™ืจ
ื‘ืขืช ื™ืฆื™ืจืช ืคืœื˜ assembler ื”ืฉืชืžืฉ ื‘ืชื—ื‘ื™ืจ ืฉืชื•ืื ืœ-AS100 ืฉืœ Renesas
ืžืืกืฃ. ืชื—ื‘ื™ืจ ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ืžื˜ื•ืคืœ ื’ื ืขืœ ื™ื“ื™ ื”-GAS assembler, ืื‘ืœ ื™ืฉ ืœื• ื›ืžื”
ื”ื’ื‘ืœื•ืช ื›ืš ืฉื”ื•ื ืœื ื ื•ืฆืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-mmax-constant-size=N
ืžืฆื™ื™ืŸ ืืช ื”ื’ื•ื“ืœ ื”ืžืงืกื™ืžืœื™, ื‘ื‘ืชื™ื, ืฉืœ ืงื‘ื•ืข ืฉื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื• ื›ืื•ืคืจื ื“ ื‘
ื”ื•ืจืืช RX. ืœืžืจื•ืช ืฉืกื˜ ื”ื”ื•ืจืื•ืช ืฉืœ RX ื›ืŸ ืžืืคืฉืจ ืงื‘ื•ืขื™ื ืฉืœ ืขื“ 4
ืื•ืจืš ื‘ืชื™ื ืœืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช, ืขืจืš ืืจื•ืš ื™ื•ืชืจ ืฉื•ื•ื” ืขืจืš ืืจื•ืš ื™ื•ืชืจ
ื”ื•ืจืื”. ืœื›ืŸ ื‘ื ืกื™ื‘ื•ืช ืžืกื•ื™ืžื•ืช ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ืžื•ืขื™ืœ ืœื”ื’ื‘ื™ืœ ืืช ื”ื’ื•ื“ืœ ืฉืœ
ืงื‘ื•ืขื™ื ื”ืžืฉืžืฉื™ื ื‘ื”ื•ืจืื•ืช. ืงื‘ื•ืขื™ื ื’ื“ื•ืœื™ื ืžื“ื™ ื”ื ื‘ืžืงื•ื ื–ืืช
ืžืžื•ืงืžื™ื ืœืชื•ืš ืžืื’ืจ ืงื‘ื•ืข ื•ืžืชื™ื™ื—ืกื™ื ืืœื™ื• ื‘ืืžืฆืขื•ืช ืขืงื™ืคื” ืฉืœ ืจื™ืฉื•ื.

ื”ืขืจืš N ื™ื›ื•ืœ ืœื”ื™ื•ืช ื‘ื™ืŸ 0 ืœ-4. ืขืจืš ืฉืœ 0 (ื‘ืจื™ืจืช ื”ืžื—ื“ืœ) ืื• 4 ืื•ืžืจ ืฉ
ืงื‘ื•ืขื™ื ื‘ื›ืœ ื’ื•ื“ืœ ืžื•ืชืจื™ื.

-ืœื”ื™ืจื’ืข
ืืคืฉืจ ื”ืจืคื™ื™ืช ืงื™ืฉื•ืจ. ื”ืจืคื™ื™ืช ืงื™ืฉื•ืจ ื”ื•ื ืชื”ืœื™ืš ืฉื‘ื• ื”ืžืงืฉืจ ืžื ืกื”
ื›ื“ื™ ืœื”ืงื˜ื™ืŸ ืืช ื’ื•ื“ืœื” ืฉืœ ืชื•ื›ื ื™ืช ืขืœ ื™ื“ื™ ืžืฆื™ืืช ื’ืจืกืื•ืช ืงืฆืจื•ืช ื™ื•ืชืจ ืฉืœ ื”ื•ืจืื•ืช ืฉื•ื ื•ืช.
ืžื•ืฉื‘ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-mint-register=N
ืฆื™ื™ืŸ ืืช ืžืกืคืจ ื”ืื•ื’ืจื™ื ืฉื™ืฉ ืœืฉืžื•ืจ ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืžื˜ืคืœ ื‘ืคืกื™ืงื” ืžื”ื™ืจื”. ื”
ืขืจืš N ื™ื›ื•ืœ ืœื”ื™ื•ืช ื‘ื™ืŸ 0 ืœ-4. ืขืจืš ืฉืœ 1 ืื•ืžืจ ืฉื”ืื•ื’ืจ "r13" ืฉืžื•ืจ
ืœืฉื™ืžื•ืฉ ื‘ืœืขื“ื™ ืฉืœ ืžื˜ืคืœื™ื ื‘ืคืกื™ืงื” ืžื”ื™ืจื”. ืขืจืš ืฉืœ 2 ืจื–ืจื‘ื•ืช "r13" ื•
"r12". ืขืจืš ืฉืœ 3 ืจื–ืจื‘ื•ืช "r13", "r12" ื•-"r11", ื•ืขืจืš ืฉืœ 4 ืจื–ืจื‘ื•ืช "r13"
ื“ืจืš "r10". ืขืจืš ืฉืœ 0, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, ืื™ื ื• ืฉื•ืžืจ ืจื™ืฉื•ืžื™ื ื›ืœืฉื”ื.

-msave-acc-in-interrupts
ืžืฆื™ื™ืŸ ืฉืคื•ื ืงืฆื™ื•ืช ืžื˜ืคืœ ื‘ืคืกื™ืงื” ืฆืจื™ื›ื•ืช ืœืฉืžืจ ืืช ืื•ื’ืจ ื”ืžืฆื‘ืจ.
ื–ื” ื”ื›ืจื—ื™ ืจืง ืื ืงื•ื“ ืจื’ื™ืœ ืขืฉื•ื™ ืœื”ืฉืชืžืฉ ื‘ืื•ื’ืจ ื”ืžืฆื‘ืจ, ืœืžืฉืœ
ืžื›ื™ื•ื•ืŸ ืฉื”ื•ื ืžื‘ืฆืข ื”ื›ืคืœื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื”ืชืขืœื ืžื”ืžืฆื‘ืจ
ืžื›ื™ื•ื•ืŸ ืฉื–ื” ื”ื•ืคืš ืืช ืžื˜ืคืœื™ ื”ื”ืคืจืขื•ืช ืœืžื”ื™ืจื™ื ื™ื•ืชืจ.

-mpid
-ืžื ื•-ืคื™ื“
ืžืืคืฉืจ ื™ืฆื™ืจืช ื ืชื•ื ื™ื ื‘ืœืชื™ ืชืœื•ื™ื™ื ื‘ืขืžื“ื”. ื›ืืฉืจ ืžื•ืคืขืœืช ื›ืœ ื’ื™ืฉื” ืืœ
ื ืชื•ื ื™ื ืงื‘ื•ืขื™ื ืžืชื‘ืฆืขื™ื ื‘ืืžืฆืขื•ืช ืงื™ื–ื•ื– ืžื›ืชื•ื‘ืช ื‘ืกื™ืก ื”ืžื•ื—ื–ืงืช ื‘ืžืื’ืจ. ื–ึถื”
ืžืืคืฉืจ ืœืงื‘ื•ืข ืืช ืžื™ืงื•ืžื ืฉืœ ื ืชื•ื ื™ื ืงื‘ื•ืขื™ื ื‘ื–ืžืŸ ืจื™ืฆื” ืœืœื ืฆื•ืจืš
ืงื•ื‘ืฅ ื”ื”ืคืขืœื” ืฉื™ื•ืขื‘ืจ, ืฉื”ื•ื ื™ืชืจื•ืŸ ืœื™ื™ืฉื•ืžื™ื ืžืฉื•ื‘ืฆื™ื ืขื tight
ืื™ืœื•ืฆื™ ื–ื™ื›ืจื•ืŸ. ื ืชื•ื ื™ื ืฉื ื™ืชื ื™ื ืœืฉื™ื ื•ื™ ืื™ื ื ืžื•ืฉืคืขื™ื ืžื”ืืคืฉืจื•ืช ื”ื–ื•.

ืฉื™ื ืœื‘, ืฉื™ืžื•ืฉ ื‘ืชื›ื•ื ื” ื–ื• ืฉื•ืžืจ ืื•ื’ืจ, ื‘ื“ืจืš ื›ืœืœ "r13", ืขื‘ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื‘ื•ืขื™ื
ื›ืชื•ื‘ืช ื”ื‘ืกื™ืก. ื–ื” ื™ื›ื•ืœ ืœื’ืจื•ื ืœืงื•ื“ ืื™ื˜ื™ ื™ื•ืชืจ ื•/ืื• ื’ื“ื•ืœ ื™ื•ืชืจ, ื‘ืžื™ื•ื—ื“ ื‘ืงื•ื“ ืžืกื•ื‘ืš
ืคื•ื ืงืฆื™ื•ืช.

ื”ืื•ื’ืจ ื‘ืคื•ืขืœ ืฉื ื‘ื—ืจ ืœื”ื—ื–ื™ืง ืืช ื›ืชื•ื‘ืช ื‘ืกื™ืก ื”ื ืชื•ื ื™ื ื”ืงื‘ื•ืขื” ืชืœื•ื™ ืื
ืžื” ื”ื™ื -msmall-data-limit ื• / ืื• -ืžื ื˜ื”-ืจื™ืฉื•ื ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ืžื•ืคืขืœื•ืช.
ื”ื—ืœ ืžื”ืื•ื’ืจ "r13" ื•ื”ืžืฉืš ื›ืœืคื™ ืžื˜ื”, ืจื™ืฉื•ืžื™ื ืžื•ืงืฆื™ื ืชื—ื™ืœื”
ื›ื“ื™ ืœืขืžื•ื“ ื‘ื“ืจื™ืฉื•ืช ืฉืœ -ืžื ื˜ื”-ืจื™ืฉื•ื, ืœืื—ืจ ืžื›ืŸ -mpid ื•ืœื‘ืกื•ืฃ
-msmall-data-limit. ืœืคื™ื›ืš ื–ื” ืืคืฉืจื™ ืขื‘ื•ืจ ืื•ื’ืจ ืฉื˜ื— ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ ืœื”ื™ื•ืช "r8"
ืื ืฉื ื™ื”ื -mint-register=4 ื• -mpid ืžืฆื•ื™ื ื™ื ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”.

ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืชื›ื•ื ื” ื–ื• ืื™ื ื” ืžื•ืคืขืœืช. ื ื™ืชืŸ ืœืฉื—ื–ืจ ืืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื‘ืืžืฆืขื•ืช -ืžื ื•-ืคื™ื“
ืืคืฉืจื•ืช ืฉื•ืจืช ืคืงื•ื“ื”.

-mno-warn-multiple-fast-interrupts
-mwarn-ืžืจื•ื‘-ืžื”ื™ืจ-ืžืคืจื™ืข
ืžื•ื ืข ืž-GCC ืœื”ื•ืฆื™ื ื”ื•ื“ืขืช ืื–ื”ืจื” ืื ื”ื•ื ืžื•ืฆื ื™ื•ืชืจ ืžืคืกื™ืงื” ืžื”ื™ืจื” ืื—ืช
ืžื˜ืคืœ ื›ืืฉืจ ื”ื•ื ืขื•ืจืš ืงื•ื‘ืฅ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื”ื•ืฆื™ื ืื–ื”ืจื” ืขื‘ื•ืจ ื›ืœ ืชื•ืกืคืช
ื ืžืฆื ืžื˜ืคืœ ื‘ืคืกื™ืงื” ืžื”ื™ืจื”, ืžื›ื™ื•ื•ืŸ ืฉื”-RX ืชื•ืžืš ืจืง ื‘ืคืกื™ืงื” ืื—ืช ื›ื–ื•.

ื”ืขืจื”: ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื”ื’ื ืจื™ืช ืฉืœ GCC -ืชื•ืงืŸ-ืจื’ ื™ืฉ ื—ืฉื™ื‘ื•ืช ืžื™ื•ื—ื“ืช ืœ-RX
ื™ืฆื™ืื” ื‘ืฉื™ืžื•ืฉ ืขื ืชื›ื•ื ืช ื”ืคื•ื ืงืฆื™ื” "ื”ืคืกืงื”". ืชื›ื•ื ื” ื–ื• ืžืฆื™ื™ื ืช ื
ืคื•ื ืงืฆื™ื” ืฉื ื•ืขื“ื” ืœืขื‘ื“ ื”ืคืกืงื•ืช ืžื”ื™ืจื•ืช. GCC ืžื‘ื˜ื™ื— ืฉื”ื™ื ืžืฉืชืžืฉืช ืจืง ื‘ืจื™ืฉื•ื
"r10", "r11", "r12" ื•/ืื• "r13" ื•ืจืง ื‘ืชื ืื™ ืฉื”ืฉื™ืžื•ืฉ ื”ืจื’ื™ืœ ื‘-
ืจื™ืฉื•ืžื™ื ืžืชืื™ืžื™ื ื”ื•ื’ื‘ืœื• ื‘ืืžืฆืขื•ืช ื”- -ืชื•ืงืŸ-ืจื’ or -ืžื ื˜ื”-ืจื™ืฉื•ื
ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื”.

S / 390 ื• zSeries ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืฉื”ื•ื’ื“ืจื• ืขื‘ื•ืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช S/390 ื•-zSeries.

-mhard-float
-msoft-float
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื•ื”ืจืฉื•ืžื•ืช ืฉืœ ื”ื—ื•ืžืจื” ืขื‘ื•ืจ ืฆืคื”-
ืคืขื•ืœื•ืช ื ืงื•ื“ืชื™ื•ืช. ืžืชื™ -msoft-float ืžืฆื•ื™ืŸ, ืžืชืคืงื“ ื‘ libgcc.a ืžืฉืžืฉื™ื
ืœื‘ืฆืข ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”. ืžืชื™ -mhard-float ืžืฆื•ื™ืŸ, ื”ืžื”ื“ืจ
ื™ื•ืฆืจ ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื” IEEE. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mhard-dfp
-mno-hard-dfp
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ื”ื•ืจืื•ืช ื”ื—ื•ืžืจื” ืฉืœ ื ืงื•ื“ื” ืขืฉืจื•ื ื™ืช-ืฆืคื” ืฆืคื” ืขื‘ื•ืจ ืขืฉืจื•ื ื™ื•ืช-
ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื”. ืžืชื™ -mno-hard-dfp ืžืฆื•ื™ืŸ, ืžืชืคืงื“ ื‘ libgcc.a ื™ืฉ ืœื•
ืžืฉืžืฉ ืœื‘ื™ืฆื•ืข ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื” ืขืฉืจื•ื ื™ืช. ืžืชื™ -mhard-dfp ืžื•ื’ื“ืจ, ื”-
ื”ืžื”ื“ืจ ื™ื•ืฆืจ ื”ื•ืจืื•ืช ื—ื•ืžืจื” ื‘ื ืงื•ื“ื” ืฆืคื” ืขืฉืจื•ื ื™ืช. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ืœ -march=z9-ec ืื• ื’ื‘ื•ื” ื™ื•ืชืจ.

-ืžืœื•ื ื’-ื›ืคื•ืœ-64
-ืžืœื•ื ื’-ื›ืคื•ืœ-128
ืžืชื’ื™ื ืืœื” ืฉื•ืœื˜ื™ื ื‘ื’ื•ื“ืœ ืฉืœ ืกื•ื’ "ื›ืคื•ืœ ืืจื•ืš". ื’ื•ื“ืœ ืฉืœ 64 ืกื™ื‘ื™ื•ืช ืขื•ืฉื” ืืช
ืกื•ื’ "ื›ืคื•ืœ ืืจื•ืš" ืฉื•ื•ื” ืขืจืš ืœืกื•ื’ "ื›ืคื•ืœ". ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mbackchain
-mno-backchain
ืื—ืกืŸ (ืœื ืœืื—ืกืŸ) ืืช ื”ื›ืชื•ื‘ืช ืฉืœ ื”ืžืกื’ืจืช ืฉืœ ื”ืžืชืงืฉืจ ื‘ืชื•ืจ ืžืฆื‘ื™ืข ื‘ืฉืจืฉืจืช ืื—ื•ืจื™ืช ื‘-
ืžืกื’ืจืช ื”ืžื—ืกื ื™ืช ืฉืœ Callee. ื™ื™ืชื›ืŸ ืฉื™ื”ื™ื” ืฆื•ืจืš ื‘ืฉืจืฉืจืช ืื—ื•ืจื™ืช ื›ื“ื™ ืœืืคืฉืจ ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืืžืฆืขื•ืช ื›ืœื™ื
ืœื ืžื‘ื™ืŸ ืžื™ื“ืข ืขืœ ืžืกื’ืจืช ืฉื™ื—ื” ืฉืœ DWARF 2. ืžืชื™ -ืžื ื•-ืืจื•ื–-ืžื—ืกื ื™ืช ื”ื•ื ื‘
ืืคืงื˜, ืžืฆื‘ื™ืข ื”ืฉืจืฉืจืช ื”ืื—ื•ืจื™ืช ืžืื•ื—ืกืŸ ื‘ืชื—ืชื™ืช ืžืกื’ืจืช ื”ืขืจื™ืžื”; ืžืชื™
-ืžื—ืกื ื™ืช-ืžื—ืกื ื™ืช ื‘ืชื•ืงืฃ, ื”ืฉืจืฉืจืช ื”ืื—ื•ืจื™ืช ืžืžื•ืงืžืช ื‘ืžื™ืœื” ื”ืขืœื™ื•ื ื” ื‘ื™ื•ืชืจ ืฉืœ
ืื–ื•ืจ ืฉืžื™ืจื” ืฉืœ ืจื™ืฉื•ื 96/160 ื‘ืชื™ื.

ื‘ืื•ืคืŸ ื›ืœืœื™, ืงื•ื“ ืงื•ืžืคื™ืœื“ ืขื -mbackchain ืชื•ืื ืฉื™ื—ื” ืขื ืงื•ื“ ื”ื™ื“ื•ืจ ืขื
-mmo-backchain; ืขื ื–ืืช, ืฉื™ืžื•ืฉ ื‘ืฉืจืฉืจืช ื”ืื—ื•ืจื™ืช ืœืžื˜ืจื•ืช ื ื™ืคื•ื™ ื‘ืื’ื™ื ืžืฆืจื™ืš ื‘ื“ืจืš ื›ืœืœ
ืฉื›ืœ ื”ื‘ื™ื ืืจื™ ื‘ื ื•ื™ ืื™ืชื• -mbackchain. ืฉื™ืžื• ืœื‘ ืฉื”ืฉื™ืœื•ื‘ ืฉืœ
-mbackchain, -ืžื—ืกื ื™ืช-ืžื—ืกื ื™ืช ื• -mhard-float ืœื ื ืชืžืš. ืขืœ ืžื ืช ืœื‘ื ื•ืช ื
ืฉื™ืžื•ืฉ ื‘ืœื™ื‘ืช ืœื™ื ื•ืงืก -msoft-float.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื ืœืฉืžื•ืจ ืขืœ ื”ืฉืจืฉืจืช ื”ืื—ื•ืจื™ืช.

-ืžื—ืกื ื™ืช-ืžื—ืกื ื™ืช
-ืžื ื•-ืืจื•ื–-ืžื—ืกื ื™ืช
ื”ืฉืชืžืฉ (ืืœ ืชืฉืชืžืฉ) ื‘ืคืจื™ืกืช ื”ืขืจื™ืžื” ื”ืืจื•ื–ื”. ืžืชื™ -ืžื ื•-ืืจื•ื–-ืžื—ืกื ื™ืช ืžื•ื’ื“ืจ, ื”-
ื”ืžื”ื“ืจ ืžืฉืชืžืฉ ื‘ื›ืœ ื”ืฉื“ื•ืช ืฉืœ ืื–ื•ืจ ื”ืฉืžื™ืจื” ืฉืœ ืื•ื’ืจ 96/160 ื‘ืชื™ื ืจืง ืขื‘ื•ืจ ืฉืœื”ื
ืžื˜ืจืช ื‘ืจื™ืจืช ืžื—ื“ืœ; ืฉื“ื•ืช ืฉืื™ื ื ื‘ืฉื™ืžื•ืฉ ืขื“ื™ื™ืŸ ืชื•ืคืกื™ื ืžืงื•ื ื‘ืขืจื™ืžื”. ืžืชื™ -ืžื—ืกื ื™ืช-ืžื—ืกื ื™ืช is
ืฉืฆื•ื™ืŸ, ื—ืจื™ืฆื™ ืฉืžื™ืจืช ื”ืจื™ืฉื•ื ืืจื•ื–ื™ื ื‘ืฆืคื™ืคื•ืช ื‘ื—ืœืง ื”ืขืœื™ื•ืŸ ืฉืœ ืฉืžื™ืจืช ื”ืจื™ืฉื•ื
ืึตื–ื•ึนืจ; ื ืขืฉื” ืฉื™ืžื•ืฉ ื—ื•ื–ืจ ื‘ื—ืœืœ ืœื ื‘ืฉื™ืžื•ืฉ ืœืžื˜ืจื•ืช ืื—ืจื•ืช, ืžื” ืฉืžืืคืฉืจ ืฉื™ืžื•ืฉ ื™ืขื™ืœ ื™ื•ืชืจ ืฉืœ
ืฉื˜ื— ื”ืขืจื™ืžื” ื”ืคื ื•ื™. ืขื ื–ืืช, ืžืชื™ -mbackchain ื”ื•ื ื’ื ื‘ืชื•ืงืฃ, ื”ืขืœื™ื•ืŸ ื‘ื™ื•ืชืจ
ื”ืžื™ืœื” ืฉืœ ืื–ื•ืจ ื”ืฉืžื™ืจื” ืžืฉืžืฉืช ืชืžื™ื“ ืœืื—ืกื•ืŸ ื”ืฉืจืฉืจืช ื”ืื—ื•ืจื™ืช, ื•ื›ืชื•ื‘ืช ื”ื”ื—ื–ืจื”
register ื ืฉืžืจ ืชืžื™ื“ ืฉืชื™ ืžื™ืœื™ื ืžืชื—ืช ืœืฉืจืฉืจืช ื”ืื—ื•ืจื™ืช.

ื›ืœ ืขื•ื“ ืœื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืฉืจืฉืจืช ื”ืื—ื•ืจื™ืช ืฉืœ ืžืกื’ืจืช ื”ืžื—ืกื ื™ืช, ื”ืงื•ื“ ื ื•ืฆืจ ืขื -ืžื—ืกื ื™ืช-ืžื—ืกื ื™ืช
ืชื•ืื ืฉื™ื—ื” ืขื ืงื•ื“ ืฉื ื•ืฆืจ ืขื -ืžื ื•-ืืจื•ื–-ืžื—ืกื ื™ืช. ืฉื™ื ืœื‘ ืฉื—ืœืงื ืฉืื™ื ื FSF
ืžื”ื“ื•ืจื•ืช ืฉืœ GCC 2.95 ืขื‘ื•ืจ ืงื•ื“ ืฉื ื•ืฆืจ ื‘-S/390 ืื• zSeries ืฉืžืฉืชืžืฉ ื‘ืžืกื’ืจืช ื”ืžื—ืกื ื™ืช
ืฉืจืฉืจืช ืื—ื•ืจื™ืช ื‘ื–ืžืŸ ืจื™ืฆื”, ืœื ืจืง ืœืžื˜ืจื•ืช ื ื™ืคื•ื™ ื‘ืื’ื™ื. ืงื•ื“ ื›ื–ื” ื”ื•ื ืœื ืฉื™ื—ื”-
ืชื•ืื ืขื ืงื•ื“ ื”ื™ื“ื•ืจ ืขื -ืžื—ืกื ื™ืช-ืžื—ืกื ื™ืช. ื›ืžื• ื›ืŸ, ืฉื™ืžื• ืœื‘ ืฉื”ืฉื™ืœื•ื‘ ืฉืœ
-mbackchain, -ืžื—ืกื ื™ืช-ืžื—ืกื ื™ืช ื• -mhard-float ืœื ื ืชืžืš. ืขืœ ืžื ืช ืœื‘ื ื•ืช ื
ืฉื™ืžื•ืฉ ื‘ืœื™ื‘ืช ืœื™ื ื•ืงืก -msoft-float.

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื ืœื”ืฉืชืžืฉ ื‘ืคืจื™ืกืช ื”ืขืจื™ืžื” ื”ืืจื•ื–ื”.

-msmall-exec
-mno-small-exec
ืฆื•ืจ (ืื• ืืœ ืชื™ืฆื•ืจ) ืงื•ื“ ื‘ืืžืฆืขื•ืช ื”ื•ืจืืช "ื—ื–ื™ื•ืช" ืœืขืฉื•ืช ืชืช ืฉื’ืจื”
ืฉื™ื—ื•ืช. ื–ื” ืขื•ื‘ื“ ื‘ืฆื•ืจื” ืžื”ื™ืžื ื” ืจืง ืื ื’ื•ื“ืœ ื”ื”ืคืขืœื” ื”ื›ื•ืœืœ ืื™ื ื• ืขื•ืœื” ืขืœ 64k.
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื”ืฉืชืžืฉ ื‘ื”ื•ืจืื” "basr" ื‘ืžืงื•ื ื–ืืช, ืฉืื™ืŸ ืœื” ื–ืืช
ื”ึทื’ื‘ึผึธืœึธื”.

-ืž 64
-ืž 31
ืžืชื™ -ืž 31 ืฆื•ื™ืŸ, ืฆื•ืจ ืงื•ื“ ืชื•ืื ืœ-GNU/Linux ืขื‘ื•ืจ S/390 ABI. ืžืชื™
-ืž 64 ืฆื•ื™ืŸ, ืฆื•ืจ ืงื•ื“ ืชื•ืื ืœ-GNU/Linux ืขื‘ื•ืจ zSeries ABI. ื–ึถื”
ืžืืคืฉืจ ืœ-GCC ื‘ืžื™ื•ื—ื“ ืœื™ืฆื•ืจ ื”ื•ืจืื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช. ื‘ืฉื‘ื™ืœ ื” s390 ืžื˜ืจื•ืช, ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ืž 31, ื‘ื–ืžืŸ ืฉ S390x ื™ืขื“ื™ื ื›ื‘ืจื™ืจืช ืžื—ื“ืœ -ืž 64.

-ืžื–ืจืš
-ืžืกื”
ืžืชื™ -ืžื–ืจืš ืฆื•ื™ืŸ, ืฆื•ืจ ืงื•ื“ ื‘ืืžืฆืขื•ืช ื”ื”ื•ืจืื•ืช ื”ื–ืžื™ื ื•ืช ื‘
z/ืื“ืจื™ื›ืœื•ืช. ืžืชื™ -ืžืกื” ืฆื•ื™ืŸ, ืฆื•ืจ ืงื•ื“ ื‘ืืžืฆืขื•ืช ื”ื”ื•ืจืื•ืช
ื–ืžื™ืŸ ื‘-ESA/390. ืฆื™ื™ืŸ ื–ืืช -ืžืกื” ืœื ืืคืฉืจื™ ืขื -ืž 64. ื‘ืขืช ื™ืฆื™ืจืช
ืงื•ื“ ืชื•ืื ืœ-GNU/Linux ืขื‘ื•ืจ S/390 ABI, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ืžืกื”. ื‘ืขืช ื™ืฆื™ืจืช
ืงื•ื“ ืชื•ืื ืœ-GNU/Linux ืขื‘ื•ืจ zSeries ABI, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ืžื–ืจืš.

-mmvcle
-mno-mvcle
ืฆื•ืจ (ืื• ืืœ ืชื™ืฆื•ืจ) ืงื•ื“ ื‘ืืžืฆืขื•ืช ื”ื•ืจืืช "mvcle" ืœื‘ื™ืฆื•ืข ื‘ืœื•ืง
ืžื”ืœื›ื™ื. ืžืชื™ -mno-mvcle ืฆื•ื™ืŸ, ื”ืฉืชืžืฉ ื‘ืœื•ืœืืช "mvc" ื‘ืžืงื•ื ื–ืืช. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ืืœื ืื ื›ืŸ ืžื‘ืฆืขื™ื ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืœื’ื•ื“ืœ.

-mdebug
-mno-debug
ื”ื“ืคืก (ืื• ืืœ ืชื“ืคื™ืก) ืžื™ื“ืข ื ื•ืกืฃ ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื ื‘ืขืช ื”ื”ื™ื“ื•ืจ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
ื›ื“ื™ ืœื ืœื”ื“ืคื™ืก ืžื™ื“ืข ืขืœ ื ื™ืคื•ื™ ื‘ืื’ื™ื.

-ืžืจืฅ=ืกื•ื’ ืžืขื‘ื“
ืฆื•ืจ ืงื•ื“ ืฉืคื•ืขืœ ืขืœ ืกื•ื’ ืžืขื‘ื“, ืฉื”ื•ื ืฉืžื” ืฉืœ ืžืขืจื›ืช ื”ืžื™ื™ืฆื’ืช ืืช ื
ืกื•ื’ ืžืขื‘ื“ ืžืกื•ื™ื. ืขืจื›ื™ื ืืคืฉืจื™ื™ื ืขื‘ื•ืจ ืกื•ื’ ืžืขื‘ื“ ื™ืฉ ืœื• g5, g6, z900, z990, z9-109,
z9-ec, z10, z196, ื• zEC12. ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“ ื‘ืืžืฆืขื•ืช ื”ื”ื•ืจืื•ืช ื”ื–ืžื™ื ื•ืช ื‘
z/ืื“ืจื™ื›ืœื•ืช, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ืžืจืฅ=z900. ืื—ืจืช, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ืžืจืฅ=g5.

-mtune=ืกื•ื’ ืžืขื‘ื“
ื›ื•ื•ืŸ ืœ ืกื•ื’ ืžืขื‘ื“ ื›ืœ ืžื” ืฉื™ืฉ ืœืงื•ื“ ืฉื ื•ืฆืจ, ืžืœื‘ื“ ื”-ABI
ื•ืขืจื›ืช ื”ื”ื•ืจืื•ืช ื”ื–ืžื™ื ื•ืช. ืจืฉื™ืžืช ืกื•ื’ ืžืขื‘ื“ ื”ืขืจื›ื™ื ื–ื”ื™ื ืœื–ื” ืฉืœ
-ืžืจืฅ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ื”ืขืจืš ื”ืžืฉืžืฉ ืขื‘ื•ืจ -ืžืจืฅ.

-mtpf-trace
-mno-tpf-trace
ืฆื•ืจ ืงื•ื“ ืฉืžื•ืกื™ืฃ (ืœื ืžื•ืกื™ืฃ) ื‘ืขื ืคื™ื ืกืคืฆื™ืคื™ื™ื ืœ-TPF OS ื›ื“ื™ ืœื”ืชื—ืงื•ืช ืื—ืจ ืฉื’ืจื•ืช
ื‘ืžืขืจื›ืช ื”ื”ืคืขืœื”. ืืคืฉืจื•ืช ื–ื• ื›ื‘ื•ื™ื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ื’ื ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” ืขื‘ื•ืจ ื”
ืžืขืจื›ืช ื”ืคืขืœื” TPF.

-ืžfused-madd
-mno-fused-madd
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืื™ื ื• ืžืฉืชืžืฉ) ื‘ื ืงื•ื“ื” ื”ืฆืคื” ื›ืคื•ืœื” ื•ืฆื‘ื™ืจื”
ื”ื•ืจืื•ืช. ื”ื•ืจืื•ืช ืืœื” ื ื•ืฆืจื•ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืื ื—ื•ืžืจื” ื ืงื•ื“ื” ืฆืคื”
ืžืฉืžืฉ.

-mwarn-framesize=ื’ื•ื“ืœ ืžืกื’ืจืช
ืฉืœื— ืื–ื”ืจื” ืื ื”ืคื•ื ืงืฆื™ื” ื”ื ื•ื›ื—ื™ืช ื—ื•ืจื’ืช ืžื’ื•ื“ืœ ื”ืžืกื’ืจืช ื”ื ืชื•ืŸ. ื›ื™ ื–ื”ื•
ื‘ื“ื™ืงืช ื–ืžืŸ ื”ื™ื“ื•ืจ ื–ื” ืœื ืฆืจื™ืš ืœื”ื™ื•ืช ื‘ืขื™ื” ืืžื™ืชื™ืช ื›ืฉื”ืชื•ื›ื ื™ืช ืคื•ืขืœืช. ื–ื”
ื ื•ืขื“ ืœื–ื”ื•ืช ืคื•ื ืงืฆื™ื•ืช ืฉื›ื›ืœ ื”ื ืจืื” ื’ื•ืจืžื•ืช ืœื”ืฆืคืช ืžื—ืกื ื™ืช. ื–ื”
ืฉื™ืžื•ืฉื™ ืœืฉื™ืžื•ืฉ ื‘ืกื‘ื™ื‘ื” ืขื ื’ื•ื“ืœ ืžื—ืกื ื™ืช ืžื•ื’ื‘ืœ, ืœืžืฉืœ ืœื™ื‘ืช ื”ืœื™ื ื•ืงืก.

-mwarn-dynamicstack
ืฉืœื— ืื–ื”ืจื” ืื ื”ืคื•ื ืงืฆื™ื” ืงื•ืจืืช "alloca" ืื• ืžืฉืชืžืฉืช ื‘ืžืขืจื›ื™ื ื‘ื’ื•ื“ืœ ื“ื™ื ืžื™. ื–ึถื”
ื”ื•ื ื‘ื“ืจืš ื›ืœืœ ืจืขื™ื•ืŸ ืจืข ืขื ื’ื•ื“ืœ ืขืจื™ืžื” ืžื•ื’ื‘ืœ.

-mstack-guard=ืžื—ืกื ื™ืช
-mstack-size=ื’ื•ื“ืœ ืขืจื™ืžื”
ืื ืืคืฉืจื•ื™ื•ืช ืืœื” ืžืกื•ืคืงื•ืช, ื”ืงืฆื” ื”ืื—ื•ืจื™ ืฉืœ S/390 ืคื•ืœื˜ ื”ื•ืจืื•ืช ื ื•ืกืคื•ืช ื‘-
ืคืจื•ืœื•ื’ ืคื•ื ืงืฆื™ื•ืช ืฉืžืคืขื™ืœ ืžืœื›ื•ื“ืช ืื ื’ื•ื“ืœ ื”ืขืจื™ืžื” ื”ื•ื ืžื—ืกื ื™ืช ื‘ืชื™ื ืžืขืœ
ื’ื•ื“ืœ ืขืจื™ืžื” (ื–ื›ื•ืจ ืฉื”ืขืจื™ืžื” ื‘-S/390 ื’ื“ืœื” ื›ืœืคื™ ืžื˜ื”). ืื ื” ืžื—ืกื ื™ืช
ื”ืืคืฉืจื•ืช ืžื•ืฉืžื˜ืช ืืช ื”ื—ื–ืงื” ื”ืงื˜ืŸ ื‘ื™ื•ืชืจ ืฉืœ 2 ื’ื“ื•ืœ ืžื’ื•ื“ืœ ื”ืžืกื’ืจืช ืฉืœ ื”ืงื•ืžืคื™ืœืฆื™ื”
ื”ืคื•ื ืงืฆื™ื” ื ื‘ื—ืจืช. ืืคืฉืจื•ื™ื•ืช ืืœื” ืžื™ื•ืขื“ื•ืช ืœืฉืžืฉ ื›ื“ื™ ืœืกื™ื™ืข ื‘ืื™ืชื•ืจ ื‘ืื’ื™ื
ื‘ืขื™ื•ืช ื”ืฆืคื”. ื”ืงื•ื“ ื”ื ืคืœื˜ ื‘ื ื•ืกืฃ ื’ื•ืจื ืจืง ืžืขื˜ ืชืงื•ืจื” ื•
ืœืคื™ื›ืš ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื’ื ื‘ืžืขืจื›ื•ืช ื“ืžื•ื™ื•ืช ื™ื™ืฆื•ืจ ืœืœื ื‘ื™ืฆื•ืขื™ื ื˜ื•ื‘ื™ื ื™ื•ืชืจ
ื”ึทืฉืืคึผึธืœึธื”. ื”ืขืจื›ื™ื ื”ื ืชื•ื ื™ื ืฆืจื™ื›ื™ื ืœื”ื™ื•ืช ื‘ื—ื–ืงื•ืช ืžื“ื•ื™ืงื•ืช ืฉืœ 2 ื• ื’ื•ื“ืœ ืขืจื™ืžื” ืฆืจื™ืš ืœื”ื™ื•ืช
ื’ื“ื•ืœ ืž ืžื—ืกื ื™ืช ืžื‘ืœื™ ืœื—ืจื•ื’ ืž-64k. ืขืœ ืžื ืช ืœื”ื™ื•ืช ื™ืขื™ืœ ื”ืชื•ืกืคืช
ืงื•ื“ ืขื•ืฉื” ืืช ื”ื”ื ื—ื” ืฉื”ืžื—ืกื ื™ืช ืžืชื—ื™ืœื” ื‘ื›ืชื•ื‘ืช ืžื™ื•ืฉืจืช ืœืขืจืš
ื ื™ืชื ื• ืขืœ ื™ื“ื™ ื’ื•ื“ืœ ืขืจื™ืžื”. ื” ืžื—ืกื ื™ืช ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ืจืง ื‘ืฉื™ืœื•ื‘ ืขื
ื’ื•ื“ืœ ืขืจื™ืžื”.

-mhotpatch=ืžื™ืœื™ื ืžืงื“ื™ืžื•ืช,ืคื•ืกื˜ ื—ืฆืื™ ืžื™ืœื™ื
ืื ื”ืืคืฉืจื•ืช hotpatch ืžื•ืคืขืœืช, ื ื•ืฆืจ ืคืจื•ืœื•ื’ ืคื•ื ืงืฆื™ื” "hot-patching" ืขื‘ื•ืจ
ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช ื‘ื™ื—ื™ื“ืช ื”ื”ื™ื“ื•ืจ. ืชื•ื•ื™ืช ื”ืคื•ื ืงืฆื™ื” ืžื•ืฆืžื“ืช ืœื ืชื•ืŸ
ืžืกืคืจ ื”ื•ืจืื•ืช NOP ืฉืœ ืฉื ื™ ื‘ืชื™ื (ืžื™ืœื™ื ืžืงื“ื™ืžื•ืช, ืžืงืกื™ืžื•ื 1000000). ืœืื—ืจ
ืชื•ื•ื™ืช, 2 * ืคื•ืกื˜ ื—ืฆืื™ ืžื™ืœื™ื ื‘ืชื™ื ืžืชื•ื•ืกืคื™ื, ืชื•ืš ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ื›ืžื• NOP ื”ื’ื“ื•ืœื•ืช ื‘ื™ื•ืชืจ
ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ืžืืคืฉืจืช (ืžืงืกื™ืžื•ื 1000000).

ืื ืฉื ื™ ื”ืืจื’ื•ืžื ื˜ื™ื ื”ื ืืคืก, Hotpatching ืžื•ืฉื‘ืช.

ื ื™ืชืŸ ืœืขืงื•ืฃ ืืคืฉืจื•ืช ื–ื• ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ื‘ื•ื“ื“ื•ืช ืขื ื”ืชื›ื•ื ื” "hotpatch".

ืฆื™ื•ืŸ ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืืœื” ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ ืฆื™ื•ืŸ:

-ืžื‘
ื”ื™ื“ื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžืฆื‘ ื’ื“ื•ืœ. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืžืœ
ื”ื™ื“ื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืžืฆื‘ little-endian.

-ืžืŸื”ื•ืœื•ืค
ื”ืฉื‘ืช ื™ืฆื™ืจืช ื”ื•ืจืื•ืช "bcnz".

-ืžื•ืœืก
ืืคืฉืจ ื™ืฆื™ืจืช ืขื•ืžืก ืœื ืžื™ื•ืฉืจ ื•ื”ื•ืจืื•ืช ืื—ืกื•ืŸ.

-ืžืžืง
ืืคืฉืจ ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ื›ืคืœ-ืฆื‘ื•ืจ. ืžื•ืฉื‘ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-mscore5
ืฆื™ื™ืŸ ืืช SCORE5 ื›ืืจื›ื™ื˜ืงื˜ื•ืจืช ื”ื™ืขื“.

-mscore5u
ืฆื™ื™ืŸ ืืช SCORE5U ืฉืœ ืืจื›ื™ื˜ืงื˜ื•ืจืช ื”ื™ืขื“.

-mscore7
ืฆื™ื™ืŸ ืืช SCORE7 ื›ืืจื›ื™ื˜ืงื˜ื•ืจืช ื”ื™ืขื“. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mscore7d
ืฆื™ื™ืŸ ืืช SCORE7D ื›ืืจื›ื™ื˜ืงื˜ื•ืจืช ื”ื™ืขื“.

SH ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ SH:

-ืž 1 ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH1.

-ืž 2 ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH2.

-m2e
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”-SH2e.

-m2a-nofpu
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH2a ืœืœื FPU, ืื• ืขื‘ื•ืจ SH2a-FPU ื‘ืฆื•ืจื” ื›ื–ื• ืฉื”
ืœื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื™ื—ื™ื“ืช ื ืงื•ื“ื” ืฆืคื”.

-m2a-ื™ื—ื™ื“ ื‘ืœื‘ื“
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH2a-FPU, ื‘ืฆื•ืจื” ื›ื–ื• ืฉืื™ืŸ ื ืงื•ื“ื” ืฆืคื” ื‘ืขืœืช ื“ื™ื•ืง ื›ืคื•ืœ
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืคืขื•ืœื•ืช.

-m2a-ืกื™ื ื’ืœ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH2a-FPU ื‘ื”ื ื—ื” ืฉื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื”ื™ื ื‘ืจืžืช ื“ื™ื•ืง ื™ื—ื™ื“ื”
ืžืฆื‘ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-m2a
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH2a-FPU ื‘ื”ื ื—ื” ืฉื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื”ื™ื ื‘ื“ื™ื™ืงื ื•ืช ื›ืคื•ืœื”
ืžืฆื‘ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืž 3 ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH3.

-m3e
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”-SH3e.

-m4-nofpu
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4 ืœืœื ื™ื—ื™ื“ืช ื ืงื•ื“ื” ืฆืคื”.

-m4-ื™ื—ื™ื“ ื‘ืœื‘ื“
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”-SH4 ืขื ื™ื—ื™ื“ืช ื ืงื•ื“ื” ืฆืคื” ื”ืชื•ืžื›ืช ืจืง ื‘ื™ื—ื™ื“ื” ืื—ืช
ืืจื™ืชืžื˜ื™ืงื” ืžื“ื•ื™ืงืช.

-m4-ืกื™ื ื’ืœ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4 ื‘ื”ื ื—ื” ืฉื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื ืžืฆืืช ื‘ืžืฆื‘ ื“ื™ื•ืง ื™ื—ื™ื“
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-ืž 4 ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4.

-m4-100
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-100.

-m4-100-nofpu
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-100 ื‘ืฆื•ืจื” ื›ื–ื• ืฉืœื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื”.

-m4-100-ืกื™ื ื’ืœ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-100 ื‘ื”ื ื—ื” ืฉื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื ืžืฆืืช ื‘ืžืฆื‘ ื“ื™ื•ืง ื™ื—ื™ื“
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-m4-100-ื™ื—ื™ื“ ื‘ืœื‘ื“
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-100 ื‘ืฆื•ืจื” ื›ื–ื• ืฉืื™ืŸ ื ืงื•ื“ื” ืฆืคื” ื‘ืขืœืช ื“ื™ื•ืง ื›ืคื•ืœ
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืคืขื•ืœื•ืช.

-m4-200
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-200.

-m4-200-nofpu
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-200 ืœืœื ื‘ืฆื•ืจื” ื›ื–ื• ืฉื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ืื™ื ื”
ืžึฐืฉืื•ึผืžึธืฉื.

-m4-200-ืกื™ื ื’ืœ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-200 ื‘ื”ื ื—ื” ืฉื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื ืžืฆืืช ื‘ืžืฆื‘ ื“ื™ื•ืง ื™ื—ื™ื“
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-m4-200-ื™ื—ื™ื“ ื‘ืœื‘ื“
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-200 ื‘ืฆื•ืจื” ื›ื–ื• ืฉืื™ืŸ ื ืงื•ื“ื” ืฆืคื” ื‘ืขืœืช ื“ื™ื•ืง ื›ืคื•ืœ
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืคืขื•ืœื•ืช.

-m4-300
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-300.

-m4-300-nofpu
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-300 ืœืœื ื‘ืฆื•ืจื” ื›ื–ื• ืฉื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ืื™ื ื”
ืžึฐืฉืื•ึผืžึธืฉื.

-m4-300-ืกื™ื ื’ืœ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-300 ื‘ืฆื•ืจื” ื›ื–ื• ืฉืื™ืŸ ื ืงื•ื“ื” ืฆืคื” ื‘ืขืœืช ื“ื™ื•ืง ื›ืคื•ืœ
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืคืขื•ืœื•ืช.

-m4-300-ื™ื—ื™ื“ ื‘ืœื‘ื“
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-300 ื‘ืฆื•ืจื” ื›ื–ื• ืฉืื™ืŸ ื ืงื•ื“ื” ืฆืคื” ื‘ืขืœืช ื“ื™ื•ืง ื›ืคื•ืœ
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืคืขื•ืœื•ืช.

-m4-340
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-340 (ืœืœื MMU, ืœืœื FPU).

-m4-500
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4-500 (ืœืœื FPU). ืขื•ื‘ืจ -isa=sh4-nofpu ืœื”ืจื›ื‘ื”.

-m4a-nofpu
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4al-dsp, ืื• ืขื‘ื•ืจ SH4a ื‘ืฆื•ืจื” ื›ื–ื• ืฉื”ื ืงื•ื“ื” ื”ืฆืคื”
ื”ื™ื—ื™ื“ื” ืื™ื ื” ื‘ืฉื™ืžื•ืฉ.

-m4a-ื™ื—ื™ื“ ื‘ืœื‘ื“
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4a, ื‘ืฆื•ืจื” ื›ื–ื• ืฉืื™ืŸ ื ืงื•ื“ื” ืฆืคื” ื‘ืขืœืช ื“ื™ื•ืง ื›ืคื•ืœ
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืคืขื•ืœื•ืช.

-m4a-ืกื™ื ื’ืœ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4a ื‘ื”ื ื—ื” ืฉื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื”ื™ื ื‘ืจืžืช ื“ื™ื•ืง ื™ื—ื™ื“ื”
ืžืฆื‘ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

-m4a
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SH4a.

-m4al
ื›ืžื• -m4a-nofpu, ืืœื ืฉื–ื” ืขื•ื‘ืจ ื‘ืžืจื•ืžื– -dsp ืœื”ืจื›ื‘ื”. GCC
ืœื ืžื™ื™ืฆืจ ื”ื•ืจืื•ืช DSP ื›ืจื’ืข.

-m5-32media
ืฆื•ืจ ืงื•ื“ 32 ืกื™ื‘ื™ื•ืช ืขื‘ื•ืจ SHmedia.

-m5-32media-nofpu
ืฆื•ืจ ืงื•ื“ 32 ืกื™ื‘ื™ื•ืช ืขื‘ื•ืจ SHmedia ื‘ืฆื•ืจื” ื›ื–ื• ืฉื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ืื™ื ื”
ืžึฐืฉืื•ึผืžึธืฉื.

-m5-64media
ืฆื•ืจ ืงื•ื“ 64 ืกื™ื‘ื™ื•ืช ืขื‘ื•ืจ SHmedia.

-m5-64media-nofpu
ืฆื•ืจ ืงื•ื“ 64 ืกื™ื‘ื™ื•ืช ืขื‘ื•ืจ SHmedia ื‘ืฆื•ืจื” ื›ื–ื• ืฉื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ืื™ื ื”
ืžึฐืฉืื•ึผืžึธืฉื.

-m5-ืงื•ืžืคืงื˜ื™
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SHcompact.

-m5-compact-nofpu
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ SHcompact ื‘ืฆื•ืจื” ื›ื–ื• ืฉืœื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ื™ื—ื™ื“ืช ื”ื ืงื•ื“ื” ื”ืฆืคื”.

-ืžื‘ ื”ื™ื“ื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื‘ืžืฆื‘ big-endian.

-ืžืœ ื”ื™ื“ื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื‘ืžืฆื‘ little-endian.

-ืžื“ืœื™ื™ืŸ
ื™ื™ืฉืจ ื›ืคื™ืœื™ื ื‘ื’ื‘ื•ืœื•ืช 64 ืกื™ื‘ื™ื•ืช. ืฉื™ืžื• ืœื‘ ืฉื–ื” ืžืฉื ื” ืืช ืžื•ืกื›ืžื•ืช ื”ืฉื™ื—ื•ืช,
ื•ืœืคื™ื›ืš ื—ืœืง ืžื”ืคื•ื ืงืฆื™ื•ืช ืžืกืคืจื™ื™ืช C ื”ืกื˜ื ื“ืจื˜ื™ืช ืื™ื ืŸ ืคื•ืขืœื•ืช ืืœื ืื ื›ืŸ ืชื‘ืฆืข ืงื•ืžืคื™ืœืฆื™ื” ืžื—ื“ืฉ
ื–ื” ืงื•ื“ื ืขื -ืžื“ืœื™ื™ืŸ.

-ืœื”ื™ืจื’ืข
ืงืฆืจ ื›ืžื” ื”ืคื ื™ื•ืช ืœื›ืชื•ื‘ื•ืช ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ, ื‘ืžื™ื“ืช ื”ืืคืฉืจ; ืžืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ืงื™ืฉื•ืจ
-ืœึฐื”ึดืจึธื’ึทืข.

- mbigtable
ื”ืฉืชืžืฉ ื‘ืงื™ื–ื•ื–ื™ื ืฉืœ 32 ืกื™ื‘ื™ื•ืช ื‘ื˜ื‘ืœืื•ืช "ื‘ื•ืจืจ". ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื”ืฉืชืžืฉ ื‘ื”ื™ืกื˜ื™ื ืฉืœ 16 ืกื™ื‘ื™ื•ืช.

-ืžื‘ื™ื˜ื•ืคื™ื
ืืคืฉืจ ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ืžื ื™ืคื•ืœืฆื™ื” ืฉืœ ืกื™ื‘ื™ื•ืช ื‘-SH2A.

-mfmovd
ืืคืฉืจ ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื” "fmovd". ื—ืฉื‘ื•ืŸ -ืžื“ืœื™ื™ืŸ ืขื‘ื•ืจ ืื™ืœื•ืฆื™ ื™ื™ืฉื•ืจ.

-mrenesas
ืฆื™ื™ืช ืœืžื•ืกื›ืžื•ืช ื”ืฉื™ื—ื•ืช ืฉื”ื•ื’ื“ืจื• ืขืœ ื™ื“ื™ Renesas.

-mno-renesas
ืฆื™ื™ืช ืœืžื•ืกื›ืžื•ืช ื”ืฉื™ื—ื•ืช ืฉื”ื•ื’ื“ืจื• ืขื‘ื•ืจ GCC ืœืคื ื™ ืืžื ื•ืช Renesas
ื”ื™ื• ื–ืžื™ื ื™ื. ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ื›ืœ ื”ื™ืขื“ื™ื ืฉืœ ืฉืจืฉืจืช ื”ื›ืœื™ื ืฉืœ SH.

-mnomacsave
ืกืžืŸ ืืช ืจื™ืฉื•ื ื”-"MAC" ื›-Call-clobbered, ื’ื ืื -mrenesas ื ืชื•ืŸ.

-ืžื™ื™
-ืžื ื•-ืื™ื™
ืฉืœื•ื˜ ื‘ืชืื™ืžื•ืช IEEE ืฉืœ ื”ืฉื•ื•ืื•ืช ื ืงื•ื“ื” ืฆืคื”, ืžื” ืฉืžืฉืคื™ืข ืขืœ ื”ื˜ื™ืคื•ืœ
ืฉืœ ืžืงืจื™ื ืฉื‘ื”ื ืชื•ืฆืืช ื”ื”ืฉื•ื•ืื” ืื™ื ื” ืžืกื•ื“ืจืช. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ -ืžื™ื™ is
ืžื•ืคืขืœ ื‘ืื•ืคืŸ ืžืจื•ืžื–. ืื -ืกื•ืคื™ืช-ืžืชืžื˜ื™ืงื”-ื‘ืœื‘ื“ ืžืื•ืคืฉืจ -ืžื ื•-ืื™ื™ ืžื•ื’ื“ืจ ื‘ืื•ืคืŸ ืžืจื•ืžื–,
ืžื” ืฉื’ื•ืจื ืœื”ืฉื•ื•ืื•ืช ืžื”ื™ืจื•ืช ื™ื•ืชืจ ืฉืœ ื ืงื•ื“ื” ืฆืคื” ื’ื“ื•ืœื” ื™ื•ืชืจ-ืฉื•ื•ืช ื•ืคื—ื•ืช ืฉื•ื•ืช. ื”
ื ื™ืชืŸ ืœืขืงื•ืฃ ื”ื’ื“ืจื•ืช implcit ืขืœ ื™ื“ื™ ืฆื™ื•ืŸ ืื—ืช ืžื”ืŸ -ืžื™ื™ or -ืžื ื•-ืื™ื™.

-minline-ic_invalidate
ืงื•ื“ ืžื•ื˜ื‘ืข ืœื‘ื™ื˜ื•ืœ ืขืจื›ื™ ืžื˜ืžื•ืŸ ื”ื•ืจืื•ืช ืœืื—ืจ ื”ื’ื“ืจืช ืคื•ื ืงืฆื™ื” ืžืงื•ื ื ืช
ื˜ืจืžืคื•ืœื™ื ื•ืช. ืœืืคืฉืจื•ืช ื–ื• ืื™ืŸ ื”ืฉืคืขื” ืื -ืžืฆื‘ ืžื•ืกืจ ื‘ืชื•ืงืฃ ื•ื”ื ื‘ื—ืจ
ืืคืฉืจื•ืช ื™ืฆื™ืจืช ืงื•ื“ (ืœืžืฉืœ -ืž 4) ืื™ื ื• ืžืืคืฉืจ ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืืช "icbi".
ืื ืืคืฉืจื•ืช ื™ืฆื™ืจืช ื”ืงื•ื“ ืฉื ื‘ื—ืจื” ืื™ื ื” ืžืืคืฉืจืช ืฉื™ืžื•ืฉ ื‘-"icbi"
ื”ื“ืจื›ื”, ื• -ืžืฆื‘ ืžื•ืกืจ ืื™ื ื• ื‘ืชื•ืงืฃ, ื”ืงื•ื“ ื”ืžื•ื˜ื‘ืข ืžืคืขื™ืœ ืืช ื”-
ืžืขืจืš ื›ืชื•ื‘ืช ืžื˜ืžื•ืŸ ื”ื•ืจืื•ืช ื™ืฉื™ืจื•ืช ืขื ื›ืชื™ื‘ื” ืืกื•ืฆื™ืื˜ื™ื‘ื™ืช. ื–ื” ืœื ืจืง
ื“ื•ืจืฉ ืžืฆื‘ ืžื™ื•ื—ืก ื‘ื–ืžืŸ ืจื™ืฆื”, ืื‘ืœ ื”ื•ื ื’ื ื ื›ืฉืœ ืื ืฉื•ืจืช ื”ืžื˜ืžื•ืŸ ื”ื™ื™ืชื”
ืžืžื•ืคื” ื‘ืืžืฆืขื•ืช ื”-TLB ื•ื”ืคืš ืœืœื ืžื™ืคื•ื™.

-ื”ื’ื“ืœื”
ื’ื•ื“ืœ ื”ื”ื•ืจืื” ื•ืžื™ืงื•ื ื”ื”ื ื—ื™ื” ื‘ืงื•ื“ ื”ื”ืจื›ื‘ื”.

-mpadstruct
ืืคืฉืจื•ืช ื–ื• ื”ื•ืฆืื” ืžืฉื™ืžื•ืฉ. ื–ื” ืžืจืคื“ ืžื‘ื ื™ื ืœื›ืคื•ืœื” ืฉืœ 4 ื‘ืชื™ื, ื›ืœื•ืžืจ
ืื™ื ื• ืชื•ืื ืืช SH ABI.

-ืžื˜ื•ืžื™-ืžื•ื“ืœ=ืžื•ื“ืœ
ืžื’ื“ื™ืจ ืืช ื”ืžื•ื“ืœ ืฉืœ ืคืขื•ืœื•ืช ืื˜ื•ืžื™ื•ืช ื•ืคืจืžื˜ืจื™ื ื ื•ืกืคื™ื ื›ืžื•ืคืจื“ ื‘ืคืกื™ืง
ืจืฉื™ืžื”. ืœืคืจื˜ื™ื ืขืœ ื”ืคื•ื ืงืฆื™ื•ืช ื”ืžื•ื‘ื ื•ืช ื”ืื˜ื•ืžื™ื•ืช ืจืื” __ืึธื˜ื•ึนืžึดื™ ืžื•ื‘ื ื”. ื”
ื”ื“ื’ืžื™ื ื•ื”ืคืจืžื˜ืจื™ื ื”ื‘ืื™ื ื ืชืžื›ื™ื:

ืืฃ ืœื ืื—ื“
ื”ืฉื‘ืช ืจืฆืคื™ื ืื˜ื•ืžื™ื™ื ืฉื ื•ืฆืจื• ืขืœ ื™ื“ื™ ืžื”ื“ืจ ื•ืคืœื•ื˜ ืงืจื™ืื•ืช ืกืคืจื™ื™ื” ืขื‘ื•ืจ atomic
ืคืขื•ืœื•ืช. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืื ื”ื™ืขื“ ืื™ื ื• "sh*-*-linux*".

ืจืš-ื’ื•ืกื”
ืฆื•ืจ ืจืฆืคื™ื ืื˜ื•ืžื™ื™ื ืฉืœ ืชื•ื›ื ืช gUSA ืชื•ืืžื™ GNU/Linux ืขื‘ื•ืจ ื”ืžื‘ื ื” ื”ืื˜ื•ืžื™-
ื‘ืคื•ื ืงืฆื™ื•ืช. ื”ืจืฆืคื™ื ื”ืื˜ื•ืžื™ื™ื ืฉื ื•ืฆืจื• ื“ื•ืจืฉื™ื ืชืžื™ื›ื” ื ื•ืกืคืช ืžื”-
ืงื•ื“ ื˜ื™ืคื•ืœ ื‘ืคืกื™ืงื”/ื—ืจื™ื’ื” ืฉืœ ื”ืžืขืจื›ืช ื•ืžืชืื™ืžื™ื ืจืง ืœ-SH3* ื•
ืžืขืจื›ื•ืช SH4* ื—ื“ ืœื™ื‘ื•ืช. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ ื”ื™ืขื“ ื”ื•ื
"sh*-*-linux*" ื•-SH3* ืื• SH4*. ื›ืืฉืจ ื”ื™ืขื“ ื”ื•ื SH4A, ืืคืฉืจื•ืช ื–ื• ืชื”ื™ื” ื’ื ื›ืŸ
ืœื ืฆืœ ื—ืœืงื™ืช ืืช ื”ื•ืจืื•ืช ื”ื—ื•ืžืจื” ื”ืื˜ื•ืžื™ื•ืช "movli.l" ื•-"movco.l" ื›ื“ื™
ืœื™ืฆื•ืจ ืงื•ื“ ื™ืขื™ืœ ื™ื•ืชืจ, ืืœื ืื ื›ืŸ ืงึทืคึผึฐื“ึธื ึดื™ ืžื•ื’ื“ืจ.

soft-tcb
ืฆื•ืจ ืจืฆืคื™ ืชื•ื›ื ื” ืื˜ื•ืžื™ื™ื ื”ืžืฉืชืžืฉื™ื ื‘ืžืฉืชื ื” ื‘ื‘ืงืจืช ื”ื—ื•ื˜ื™ื
ืœึทื—ืกื•ึนื. ื–ื•ื”ื™ ื•ืจื™ืืฆื™ื” ืฉืœ ืจืฆืคื™ gUSA ืฉื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื”ื ื’ื ื‘-SH1*
ื•ืžื˜ืจื•ืช SH2*. ื”ืจืฆืคื™ื ื”ืื˜ื•ืžื™ื™ื ืฉื ื•ืฆืจื• ื“ื•ืจืฉื™ื ืชืžื™ื›ื” ื ื•ืกืคืช ืž
ืงื•ื“ ื”ื˜ื™ืคื•ืœ ื‘ืคืกื™ืงื”/ื—ืจื™ื’ื” ืฉืœ ื”ืžืขืจื›ืช ื•ืžืชืื™ืžื™ื ืจืง ืขื‘ื•ืจ
ืžืขืจื›ื•ืช ืœื™ื‘ื” ืื—ืช. ื‘ืขืช ืฉื™ืžื•ืฉ ื‘ื“ื’ื ื–ื”, ื” gbr-offset= ืคืจืžื˜ืจ ื—ื™ื™ื‘ ืœื”ื™ื•ืช
ืžืฆื•ื™ืŸ ื’ื ื›ืŸ.

ืจืš-imask
ืฆื•ืจ ืจืฆืคื™ ืชื•ื›ื ื” ืื˜ื•ืžื™ื™ื ื”ืžืฉื‘ื™ืชื™ื ื‘ืื•ืคืŸ ื–ืžื ื™ ืคืกื™ืงื•ืช ืขืœ ื™ื“ื™ ื”ื’ื“ืจื”
"SR.IMASK = 1111". ืžื•ื“ืœ ื–ื” ืคื•ืขืœ ืจืง ื›ืืฉืจ ื”ืชื•ื›ื ื™ืช ืคื•ืขืœืช ื‘ืžืฆื‘ ืžื™ื•ื—ืก
ื•ืžืชืื™ื ืจืง ืœืžืขืจื›ื•ืช ืœื™ื‘ื” ืื—ืช. ืชืžื™ื›ื” ื ื•ืกืคืช ืžื”
ืื™ืŸ ืฆื•ืจืš ื‘ืงื•ื“ ื˜ื™ืคื•ืœ ื‘ืคืกื™ืงื”/ื—ืจื™ื’ื” ืฉืœ ื”ืžืขืจื›ืช. ื”ื“ื’ื ื”ื–ื” ื”ื•ื
ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ ื”ื™ืขื“ ื”ื•ื "sh*-*-linux*" ื•-SH1* ืื• SH2*.

hard-llcs
ืฆื•ืจ ืจืฆืคื™ื ืื˜ื•ืžื™ื™ื ืฉืœ ื—ื•ืžืจื” ื‘ืืžืฆืขื•ืช ื”ื”ื•ืจืื•ืช "movli.l" ื•-"movco.l".
ืจืง. ื–ื” ื–ืžื™ืŸ ืจืง ื‘-SH4A ื•ืžืชืื™ื ืœืžืขืจื›ื•ืช ืžืจื•ื‘ื•ืช ืœื™ื‘ื•ืช.
ืžื›ื™ื•ื•ืŸ ืฉื”ื•ืจืื•ืช ื”ื—ื•ืžืจื” ืชื•ืžื›ื•ืช ืจืง ื‘ืžืฉืชื ื™ื ืื˜ื•ืžื™ื™ื ืฉืœ 32 ืกื™ื‘ื™ื•ืช, ื’ื™ืฉื” ืœ-8
ืื• ืžืฉืชื ื™ื ืฉืœ 16 ืกื™ื‘ื™ื•ืช ืžื—ื•ืงื™ื ืขื ื’ื™ืฉื” ืฉืœ 32 ืกื™ื‘ื™ื•ืช. ืงื•ื“ ืžื•ืจื›ื‘ ืขื ื–ื”
ื”ืืคืฉืจื•ืช ืชื”ื™ื” ื’ื ืชื•ืืžืช ืœืžื•ื“ืœ ืื˜ื•ืžื™ ืชื•ื›ื ื” ืื—ืจ
ืžืขืจื›ื•ืช ื˜ื™ืคื•ืœ ื‘ืคืกื™ืงื”/ื—ืจื™ื’ื™ื ืื ืžื‘ื•ืฆืขื•ืช ืขืœ ืžืขืจื›ืช SH4A. ื ื•ึนืกึธืฃ
ืื™ืŸ ืฆื•ืจืš ื‘ืชืžื™ื›ื” ืžืงื•ื“ ื”ื˜ื™ืคื•ืœ ื‘ืคืกื™ืงื”/ื—ืจื™ื’ื™ื ืฉืœ ื”ืžืขืจื›ืช
ืขื‘ื•ืจ ื”ืžื•ื“ืœ ื”ื–ื”.

gbr-offset=
ืคืจืžื˜ืจ ื–ื” ืžืฆื™ื™ืŸ ืืช ื”ื”ื™ืกื˜ ื‘ื‘ืชื™ื ืฉืœ ื”ืžืฉืชื ื” ื‘ื‘ืงืจืช ื”ื—ื•ื˜ื™ื
ืžื‘ื ื” ื‘ืœื•ืงื™ื ืฉืืžื•ืจ ืœืฉืžืฉ ืืช ื”ืจืฆืคื™ื ื”ืื˜ื•ืžื™ื™ื ืฉื ื•ืฆืจื• ื›ืืฉืจ
soft-tcb ื”ื“ื’ื ื ื‘ื—ืจ. ืขื‘ื•ืจ ื“ื’ืžื™ื ืื—ืจื™ื ืžืชืขืœืžื™ื ืžืคืจืžื˜ืจ ื–ื”.
ื”ืขืจืš ืฉืฆื•ื™ืŸ ื—ื™ื™ื‘ ืœื”ื™ื•ืช ื›ืคื•ืœื” ืฉืœืžื” ืฉืœ ืืจื‘ืข ื•ื‘ื˜ื•ื•ื— 0-1020.

ืงึทืคึผึฐื“ึธื ึดื™
ืคืจืžื˜ืจ ื–ื” ืžื•ื ืข ืฉื™ืžื•ืฉ ืžืขื•ืจื‘ ื‘ืžืกืคืจ ื“ื’ืžื™ื ืื˜ื•ืžื™ื™ื, ืœืžืจื•ืช ืฉื”ื
ื™ื”ื™ื” ืชื•ืื, ื•ื™ื’ืจื•ื ืœืžื”ื“ืจ ืœื™ืฆื•ืจ ืจืฆืคื™ื ืื˜ื•ืžื™ื™ื ืฉืœ
ื”ื“ื’ื ืฉืฆื•ื™ืŸ ื‘ืœื‘ื“.

-mtas
ืฆื•ืจ ืืช ื”-opcode "tas.b" ืขื‘ื•ืจ "__atomic_test_and_set". ืฉื™ืžื• ืœื‘ ื›ื™ ื‘ื”ืชืื ืœ
ืชืฆื•ืจืช ื—ื•ืžืจื” ื•ืชื•ื›ื ื” ืžืกื•ื™ืžืช ื–ื” ื™ื›ื•ืœ ืœืคื’ื•ื ื‘ื‘ื™ืฆื•ืขื™ื ื”ื›ื•ืœืœื™ื
ืขืงื‘ ืฉื˜ืคื™ ืงื• ื”ืžื˜ืžื•ืŸ ืฉืœ ื”ืื•ืคืจื ื“ ื”ืžืฉืชืžืขื™ื ืžื”ืคืงื•ื“ื” "tas.b". ืขึทืœ
ืžืขื‘ื“ื™ SH4A ืžืจื•ื‘ื™ ืœื™ื‘ื•ืช ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ื”ื•ืจืื” "tas.b" ื‘ื–ื”ื™ืจื•ืช ืžื›ื™ื•ื•ืŸ ืฉื”ื™ื
ื™ื›ื•ืœ ืœื’ืจื•ื ืœืคื’ื™ืขื” ื‘ื ืชื•ื ื™ื ืขื‘ื•ืจ ืชืฆื•ืจื•ืช ืžื˜ืžื•ืŸ ืžืกื•ื™ืžื•ืช.

-ื ื›ื•ืŸ
ื‘ืขืช ื”ืคืงืช ืงื•ื“ ื‘ืœืชื™ ืชืœื•ื™ ื‘ืžื™ืงื•ื, ืฉืœื— ืงืจื™ืื•ืช ืคื•ื ืงืฆื™ื” ื‘ืืžืฆืขื•ืช ื”ื”ื™ืกื˜ ื”ื’ืœื•ื‘ืœื™
ื˜ื‘ืœื” ื‘ืžืงื•ื ื˜ื‘ืœืช ื”ืฆืžื“ืช ื ื”ืœื™ื.

-ืžืฆื‘ ืžื•ืกืจ
-mno-usermode
ืืœ ืชืืคืฉืจ (ืชืืคืฉืจ) ืœืžื”ื“ืจ ืฉื™ื•ืฆืจ ืงื•ื“ ืžืฆื‘ ืžื™ื•ื—ืก. ืžืคืจื˜
-ืžืฆื‘ ืžื•ืกืจ ื’ื ืžืจืžื– -mno-inline-ic_invalidate ืื ื”ืงื•ื“ ื”ืžื•ื˜ื‘ืข ืœื ื™ืขื‘ื•ื“
ื‘ืžืฆื‘ ืžืฉืชืžืฉ. -ืžืฆื‘ ืžื•ืกืจ ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื›ืืฉืจ ื”ื™ืขื“ ื”ื•ื "sh*-*-linux*". ืื ื”
ื”ื™ืขื“ ื”ื•ื SH1* ืื• SH2* -ืžืฆื‘ ืžื•ืกืจ ืื™ืŸ ื”ืฉืคืขื”, ืžื›ื™ื•ื•ืŸ ืฉืื™ืŸ ืžืฆื‘ ืžืฉืชืžืฉ.

-multcost=ืžืกืคืจ
ื”ื’ื“ืจ ืืช ื”ืขืœื•ืช ืฉื™ืฉ ืœื”ื ื™ื— ืขื‘ื•ืจ ื›ืคืœ insn.

-mdiv=ืืกื˜ืจื˜ื’ื™ื”
ื”ื’ื“ืจ ืืช ืืกื˜ืจื˜ื’ื™ื™ืช ื”ื—ืœื•ืงื” ืฉืชืฉืžืฉ ืขื‘ื•ืจ ืคืขื•ืœื•ืช ื”ื—ืœื•ืงื” ื‘ืžืกืคืจื™ื ืฉืœืžื™ื. ืขื‘ื•ืจ SHmedia
ืืกื˜ืจื˜ื’ื™ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ืื—ื“ ืž:

fp ืžื‘ืฆืข ืืช ื”ืคืขื•ืœื” ื‘ื ืงื•ื“ื” ืฆืคื”. ื™ืฉ ืœื–ื” ื—ื‘ื™ื•ืŸ ื’ื‘ื•ื” ืžืื•ื“, ืื‘ืœ ืฆืจื™ืš
ืจืง ื›ืžื” ื”ื•ืจืื•ืช, ืื– ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ื‘ื—ื™ืจื” ื˜ื•ื‘ื” ืื ื”ืงื•ื“ ืฉืœืš ืžืกืคื™ืง
ILP ืฉื ื™ืชืŸ ืœื ืฆืœ ื‘ืงืœื•ืช ื›ื“ื™ ืœืืคืฉืจ ืœืžื”ื“ืจ ืœืชื–ืžืŸ ืืช ื”ื ืงื•ื“ื” ื”ืฆืคื”
ื”ื•ืจืื•ืช ื™ื—ื“ ืขื ื”ื•ืจืื•ืช ืื—ืจื•ืช. ื—ืœื•ืงื” ื‘ืืคืก ื’ื•ืจืžืช ืœ-a
ื—ืจื™ื’ ื ืงื•ื“ื” ืฆืคื”.

inv ืžืฉืชืžืฉ ื‘ืคืขื•ืœื•ืช ืฉืœ ืžืกืคืจ ืฉืœื ื›ื“ื™ ืœื—ืฉื‘ ืืช ื”ื™ืคื•ืš ืฉืœ ื”ืžื—ืœืง, ื•ืœืื—ืจ ืžื›ืŸ
ืžื›ืคื™ืœ ืืช ื”ื“ื™ื‘ื™ื“ื ื“ ืขื ื”ื™ืคื•ืš. ืืกื˜ืจื˜ื’ื™ื” ื–ื• ืžืืคืฉืจืช CSE ื•ื”ืจืžื”
ืฉืœ ื”ื—ื™ืฉื•ื‘ ื”ื”ืคื•ืš. ื—ืœื•ืงื” ื‘ืืคืก ืžื—ืฉื‘ืช ืชื•ืฆืื” ืœื ืžื•ื’ื“ืจืช,
ืื‘ืœ ืœื ืžืœื›ื•ื“ืช.

inv:minlat
ื’ืจืกื” ืฉืœ inv ื”ื™ื›ืŸ, ืื ืœื ื ืžืฆืื• CSE ืื• ื”ื–ื“ืžื ื•ื™ื•ืช ื”ืจืžื”, ืื• ืื
ื”ืžื‘ืฆืข ื›ื•ืœื• ื”ื•ื ืฃ ืœืื•ืชื• ืžืงื•ื, ื”ืฉืœื‘ื™ื ื”ืื—ืจื•ื ื™ื ืฉืœ ื”
ื—ื™ืฉื•ื‘ ื”ืคื•ืš ืฉืœื•ื‘ื™ื ืขื ื”ื›ืคืœ ื”ืกื•ืคื™ ื›ื“ื™ ืœื”ืงื˜ื™ืŸ ืืช ื”ื›ื•ืœืœ
ื—ื‘ื™ื•ืŸ, ืขืœ ื—ืฉื‘ื•ืŸ ืฉื™ืžื•ืฉ ื‘ื›ืžื” ื”ื•ืจืื•ืช ื ื•ืกืคื•ืช, ื•ื‘ื›ืš ืœื”ืฆื™ืข ืคื—ื•ืช
ืชื–ืžื•ืŸ ื”ื–ื“ืžื ื•ื™ื•ืช ืขื ืงื•ื“ ืื—ืจ.

ืฉื™ื—ื”
ืงื•ืจื ืœืคื•ื ืงืฆื™ื™ืช ืกืคืจื™ื™ื” ื”ืžื™ื™ืฉืžืช ื‘ื“ืจืš ื›ืœืœ ืืช inv:minlat ืึดืกื˜ืจึธื˜ึถื’ึดื™ึธื”. ื–ึถื”
ื ื•ืชืŸ ืฆืคื™ืคื•ืช ืงื•ื“ ื’ื‘ื•ื”ื” ืขื‘ื•ืจ ืงื•ืžืคื™ืœืฆื™ื•ืช "m5-*media-nofpu".

Call2
ืžืฉืชืžืฉ ื‘ื ืงื•ื“ืช ื›ื ื™ืกื” ืฉื•ื ื” ืฉืœ ืื•ืชื” ืคื•ื ืงืฆื™ื™ืช ืกืคืจื™ื™ื”, ืฉื ื”ื•ื ืžื ื™ื— ืฉ-a
ืžืฆื‘ื™ืข ืœื˜ื‘ืœืช ื—ื™ืคื•ืฉ ื›ื‘ืจ ื”ื•ื’ื“ืจ, ืžื” ืฉื—ื•ืฉืฃ ืืช ืขื•ืžืก ื”ืžืฆื‘ื™ืขื™ื
ืœ-CSE ื•ืœืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืฉืœ ื”ื ืคืช ืงื•ื“.

inv:call
inv:call2
inv:fp
ื”ืฉืชืžืฉ inv ืืœื’ื•ืจื™ืชื ืœื™ืฆื™ืจืช ืงื•ื“ ืจืืฉื•ื ื™, ืื‘ืœ ืื ื”ืงื•ื“ ื ืฉืืจ
ืœืœื ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”, ื—ื–ื•ืจ ืœ- ืฉื™ื—ื”, Call2, ืื• fp ืืกื˜ืจื˜ื’ื™ื•ืช, ื‘ื”ืชืืžื”. ืฆื™ื™ืŸ ื–ืืช
ืชื•ืคืขืช ื”ืœื•ื•ืื™ ื”ืขืœื•ืœื” ืœืœื›ื•ื“ ืฉืœ ื—ืœื•ืงื” ื‘ืืคืก ื ื™ืฉืืช ืขืœ ื™ื“ื™ ื ืคืจื“
ื”ื•ืจืื”, ื›ืš ืฉื™ื™ืชื›ืŸ ืฉื›ืœ ื”ื•ืจืื•ืช ื”ืžืกืคืจื™ื ื”ืฉืœืžื™ื ืžื•ื ืคื•ืช ื”ื—ื•ืฆื”,
ืื‘ืœ ื”ืกืžืŸ ืœืชื•ืคืขืช ื”ืœื•ื•ืื™ ื ืฉืืจ ื”ื™ื›ืŸ ืฉื”ื•ื. ืงื•ืžื‘ื™ื ืฆื™ื” ืœ
ืคืขื•ืœื•ืช ื ืงื•ื“ื” ืฆืคื” ืื• ืฉื™ื—ื” ืื™ื ื ืืคืฉืจื™ื™ื ื‘ืžืงืจื” ื–ื”.

inv20u
inv20l
ื’ืจืกืื•ืช ืฉืœ ื” inv:minlat ืึดืกื˜ืจึธื˜ึถื’ึดื™ึธื”. ื‘ืžืงืจื” ืฉื”ื—ื™ืฉื•ื‘ ื”ื”ืคื•ืš ื”ื•ื
ืœื ืžื•ืคืจื“ื™ื ืžื”ื›ืคืœ, ื”ื ืžืื™ืฆื™ื ืืช ื”ื—ืœื•ืงื” ื”ื™ื›ืŸ ืฉื”ื“ื™ื‘ื™ื“ื ื“ ืžืชืื™ื
ืœ-20 ืกื™ื‘ื™ื•ืช (ืกื™ืžืŸ ืคืœื•ืก ื‘ืžื™ื“ืช ื”ืฆื•ืจืš) ืขืœ ื™ื“ื™ ื”ื•ืกืคืช ื‘ื“ื™ืงื” ื›ื“ื™ ืœื“ืœื’ ืขืœ ืžืกืคืจ
ืคืขื•ืœื•ืช ื‘ืžืงืจื” ื–ื”; ืžื‘ื—ืŸ ื–ื” ืžืื˜ ืืช ื”ืžืงืจื” ืฉืœ ื“ื™ื‘ื™ื“ื ื“ื™ื ื’ื“ื•ืœื™ื ื™ื•ืชืจ.
inv20u ืžื ื™ื— ืฉื”ืžืงืจื” ืฉืœ ื“ื™ื‘ื™ื“ื ื“ ื›ื” ืงื˜ืŸ ืื™ื ื• ืกื‘ื™ืจ, ื• inv20l
ืžื ื™ื— ืฉื–ื” ืกื‘ื™ืจ.

ืœืžื˜ืจื•ืช ืื—ืจื•ืช ืžืœื‘ื“ SHmedia ืืกื˜ืจื˜ื’ื™ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช ืื—ื“ ืž:

call-div1
ืงื•ืจื ืœืคื•ื ืงืฆื™ื™ืช ืกืคืจื™ื™ื” ืฉืžืฉืชืžืฉืช ื‘ื”ื•ืจืืช ื”ื—ืœื•ืงื” ื”ื—ื“-ืฉืœื‘ื™ืช "div1" ืœ
ืœื‘ืฆืข ืืช ื”ืคืขื•ืœื”. ื—ืœื•ืงื” ื‘ืืคืก ืžื—ืฉื‘ืช ืชื•ืฆืื” ืœื ืžื•ื’ื“ืจืช ื•ืขื•ืฉื” ื–ืืช
ืœื ืžืœื›ื•ื“ืช. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืœืžืขื˜ SH4, SH2A ื•-SHcompact.

call-fp
ืงื•ืจื ืœืคื•ื ืงืฆื™ื™ืช ืกืคืจื™ื™ื” ื”ืžื‘ืฆืขืช ืืช ื”ืคืขื•ืœื” ื‘ืฆื™ืคื” ื“ื™ื•ืง ื›ืคื•ืœ
ื ึฐืงื•ึผื“ึธื”. ื—ืœื•ืงื” ื‘ืืคืก ื’ื•ืจืžืช ืœื—ืจื™ื’ ื ืงื•ื“ื” ืฆืคื”. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ืขื‘ื•ืจ SHcompact ืขื FPU. ืฆื™ื•ืŸ ื–ืืช ืขื‘ื•ืจ ื™ืขื“ื™ื ืฉืื™ืŸ ืœื”ื ื›ืคื™ืœ
FPU ืžื“ื•ื™ืง ื™ืงื‘ืข ื›ื‘ืจื™ืจืช ืžื—ื“ืœ "call-div1".

ืฉื•ืœื—ืŸ ืฉื™ื—ื”
ืงื•ืจื ืœืคื•ื ืงืฆื™ื™ืช ืกืคืจื™ื™ื” ืฉืžืฉืชืžืฉืช ื‘ื˜ื‘ืœืช ื—ื™ืคื•ืฉ ืขื‘ื•ืจ ืžื—ืœืงื™ื ืงื˜ื ื™ื ื•-
ื”ื•ืจืืช "div1" ืขื ื”ื‘ื—ื ื” ื‘ืžืงืจื” ืขื‘ื•ืจ ืžื—ืœืงื™ื ื’ื“ื•ืœื™ื ื™ื•ืชืจ. ื—ืœื•ืงื” ื‘ืืคืก
ืžื—ืฉื‘ ืชื•ืฆืื” ืœื ืžื•ื’ื“ืจืช ื•ืื™ื ื• ืžืœื›ื•ื“. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ SH4.
ืฆื™ื•ืŸ ื–ืืช ืขื‘ื•ืจ ื™ืขื“ื™ื ืฉืื™ืŸ ืœื”ื ื”ื•ืจืื•ืช ื”ืกื˜ื•ืช ื“ื™ื ืžื™ื•ืช
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื "call-div1".

ื›ืืฉืจ ืœื ืฆื•ื™ื ื” ืืกื˜ืจื˜ื’ื™ื™ืช ื—ืœื•ืงื”, ืืกื˜ืจื˜ื’ื™ื™ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืชื™ื‘ื—ืจ
ื‘ื”ืชื‘ืกืก ืขืœ ื”ื™ืขื“ ื”ื ื•ื›ื—ื™. ืขื‘ื•ืจ SH2A ืืกื˜ืจื˜ื’ื™ื™ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื”ืฉืชืžืฉ ื‘-"divs" ื•
ื”ื•ืจืื•ืช "divu" ื‘ืžืงื•ื ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื•ืช ื‘ืกืคืจื™ื™ื”.

-ืฆื‘ื•ืจ-ื™ื•ืฆื-ืืจื’ื™ื
ืฉืžื•ืจ ืžืงื•ื ืคืขื ืื—ืช ืขื‘ื•ืจ ืืจื’ื•ืžื ื˜ื™ื ื™ื•ืฆืื™ื ื‘ืคืจื•ืœื•ื’ ื”ืคื•ื ืงืฆื™ื” ื•ืœื ืžืกื‘ื™ื‘
ื›ืœ ืฉื™ื—ื”. ื‘ื“ืจืš ื›ืœืœ ืžื•ืขื™ืœ ืœื‘ื™ืฆื•ืขื™ื ื•ืœื’ื•ื“ืœ. ื ื—ื•ืฅ ื’ื ืœื”ืชืคืจืงื•ืช
ื›ื“ื™ ืœื”ื™ืžื ืข ืžืฉื™ื ื•ื™ ืžืกื’ืจืช ื”ืžื—ืกื ื™ืช ืกื‘ื™ื‘ ืงื•ื“ ืžื•ืชื ื”.

-mdivsi3_libfunc=ืฉื
ื”ื’ื“ืจ ืืช ื”ืฉื ืฉืœ ืคื•ื ืงืฆื™ื™ืช ื”ืกืคืจื™ื™ื” ื”ืžืฉืžืฉืช ืœื—ืœื•ืงื” ื—ืชื•ืžื” ืฉืœ 32 ืกื™ื‘ื™ื•ืช ืœ ืฉื. ื–ึถื”
ืžืฉืคื™ืข ืจืง ืขืœ ื”ืฉื ื”ืžืฉืžืฉ ื‘- ืฉื™ื—ื” ื• inv:call ืืกื˜ืจื˜ื’ื™ื•ืช ื—ืœื•ืงื”, ื•ื”
ื”ืžื”ื“ืจ ืขื“ื™ื™ืŸ ืžืฆืคื” ืœืื•ืชืŸ ืงื‘ื•ืฆื•ืช ืฉืœ ืื•ื’ืจื™ ืงืœื˜/ืคืœื˜/ืงืœื•ื‘ื‘ ื›ืื™ืœื• ื–ื”
ื”ืื•ืคืฆื™ื” ืœื ื”ื™ื™ืชื” ืงื™ื™ืžืช.

-mfixed-range=ืจื™ืฉื•ื-ื˜ื•ื•ื—
ืฆื•ืจ ืงื•ื“ ื”ืžืชื™ื™ื—ืก ืœื˜ื•ื•ื— ื”ืื•ื’ืจ ื”ื ืชื•ืŸ ื›ืืœ ืื•ื’ืจื™ื ืงื‘ื•ืขื™ื. ืคื ืงืก ืงื‘ื•ืข
ื”ื•ื ื›ื–ื” ืฉืžืงืฆื™ ื”ืจืฉื•ืžื•ืช ืœื ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื•. ื–ื” ืฉื™ืžื•ืฉื™ ื‘ืขืช ื”ื™ื“ื•ืจ ืœื™ื‘ื”
ืงื•ื“. ื˜ื•ื•ื— ืจื™ืฉื•ื ืžืฆื•ื™ืŸ ื›ืฉื ื™ ืื•ื’ืจื™ื ืžื•ืคืจื“ื™ื ื‘ืืžืฆืขื•ืช ืžืงืฃ. ืžืจื•ื‘ื•ืช
ื ื™ืชืŸ ืœืฆื™ื™ืŸ ื˜ื•ื•ื—ื™ ืจื™ืฉื•ื ืžื•ืคืจื“ื™ื ื‘ืืžืฆืขื•ืช ืคืกื™ืง.

-ื›ืชื•ื‘ืช-mindexed
ืืคืฉืจ ืืช ื”ืฉื™ืžื•ืฉ ื‘ืžืฆื‘ ื”ื›ืชื•ื‘ืช ื‘ืื™ื ื“ืงืก ืขื‘ื•ืจ SHmedia32/SHcompact. ื–ื” ืจืง
ื‘ื˜ื•ื— ืื ื”ื—ื•ืžืจื” ื•/ืื• ืžืขืจื›ืช ื”ื”ืคืขืœื” ืžื™ื™ืฉืžืช ืกืžื ื˜ื™ืงื” ืฉืœ 32 ืกื™ื‘ื™ื•ืช ืœ-wrap-around ืขื‘ื•ืจ ื”ืื™ื ื“ืงืกื™ื
ืžืฆื‘ ืคื ื™ื™ื”. ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ืžืืคืฉืจืช ื”ื˜ืžืขื” ืฉืœ ืžืขื‘ื“ื™ื ืขื 64 ืกื™ื‘ื™ื•ืช
MMU, ืฉื‘ื• ืžืขืจื›ืช ื”ื”ืคืขืœื” ื™ื›ื•ืœื” ืœื”ืฉืชืžืฉ ื›ื“ื™ ืœืงื‘ืœ ื›ืชื•ื‘ืช ืฉืœ 32 ืกื™ื‘ื™ื•ืช, ืืš ืžื›ื™ื•ื•ืŸ ืฉืื™ืŸ ื—ื•ืžืจื” ืขื“ื›ื ื™ืช
ื™ื™ืฉื•ื ืชื•ืžืš ื‘ื“ืจืš ื–ื• ืื• ื‘ื›ืœ ื“ืจืš ืื—ืจืช ืœื”ืคื•ืš ืืช ืžืฆื‘ ื”ื›ืชื•ื‘ืช ื”ืื™ื ื“ืงืก ื‘ื˜ื•ื—
ืœืฉื™ืžื•ืฉ ื‘- ABI ืฉืœ 32 ืกื™ื‘ื™ื•ืช, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ื›ืชื•ื‘ืช-mno-indexed.

-mgettrcost=ืžืกืคืจ
ื”ื’ื“ืจ ืืช ื”ืขืœื•ืช ื”ื”ื ื—ื” ืขื‘ื•ืจ ื”ื•ืจืืช "gettr" ืœ ืžืกืคืจ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 2 if
-mpt-ืชื•ืงืŸ ื‘ืชื•ืงืฃ, 100 ืื—ืจืช.

-mpt-ืชื•ืงืŸ
ื ื ื™ื— ืฉื”ื•ืจืื•ืช "pt*" ืœื ื™ืœื›ื•ื“ื•. ื–ื” ื‘ื“ืจืš ื›ืœืœ ื™ื•ืฆืจ ืงื•ื“ ืžืชื•ื–ืžืŸ ื˜ื•ื‘ ื™ื•ืชืจ,
ืืš ืื™ื ื• ื‘ื˜ื•ื— ื‘ื—ื•ืžืจื” ื”ื ื•ื›ื—ื™ืช. ื”ื’ื“ืจืช ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ื”ื ื•ื›ื—ื™ืช ืื•ืžืจืช ืืช ื–ื”
"ptabs" ื•-"ptrel" ืžืœื›ื•ื“ื•ืช ื›ืืฉืจ ื”ื™ืขื“ ื•ืขื 3 ื”ื•ื 3. ื™ืฉ ืœื–ื” ืืช
ื”ืฉืคืขื” ืœื ืžื›ื•ื•ื ืช ืฉืœ ื”ืคื™ื›ืช ื–ื” ืœื ื‘ื˜ื•ื— ืœืชื–ืžืŸ ื”ื•ืจืื•ืช ืืœื• ืœืคื ื™ ื
ืœื”ืกื ื™ืฃ, ืื• ืœื”ื ื™ืฃ ืื•ืชื ืžืชื•ืš ืœื•ืœืื”. ืœื“ื•ื’ืžื”, "__do_global_ctors", ื—ืœืง ืž
libgcc ืฉืžืจื™ืฅ ื‘ื ืื™ื ื‘ืขืช ื”ืคืขืœืช ื”ืชื•ื›ื ื™ืช, ืงื•ืจื ืœืคื•ื ืงืฆื™ื•ืช ื‘ืจืฉื™ืžื” ืฉื”ื™ื
ืชื—ื•ื ื‘-1. ืขื ื” -mpt-ืชื•ืงืŸ ืืคืฉืจื•ืช, ื”"ptabs" ื ืขืฉื” ืœืคื ื™ ื”ื‘ื“ื™ืงื”
ื ื’ื“ -1. ื–ื” ืื•ืžืจ ืฉื›ืœ ื”ื‘ื ืื™ื ืคื•ืขืœื™ื ืงืฆืช ื™ื•ืชืจ ืžื”ืจ, ืื‘ืœ ื›ืืฉืจ
ืœื•ืœืื” ืžื’ื™ืขื” ืœืกื•ืฃ ื”ืจืฉื™ืžื”, ื”ืชื•ื›ื ื™ืช ืงื•ืจืกืช ื‘ื’ืœืœ ืฉ-"ptabs" ื˜ื•ืขืŸ -1 ืœืชื•ืš a
ืžืื’ืจ ื™ืขื“ื™ื.

ืžื›ื™ื•ื•ืŸ ืฉืื•ืคืฆื™ื” ื–ื• ืื™ื ื” ื‘ื˜ื•ื—ื” ืขื‘ื•ืจ ื›ืœ ื—ื•ืžืจื” ื”ืžื™ื™ืฉืžืช ืืช ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ื”ื ื•ื›ื—ื™ืช
ืžืคืจื˜, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mno-pt-fixed. ืืœื ืื ืฆื•ื™ืŸ ื‘ืžืคื•ืจืฉ ืขื
-mgettrcost, -mno-pt-fixed ื’ื ืžืจืžื– -mgettrcost=100; ื–ื” ืžืจืชื™ืข ืืช ื”ืจื™ืฉื•ื
ื”ืงืฆืื” ืžืฉื™ืžื•ืฉ ื‘ืื•ื’ืจื™ ื™ืขื“ ืœืื—ืกื•ืŸ ืžืกืคืจื™ื ืฉืœืžื™ื ืจื’ื™ืœื™ื.

-ืžื™ื valid-ืกืžืœื™ื
ื ื ื™ื— ืฉืกืžืœื™ื ืขืฉื•ื™ื™ื ืœื”ื™ื•ืช ืœื ื—ื•ืงื™ื™ื. ืกืžืœื™ ืคื•ื ืงืฆื™ื•ืช ืจื’ื™ืœื•ืช ืฉื ื•ืฆืจื• ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ
ืชืงืคื™ื ืชืžื™ื“ ืœื˜ืขื™ื ื” ืขื "movi"/"shori"/"ptabs" ืื• "movi"/"shori"/"ptrel", ืื‘ืœ
ืขื ื˜ืจื™ืงื™ื ืฉืœ ืืกืžื‘ืœืจ ื•/ืื• ืžืงืฉืจ ืืคืฉืจ ืœื™ืฆื•ืจ ืกืžืœื™ื ืฉื’ื•ืจืžื™ื
"ptabs" ืื• "ptrel" ื›ื“ื™ ืœืœื›ื•ื“. ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื‘ืขืœืช ืžืฉืžืขื•ืช ืจืง ื›ืืฉืจ -mno-pt-fixed ื”ื•ื ื‘
ื”ืฉืคืขื”. ื–ื” ืžื•ื ืข CSE ื—ื•ืฆื” ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื, ื”ื ืคื” ื•ืจื•ื‘ ืชื–ืžื•ืŸ ืฉืœ ืกืžืœ
ื”ืžื•ืŸ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mno-invalid-symbols.

-brranch-cost=NUM
ื ื ื™ื— NUM ืœื”ื™ื•ืช ื”ืขืœื•ืช ืขื‘ื•ืจ ื”ื•ืจืื” ื‘ืกื ื™ืฃ. ืžืกืคืจื™ื ื’ื‘ื•ื”ื™ื ื™ื•ืชืจ ื™ื•ืฆืจื™ื ืืช ื”ืžื”ื“ืจ
ื ืกื” ืœื™ืฆื•ืจ ื™ื•ืชืจ ืงื•ื“ ืœืœื ืกื ื™ืคื™ื ื‘ืžื™ื“ืช ื”ืืคืฉืจ. ืื ืœื ืฆื•ื™ืŸ ื”ืขืจืš ื”ื•ื
ื ื‘ื—ืจ ื‘ื”ืชืื ืœืกื•ื’ ื”ืžืขื‘ื“ ืฉืขื‘ื•ืจื• ื”ื™ื“ื•ืจ.

-mzdcbranch
-mno-zdcbranch
ื ื ื™ื— (ืืœ ืชื ื™ื—) ื›ื™ ืืคืก ืชื–ื•ื–ื” ืžื•ืชื ื™ืช ื”ื•ืจืื•ืช ืขื ืฃ "bt" ื•
"bf" ืžื”ื™ืจื™ื. ืื -mzdcbranch ืฆื•ื™ืŸ, ื”ืžื”ื“ืจ ื™ื ืกื” ืœื”ืขื“ื™ืฃ ืืคืก
ืจืฆืคื™ ืงื•ื“ ืขื ืคื™ ืชื–ื•ื–ื”. ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“
ืขื‘ื•ืจ SH4 ื•-SH4A. ื ื™ืชืŸ ืœื”ืฉื‘ื™ืช ืื•ืชื• ื‘ืžืคื•ืจืฉ ืขืœ ื™ื“ื™ ืฆื™ื•ืŸ -mno-zdcbranch.

-mcbranchdi
ืืคืฉืจ ืืช ื“ืคื•ืก ื”ื”ื•ืจืื•ืช "cbranchdi4".

-ืžืงืžืคืงื“ื™
ืคืœื˜ ืืช ื“ืคื•ืก ื”ื”ื•ืจืื•ืช "cmpeqdi_t" ื’ื ื›ืืฉืจ -mcbranchdi ื”ื•ื ื‘ืชื•ืงืฃ.

-ืžfused-madd
-mno-fused-madd
ืฆื•ืจ ืงื•ื“ ืฉืžืฉืชืžืฉ (ืื™ื ื• ืžืฉืชืžืฉ) ื‘ื ืงื•ื“ื” ื”ืฆืคื” ื›ืคื•ืœื” ื•ืฆื‘ื™ืจื”
ื”ื•ืจืื•ืช. ื”ื•ืจืื•ืช ืืœื” ื ื•ืฆืจื•ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืื ื—ื•ืžืจื” ื ืงื•ื“ื” ืฆืคื”
ืžืฉืžืฉ. ื”ืชืœื•ื™ ื‘ืžื›ื•ื ื” -ืžfused-madd ื”ืืคืฉืจื•ืช ืžืžื•ืคื” ื›ืขืช ืœืžื›ื•ื ื”-
ืขืฆืžืื™ -ffp-contract=ืžื”ื™ืจ ืืคืฉืจื•ืช ื• -mno-fused-madd ืžืžื•ืคื” ืœ
-ffp-contract=off.

-mfsca
-mno-fsca
ืืคืฉืจ ืื• ืœื ืœืืคืฉืจ ืœืžื”ื“ืจ ืœืคืœื•ื˜ ืืช ื”ื•ืจืืช "fsca" ืขื‘ื•ืจ ืกื™ื ื•ืก ื•ืงื•ืกื™ื ื•ืก
ืงื™ืจื•ื‘ื™ื. ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช "-mfsca" ื‘ืฉื™ืœื•ื‘ ืขื
"-funsafe-math-optimizations". ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘ืขืช ื™ืฆื™ืจืช ืงื•ื“ ืขื‘ื•ืจ
SH4A. ืฉื™ืžื•ืฉ ื‘-"-mno-fsca" ืžืฉื‘ื™ืช ืืช ืงื™ืจื•ื‘ื™ ื”ืกื™ื ื•ืก ื•ื”ืงื•ืกื™ื ื•ืก ื’ื ืื
"-funsafe-math-optimizations" ื‘ืชื•ืงืฃ.

-mfsrra
-ืžื ื•-ืคืกืจื”
ืืคืฉืจ ืื• ืœื ืœืืคืฉืจ ืœืžื”ื“ืจ ืœืคืœื•ื˜ ืืช ื”ื•ืจืืช "fsrra" ืขื‘ื•ืจ ืจื™ื‘ื•ืข ื”ื“ื“ื™
ืงื™ืจื•ื‘ื™ ืฉื•ืจืฉ. ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช "-mfsrra" ื‘ืฉื™ืœื•ื‘ ืขื
"-funsafe-math-optimizations" ื•-"-finite-math-only". ื–ื” ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ
ื™ืฆื™ืจืช ืงื•ื“ ืขื‘ื•ืจ SH4A. ืฉื™ืžื•ืฉ ื‘-"-mno-fsrra" ืžืฉื‘ื™ืช ืฉื•ืจืฉ ืจื™ื‘ื•ืขื™ ื”ื“ื“ื™
ืงื™ืจื•ื‘ื™ื ื’ื ืื "-funsafe-math-optimizations" ื•-"-finite-math-only" ื ืžืฆืื™ื ื‘
ื”ืฉืคืขื”.

-mpretend-cmove
ื”ืขื“ื™ืคื• ืขื ืคื™ื ืžื•ืชื ื™ื ื‘ืืคืก ืชื–ื•ื–ื” ืœื”ื•ืจืืช ืชื ื•ืขื” ืžื•ืชื ื™ืช
ื“ืคื•ืกื™ื. ื–ื” ื™ื›ื•ืœ ืœื’ืจื•ื ืœืงื•ื“ ืžื”ื™ืจ ื™ื•ืชืจ ื‘ืžืขื‘ื“ SH4.

Solaris 2 ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ื ืชืžื›ื•ืช ืขืœ Solaris 2:

-ื˜ืงืกื˜-ืžื™ืžืคื•ืจ
-ื˜ืงืกื˜-ืžื™ืžืคื•ืจ, ื‘ืฉื™ืžื•ืฉ ื‘ื ื•ืกืฃ ืœ -ืžึฐืฉืื•ึผืชึธืฃ, ืื•ืžืจ ืœืžื”ื“ืจ ืœื ืœืขื‘ื•ืจ -z ื˜ึถืงืกื˜ ืœ
ื”ืžืงืฉืจ ื‘ืขืช ืงื™ืฉื•ืจ ืื•ื‘ื™ื™ืงื˜ ืžืฉื•ืชืฃ. ื‘ืืžืฆืขื•ืช ืืคืฉืจื•ืช ื–ื•, ืชื•ื›ืœ ืœืงืฉืจ ืžื™ืงื•ื-
ืงื•ื“ ืชืœื•ื™ ืœืื•ื‘ื™ื™ืงื˜ ืžืฉื•ืชืฃ.

-ื˜ืงืกื˜-ืžื™ืžืคื•ืจ ืžื“ื›ื ืืช "ื”ื”ืขื‘ืจื•ืช ื ืฉืืจื•ืช ื ื’ื“ ื ื™ืชื ื•ืช ืœื”ืงืฆืื” ืืš ืœื ื ื™ืชื ื•ืช ืœื›ืชื™ื‘ื”
ื”ื•ื“ืขืช ืฉื’ื™ืื” ืžืงืฉืจ ืžืงื˜ืขื™ื. ืขื ื–ืืช, ื”ื”ืขื‘ืจื•ืช ื”ื ื—ื•ืฆื•ืช ืžืคืขื™ืœื•ืช ื”ืขืชืงื” ื‘-
ืœื›ืชื•ื‘, ื•ื”ืื•ื‘ื™ื™ืงื˜ ื”ืžืฉื•ืชืฃ ืื™ื ื• ืžืฉื•ืชืฃ ืœืžืขืฉื” ื‘ื™ืŸ ืชื”ืœื™ื›ื™ื. ื‘ืžืงื•ื
ื‘ืืžืฆืขื•ืช -ื˜ืงืกื˜-ืžื™ืžืคื•ืจ, ืขืœื™ืš ืœื”ืจื›ื™ื‘ ืืช ื›ืœ ืงื•ื“ ื”ืžืงื•ืจ ืขื -fpic or -fPIC.

ืžืชื’ื™ื ืืœื” ื ืชืžื›ื™ื ื‘ื ื•ืกืฃ ืœืืžื•ืจ ืœืขื™ืœ ื‘- Solaris 2:

-phthreads
ื”ื•ืกืฃ ืชืžื™ื›ื” ื‘ืจื™ื‘ื•ื™ ื”ืฉืจืฉื•ืจื™ื ื‘ืืžืฆืขื•ืช ืกืคืจื™ื™ืช ื”ืฉืจืฉื•ืจื™ื ืฉืœ POSIX. ืืคืฉืจื•ืช ื–ื• ืงื•ื‘ืขืช
ื“ื’ืœื™ื ื”ืŸ ืขื‘ื•ืจ ื”ืคืจื”ืžืขื‘ื“ ื•ื”ืŸ ืขื‘ื•ืจ ื”ืžืงืฉืจ. ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ืžืฉืคื™ืขื” ืขืœ ื”ืฉืจืฉื•ืจ
ื‘ื˜ื™ื—ื•ืช ืงื•ื“ ื”ืื•ื‘ื™ื™ืงื˜ ื”ืžื™ื•ืฆืจ ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ ืื• ื–ื” ืฉืœ ืกืคืจื™ื•ืช ืฉืกื•ืคืงื• ืื™ืชื•.

-phthread
ื–ื•ื”ื™ ืžื™ืœื” ื ืจื“ืคืช ืœ -phthreads.

SPARC ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ื ืชืžื›ื•ืช ื‘-SPARC:

-mno-app-regs
-mapp-regs
ืœืคืจื˜ -mapp-regs ืœื™ืฆื•ืจ ืคืœื˜ ื‘ืืžืฆืขื•ืช ื”ืื•ื’ืจื™ื ื”ื’ืœื•ื‘ืืœื™ื™ื 2 ืขื“ 4, ืืฉืจ
ืจื–ืจื‘ื•ืช SPARC SVR4 ABI ืœื™ื™ืฉื•ืžื™ื. ื›ืžื• ื”ืจื™ืฉื•ื ื”ื’ืœื•ื‘ืœื™ 1, ื›ืœ ืื—ื“ ื’ืœื•ื‘ืœื™
ืœืื—ืจ ืžื›ืŸ ืžืชื™ื™ื—ืกื™ื ืœืจื’ืจ 2 ืขื“ 4 ื›ืืœ ืจื™ืฉื•ื ื‘ืจ-ื”ืงืฆืื” ืืฉืจ ื ืœืงื— ืขืœ ื™ื“ื™
ืงืจื™ืื•ืช ืคื•ื ืงืฆื™ื”. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

ื›ื“ื™ ืœื”ื™ื•ืช ืชื•ืื ืœื—ืœื•ื˜ื™ืŸ ืœ-SVR4 ABI ื‘ืžื—ื™ืจ ืฉืœ ืื•ื‘ื“ืŸ ื‘ื™ืฆื•ืขื™ื ืžืกื•ื™ื, ืฆื™ื™ืŸ
-mno-app-regs. ื›ื“ืื™ ืœื”ืจื›ื™ื‘ ืกืคืจื™ื•ืช ื•ืชื•ื›ื ืช ืžืขืจื›ืช ืขื ืืคืฉืจื•ืช ื–ื•.

-mflat
-ืžื ื•-ืฉื˜ื•ื—
ืขื -mflat, ื”ืžื”ื“ืจ ืื™ื ื• ืžื™ื™ืฆืจ ื”ื•ืจืื•ืช ืฉืžื™ืจื”/ืฉื—ื–ื•ืจ ื•ืžืฉืชืžืฉ ื‘-a
ื“ื’ื "ืฉื˜ื•ื—" ืื• ื™ื—ื™ื“ ื—ืœื•ืŸ. ื“ื’ื ื–ื” ืชื•ืื ืœืจื’ื™ืœ
ืœืจืฉื•ื ื“ื’ื ื—ืœื•ืŸ. ื”ืื•ื’ืจื™ื ื”ืžืงื•ืžื™ื™ื ื•ืื•ื’ืจื™ ื”ืงืœื˜ (0--5) ืขื“ื™ื™ืŸ
ืžื˜ื•ืคืœื™ื ื›ืืœ ืจื•ืฉืžื™ื "ืฉืžื•ืจื™ื ื‘ืฉื™ื—ื”" ื•ื ืฉืžืจื™ื ื‘ืขืจื™ืžื” ืœืคื™ ื”ืฆื•ืจืš.

ืขื -ืžื ื•-ืฉื˜ื•ื— (ื‘ืจื™ืจืช ื”ืžื—ื“ืœ), ื”ืžื”ื“ืจ ื™ื•ืฆืจ ื”ื•ืจืื•ืช ืฉืžื™ืจื”/ืฉื—ื–ื•ืจ (ืœืžืขื˜
ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ืขืœื™ื). ื–ื”ื• ืžืฆื‘ ื”ื”ืคืขืœื” ื”ืจื’ื™ืœ.

-mfpu
-mhard-float
ืฆื•ืจ ืคืœื˜ ื”ืžื›ื™ืœ ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื”. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mno-fpu
-msoft-float
ืฆื•ืจ ืคืœื˜ ื”ืžื›ื™ืœ ืงืจื™ืื•ืช ืœืกืคืจื™ื™ื” ืขื‘ื•ืจ ื ืงื•ื“ื” ืฆืคื”. ืึทื–ื”ึธืจึธื”: ื”ื ื“ืจืฉ
ืกืคืจื™ื•ืช ืื™ื ืŸ ื–ืžื™ื ื•ืช ืขื‘ื•ืจ ื›ืœ ื™ืขื“ื™ SPARC. ื‘ื“ืจืš ื›ืœืœ ื”ืžืชืงื ื™ื ืฉืœ
ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืžื”ื“ืจ C ื”ืจื’ื™ืœ ืฉืœ ื”ืžื›ื•ื ื”, ืืš ืœื ื ื™ืชืŸ ืœืขืฉื•ืช ื–ืืช ื™ืฉื™ืจื•ืช ื‘-cross-
ื”ึทื”ื“ึธืจึธื”. ืขืœื™ืš ืœืขืฉื•ืช ืกื™ื“ื•ืจื™ื ืžืฉืœืš ื›ื“ื™ ืœืกืคืง ืกืคืจื™ื™ื” ืžืชืื™ืžื”
ืคื•ื ืงืฆื™ื•ืช ืขื‘ื•ืจ ืงื•ืžืคื™ืœืฆื™ื” ืฆื•ืœื‘ืช. ื”ืžื˜ืจื•ืช ื”ืžื•ื˜ื‘ืขื•ืช sparc-*-aout ื• sparclite-*-*
ืžืกืคืงื™ื ืชืžื™ื›ื” ื‘ืชื•ื›ื ื” ื‘ื ืงื•ื“ื” ืฆืคื”.

-msoft-float ืžืฉื ื” ืืช ืžื•ืกื›ืžื•ืช ื”ืฉื™ื—ื•ืช ื‘ืงื•ื‘ืฅ ื”ืคืœื˜; ืœื›ืŸ, ื–ื” ืจืง
ืฉื™ืžื•ืฉื™ ืื ืืชื” ืงื•ืžืคื™ืœืฆื™ื” ืืช ื›ืœ ืฉืœ ืชื•ื›ื ื™ืช ืขื ืืคืฉืจื•ืช ื–ื•. ื‘ืคืจื˜, ืืชื” ืฆืจื™ืš
ืœืขื‘ื“ libgcc.a, ื”ืกืคืจื™ื™ื” ืฉืžื’ื™ืขื” ืขื GCC, ืขื -msoft-float ืขืœ ืžื ืช ืœื›ืš
ืœืขื‘ื•ื“ื”.

-mhard-quad-float
ืฆื•ืจ ืคืœื˜ ื”ืžื›ื™ืœ ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื” ืฉืœ ืืจื‘ืข ืžื™ืœื™ื (ื›ืคื•ืœ ืืจื•ืš).

-msoft-quad-float
ืฆื•ืจ ืคืœื˜ ื”ืžื›ื™ืœ ืงืจื™ืื•ืช ืœืกืคืจื™ื™ื” ืขื‘ื•ืจ ื ืงื•ื“ื” ืฆืคื” ืฉืœ ืืจื‘ืข ืžื™ืœื™ื (ื›ืคื•ืœ ืืจื•ืš).
ื”ื•ืจืื•ืช. ื”ืคื•ื ืงืฆื™ื•ืช ื”ื ืงืจืื•ืช ื”ืŸ ืืœื• ืฉืฆื•ื™ื ื• ื‘-SPARC ABI. ื–ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

ื ื›ื•ืŸ ืœื›ืชื™ื‘ืช ืฉื•ืจื•ืช ืืœื”, ืื™ืŸ ื™ื™ืฉื•ืžื™ SPARC ืฉื™ืฉ ืœื”ื ืชืžื™ื›ื” ื‘ื—ื•ืžืจื”
ื”ื•ืจืื•ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื‘ืืจื‘ืข ืžื™ืœื™ื. ื›ื•ืœื ืงื•ืจืื™ื ืžื˜ืคืœ ื‘ืžืœื›ื•ื“ื•ืช ืขื‘ื•ืจ ืื—ื“ ืžื”ื
ื”ื•ืจืื•ืช ืืœื”, ื•ืœืื—ืจ ืžื›ืŸ ืžื˜ืคืœ ื”ืžืœื›ื•ื“ื•ืช ืžื—ืงื” ืืช ื”ืฉืคืขืช ื”ื”ื•ืจืื”.
ื‘ื’ืœืœ ืžื˜ืคืœ ื”ืžืœื›ื•ื“ื•ืช ืžืขืœ ื”ืจืืฉ, ื–ื” ื”ืจื‘ื” ื™ื•ืชืจ ืื™ื˜ื™ ืžืืฉืจ ืœืงืจื•ื ืœืกืคืจื™ื™ืช ABI
ืฉื’ืจื•ืช. ื›ืš ื” -msoft-quad-float ืืคืฉืจื•ืช ื”ื™ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mno-unaligned-doubles
-ืžื•ื aligned-ื›ืคื™ืœื™ื
ื ื ื™ื— ืฉืœื›ืคื•ืœื™ื ื™ืฉ ื™ื™ืฉื•ืจ ืฉืœ 8 ื‘ืชื™ื. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

ืขื -ืžื•ื aligned-ื›ืคื™ืœื™ื, GCC ืžื ื™ื— ืฉืœื›ืคื•ืœื™ื ื™ืฉ ื™ื™ืฉื•ืจ ืฉืœ 8 ื‘ืชื™ื ืจืง ืื ื”ื
ื›ืœื•ืœื™ื ื‘ืกื•ื’ ืื—ืจ, ืื• ืื ื™ืฉ ืœื”ื ื›ืชื•ื‘ืช ืžื•ื—ืœื˜ืช. ืื—ืจืช ื–ื”
ืžื ื™ื— ืฉื™ืฉ ืœื”ื ื™ื™ืฉื•ืจ ืฉืœ 4 ื‘ืชื™ื. ืฆื™ื•ืŸ ืืคืฉืจื•ืช ื–ื• ืžื•ื ืข ื›ืžื” ื ื“ื™ืจื™ื
ื‘ืขื™ื•ืช ืชืื™ืžื•ืช ืขื ืงื•ื“ ืฉื ื•ืฆืจ ืขืœ ื™ื“ื™ ืžื”ื“ืจื™ื ืื—ืจื™ื. ื–ื” ืœื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
ื›ื™ ื–ื” ื’ื•ืจื ืœืื•ื‘ื“ืŸ ื‘ื™ืฆื•ืขื™ื, ื‘ืžื™ื•ื—ื“ ืขื‘ื•ืจ ืงื•ื“ ื ืงื•ื“ื” ืฆืคื”.

-ืžืฆื‘-muser
-mno-user-mode
ืืœ ืชื™ืฆื•ืจ ืงื•ื“ ืฉื™ื›ื•ืœ ืœืคืขื•ืœ ืจืง ื‘ืžืฆื‘ ืžืคืงื—. ื–ื” ืจืœื•ื•ื ื˜ื™ ืจืง ืขื‘ื•ืจ
ื”ื•ืจืืช "casa" ืฉื ืคืœื˜ื” ืขื‘ื•ืจ ืžืขื‘ื“ LEON3. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
-mno-user-mode.

-mno-faster-structs
-mfaster-structs
ืขื -mfaster-structs, ื”ืžื”ื“ืจ ืžื ื™ื— ืฉืœืžื‘ื ื™ื ืฆืจื™ื›ื™ื ืœื”ื™ื•ืช 8-ื‘ืชื™ื
ื™ื™ืฉื•ืจ. ื–ื” ืžืืคืฉืจ ืฉื™ืžื•ืฉ ื‘ืฆืžื“ื™ื ืฉืœ ื”ื•ืจืื•ืช "ldd" ื•-"std" ืขื‘ื•ืจ ืขื•ืชืงื™ื
ื‘ื”ืงืฆืืช ืžื‘ื ื”, ื‘ืžืงื•ื ืคื™ ืฉื ื™ื™ื ืฆืžื“ื™ "ld" ื•-"st". ืื•ืœื, ื”
ื”ืฉื™ืžื•ืฉ ื‘ื™ื™ืฉื•ืจ ื”ืžืฉืชื ื” ื”ื–ื” ืžืคืจ ื™ืฉื™ืจื•ืช ืืช ื”-SPARC ABI. ืœืคื™ื›ืš, ื–ื” ื ื•ืขื“
ืจืง ืœืฉื™ืžื•ืฉ ื‘ื™ืขื“ื™ื ืฉื‘ื”ื ื”ืžืคืชื— ืžืืฉืจ ืฉื”ืงื•ื“ ืฉื”ืชืงื‘ืœ ื”ื•ื
ืœื ืขื•ืœื” ื‘ืงื ื” ืื—ื“ ืขื ื›ืœืœื™ ื”-ABI.

-mcpu=cpu_type
ื”ื’ื“ืจ ืืช ืขืจื›ืช ื”ื”ื•ืจืื•ืช, ืขืจื›ืช ื”ืจื™ืฉื•ื ื•ืชื–ืžื•ืŸ ื”ื”ื•ืจืื•ืช ืขื‘ื•ืจ
ืกื•ื’ ืžื›ื•ื ื” cpu_type. ืขืจื›ื™ื ื ืชืžื›ื™ื ืขื‘ื•ืจ cpu_type ื™ืฉ ืœื• v7, ื‘ืจื•ืฉ, v8, supersparc,
hypersparc, ืœืื•ืŸ, leon3, LEON3V7, ืกืคืจืงืœื™ื˜, f930, f934, sparclite86x, ืกืคืจืงืœ,
tsc701, v9, ultrasparc, ultrasparc3, ื ื™ืื’ืจื”, ื ื™ืื’ืจื” 2, ื ื™ืื’ืจื” 3 ื• ื ื™ืื’ืจื” 4.

ืจืฉืชื•ืช ื”ื›ืœื™ื ื”ืžืงื•ืจื™ื•ืช ืฉืœ Solaris ื•-GNU/Linux ืชื•ืžื›ื•ืช ื’ื ื”ืŸ ื‘ืขืจืš ื™ืœื™ื“, ืืฉืจ ื‘ื•ื—ืจ
ืืคืฉืจื•ืช ื”ืืจื›ื™ื˜ืงื˜ื•ืจื” ื”ื˜ื•ื‘ื” ื‘ื™ื•ืชืจ ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื”ืžืืจื—. -mcpu = ื™ืœื™ื“ ืื™ืŸ ืœื• ื”ืฉืคืขื” ืื
GCC ืœื ืžื–ื”ื” ืืช ื”ืžืขื‘ื“.

ืคืจืžื˜ืจื™ื ืฉืœ ืชื–ืžื•ืŸ ื”ื•ืจืื•ืช ื‘ืจื™ืจืช ืžื—ื“ืœ ืžืฉืžืฉื™ื ืขื‘ื•ืจ ืขืจื›ื™ื ื”ื‘ื•ื—ืจื™ื ื‘-
ืืจื›ื™ื˜ืงื˜ื•ืจื” ื•ืœื ื™ื™ืฉื•ื. ืืœื• ื”ื v7, v8, ืกืคืจืงืœื™ื˜, ืกืคืจืงืœ, v9.

ืœื”ืœืŸ ืจืฉื™ืžื” ืฉืœ ื›ืœ ืืจื›ื™ื˜ืงื˜ื•ืจื” ื ืชืžื›ืช ื•ื”ื™ื™ืฉื•ืžื™ื ื”ื ืชืžื›ื™ื ืฉืœื”.

ื‘ืจื•ืฉ v7, leon3v7

V8 SupersParc, Hypersparc, ืœื™ืื•ืŸ, ืœื™ืื•ืŸ

ืกืคืจืงืœื™ื˜
f930, f934, sparclite86x

ืกืคืจืงืœ
tsc701

v9 ultrasparc, ultrasparc3, โ€‹โ€‹niagara, niagara2, niagara3, niagara4

ื›ื‘ืจื™ืจืช ืžื—ื“ืœ (ืืœื ืื ื”ื•ื’ื“ืจ ืื—ืจืช), GCC ื™ื•ืฆืจ ืงื•ื“ ืขื‘ื•ืจ ื’ืจืกืช V7 ืฉืœ
ืืจื›ื™ื˜ืงื˜ื•ืจืช SPARC. ืขื -mcpu=ื‘ืจื•ืฉ, ื”ืžื”ื“ืจ ื’ื ืžื™ื™ืขืœ ืื•ืชื• ืขื‘ื•ืจื•
ืฉื‘ื‘ Cypress CY7C602, ื›ืคื™ ืฉืžืฉืžืฉ ื‘ืกื“ืจืช SPARCStation/SPARCServer 3xx. ื–ื”
ืžืชืื™ื ื’ื ืœ-SPARCStation 1, 2, IPX ื•ื›ื• '.

ืขื -mcpu=v8, GCC ืžื™ื™ืฆืจ ืงื•ื“ ืขื‘ื•ืจ ื’ืจืกืช V8 ืฉืœ ืืจื›ื™ื˜ืงื˜ื•ืจืช SPARC. ื”
ื”ื”ื‘ื“ืœ ื”ื™ื—ื™ื“ ืžืงื•ื“ V7 ื”ื•ื ืฉื”ืžื”ื“ืจ ืคื•ืœื˜ ืืช ื”ื›ืคืœ ื”ืฉืœื ื•
ื”ื•ืจืื•ืช ื—ืœื•ืงืช ืžืกืคืจื™ื ืฉืœืžื™ื ื”ืงื™ื™ืžื•ืช ื‘-SPARC-V8 ืืš ืœื ื‘-SPARC-V7. ืขื
-mcpu=supersparc, ื”ืžื”ื“ืจ ื’ื ืžื™ื™ืขืœ ืื•ืชื• ืขื‘ื•ืจ ืฉื‘ื‘ SuperSPARC, ื›ืžื•
ื‘ืฉื™ืžื•ืฉ ื‘ืกื“ืจื•ืช SPARCStation 10, 1000 ื•-2000.

ืขื -mcpu=sparclite, GCC ื™ื•ืฆืจ ืงื•ื“ ืขื‘ื•ืจ ื’ืจืกืช SPARClite ืฉืœ ื”-SPARC
ืืจื›ื™ื˜ืงื˜ื•ืจื”. ื–ื” ืžื•ืกื™ืฃ ืืช ื”ื›ืคืœ ืฉืœ ื”ืžืกืคืจื™ื ื”ืฉืœื, ืฉืœื‘ ื—ืœื•ืงืช ื”ืžืกืคืจื™ื ื”ืฉืœืžื™ื ื•ืกืจื™ืงื” ("ffs")
ื”ื•ืจืื•ืช ืฉืงื™ื™ืžื•ืช ื‘-SPARClite ืืš ืœื ื‘-SPARC-V7. ืขื -mcpu=f930, ื”
ื”ืžื”ื“ืจ ื’ื ืžื™ื™ืขืœ ืื•ืชื• ืขื‘ื•ืจ ืฉื‘ื‘ Fujitsu MB86930, ืฉื”ื•ื ื”ืžืงื•ืจ
SPARClite, ืœืœื FPU. ืขื -mcpu=f934, ื”ืžื”ื“ืจ ื’ื ืžื™ื™ืขืœ ืื•ืชื• ืขื‘ื•ืจื•
ืฉื‘ื‘ Fujitsu MB86934, ืฉื”ื•ื ื”-SPARClite ื”ืขื“ื›ื ื™ ื™ื•ืชืจ ืขื FPU.

ืขื -mcpu=ืกืคืจclet, GCC ื™ื•ืฆืจ ืงื•ื“ ืขื‘ื•ืจ ื’ืจืกืช SPARClet ืฉืœ SPARC
ืืจื›ื™ื˜ืงื˜ื•ืจื”. ื–ื” ืžื•ืกื™ืฃ ืืช ื”ืžืกืคืจ ื”ืฉืœื ื›ืคืœ, ื›ืคืœ/ืฆื‘ืจ, ื—ืœื•ืงืช ืžืกืคืจ ืฉืœื
ืฉืœื‘ ื•ืกืจื™ืงื” ("ffs") ื”ื•ืจืื•ืช ืฉืงื™ื™ืžื•ืช ื‘-SPARClet ืืš ืœื ื‘-SPARC-V7. ืขื
-mcpu=tsc701, ื”ืžื”ื“ืจ ื’ื ืžื™ื™ืขืœ ืื•ืชื• ืขื‘ื•ืจ ืฉื‘ื‘ TEMIC SPARClet.

ืขื -mcpu=v9, GCC ืžื™ื™ืฆืจ ืงื•ื“ ืขื‘ื•ืจ ื’ืจืกืช V9 ืฉืœ ืืจื›ื™ื˜ืงื˜ื•ืจืช SPARC. ื–ึถื”
ืžื•ืกื™ืฃ ื”ื•ืจืื•ืช ืชื ื•ืขื” ืฉืœ ืžืกืคืจ ืฉืœื ื•ื ืงื•ื“ื” ืฆืคื” ืฉืœ 64 ืกื™ื‘ื™ื•ืช, 3 ื ืงื•ื“ื•ืช ืฆืคื” ื ื•ืกืคื•ืช
ืื•ื’ืจื™ ืงื•ื“ ืชื ืื™ ื•ื”ื•ืจืื•ืช ืžืขื‘ืจ ืžื•ืชื ื”. ืขื -mcpu=ultrasparc,
ื”ืžื”ื“ืจ ื’ื ืžื™ื™ืขืœ ืื•ืชื• ืขื‘ื•ืจ ืฉื‘ื‘ื™ Sun UltraSPARC I/II/IIi. ืขื
-mcpu=ultrasparc3, ื”ืžื”ื“ืจ ื’ื ืžื™ื™ืขืœ ืื•ืชื• ืขื‘ื•ืจ ื”-Sun UltraSPARC
ืฉื‘ื‘ื™ื III/III+/IIIi/IIIi+/IV/IV+. ืขื -mcpu=ื ื™ืื’ืจื”, ื”ืžื”ื“ืจ ื‘ื ื•ืกืฃ
ืžื™ื™ืขืœ ืื•ืชื• ืขื‘ื•ืจ ืฉื‘ื‘ื™ Sun UltraSPARC T1. ืขื -mcpu=niagara2, ื”ืžื”ื“ืจ
ื‘ื ื•ืกืฃ ืžื™ื™ืขืœ ืื•ืชื• ืขื‘ื•ืจ ืฉื‘ื‘ื™ Sun UltraSPARC T2. ืขื -mcpu=niagara3, ื”
ื”ืžื”ื“ืจ ื’ื ืžื™ื™ืขืœ ืื•ืชื• ืขื‘ื•ืจ ืฉื‘ื‘ื™ Sun UltraSPARC T3. ืขื -mcpu=niagara4,
ื”ืžื”ื“ืจ ื’ื ืžื™ื™ืขืœ ืื•ืชื• ืขื‘ื•ืจ ืฉื‘ื‘ื™ Sun UltraSPARC T4.

-mtune=cpu_type
ื”ื’ื“ืจ ืืช ืคืจืžื˜ืจื™ ืชื–ืžื•ืŸ ื”ื”ื•ืจืื•ืช ืขื‘ื•ืจ ืกื•ื’ ื”ืžื›ื•ื ื” cpu_type, ืื‘ืœ ืœื ืœื”ื’ื“ื™ืจ
ืขืจื›ืช ื”ื”ื•ืจืื•ืช ืื• ื”ืจืฉืžื” ืงื‘ืขื” ืืช ื”ืืคืฉืจื•ืช -mcpu=cpu_type ืขื•ืฉื”.

ืื•ืชื ืขืจื›ื™ื ืขื‘ื•ืจ -mcpu=cpu_type ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื• ืขื‘ื•ืจ -mtune=cpu_type, ืื‘ืœ ื”ื™ื—ื™ื“
ืขืจื›ื™ื ืฉื™ืžื•ืฉื™ื™ื ื”ื ืืœื” ืฉื‘ื•ื—ืจื™ื ื‘ื™ื™ืฉื•ื CPU ืžืกื•ื™ื. ืืœื” ื”ื
ื‘ืจื•ืฉ, supersparc, hypersparc, ืœืื•ืŸ, leon3, LEON3V7, f930, f934, sparclite86x,
tsc701, ultrasparc, ultrasparc3, ื ื™ืื’ืจื”, ื ื™ืื’ืจื” 2, ื ื™ืื’ืจื” 3 ื• ื ื™ืื’ืจื” 4. ืขื
ืฉืจืฉืจืช ื›ืœื™ื ืžืงื•ืจื™ืช ืฉืœ Solaris ื•-GNU/Linux, ื™ืœื™ื“ ื™ื›ื•ืœ ืœืฉืžืฉ ื’ื.

-mv8plus
-mno-v8plus
ืขื -mv8plus, GCC ืžื™ื™ืฆืจ ืงื•ื“ ืขื‘ื•ืจ SPARC-V8+ ABI. ื”ื”ื‘ื“ืœ ืžื”-V8
ABI ื”ื•ื ืฉื”ืจื’ื™ืกื˜ืจื™ื ื”ื’ืœื•ื‘ืœื™ ื•ื”ื—ื•ืฅ ื ื—ืฉื‘ื™ื ื‘ืจื•ื—ื‘ ืฉืœ 64 ืกื™ื‘ื™ื•ืช. ื–ื” ืžื•ืคืขืœ
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื‘- Solaris ื‘ืžืฆื‘ 32 ืกื™ื‘ื™ื•ืช ืขื‘ื•ืจ ื›ืœ ืžืขื‘ื“ื™ SPARC-V9.

-mvis
-mno-vis
ืขื -mvis, GCC ืžื™ื™ืฆืจ ืงื•ื“ ืฉืžื ืฆืœ ืืช ื”- UltraSPARC Visual
ื”ืจื—ื‘ื•ืช ืกื˜ ื”ื•ืจืื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mno-vis.

-mvis2
-mno-vis2
ืขื -mvis2, GCC ืžื™ื™ืฆืจ ืงื•ื“ ืฉืžื ืฆืœ ืืช ื’ืจืกื” 2.0 ืฉืœ ื”-UltraSPARC
ื”ืจื—ื‘ื•ืช ืกื˜ ื”ื•ืจืื•ืช ื—ื–ื•ืชื™ื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mvis2 ื›ืืฉืจ ืžืžืงื“ื™ื ืœืžืขื‘ื“ ื–ื”
ืชื•ืžืš ื‘ื”ื•ืจืื•ืช ื›ืืœื”, ื›ื’ื•ืŸ UltraSPARC-III ื•ืื™ืœืš. ื”ื’ื“ืจื” -mvis2 ื’ื
ืกื˜ื™ื -mvis.

-mvis3
-mno-vis3
ืขื -mvis3, GCC ืžื™ื™ืฆืจ ืงื•ื“ ืฉืžื ืฆืœ ืืช ื’ืจืกื” 3.0 ืฉืœ ื”-UltraSPARC
ื”ืจื—ื‘ื•ืช ืกื˜ ื”ื•ืจืื•ืช ื—ื–ื•ืชื™ื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mvis3 ื›ืืฉืจ ืžืžืงื“ื™ื ืœืžืขื‘ื“ ื–ื”
ืชื•ืžืš ื‘ื”ื•ืจืื•ืช ื›ืืœื”, ื›ื’ื•ืŸ niagara-3 ื•ืื™ืœืš. ื”ื’ื“ืจื” -mvis3 ื’ื ืกื˜ื™ื
-mvis2 ื• -mvis.

-mcbcond
-mno-cbcond
ืขื -mcbcond, GCC ืžื™ื™ืฆืจ ืงื•ื“ ืฉืžื ืฆืœ ืืช ื”ื”ืฉื•ื•ืื” ื•ื”ืกื ื™ืฃ
ื”ื•ืจืื•ืช, ื›ืคื™ ืฉื”ื•ื’ื“ืจื• ื‘- Sparc Architecture 2011. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mcbcond ืžืชื™
ืžื™ืงื•ื“ ืœืžืขื‘ื“ ื”ืชื•ืžืš ื‘ื”ื•ืจืื•ืช ื›ืืœื”, ื›ื’ื•ืŸ niagara-4 ื•ืื™ืœืš.

-mpopc
-mno-popc
ืขื -mpopc, GCC ืžื™ื™ืฆืจ ืงื•ื“ ืฉืžื ืฆืœ ืืช ืื•ื›ืœื•ืกื™ื™ืช ื”-UltraSPARC
ื”ื•ืจืื” ืœืกืคื•ืจ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mpopc ื›ืืฉืจ ืžืชืžืงื“ื™ื ื‘ืžืขื‘ื“ ื”ืชื•ืžืš ื‘ื›ื–ื”
ื”ื•ืจืื•ืช, ื›ื’ื•ืŸ ื ื™ืื’ืจื”-2 ื•ืื™ืœืš.

-mfmaf
-mno-fmaf
ืขื -mfmaf, GCC ืžื™ื™ืฆืจ ืงื•ื“ ืฉืžื ืฆืœ ืืช ื”- UltraSPARC Fused Multiply-
ื”ื•ืกืฃ ื”ืจื—ื‘ื•ืช ืœื ืงื•ื“ื” ืฆืคื”. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mfmaf ื›ืืฉืจ ืžืžืงื“ื™ื ืœืžืขื‘ื“ ื–ื”
ืชื•ืžืš ื‘ื”ื•ืจืื•ืช ื›ืืœื”, ื›ื’ื•ืŸ Niagara-3 ื•ืื™ืœืš.

-mfix-at697f
ืืคืฉืจ ืืช ื”ืคืชืจื•ืŸ ื”ืžืชื•ืขื“ ืœืขืงื™ืคืช ื”ื‘ืขื™ื” ื”ื‘ื•ื“ื“ืช ืฉืœ ืžืขื‘ื“ Atmel AT697F
(ืžื” ืฉืชื•ืื ืœืฉื’ื™ืื” ืžืก' 13 ืฉืœ ืžืขื‘ื“ AT697E).

-mfix-ut699
ืืคืฉืจ ืืช ื”ื“ืจื›ื™ื ื”ืžืชื•ืขื“ื•ืช ืœืขืงื™ืคืช ื”ื‘ืขื™ื” ืขื‘ื•ืจ ืฉื’ื™ืืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ื•ืžื˜ืžื•ืŸ ื”ื ืชื•ื ื™ื
ืœื‘ื˜ืœ ืฉื’ื™ืื•ืช ืฉืœ ืžืขื‘ื“ UT699.

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ื ืชืžื›ื•ืช ื‘ื ื•ืกืฃ ืœืืžื•ืจ ืœืขื™ืœ ื‘ืžืขื‘ื“ื™ SPARC-V9 ื‘-64 ืกื™ื‘ื™ื•ืช
ืกื‘ื™ื‘ื•ืช:

-ืž 32
-ืž 64
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืกื‘ื™ื‘ืช 32 ืกื™ื‘ื™ื•ืช ืื• 64 ืกื™ื‘ื™ื•ืช. ืกื‘ื™ื‘ืช 32 ืกื™ื‘ื™ื•ืช ืžื’ื“ื™ืจื” int,
ืืจื•ืš ื•ืžืฆื‘ื™ืข ืœ-32 ืกื™ื‘ื™ื•ืช. ืกื‘ื™ื‘ืช 64 ืกื™ื‘ื™ื•ืช ืžื’ื“ื™ืจื” int ืœ-32 ืกื™ื‘ื™ื•ืช ื•ืืจื•ืš ื•
ืžืฆื‘ื™ืข ืœ-64 ืกื™ื‘ื™ื•ืช.

-mcmodel=ืืฉืจ
ื”ื’ื“ืจ ืืช ืžื•ื“ืœ ื”ืงื•ื“ ืœืื—ื“ ืž

ืžื“ืœื•
ืžื•ื“ืœ ื”ืงื•ื“ ื”ื‘ื™ื ื•ื ื™/ื ืžื•ืš: ื›ืชื•ื‘ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช, ืชื•ื›ื ื™ื•ืช ื—ื™ื™ื‘ื•ืช ืœื”ื™ื•ืช ืžืงื•ืฉืจื•ืช ื‘-32 ื”ื ืžื•ื›ื™ื
ืคื™ืกื•ืช ื–ื™ื›ืจื•ืŸ. ื ื™ืชืŸ ืœืงืฉืจ ืชื•ื›ื ื™ื•ืช ื‘ืื•ืคืŸ ืกื˜ื˜ื™ ืื• ื“ื™ื ืžื™.

medmid
ืžื•ื“ืœ ื”ืงื•ื“ ื”ื‘ื™ื ื•ื ื™/ืืžืฆืขื™: ื›ืชื•ื‘ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช, ืชื•ื›ื ื™ื•ืช ื—ื™ื™ื‘ื•ืช ืœื”ื™ื•ืช ืžืงื•ืฉืจื•ืช ื‘ืชื—ืชื™ืช
44 ืกื™ื‘ื™ื•ืช ืฉืœ ื–ื™ื›ืจื•ืŸ, ืงื˜ืขื™ ื”ื˜ืงืกื˜ ื•ื”ื ืชื•ื ื™ื ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช ื‘ื’ื•ื“ืœ ืฉืœ ืคื—ื•ืช ืž-2GB ื•
ืงื˜ืข ื”ื ืชื•ื ื™ื ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืžืžื•ืงื ื‘ืชื•ืš 2GB ืžืงื˜ืข ื”ื˜ืงืกื˜.

ืขืื ื™
ืžื•ื“ืœ ื”ืงื•ื“ Medium/Anywhere: ื›ืชื•ื‘ื•ืช ืฉืœ 64 ืกื™ื‘ื™ื•ืช, ืชื•ื›ื ื™ื•ืช ืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ืžืงื•ืฉืจื•ืช ื‘ื›ืœ ืžืงื•ื
ื‘ื–ื™ื›ืจื•ืŸ, ืงื˜ืขื™ ื”ื˜ืงืกื˜ ื•ื”ื ืชื•ื ื™ื ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช ื‘ื’ื•ื“ืœ ืฉืœ ืคื—ื•ืช ืž-2GB ื•ื”ื ืชื•ื ื™ื
ื”ืงื˜ืข ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืžืžื•ืงื ื‘ืชื•ืš 2GB ืžืงื˜ืข ื”ื˜ืงืกื˜.

emmbmedany
ืžื•ื“ืœ ื”ืงื•ื“ Medium/Anywhere ืœืžืขืจื›ื•ืช ืžืฉื•ื‘ืฆื•ืช: ื›ืชื•ื‘ื•ืช 64 ืกื™ื‘ื™ื•ืช, ื”ื˜ืงืกื˜
ื•ืžืงื˜ืขื™ ื ืชื•ื ื™ื ื—ื™ื™ื‘ื™ื ืœื”ื™ื•ืช ื‘ื’ื•ื“ืœ ืฉืœ ืคื—ื•ืช ืž-2GB, ืฉื ื™ื”ื ืžืชื—ื™ืœื™ื ื‘ื›ืœ ืžืงื•ื ื‘ื–ื™ื›ืจื•ืŸ
(ื ืงื‘ืข ื‘ื–ืžืŸ ื”ืงื™ืฉื•ืจ). ื”ืื•ื’ืจ ื”ื’ืœื•ื‘ืœื™ %g4 ืžืฆื‘ื™ืข ืขืœ ื‘ืกื™ืก ื”ื ืชื•ื ื™ื
ืžึดื’ื–ึธืจ. ืชื•ื›ื ื™ื•ืช ืžืงื•ืฉืจื•ืช ืกื˜ื˜ื™ืช ื•-PIC ืื™ื ื• ื ืชืžืš.

-ื–ื™ื›ืจื•ืŸ-ืžื•ื“ืœ=ื“ื’ื mem
ื”ื’ื“ืจ ืืช ื“ื’ื ื”ื–ื™ื›ืจื•ืŸ ื‘ืชื•ืงืฃ ืขืœ ื”ืžืขื‘ื“ ืœืื—ื“ ืž

ื‘ืจื™ืจืช ืžื—ื“ืœ
ื“ื’ื ื”ื–ื™ื›ืจื•ืŸ ื”ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ ื”ืžืขื‘ื“ ื•ืžืขืจื›ืช ื”ื”ืคืขืœื”.

rmo ืกื“ืจ ื–ื™ื›ืจื•ืŸ ืจื’ื•ืข

pso ื”ื–ืžื ืช ื—ื ื•ืช ื—ืœืงื™ืช

tso ืกืš ื”ื”ื–ืžื ื” ื‘ื—ื ื•ืช

sc ืขืงื‘ื™ื•ืช ืจืฆื™ืคื”

ื“ื’ืžื™ ื–ื™ื›ืจื•ืŸ ืืœื” ืžื•ื’ื“ืจื™ื ืจืฉืžื™ืช ื‘ื ืกืคื— D ืฉืœ ืืจื›ื™ื˜ืงื˜ื•ืจืช Sparc V9
ื™ื“ื ื™, ื›ืคื™ ืฉื”ื•ื’ื“ืจ ื‘ืฉื“ื” "PSTATE.MM" ืฉืœ ื”ืžืขื‘ื“.

-mstack-bias
-mno-stack-bias
ืขื -mstack-bias, GCC ืžื ื™ื— ืฉืžืฆื‘ื™ืข ื”ืžื—ืกื ื™ืช ื•ืžืฆื‘ื™ืข ื”ืžืกื’ืจืช ืื ืงื™ื™ืžื™ื,
ืžืงื•ื–ื–ื™ื ื‘-2047 ืืฉืจ ื™ืฉ ืœื”ื•ืกื™ืฃ ื‘ื—ื–ืจื” ื‘ืขืช ื‘ื™ืฆื•ืข ื”ืคื ื™ื•ืช ืœืžืกื’ืจืช ืžื—ืกื ื™ืช. ื–ึถื”
ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื‘ืžืฆื‘ 64 ืกื™ื‘ื™ื•ืช. ืื—ืจืช, ื ื ื™ื— ืฉืœื ืงื™ื™ื ืงื™ื–ื•ื– ื›ื–ื”.

SPU ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ื ืชืžื›ื•ืช ื‘-SPU:

-mwarn-reloc
-ืžืจื•ืจ-reloc
ื”ืžืขืžื™ืก ืขื‘ื•ืจ SPU ืื™ื ื• ืžื˜ืคืœ ื‘ืจื™ืœื•ืงื™ื™ืฉืŸ ื“ื™ื ืžื™. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ื ื•ืชืŸ
ืฉื’ื™ืื” ื›ืืฉืจ ื”ื•ื ื™ื•ืฆืจ ืงื•ื“ ื”ื“ื•ืจืฉ ืจื™ืœื•ืงื™ื™ืฉืŸ ื“ื™ื ืžื™. -mno-error-reloc
ืžืฉื‘ื™ืช ืืช ื”ืฉื’ื™ืื”, -mwarn-reloc ื™ื•ืฆืจ ืื–ื”ืจื” ื‘ืžืงื•ื ื–ืืช.

-msafe-dma
-munsafe-dma
ืื™ืŸ ืœื”ื–ืžื™ืŸ ืžื—ื“ืฉ ื”ื•ืจืื•ืช ืฉื™ื•ื–ืžื•ืช ืื• ื‘ื•ื“ืงื•ืช ื”ืฉืœืžืช DMA
ื›ื‘ื•ื“ ืœืขื•ืžืกื™ื ื•ืžืื’ืจื™ื ืฉืœ ื”ื–ื™ื›ืจื•ืŸ ืฉืืœื™ื• ื ื™ื’ืฉื™ื. ืขื -munsafe-dma
ืืชื” ื—ื™ื™ื‘ ืœื”ืฉืชืžืฉ ื‘ืžื™ืœืช ื”ืžืคืชื— "ื ื“ื™ืคื”" ื›ื“ื™ ืœื”ื’ืŸ ืขืœ ื’ื™ืฉื” ืœื–ื™ื›ืจื•ืŸ, ืื‘ืœ ื–ื” ื™ื›ื•ืœ ืœื”ื•ื‘ื™ืœ
ืงื•ื“ ืœื ื™ืขื™ืœ ื‘ืžืงื•ืžื•ืช ืฉื‘ื”ื ื™ื“ื•ืข ืฉื”ื–ื™ื›ืจื•ืŸ ืื™ื ื• ืžืฉืชื ื”. ื‘ืžืงื•ื ืœืกืžืŸ
ื”ื–ื™ื›ืจื•ืŸ ื›ืžื• ื ื“ื™ืฃ, ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ -msafe-dma ืœื”ื’ื™ื“ ืœืžื”ื“ืจ ืœื˜ืคืœ ื‘-DMA
ื”ื•ืจืื•ืช ืฉืขืœื•ืœื•ืช ืœื”ืฉืคื™ืข ืขืœ ื›ืœ ื”ื–ื™ื›ืจื•ืŸ.

-ืขื ืฃ-ืจืžื–ื™ื
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ื™ื•ืฆืจ ื”ื•ืจืื” ืฉืœ ืจืžื– ืขื ืฃ ื›ื“ื™ ืœื”ื™ืžื ืข ืžืชืงื™ืขื•ืช ื‘ืฆื ืจืช
ืขื ืคื™ื ืฉื ืœืงื—ื• ืชืžื™ื“ ืื• ื›ื ืจืื” ืฉื ืœืงื—ื•. ืจืžื– ืœื ื ื•ืฆืจ ืงืจื•ื‘ ื™ื•ืชืจ ืž-8
ื”ื•ืจืื•ืช ื”ืจื—ืง ืžื”ืกื ื™ืฃ ืฉืœื•. ืื™ืŸ ื”ืจื‘ื” ืกื™ื‘ื” ืœื”ืฉื‘ื™ืช ืื•ืชื, ืœืžืขื˜
ืœืžื˜ืจื•ืช ื ื™ืคื•ื™ ื‘ืื’ื™ื, ืื• ืœื”ืงื˜ื™ืŸ ืื•ื‘ื™ื™ืงื˜ ื‘ืžืขื˜.

-msmall-mem
-mlarge-mem
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ื™ื•ืฆืจ ืงื•ื“ ื‘ื”ื ื—ื” ืฉื”ื›ืชื•ื‘ื•ืช ืœืขื•ืœื ืื™ื ืŸ ื’ื“ื•ืœื•ืช ืž-18 ืกื™ื‘ื™ื•ืช.
ืขื -mlarge-mem ื ื•ืฆืจ ืงื•ื“ ืฉืžื ื™ื— ื›ืชื•ื‘ืช ืžืœืื” ืฉืœ 32 ืกื™ื‘ื™ื•ืช.

-mstdmain
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ืžืงืฉืจ ืœืงื•ื“ ื”ืคืขืœื” ืฉื ื•ื˜ืœ ืืช ื”ืคื•ื ืงืฆื™ื” ื”ืจืืฉื™ืช ื‘ืกื’ื ื•ืŸ SPU
ืžืžืฉืง (ืฉื™ืฉ ืœื• ืจืฉื™ืžืช ืคืจืžื˜ืจื™ื ืœื ืฉื’ืจืชื™ืช). ืขื -mstdmain, ืงื™ืฉื•ืจื™ GCC
ื”ืชื•ื›ื ื™ืช ืฉืœืš ื ื’ื“ ืงื•ื“ ื”ืคืขืœื” ืฉืžื ื™ื— ืžืžืฉืง ื‘ืกื’ื ื•ืŸ C99 ืœ"ืจืืฉื™",
ื›ื•ืœืœ ืขื•ืชืง ืžืงื•ืžื™ ืฉืœ ืžื—ืจื•ื–ื•ืช "argv".

-mfixed-range=ืจื™ืฉื•ื-ื˜ื•ื•ื—
ืฆื•ืจ ืงื•ื“ ื”ืžืชื™ื™ื—ืก ืœื˜ื•ื•ื— ื”ืื•ื’ืจ ื”ื ืชื•ืŸ ื›ืืœ ืื•ื’ืจื™ื ืงื‘ื•ืขื™ื. ืคื ืงืก ืงื‘ื•ืข
ื”ื•ื ื›ื–ื” ืฉืžืงืฆื™ ื”ืจืฉื•ืžื•ืช ืœื ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื•. ื–ื” ืฉื™ืžื•ืฉื™ ื‘ืขืช ื”ื™ื“ื•ืจ ืœื™ื‘ื”
ืงื•ื“. ื˜ื•ื•ื— ืจื™ืฉื•ื ืžืฆื•ื™ืŸ ื›ืฉื ื™ ืื•ื’ืจื™ื ืžื•ืคืจื“ื™ื ื‘ืืžืฆืขื•ืช ืžืงืฃ. ืžืจื•ื‘ื•ืช
ื ื™ืชืŸ ืœืฆื™ื™ืŸ ื˜ื•ื•ื—ื™ ืจื™ืฉื•ื ืžื•ืคืจื“ื™ื ื‘ืืžืฆืขื•ืช ืคืกื™ืง.

-mea32
-mea64
ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืงื•ื“ ื‘ื”ื ื—ื” ืฉืžืฆื‘ื™ืขื™ื ืœืžืจื—ื‘ ื”ื›ืชื•ื‘ื•ืช ืฉืœ ื”-PPU ืฉืืœื™ื”ื ื ื™ื’ืฉ ื“ืจืš ื”-"__ea"
ืžื•ืงื“ ืžืจื—ื‘ ื”ื›ืชื•ื‘ื•ืช ื”ื ืงืจื ื”ื ื‘ืจื•ื—ื‘ ืฉืœ 32 ืื• 64 ืกื™ื‘ื™ื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื 32 ืกื™ื‘ื™ื•ืช.
ืžื›ื™ื•ื•ืŸ ืฉื–ื•ื”ื™ ืืคืฉืจื•ืช ืœืฉื™ื ื•ื™ ABI, ื™ืฉ ืœื”ื“ืจ ืืช ื›ืœ ืงื•ื“ ื”ืื•ื‘ื™ื™ืงื˜ื™ื ื‘ืงื•ื‘ืฅ ื”ืคืขืœื”
ืขื ืื•ืชื” ื”ื’ื“ืจื”.

-ื˜ื™ืจื•ืฃ-ื—ืœืœ-ื”ืžืจื”
-mno-address-space-conversion
ืืคืฉืจ/ืืกื•ืจ ืœื”ืชื™ื™ื—ืก ืœืžืจื—ื‘ ื”ื›ืชื•ื‘ื•ืช "__ea" ื›ืขืœ ืขืจื›ืช-ืขืœ ืฉืœ ื”ื›ืชื•ื‘ืช ื”ื’ื ืจื™ืช
ืžึถืจื—ึธื‘. ื–ื” ืžืืคืฉืจ ื”ื˜ืœื•ืช ืžืคื•ืจืฉื•ืช ื‘ื™ืŸ "__ea" ืœื‘ื™ืŸ ืžืฆื‘ื™ืข ื’ื ืจื™ ื•ื›ืŸ
ื”ืžืจื•ืช ืžืจื•ืžื–ื•ืช ืฉืœ ืžืฆื‘ื™ืขื™ื ื’ื ืจื™ื™ื ืœืžืฆื‘ื™ืขื™ื "__ea". ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœืืคืฉืจ
ื”ืžืจื•ืช ืžืฆื‘ื™ืข ื‘ืžืจื—ื‘ ื›ืชื•ื‘ืช.

-mcache-size=ื’ื•ื“ืœ ื”ืžื˜ืžื•ืŸ
ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ื‘ื’ืจืกื” ืฉืœ libgcc ืฉื”ืžื”ื“ืจ ืžืงืฉืจ ืœืงื•ื‘ืฅ ื”ืคืขืœื”
ื•ื‘ื•ื—ืจ ืžื˜ืžื•ืŸ ืžื ื•ื”ืœ ืชื•ื›ื ื” ืœื’ื™ืฉื” ืœืžืฉืชื ื™ื ื‘ื›ืชื•ื‘ืช "__ea".
ืฉื˜ื— ืขื ื’ื•ื“ืœ ืžื˜ืžื•ืŸ ืžืกื•ื™ื. ืืคืฉืจื•ื™ื•ืช ืืคืฉืจื™ื•ืช ืขื‘ื•ืจ ื’ื•ื“ืœ ื”ืžื˜ืžื•ืŸ ื™ืฉ ืœื• 8, 16, 32, 64
ื• 128. ื’ื•ื“ืœ ื”ืžื˜ืžื•ืŸ ื”ืžื•ื’ื“ืจ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื”ื•ื 64KB.

-ืžื˜ื•ืžื™-ืขื“ื›ื•ื ื™ื
-ืขื“ื›ื•ื ื™ื-ืžื ื•-ืื˜ื•ืžื™ื™ื
ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ื‘ื’ืจืกื” ืฉืœ libgcc ืฉื”ืžื”ื“ืจ ืžืงืฉืจ ืœืงื•ื‘ืฅ ื”ืคืขืœื”
ื•ื‘ื•ื—ืจ ืื ืขื“ื›ื•ื ื™ื ืื˜ื•ืžื™ื™ื ืœืžื˜ืžื•ืŸ ื”ืžื ื•ื”ืœ ื‘ืชื•ื›ื ื” ืฉืœ ืžืฉืชื ื™ ืฆื“ PPU
ืžืฉื•ืžืฉื™ื. ืื ืืชื” ืžืฉืชืžืฉ ื‘ืขื“ื›ื•ื ื™ื ืื˜ื•ืžื™ื™ื, ืฉื™ื ื•ื™ื™ื ืœืžืฉืชื ื” PPU ืžืงื•ื“ SPU ื‘ืืžืฆืขื•ืช
ื”-"__ea" ืฉืžื•ื’ื“ืจ ืžืจื—ื‘ ื”ื›ืชื•ื‘ื•ืช ืื™ื ื• ืžืคืจื™ืข ืœืฉื™ื ื•ื™ื™ื ื‘-PPU ืื—ืจื™ื
ืžืฉืชื ื™ื ื”ืฉื•ื›ื ื™ื ื‘ืื•ืชื” ืฉื•ืจืช ืžื˜ืžื•ืŸ ืžืงื•ื“ PPU. ืื ืืชื” ืœื ืžืฉืชืžืฉ ื‘ืื˜ื•ืžื™
ืขื“ื›ื•ื ื™ื, ื”ืคืจืขื” ื›ื–ื• ืขืœื•ืœื” ืœื”ืชืจื—ืฉ; ืขื ื–ืืช, ื›ืชื™ื‘ืช ืฉื•ืจื•ืช ืžื˜ืžื•ืŸ ื—ื–ืจื” ื”ื™ื ื™ื•ืชืจ
ื™ึธืขึดื™ืœ. ื”ืชื ื”ื’ื•ืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืฉื™ืžื•ืฉ ื‘ืขื“ื›ื•ื ื™ื ืื˜ื•ืžื™ื™ื.

-ืžื“ื•ืืœ-ืœื
-mdual-nops=n
ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ืžื•ืกื™ืฃ nops ื›ื“ื™ ืœื”ื’ื“ื™ืœ ืืช ื”ื‘ืขื™ื•ืช ื”ื›ืคื•ืœื•ืช ื›ืืฉืจ ื”ื•ื ืžืฆืคื” ืฉื”ื™ื ืชื’ื“ืœ
ื‘ื™ืฆื•ืขื™ื. n ื™ื›ื•ืœ ืœื”ื™ื•ืช ืขืจืš ืž-0 ืขื“ 10. A ืงื˜ืŸ ื™ื•ืชืจ n ืžื›ื ื™ืก ืคื—ื•ืช ืคืขื™ืžื•ืช. 10 ื”ื•ื
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, 0 ื–ื”ื” ืœ -ืžื ื•-ื“ื•ืืœ-ื ื•ืคืก. ืžื•ืฉื‘ืช ืขื -ืื•ืก.

-ืžื”ื™ื™ื ื˜-ืžืงืก-ื ื•ืคืก=n
ืžืกืคืจ ืžืจื‘ื™ ืฉืœ ืชื ื•ืขื•ืช ืœื”ื•ืกืคืช ืจืžื– ืขื ืฃ. ืจืžื– ืขื ืฃ ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืœืคื—ื•ืช 8
ื”ื•ืจืื•ืช ื”ืจื—ืง ืžื”ืขื ืฃ ืฉืขืœื™ื• ื”ื•ื ืžืฉืคื™ืข. GCC ืžื•ืกื™ืฃ ืขื“ n ืœื ืœ
ืœืื›ื•ืฃ ื–ืืช, ืื—ืจืช ื–ื” ืœื ื™ื•ืฆืจ ืืช ื”ืจืžื– ื”ืขื ืฃ.

-ืžื”ื™ื™ื ื˜-ืžืงืก-ืžืจื—ืง=n
ื”ืงื™ื“ื•ื“ ืฉืœ ื”ื•ืจืืช ื”ืจืžื– ื‘ืขื ืฃ ืžื’ื‘ื™ืœ ืืช ื”ืจืžื– ืœื”ื™ื•ืช ื‘ื˜ื•ื•ื— ืฉืœ 256
ื”ื•ืจืื•ืช ื”ืกื ื™ืฃ ืขืœื™ื• ื”ื•ื ืžืฉืคื™ืข. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC ืžื•ื•ื“ื ืฉื”ื•ื ื ืžืฆื ื‘ืคื ื™ื
125.

-msafe-ืจืžื–ื™ื
ืขืงื™ืคืช ื‘ืื’ ื—ื•ืžืจื” ืฉื’ื•ืจื ืœ-SPU ืœื”ื™ืขืฆืจ ืœืœื ื”ื’ื‘ืœืช ื–ืžืŸ. ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, GCC
ืžื›ื ื™ืก ืืช ื”ื”ื•ืจืื” "hbrp" ื›ื“ื™ ืœื•ื•ื“ื ืฉื”ื“ื—ื™ื™ื” ื”ื–ื• ืœื ืชืชืจื—ืฉ.

ืืคืฉืจื•ื™ื•ืช ืœ ืžืขืจื›ืช V

ืืคืฉืจื•ื™ื•ืช ื ื•ืกืคื•ืช ืืœื• ื–ืžื™ื ื•ืช ื‘ืžืขืจื›ืช V ืžื”ื“ื•ืจื” 4 ืœืฆื•ืจืš ืชืื™ืžื•ืช ืขื ืื—ืจื™ื
ืžื”ื“ืจื™ื ื‘ืžืขืจื›ื•ืช ืืœื•:

-G ืฆื•ืจ ืื•ื‘ื™ื™ืงื˜ ืžืฉื•ืชืฃ. ื–ื” ืžื•ืžืœืฅ ืฉ -ืกึดืžืœึดื™ or -ืžึฐืฉืื•ึผืชึธืฃ ืœืฉืžืฉ ื‘ืžืงื•ื.

-Qy ื–ื”ื” ืืช ื”ื’ื™ืจืกืื•ืช ืฉืœ ื›ืœ ื›ืœื™ ื”ืžืฉืžืฉ ืืช ื”ืžื”ื“ืจ, ื‘ื”ืจื›ื‘ ".ident".
ื”ื ื—ื™ื” ื‘ืคืœื˜.

-Qn ื”ื™ืžื ืข ืžื”ื•ืกืคืช ื”ื ื—ื™ื•ืช ".ident" ืœืงื•ื‘ืฅ ื”ืคืœื˜ (ื–ื• ื‘ืจื™ืจืช ื”ืžื—ื“ืœ).

-YP,ื“ื™ืจืก
ื—ืคืฉ ื‘ืžื“ืจื™ื›ื™ื ื“ื™ืจืก, ื•ืœื ืื—ืจื™ื, ืขื‘ื•ืจ ืกืคืจื™ื•ืช ืฉืฆื•ื™ื ื• ืขื -l.

-ื™ืž,dir
ื—ืคืฉ ื‘ืกืคืจื™ื™ื” dir ื›ื“ื™ ืœืžืฆื•ื ืืช ื”-Preprocessor M4. ื”ืืกืžื‘ืœืจ ืžืฉืชืžืฉ ื‘ื–ื”
ืื•ึนืคึผึฐืฆึดื™ึธื”.

TILE-Gx ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ื ืชืžื›ื•ืช ื‘-TILE-Gx:

-mcmodel=small
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”ื“ื’ื ื”ืงื˜ืŸ. ื”ืžืจื—ืง ืœืฉื™ื—ื•ืช ื™ืฉื™ืจื•ืช ืžื•ื’ื‘ืœ ืœ-500M
ืœื›ืœ ื›ื™ื•ื•ืŸ. ื”ื›ืชื•ื‘ื•ืช ื”ื™ื—ืกื™ื•ืช ืœืžื—ืฉื‘ ื”ืŸ 32 ืกื™ื‘ื™ื•ืช. ืชืžื™ื›ื” ื‘ื›ืชื•ื‘ื•ืช ืžื•ื—ืœื˜ื•ืช
ื˜ื•ื•ื— ื”ื›ืชื•ื‘ื•ืช ื”ืžืœื.

-mcmodel=ื’ื“ื•ืœ
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ื”ื“ื’ื ื”ื’ื“ื•ืœ. ืื™ืŸ ื”ื’ื‘ืœื” ืขืœ ืžืจื—ืง ืฉื™ื—ื”, PC-
ื›ืชื•ื‘ื•ืช ื™ื—ืกื™ื•ืช, ืื• ื›ืชื•ื‘ื•ืช ืžื•ื—ืœื˜ื•ืช.

-mcpu=ืฉื
ื‘ื•ื—ืจ ืืช ืกื•ื’ ื”ืžืขื‘ื“ ืœืžื™ืงื•ื“. ื›ืจื’ืข ื”ืกื•ื’ ื”ื ืชืžืš ื”ื™ื—ื™ื“ ื”ื•ื tilegx.

-ืž 32
-ืž 64
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืกื‘ื™ื‘ืช 32 ืกื™ื‘ื™ื•ืช ืื• 64 ืกื™ื‘ื™ื•ืช. ืกื‘ื™ื‘ืช 32 ืกื™ื‘ื™ื•ืช ืžื’ื“ื™ืจื” int,
ืืจื•ืš, ื•ืžืฆื‘ื™ืข ืœ-32 ืกื™ื‘ื™ื•ืช. ืกื‘ื™ื‘ืช 64 ืกื™ื‘ื™ื•ืช ืžื’ื“ื™ืจื” ืืช int ืœ-32 ืกื™ื‘ื™ื•ืช ื•ืืจื•ืš ื•
ืžืฆื‘ื™ืข ืœ-64 ืกื™ื‘ื™ื•ืช.

TILEPro ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ื ืชืžื›ื•ืช ื‘-TILEPro:

-mcpu=ืฉื
ื‘ื•ื—ืจ ืืช ืกื•ื’ ื”ืžืขื‘ื“ ืœืžื™ืงื•ื“. ื›ืจื’ืข ื”ืกื•ื’ ื”ื ืชืžืš ื”ื™ื—ื™ื“ ื”ื•ื tilepro.

-ืž 32
ืฆื•ืจ ืงื•ื“ ืขื‘ื•ืจ ืกื‘ื™ื‘ืช 32 ืกื™ื‘ื™ื•ืช, ืืฉืจ ืžื’ื“ื™ืจื” int, long ื•-pointer ืœ-32 ืกื™ื‘ื™ื•ืช.
ื–ื•ื”ื™ ื”ื”ืชื ื”ื’ื•ืช ื”ื ืชืžื›ืช ื”ื™ื—ื™ื“ื” ื•ืœื›ืŸ ืœืžืขืฉื” ืžืชืขืœืžื™ื ืžื”ื“ื’ืœ.

V850 ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ V850:

-ืžืœื•ื ื’-ืฉื™ื—ื•ืช
-ืฉื™ื—ื•ืช ืืจื•ื›ื•ืช
ื”ืชื™ื™ื—ืก ืœื›ืœ ื”ืฉื™ื—ื•ืช ื›ืืœ ืจื—ื•ืงื•ืช (ืงืจื•ื‘). ืื ืžื ื™ื—ื™ื ืฉื”ืฉื™ื—ื•ืช ืจื—ื•ืงื•ืช, ื”
ืžื”ื“ืจ ืชืžื™ื“ ื˜ื•ืขืŸ ืืช ื”ื›ืชื•ื‘ืช ืฉืœ ื”ืคื•ื ืงืฆื™ื” ืœืชื•ืš ืื•ื’ืจ, ื•ืงื•ืจื ื‘ืขืงื™ืคื™ืŸ
ื“ืจืš ื”ืžืฆื‘ื™ืข.

-mno-ep
-ืžืžืคื™
ืืœ ืชื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” (ืขืฉื” ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”) ื‘ืœื•ืงื™ื ื‘ืกื™ืกื™ื™ื ื”ืžืฉืชืžืฉื™ื ื‘ืื•ืชื• ืžืฆื‘ื™ืข ืื™ื ื“ืงืก 4 ืื• ื™ื•ืชืจ
ืคืขืžื™ื ื›ื“ื™ ืœื”ืขืชื™ืง ืืช ื”ืžืฆื‘ื™ืข ืœืจืฉื•ื "ep", ื•ืœื”ืฉืชืžืฉ ื‘-"sld" ื•-"sst" ื”ืงืฆืจื™ื ื™ื•ืชืจ
ื”ื•ืจืื•ืช. ื” -ืžืžืคื™ ื”ืืคืฉืจื•ืช ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืื ืชื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.

-mno-prolog-function
-ืžืคืจื•ืคืœื•ื’-ืคื•ื ืงืฆื™ื”
ืืœ ืชืฉืชืžืฉ (ืชืฉืชืžืฉ) ื‘ืคื•ื ืงืฆื™ื•ืช ื—ื™ืฆื•ื ื™ื•ืช ื›ื“ื™ ืœืฉืžื•ืจ ื•ืœืฉื—ื–ืจ ืื•ื’ืจื™ื ื‘ืคืจื•ืœื•ื’
ื•ืืคื™ืœื•ื’ ืฉืœ ืคื•ื ืงืฆื™ื”. ื”ืคื•ื ืงืฆื™ื•ืช ื”ื—ื™ืฆื•ื ื™ื•ืช ืื™ื˜ื™ื•ืช ื™ื•ืชืจ, ืืš ืžืฉืชืžืฉื•ืช ื‘ืคื—ื•ืช ืงื•ื“
ืจื•ื•ื— ืื ื™ื•ืชืจ ืžืคื•ื ืงืฆื™ื” ืื—ืช ืฉื•ืžืจืช ืืช ืื•ืชื• ืžืกืคืจ ืื•ื’ืจื™ื. ื”
-ืžืคืจื•ืคืœื•ื’-ืคื•ื ืงืฆื™ื” ื”ืืคืฉืจื•ืช ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืื ืชื‘ืฆืข ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.

-mspace
ื ืกื• ืœืขืฉื•ืช ืืช ื”ืงื•ื“ ืงื˜ืŸ ื›ื›ืœ ื”ืืคืฉืจ. ื ื›ื•ืŸ ืœืขื›ืฉื™ื•, ื–ื” ืจืง ืžื“ืœื™ืง ืืช -ืžืžืคื™
ื• -ืžืคืจื•ืคืœื•ื’-ืคื•ื ืงืฆื™ื” ืืคืฉืจื•ื™ื•ืช.

-mtda=n
ืฉื™ื ืžืฉืชื ื™ื ืกื˜ื˜ื™ื™ื ืื• ื’ืœื•ื‘ืœื™ื™ื ืฉื’ื•ื“ืœื ื”ื•ื n ื‘ืชื™ื ืื• ืคื—ื•ืช ืœืชื•ืš ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ื–ืขื™ืจ
ืฉื”ืจื™ืฉื•ื "ep" ืžืฆื‘ื™ืข ืขืœื™ื•. ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ื–ืขื™ืจ ื™ื›ื•ืœ ืœื”ื›ื™ืœ ืขื“ 256 ื‘ืชื™ื ื‘ืกืš ื”ื›ืœ
(128 ื‘ืชื™ื ืœื”ืคื ื™ื•ืช ื‘ืชื™ื).

-msda=n
ืฉื™ื ืžืฉืชื ื™ื ืกื˜ื˜ื™ื™ื ืื• ื’ืœื•ื‘ืœื™ื™ื ืฉื’ื•ื“ืœื ื”ื•ื n ื‘ืชื™ื ืื• ืคื—ื•ืช ืœืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ
ืฉื”ืจื™ืฉื•ื "gp" ืžืฆื‘ื™ืข ืขืœื™ื•. ืื–ื•ืจ ื”ื ืชื•ื ื™ื ื”ืงื˜ืŸ ื™ื›ื•ืœ ืœื”ื›ื™ืœ ืขื“ 64 ืงื™ืœื•ื‘ื™ื™ื˜.

-mzda=n
ืฉื™ื ืžืฉืชื ื™ื ืกื˜ื˜ื™ื™ื ืื• ื’ืœื•ื‘ืœื™ื™ื ืฉื’ื•ื“ืœื ื”ื•ื n ื‘ืชื™ื ืื• ืคื—ื•ืช ืœืชื•ืš 32 ื”ืจืืฉื•ื ื™ื
ืงื™ืœื•ื‘ื™ื™ื˜ ืฉืœ ื–ื™ื›ืจื•ืŸ.

-mv850
ืฆื™ื™ืŸ ืฉืžืขื‘ื“ ื”ื™ืขื“ ื”ื•ื ื”-V850.

-mv850e3v5
ืฆื™ื™ืŸ ืฉืžืขื‘ื“ ื”ื™ืขื“ ื”ื•ื V850E3V5. ื”ืงื‘ื•ืข ื”ืงื“ื-ืžืขื‘ื“
__v850e3v5__ ืžื•ื’ื“ืจ ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื•.

-mv850e2v4
ืฆื™ื™ืŸ ืฉืžืขื‘ื“ ื”ื™ืขื“ ื”ื•ื V850E3V5. ื–ื”ื• ื›ื™ื ื•ื™ ืœ-
-mv850e3v5 ืื•ึนืคึผึฐืฆึดื™ึธื”.

-mv850e2v3
ืฆื™ื™ืŸ ืฉืžืขื‘ื“ ื”ื™ืขื“ ื”ื•ื V850E2V3. ื”ืงื‘ื•ืข ื”ืงื“ื-ืžืขื‘ื“
__v850e2v3__ ืžื•ื’ื“ืจ ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื•.

-mv850e2
ืฆื™ื™ืŸ ืฉืžืขื‘ื“ ื”ื™ืขื“ ื”ื•ื ื”-V850E2. ื”ืงื‘ื•ืข ื”ืงื“ื-ืžืขื‘ื“ __v850e2__
ืžื•ื’ื“ืจ ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื•.

-mv850e1
ืฆื™ื™ืŸ ืฉืžืขื‘ื“ ื”ื™ืขื“ ื”ื•ื ื”-V850E1. ื”ืงื‘ื•ืขื™ื ื”ืงื“ื-ืžืขื‘ื“ื™ื
__v850e1__ ื• __v850e__ ืžื•ื’ื“ืจื™ื ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื•.

-mv850es
ืฆื™ื™ืŸ ืฉืžืขื‘ื“ ื”ื™ืขื“ ื”ื•ื ื”-V850ES. ื–ื”ื• ื›ื™ื ื•ื™ ืœ- -mv850e1
ืื•ึนืคึผึฐืฆึดื™ึธื”.

-mv850e
ืฆื™ื™ืŸ ืฉืžืขื‘ื“ ื”ื™ืขื“ ื”ื•ื ื”-V850E. ื”ืงื‘ื•ืข ื”ืงื“ื-ืžืขื‘ื“ __v850e__
ืžื•ื’ื“ืจ ืื ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘ืืคืฉืจื•ืช ื–ื•.

ืื ื’ื ืœื -mv850 ื•ืœื -mv850e ื•ืœื -mv850e1 ื•ืœื -mv850e2 ื•ืœื -mv850e2v3 ื•ืœื -mv850e3v5
ืžื•ื’ื“ืจื™ื ื•ืื– ื ื‘ื—ืจ ืžืขื‘ื“ ื™ืขื“ ื‘ืจื™ืจืช ืžื—ื“ืœ ื•ื”ืจืœื•ื•ื ื˜ื™ __v850*__
ืงื‘ื•ืข ืงื“ื-ืžืขื‘ื“ ืžื•ื’ื“ืจ.

ื”ืงื‘ื•ืขื™ื ื”ืงื“ื-ืžืขื‘ื“ื™ื __v850 ื• __v851__ ืชืžื™ื“ ืžื•ื’ื“ืจื™ื, ืœืœื ืงืฉืจ ืœืื™ื–ื”
ื’ืจืกืช ื”ืžืขื‘ื“ ื”ื™ื ื”ื™ืขื“.

-mdisable-call
-mno-disable-call
ืืคืฉืจื•ืช ื–ื• ืžื“ื›ืืช ืืช ื”ื™ืฆื™ืจื” ืฉืœ ื”ื•ืจืืช "CALLT" ืขื‘ื•ืจ v850e, v850e1,
ื”ื˜ืขืžื™ื v850e2, v850e2v3 ื•-v850e3v5 ืฉืœ ืืจื›ื™ื˜ืงื˜ื•ืจืช v850.

ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ ื”-RH850 ABI ื ืžืฆื ื‘ืฉื™ืžื•ืฉ (ืจืื” -mrh850-abi,) ื•
ืžื•ืฉื‘ืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ GCC ABI ื ืžืฆื ื‘ืฉื™ืžื•ืฉ. ืื ืžืชื‘ืฆืขื•ืช ื”ื•ืจืื•ืช "CALLT".
ื ื•ืฆืจ ืื– ื™ื•ื’ื“ืจ ืกืžืœ ื”ืงื“ื-ืžืขื‘ื“ C "__V850_CALLT__".

-ืœื”ื™ืจื’ืข
-ืžื ื•-ืœื”ื™ืจื’ืข
ืœื”ืขื‘ื™ืจ ื”ืœืื” (ืื• ืœื ืœื”ืขื‘ื™ืจ ื”ืœืื”) ืืช -ืœื”ื™ืจื’ืข ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ืœ-assembler.

-ืžืœื•ื ื’-ืงืคื™ืฆื•ืช
-ืงืคื™ืฆื•ืช-ืœืื•ืจืš
ื”ืฉื‘ืช (ืื• ื”ืคืขืœ ืžื—ื“ืฉ) ืืช ื™ืฆื™ืจืช ื”ื•ืจืื•ืช ื”ืงืคื™ืฆื” ื”ื™ื—ืกื™ื•ืช ืœืžื—ืฉื‘.

-msoft-float
-mhard-float
ื”ืฉื‘ืช (ืื• ื”ืคืขืœ ืžื—ื“ืฉ) ืืช ื”ืคืงืช ื”ื•ืจืื•ืช ื—ื•ืžืจื” ืœื ืงื•ื“ื” ืฆืคื”. ื–ึถื”
ืืคืฉืจื•ืช ืžืฉืžืขื•ืชื™ืช ืจืง ื›ืืฉืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช ื”ื™ืขื“ ื”ื™ื V850E2V3 ืื• ื’ื‘ื•ื” ื™ื•ืชืจ. ืื
ื ื•ืฆืจื•ืช ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื” ื‘ื—ื•ืžืจื” ื•ืœืื—ืจ ืžื›ืŸ ืžืงื“ื ื”ืžืขื‘ื“ C
ืกืžืœ "__FPU_OK__" ื™ื•ื’ื“ืจ, ืื—ืจืช ื”ืกืžืœ "__NO_FPU__" ื™ื”ื™ื”
ืžื•ึผื’ื“ึธืจ.

-ืžืœื•ืค
ืžืืคืฉืจ ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื” e3v5 LOOP. ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื” ื–ื• ืื™ื ื•
ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืืฉืจ ืืจื›ื™ื˜ืงื˜ื•ืจืช e3v5 ื ื‘ื—ืจืช ืžื›ื™ื•ื•ืŸ ืฉื”ืฉื™ืžื•ืฉ ื‘ื” ืขื“ื™ื™ืŸ
ื ึดืกื™ื•ึนื ึดื™.

-mrh850-abi
-ืžื’'ืฉ
ืžืืคืฉืจ ืชืžื™ื›ื” ื‘ื’ืจืกืช RH850 ืฉืœ V850 ABI. ื–ื•ื”ื™ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ. ืขื
ื‘ื’ืจืกื” ื–ื• ืฉืœ ABI ื—ืœื™ื ื”ื›ืœืœื™ื ื”ื‘ืื™ื:

ยท ืžื‘ื ื™ื ื•ืื™ื’ื•ื“ื™ื ื‘ื’ื•ื“ืœ ืžืกืคืจ ืฉืœื ืžื•ื—ื–ืจื™ื ื‘ืืžืฆืขื•ืช ืžืฆื‘ื™ืข ื–ื™ื›ืจื•ืŸ ื‘ืžืงื•ื
ืคื ืงืก.

ยท ืžื‘ื ื™ื ื•ืื™ื’ื•ื“ื™ื ื’ื“ื•ืœื™ื (ื‘ื’ื•ื“ืœ ืฉืœ ื™ื•ืชืจ ืž-8 ื‘ืชื™ื) ืขื•ื‘ืจื™ื ืœืคื™ ืขืจืš.

ยท ืคื•ื ืงืฆื™ื•ืช ืžื™ื•ืฉืจื•ืช ืœื’ื‘ื•ืœื•ืช ืฉืœ 16 ืกื™ื‘ื™ื•ืช.

ยท -m8byte-align ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื ืชืžื›ืช.

ยท -mdisable-call ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ. ื”
-mno-disable-call ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ืื™ื ื” ื ืชืžื›ืช.

ื›ืืฉืจ ื’ืจืกื” ื–ื• ืฉืœ ื”-ABI ืžื•ืคืขืœืช, ืกืžืœ ื”-C preprocessor "__V850_RH850_ABI__"
ืžื•ื’ื“ืจ.

-mgcc-abi
ืžืืคืฉืจ ืชืžื™ื›ื” ื‘ื’ืจืกืช GCC ื”ื™ืฉื ื” ืฉืœ V850 ABI. ืขื ื’ืจืกื” ื–ื• ืฉืœ ABI
ื”ื›ืœืœื™ื ื”ื‘ืื™ื ื—ืœื™ื:

ยท ืžื‘ื ื™ื ื•ืื™ื’ื•ื“ื™ื ื‘ื’ื•ื“ืœ ืฉืœ ืžืกืคืจ ืฉืœื ืžื•ื—ื–ืจื™ื ื‘ืจื™ืฉื•ื "r10".

ยท ืžื‘ื ื™ื ื•ืื™ื’ื•ื“ื™ื ื’ื“ื•ืœื™ื (ื‘ื’ื•ื“ืœ ืฉืœ ื™ื•ืชืจ ืž-8 ื‘ืชื™ื) ืžื•ืขื‘ืจื™ื ื‘ื”ืชื™ื™ื—ืกื•ืช.

ยท ืคื•ื ืงืฆื™ื•ืช ืžื™ื•ืฉืจื•ืช ืœื’ื‘ื•ืœื•ืช ืฉืœ 32 ืกื™ื‘ื™ื•ืช, ืืœื ืื ื›ืŸ ืžืชื‘ืฆืขื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืœื’ื•ื“ืœ.

ยท -m8byte-align ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ืื™ื ื” ื ืชืžื›ืช.

ยท -mdisable-call ืืคืฉืจื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื” ื ืชืžื›ืช ืืš ืื™ื ื” ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ.

ื›ืืฉืจ ื’ืจืกื” ื–ื• ืฉืœ ื”-ABI ืžื•ืคืขืœืช, ื”ืกืžืœ C preprocessor "__V850_GCC_ABI__"
ืžื•ื’ื“ืจ.

-m8byte-align
-mno-8byte-align
ืžืืคืฉืจ ืชืžื™ื›ื” ื‘ืกื•ื’ื™ "ื›ืคื•ืœื™ื" ื•"ืืจื•ื›ื™ื ืืจื•ื›ื™ื" ืœื”ื™ื•ืช ืžื™ื•ืฉืจื™ื ืขืœ 8-ื‘ืชื™ื
ื’ื‘ื•ืœื•ืช. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืœื”ื’ื‘ื™ืœ ืืช ื”ื™ื™ืฉื•ืจ ืฉืœ ื›ืœ ื”ืื•ื‘ื™ื™ืงื˜ื™ื ืœื›ืœ ื”ื™ื•ืชืจ
4 ื‘ืชื™ื. ืžืชื™ -m8byte-align ื”ื•ื ืœืžืขืฉื” ื”ืกืžืœ C preprocessor
"__V850_8BYTE_ALIGN__" ื™ื•ื’ื“ืจ.

-ืžื‘ื™ื’-ืžืชื’
ืฆื•ืจ ืงื•ื“ ืžืชืื™ื ืœื˜ื‘ืœืื•ืช ืžืชื’ ื’ื“ื•ืœื•ืช. ื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืจืง ืื
ืืกืžื‘ืœืจ/ืžืงืฉืจ ืžืชืœื•ื ืŸ ืขืœ ืขื ืคื™ื ืžื—ื•ืฅ ืœื˜ื•ื•ื— ื‘ืชื•ืš ื˜ื‘ืœืช ืžืชื’ื™ื.

-mapp-regs
ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช ืœืฉื™ืžื•ืฉ ื‘-r2 ื•-r5 ื‘ืงื•ื“ ืฉื ื•ืฆืจ ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ. ื–ึถื”
ื”ื”ื’ื“ืจื” ื”ื™ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-mno-app-regs
ืืคืฉืจื•ืช ื–ื• ื’ื•ืจืžืช ืœื”ืชื™ื™ื—ืกื•ืช ืœ-r2 ื•-r5 ื›ืืœ ืื•ื’ืจื™ื ืงื‘ื•ืขื™ื.

VAX ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ VAX:

-ืžื•ื ื™ืงืก
ืืœ ืชื•ืฆื™ื ื”ื•ืจืื•ืช ืงืคื™ืฆื” ืžืกื•ื™ืžื•ืช ("aobleq" ื•ื›ืŸ ื”ืœืื”) ืžื”-Unix assembler
ืฉื›ืŸ ื”-VAX ืœื ื™ื›ื•ืœ ืœื”ืชืžื•ื“ื“ ืขื ื˜ื•ื•ื—ื™ื ืืจื•ื›ื™ื.

-ืžื’ื ื•
ืคืœื˜ ืืช ื”ื•ืจืื•ืช ื”ืงืคื™ืฆื” ื”ืืœื”, ื‘ื”ื ื—ื” ืฉื”ืืกืžื‘ืœืจ ืฉืœ GNU ื ืžืฆื
ืžึฐืฉืื•ึผืžึธืฉื.

-ืžื’ ืงื•ื“ ืคืœื˜ ืขื‘ื•ืจ ืžืกืคืจื™ ื ืงื•ื“ื” ืฆืคื” ื‘ืคื•ืจืžื˜ G ื‘ืžืงื•ื ื‘ืคื•ืจืžื˜ D.

VMS ืืคืฉืจื•ื™ื•ืช

ืืœื” -m ืืคืฉืจื•ื™ื•ืช ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื™ื™ืฉื•ืžื™ VMS:

-mvms-return-codes
ื”ื—ื–ืจ ืงื•ื“ื™ ืชื ืื™ VMS ืž-"main". ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ื”ื—ื–ืจืช ืžืฆื‘ ื‘ืกื’ื ื•ืŸ POSIX
(ืœืžืฉืœ ืฉื’ื™ืื”) ืงื•ื“ื™.

-mdebug-main=ืงื™ื“ื•ืžืช
ืกืžืŸ ืืช ื”ืฉื’ืจื” ื”ืจืืฉื•ื ื” ืฉืฉืžื” ืžืชื—ื™ืœ ื‘ื” ืงื™ื“ื•ืžืช ื›ืฉื’ืจื” ื”ืขื™ืงืจื™ืช ืขื‘ื•ืจ
ืžื ืคื”.

-mmalloc64
ื‘ืจื™ืจืช ืžื—ื“ืœ ืœืฉื’ืจื•ืช ื”ืงืฆืืช ื–ื™ื›ืจื•ืŸ ืฉืœ 64 ืกื™ื‘ื™ื•ืช.

-mpointer-size=ื’ื•ื“ืœ
ื”ื’ื“ืจ ืืช ื’ื•ื“ืœ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ืžืฆื‘ื™ืขื™ื. ืืคืฉืจื•ื™ื•ืช ืืคืฉืจื™ื•ืช ืขื‘ื•ืจ ื’ื•ื“ืœ ื™ืฉ ืœื• 32 or ืงืฆืจ ืขื‘ื•ืจ 32 ื‘ื™ื˜
ืžืฆื‘ื™ืขื™ื, 64 or ืืจื•ืš ืขื‘ื•ืจ ืžืฆื‘ื™ืขื™ 64 ืกื™ื‘ื™ื•ืช, ื• ืœื ืœืชืžื™ื›ื” ื‘ืžืฆื‘ื™ืขื™ 32 ืกื™ื‘ื™ื•ืช ื‘ืœื‘ื“.
ื”ืืคืฉืจื•ืช ื”ืžืื•ื—ืจืช ื™ื•ืชืจ ืžืฉื‘ื™ืชื” ืืช "ืคืจื’ืžื” pointer_size".

VxWorks ืืคืฉืจื•ื™ื•ืช

ื”ืืคืฉืจื•ื™ื•ืช ื‘ืกืขื™ืฃ ื–ื” ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ ื›ืœ ื™ืขื“ื™ VxWorks. ืืคืฉืจื•ื™ื•ืช ืกืคืฆื™ืคื™ื•ืช ืœ-
ื—ื•ืžืจืช ื”ื™ืขื“ ืžื•ืคื™ืขื•ืช ืขื ื”ืืคืฉืจื•ื™ื•ืช ื”ืื—ืจื•ืช ืขื‘ื•ืจ ื™ืขื“ ื–ื”.

-mrtp
GCC ื™ื›ื•ืœ ืœื™ืฆื•ืจ ืงื•ื“ ื”ืŸ ืขื‘ื•ืจ ืœื™ื‘ื•ืช VxWorks ื•ื”ืŸ ืขื‘ื•ืจ ืชื”ืœื™ื›ื™ื ื‘ื–ืžืŸ ืืžืช (RTP). ื–ึถื”
ืื•ืคืฆื™ื” ืขื•ื‘ืจืช ืžื”ืจืืฉื•ืŸ ืœืื—ืจ. ื–ื” ื’ื ืžื’ื“ื™ืจ ืืช ื”ืžืืงืจื• ื”ืงื“ื-ืžืขื‘ื“
"__RTP__".

-ืœื ืกื˜ื˜ื™
ืงืฉืจ ืงื•ื‘ืฅ RTP ื ื’ื“ ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช ื•ืœื ืกืคืจื™ื•ืช ืกื˜ื˜ื™ื•ืช. ื”
ืืคืฉืจื•ื™ื•ืช -ืกื˜ึธื˜ึดื™ ื• -ืžึฐืฉืื•ึผืชึธืฃ ื™ื›ื•ืœ ืœืฉืžืฉ ื’ื ืขื‘ื•ืจ RTPs; -ืกื˜ึธื˜ึดื™ ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ื‘ืกื˜ื˜ื™ืง
-ื‘ื“ื™ื ืžื™
ืืคืฉืจื•ื™ื•ืช ืืœื• ืžื•ืขื‘ืจื•ืช ืœืžืงืฉืจ. ื”ื ืžื•ื’ื“ืจื™ื ืขื‘ื•ืจ ืชืื™ืžื•ืช ืขื
ื“ื™ืื‘.

-Xbind-ืขืฆืœืŸ
ืืคืฉืจ ื›ืจื™ื›ื” ืขืฆืœื” ืฉืœ ืงืจื™ืื•ืช ืคื•ื ืงืฆื™ื”. ืืคืฉืจื•ืช ื–ื• ืžืงื‘ื™ืœื” ืœ -Wl,-z,ืขื›ืฉื™ื• ื•ื”ื•ื
ืžื•ื’ื“ืจ ืœืชืื™ืžื•ืช ืขื Diab.

-Xbind-ืขื›ืฉื™ื•
ื”ืฉื‘ืช ื›ืจื™ื›ื” ืขืฆืœื” ืฉืœ ืงืจื™ืื•ืช ืคื•ื ืงืฆื™ื”. ืืคืฉืจื•ืช ื–ื• ื”ื™ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื•ื”ื™ื ืžื•ื’ื“ืจืช ืขื‘ื•ืจ
ืชืื™ืžื•ืช ืขื Diab.

x86-64 ืืคืฉืจื•ื™ื•ืช

ืืœื” ืžืคื•ืจื˜ื™ื ืœืžื˜ื”

Xstormy16 ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืืœื” ืžื•ื’ื“ืจื•ืช ืขื‘ื•ืจ Xstormy16:

-ืžืกื™ื
ื‘ื—ืจ ืงื‘ืฆื™ ื”ืคืขืœื” ื•ืกืงืจื™ืคื˜ ืงื™ืฉื•ืจ ืžืชืื™ื ืœืกื™ืžื•ืœื˜ื•ืจ.

Xtensa ืืคืฉืจื•ื™ื•ืช

ืืคืฉืจื•ื™ื•ืช ืืœื” ื ืชืžื›ื•ืช ืขื‘ื•ืจ ื™ืขื“ื™ Xtensa:

-mconst16
-mno-const16
ืืคืฉืจ ืื• ื”ืฉื‘ืช ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช "CONST16" ืœื˜ืขื™ื ืช ืขืจื›ื™ื ืงื‘ื•ืขื™ื. ื”
ื”ื•ืจืืช "CONST16" ื”ื™ื ื›ืจื’ืข ืœื ืื•ืคืฆื™ื” ืกื˜ื ื“ืจื˜ื™ืช ืฉืœ Tensilica. ืžืชื™
ืžื•ืคืขืœืช, ื”ื•ืจืื•ืช "CONST16" ืžืฉืžืฉื•ืช ืชืžื™ื“ ื‘ืžืงื•ื ื”ืกื˜ื ื“ืจื˜ื™ "L32R"
ื”ื•ืจืื•ืช. ื”ืฉื™ืžื•ืฉ ื‘-"CONST16" ืžื•ืคืขืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืจืง ืื ื”-"L32R"
ื”ื“ืจื›ื” ืื™ื ื” ื–ืžื™ื ื”.

-ืžfused-madd
-mno-fused-madd
ืืคืฉืจ ืื• ื”ืฉื‘ืช ืืช ื”ืฉื™ืžื•ืฉ ื‘ื”ื•ืจืื•ืช ื”ื›ืคืœ/ื”ื•ืกืคื” ื•ื”ื›ืคืœ/ื”ืคื—ืชื” ืžืชืžื–ื’ื•ืช ื‘-
ืืคืฉืจื•ืช ืœื ืงื•ื“ื” ืฆืคื”. ืื™ืŸ ืœื›ืš ื”ืฉืคืขื” ืื ืืคืฉืจื•ืช ื”ื ืงื•ื“ื” ื”ืฆืคื” ืื™ื ื” ื’ื ื›ืŸ
ืžื•ืคืขืœ. ื”ืฉื‘ืชืช ื”ื•ืจืื•ืช ื”ื›ืคืœ/ื”ื•ืกืคื” ื•ื”ื›ืคืœ/ื”ืคื—ืชื” ืžืชืžื–ื’ื•ืช ืžืืœืฆืช ืืช
ืžื”ื“ืจ ืœื”ืฉืชืžืฉ ื‘ื”ื•ืจืื•ืช ื ืคืจื“ื•ืช ืขื‘ื•ืจ ืคืขื•ืœื•ืช ื”ื›ืคืœ ื•ื—ื™ื‘ื•ืจ/ื—ื™ืกื•ืจ.
ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ืจืฆื•ื™ ื‘ืžืงืจื™ื ืžืกื•ื™ืžื™ื ืฉื‘ื”ื ืชื•ืฆืื•ืช ืงืคื“ื ื™ื•ืช ืชื•ืืžื•ืช IEEE 754
ื ื“ืจืฉ: ื”ื•ืจืื•ืช ื”ื—ื™ื‘ื•ืจ/ื”ื”ืคื—ืชื” ืฉืœ ื”ื›ืคืœ ื”ืžืชื•ื›ื” ืื™ื ืŸ ืžืขื’ืœื•ืช ืืช ื”ืชื•ื•ืš
ืชื•ืฆืื”, ื•ื‘ื›ืš ืœื™ื™ืฆืจ ืชื•ืฆืื•ืช ืขื ื™ื•ืชืจ ืคื™ืกื•ืช ื“ื™ื•ืง ืžืžื” ืฉืฆื•ื™ืŸ ืขืœ ื™ื“ื™
ืชืงืŸ IEEE. ื”ืฉื‘ืชืช ื”ื•ืจืื•ืช ื”ื•ืกืคื”/ื—ื™ืกื•ืจ ืฉืœ ื›ืคืœ ืžืชื•ื›ื” ื’ื ืžื‘ื˜ื™ื—ื” ื–ืืช
ืคืœื˜ ื”ืชื•ื›ื ื™ืช ืื™ื ื• ืจื’ื™ืฉ ืœื™ื›ื•ืœืชื• ืฉืœ ื”ืžื”ื“ืจ ืœืฉืœื‘ ื›ืคืœ ื•
ืคืขื•ืœื•ืช ื”ื•ืกืคื”/ื”ื•ืจื“ื”.

-ืžืกืจื™ืืœื™ื–ื”-ื ื“ื™ืฃ
-mno-serialize-ื ื“ื™ืฃ
ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช, GCC ืžื•ืกื™ืฃ ื”ื•ืจืื•ืช "MEMW" ืœืคื ื™ ื–ื™ื›ืจื•ืŸ "ื ื“ื™ืฃ".
ื”ืคื ื™ื•ืช ื›ื“ื™ ืœื”ื‘ื˜ื™ื— ืขืงื‘ื™ื•ืช ื‘ืจืฆืฃ. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -ืžืกืจื™ืืœื™ื–ื”-ื ื“ื™ืฃ.
ื”ืฉืชืžืฉ -mno-serialize-ื ื“ื™ืฃ ืœื”ืฉืžื™ื˜ ืืช ื”ื•ืจืื•ืช "MEMW".

-mforce-no-pic
ืขื‘ื•ืจ ื™ืขื“ื™ื, ื›ืžื• GNU/Linux, ืฉื‘ื”ื ื›ืœ ืงื•ื“ Xtensa ื‘ืžืฆื‘ ืžืฉืชืžืฉ ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืžื™ืงื•ื-
ืงื•ื“ ืขืฆืžืื™ (PIC), ืืคืฉืจื•ืช ื–ื• ืžืฉื‘ื™ืชื” ืืช ื”-PIC ืœื”ื™ื“ื•ืจ ืงื•ื“ ืœื™ื‘ื”.

-mtext-section-literals
-mno-text-section-literals
ืฉืœื™ื˜ื” ื‘ื˜ื™ืคื•ืœ ื‘ื‘ืจื™ื›ื•ืช ืชืจืชื™ ืžืฉืžืข. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื -mno-text-section-literals,
ืžื” ืฉืžืฆื™ื‘ ืžื™ืœื™ื ื‘ืงื˜ืข ื ืคืจื“ ื‘ืงื•ื‘ืฅ ื”ืคืœื˜. ื–ื” ืžืืคืฉืจ ืืช
ืžืื’ืจ ืžื™ืœื•ืœื™ ืœืžืงื ื‘-RAM/ROM ื ืชื•ื ื™ื, ื•ื”ื•ื ื’ื ืžืืคืฉืจ ืœืงื™ืฉื•ืจ ืœืฉืœื‘
ืžืื’ืจื™ื ืžื™ืœื•ืœื™ื™ื ืžืงื•ื‘ืฆื™ ืื•ื‘ื™ื™ืงื˜ ื ืคืจื“ื™ื ื›ื“ื™ ืœื”ืกื™ืจ ืžื™ืœื•ืœื™ื•ืช ืžื™ื•ืชืจื•ืช ื•ืœืฉืคืจ ืงื•ื“
ื’ื•ื“ืœ. ืขื -mtext-section-literals, ื”ืžื™ืœื•ืœื™ื ืžืฉื•ื‘ืฆื™ื ื‘ืงื˜ืข ื”ื˜ืงืกื˜
ืขืœ ืžื ืช ืœืฉืžื•ืจ ืื•ืชื ืงืจื•ื‘ื™ื ื›ื›ืœ ื”ืืคืฉืจ ืœื”ืคื ื™ื•ืช ืฉืœื”ื. ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ื ื—ื•ืฅ
ืขื‘ื•ืจ ืงื‘ืฆื™ ื”ืจื›ื‘ื” ื’ื“ื•ืœื™ื.

-mtarget-align
-mno-target-align
ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช, GCC ืžื•ืจื” ืœื”ืจื›ื‘ ืœื™ื™ืฉืจ ืื•ื˜ื•ืžื˜ื™ืช
ื”ื•ืจืื•ืช ืœื”ืคื—ืชืช ืขื•ื ืฉื™ ืขื ืฃ ืขืœ ื—ืฉื‘ื•ืŸ ืฆืคื™ืคื•ืช ืžืกื•ื™ืžืช ืฉืœ ืงื•ื“. ื”
ืืกืžื‘ืœืจ ืžื ืกื” ืœื”ืจื—ื™ื‘ ืืช ื”ื•ืจืื•ืช ื”ืฆืคื™ืคื•ืช ื›ื“ื™ ืœื™ื™ืฉืจ ืืช ืžื˜ืจื•ืช ื”ืกื ื™ืฃ ื•ื”-
ื”ื•ืจืื•ืช ื‘ืขืงื‘ื•ืช ื”ื•ืจืื•ืช ื”ืฉื™ื—ื”. ืื ืื™ืŸ ืžืกืคื™ืง ืงื•ื“ืžื™ื ื‘ื˜ื•ื—ื™ื
ื”ื•ืจืื•ืช ืฆืคื™ืคื•ืช ืœื™ื™ืฉื•ืจ ืžื˜ืจื”, ืœื ืžืชื‘ืฆืขืช ื”ืจื—ื‘ื”. ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
-mtarget-align. ืืคืฉืจื•ื™ื•ืช ืืœื• ืื™ื ืŸ ืžืฉืคื™ืขื•ืช ืขืœ ื”ื˜ื™ืคื•ืœ ื‘-auto-aligned
ื”ื•ืจืื•ืช ื›ืžื• "LOOP", ืฉืื•ืชืŸ ื”ื”ืจื›ื‘ ืชืžื™ื“ ืžื™ื™ืฉืจ, ืื• ืขืœ ื™ื“ื™ ื”ืจื—ื‘ื”
ื”ื•ืจืื•ืช ืฆืคื™ืคื•ืช ืื• ืขืœ ื™ื“ื™ ื”ื›ื ืกืช ื”ื•ืจืื•ืช NOP.

-ืžืœื•ื ื’ ืฉื™ื—ื•ืช
-ืžื ื•-ืœื•ื ื’ ืฉื™ื—ื•ืช
ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช, GCC ืžื•ืจื” ืœื”ืจื›ื‘ ืœืชืจื’ื ืฉื™ื—ื•ืช ื™ืฉื™ืจื•ืช
ืฉื™ื—ื•ืช ืขืงื™ืคื•ืช ืืœื ืื ื”ื•ื ื™ื›ื•ืœ ืœืงื‘ื•ืข ืฉื”ื™ืขื“ ืฉืœ ืฉื™ื—ื” ื™ืฉื™ืจื” ื ืžืฆื ื‘-
ื˜ื•ื•ื— ื”ืžื•ืชืจ ืœืคื™ ื”ื•ืจืืช ื”ืฉื™ื—ื”. ืชืจื’ื•ื ื–ื” ืžืชืจื—ืฉ ื‘ื“ืจืš ื›ืœืœ ืขื‘ื•ืจ ืฉื™ื—ื•ืช ืืœ
ืคื•ื ืงืฆื™ื•ืช ื‘ืงื‘ืฆื™ ืžืงื•ืจ ืื—ืจื™ื. ื‘ืื•ืคืŸ ืกืคืฆื™ืคื™, ื”ืืกืžื‘ืœืจ ืžืชืจื’ื ื™ืฉื™ืจ
ื”ื•ืจืืช "CALL" ืœืชื•ืš "L32R" ื•ืื—ืจื™ื” ื”ื•ืจืื” "CALLX". ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
-ืžื ื•-ืœื•ื ื’ ืฉื™ื—ื•ืช. ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ื‘ืชื•ื›ื ื™ื•ืช ืฉื‘ื”ืŸ ื™ืขื“ ื”ืฉื™ื—ื” ื™ื›ื•ืœ
ืขืœื•ืœ ืœื”ื™ื•ืช ืžื—ื•ืฅ ืœื˜ื•ื•ื—. ืืคืฉืจื•ืช ื–ื• ืžื™ื•ืฉืžืช ื‘-assembler, ืœื ื‘-
ืžื”ื“ืจ, ื›ืš ืฉืงื•ื“ ื”ื”ืจื›ื‘ื” ืฉื ื•ืฆืจ ืขืœ ื™ื“ื™ GCC ืขื“ื™ื™ืŸ ืžืฆื™ื’ ืงืจื™ืื” ื™ืฉื™ืจื”
ื”ื•ืจืื•ืช --- ื”ืกืชื›ืœ ื‘ืงื•ื“ ื”ืื•ื‘ื™ื™ืงื˜ ื”ืžืคื•ืจืง ื›ื“ื™ ืœืจืื•ืช ืืช ื”ื”ื•ืจืื•ืช ื‘ืคื•ืขืœ.
ืฉื™ืžื• ืœื‘ ืฉื”ืืกืžื‘ืœืจ ืžืฉืชืžืฉ ื‘ืงืจื™ืื” ืขืงื™ืคื” ืœื›ืœ ืงืจื™ืื” ืฆื•ืœื‘ืช ืงื‘ืฆื™ื, ืœื ืจืง
ืืœื” ืฉื‘ืืžืช ืžื—ื•ืฅ ืœื˜ื•ื•ื—.

zSeries ืืคืฉืจื•ื™ื•ืช

ืืœื” ืžืคื•ืจื˜ื™ื ืœืžื˜ื”

ืืคืฉืจื•ื™ื•ืช ืœ ืงื•ืคื•ื ื™ื ื“ื•ืจ ืืžื ื•ืช
ืืคืฉืจื•ื™ื•ืช ืืœื• ืฉืื™ื ืŸ ืชืœื•ื™ื•ืช ื‘ืžื›ื•ื ื” ืฉื•ืœื˜ื•ืช ื‘ืžื•ืกื›ืžื•ืช ื”ืžืžืฉืง ื”ืžืฉืžืฉื•ืช ื‘ืงื•ื“
ื“ื•ึนืจ.

ืœืจื•ื‘ื ื™ืฉ ืฆื•ืจื•ืช ื—ื™ื•ื‘ื™ื•ืช ื•ืฉืœื™ืœื™ื•ืช ื›ืื—ื“; ื”ืฆื•ืจื” ื”ืฉืœื™ืœื™ืช ืฉืœ -ffoo. is
-fno-foo. ื‘ื˜ื‘ืœื” ืœืžื˜ื”, ืจืง ืื—ื“ ืžื”ื˜ืคืกื™ื ืžื•ืคื™ืข --- ื–ื” ืฉืื™ื ื• ื”-
ื‘ึผึฐืจึดื™ืจึทืช ืžึถื—ื“ึธืœ. ืืชื” ื™ื›ื•ืœ ืœื”ื‘ื™ืŸ ืืช ื”ื˜ื•ืคืก ื”ืื—ืจ ืขืœ ื™ื“ื™ ื”ืกืจื” ืœื- ืื• ื”ื•ืกืคืชื•.

-fbounds-check
ืขื‘ื•ืจ ืžืžืฉืงื™ ืงืฆื” ืฉืชื•ืžื›ื™ื ื‘ื–ื”, ืฆื•ืจ ืงื•ื“ ื ื•ืกืฃ ื›ื“ื™ ืœื‘ื“ื•ืง ืžื” ื ื”ื’ื• ื”ืžื“ื“ื™ื
ืžืขืจื›ื™ ื’ื™ืฉื” ื ืžืฆืื™ื ื‘ื˜ื•ื•ื— ื”ืžื•ืฆื”ืจ. ื–ื” ื ืชืžืš ื›ืจื’ืข ืจืง ืขืœ ื™ื“ื™
ืžืžืฉืงื™ ืงืฆื” ืฉืœ Java ื•-Fortran, ื›ืืฉืจ ืืคืฉืจื•ืช ื–ื• ืžื•ื’ื“ืจืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ื›-true ื•-false
ื‘ื”ืชืืžื”.

-fstack-reuse=ืจืžืช ืฉื™ืžื•ืฉ ื—ื•ื–ืจ
ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ื‘ืฉื™ืžื•ืฉ ื—ื•ื–ืจ ื‘ื—ืœืœ ืžื—ืกื ื™ืช ืขื‘ื•ืจ ืžืฉืชื ื™ื ืžืงื•ืžื™ื™ื/ืื•ื˜ื•ืžื˜ื™ื™ื ื”ืžื•ืฆื”ืจื™ื ืขืœ ื™ื“ื™ ื”ืžืฉืชืžืฉ ื•
ืžื”ื“ืจ ืฉื ื•ืฆืจ ื–ืžื ื™. reuse_level ื™ื›ื•ืœ ืœื”ื™ื•ืช ืืช ื›ืœ, named_vars, ืื• ืืฃ ืœื ืื—ื“. ืืช ื›ืœ
ืžืืคืฉืจ ืฉื™ืžื•ืฉ ื—ื•ื–ืจ ื‘ืžื—ืกื ื™ืช ืขื‘ื•ืจ ื›ืœ ื”ืžืฉืชื ื™ื ื”ืžืงื•ืžื™ื™ื ื•ื”ื–ืžื ื™ื™ื, named_vars ืžืืคืฉืจ
ืฉื™ืžื•ืฉ ื—ื•ื–ืจ ืจืง ืขื‘ื•ืจ ืžืฉืชื ื™ื ืžืงื•ืžื™ื™ื ื”ืžื•ื’ื“ืจื™ื ืขืœ ื™ื“ื™ ื”ืžืฉืชืžืฉ ืขื ืฉืžื•ืช, ื• ืืฃ ืœื ืื—ื“ ืžืฉื‘ื™ืช ืฉื™ืžื•ืฉ ื—ื•ื–ืจ ื‘ืžื—ืกื ื™ืช
ืœึทื—ึฒืœื•ึผื˜ึดื™ืŸ. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื•ื ืืช ื›ืœ. ื”ืืคืฉืจื•ืช ื ื—ื•ืฆื” ื›ืืฉืจ ื”ืชื•ื›ื ื™ืช ืžืชืืจื›ืช
ืžืฉืš ื”ื—ื™ื™ื ืฉืœ ืžืฉืชื ื” ืžืงื•ืžื™ ื‘ื”ื™ืงืฃ ืื• ืžื”ื“ืจ ืฉื ื•ืฆืจ ื–ืžื ื™ ืžืขื‘ืจ ืœ-
ื ืงื•ื“ืช ื”ืกื™ื•ื ื”ืžื•ื’ื“ืจืช ืขืœ ื™ื“ื™ ื”ืฉืคื”. ืžืชื™ ืžืกืชื™ื™ื ื—ื™ื™ื• ืฉืœ ืžืฉืชื ื”, ื•ืื ื”
ื—ื™ื™ื ืžืฉืชื ื™ื ื‘ื–ื™ื›ืจื•ืŸ, ืœืžื”ื“ืจ ื”ืžื™ื™ืขืœ ื™ืฉ ืืช ื”ื—ื•ืคืฉ ืœืขืฉื•ืช ืฉื™ืžื•ืฉ ื—ื•ื–ืจ ื‘ืขืจื™ืžื” ืฉืœื•
ืžืจื—ื‘ ืขื ืžืฉืชื ื™ื ืžืงื•ืžื™ื™ื ื–ืžื ื™ื™ื ืื—ืจื™ื ืื• ื‘ืขืœื™ ื”ื™ืงืฃ ืฉื”ื˜ื•ื•ื— ื”ื—ื™ ืฉืœื”ื ืœื
ื—ื•ืคืคื™ื ืื™ืชื•. ืงื•ื“ ืžื“ื•ืจ ืงื•ื“ื ื”ืžืืจื™ืš ืืช ืชื•ื—ืœืช ื”ื—ื™ื™ื ื”ืžืงื•ืžื™ืช ืฆืคื•ื™ ืœืฉื‘ื•ืจ ืืช
ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืœืฉื™ืžื•ืฉ ื—ื•ื–ืจ ืžื—ืกื ื™ืช.

ืœื“ื•ื’ืžื”,

int * p;
{
int local1;

p = &local1;
local1 = 10;
....
}
{
int local2;
local2 = 20;
...
}

if (*p == 10) // ืฉื™ืžื•ืฉ ืžื—ื•ืฅ ืœื˜ื•ื•ื— ืฉืœ local1
{

}

ื“ื•ื’ืžื ื ื•ืกืคืช:

ืžื‘ื ื” ื
{
A(int k) : i(k), j(k) { }
int i;
int j;
};

A *ap;

void foo(const A& ar)
{
ap = &ar;
}

void bar()
{
ืคื•(A(10)); // ืžืฉืš ื”ื—ื™ื™ื ืฉืœ ืื•ื‘ื™ื™ืงื˜ ื–ืžื ื™ ืžืกืชื™ื™ื ื›ืืฉืจ foo ื—ื•ื–ืจ

{
A a(20);
....
}
ap->i+= 10; // ื”ืคื ื™ื•ืช ืœืืคืœื™ืงืฆื™ื” ืžื—ื•ืฅ ืœื˜ื•ื•ื— ื”ื˜ืžืค' ืฉื”ืžืจื—ื‘ ืฉืœื”
// ื ืขืฉื” ืฉื™ืžื•ืฉ ื—ื•ื–ืจ ืขื ื. ืžื” ื”ืขืจืš ืฉืœ ap->i?
}

ืžืฉืš ื”ื—ื™ื™ื ืฉืœ ืžื”ื“ืจ ื–ืžื ื™ ืฉื ื•ืฆืจ ืžื•ื’ื“ืจ ื”ื™ื˜ื‘ ืขืœ ื™ื“ื™ ืชืงืŸ C++.
ื›ืืฉืจ ืžืกืชื™ื™ืžื™ื ื—ื™ื™ื• ืฉืœ ื–ืžื ื™, ื•ืื ื”ื–ืžื ื™ ื—ื™ ื‘ื–ื™ื›ืจื•ืŸ, ื”
ืžื”ื“ืจ ืœืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ื™ืฉ ืืช ื”ื—ื•ืคืฉ ืœืขืฉื•ืช ืฉื™ืžื•ืฉ ื—ื•ื–ืจ ื‘ื—ืœืœ ื”ืžื—ืกื ื™ืช ืฉืœื• ืขื ื–ืžื ื™ื™ื ืื—ืจื™ื ืื•
ืžืฉืชื ื™ื ืžืงื•ืžื™ื™ื ื‘ื”ื™ืงืฃ ืฉื˜ื•ื•ื— ื”ื—ื™ื™ื ืฉืœื”ื ืื™ื ื• ื—ื•ืคืฃ ืืœื™ื•. ืื•ืœื ื—ืœืง ืžื”
ืงื•ื“ ืžื“ื•ืจ ืงื•ื“ื ืžืกืชืžืš ืขืœ ื”ืชื ื”ื’ื•ืชื ืฉืœ ืžื”ื“ืจื™ื ื™ืฉื ื™ื ืฉื‘ื”ื ืžื—ืกื ื™ืช ื–ืžื ื™ื™ื
ืœื ื ืขืฉื” ืฉื™ืžื•ืฉ ื—ื•ื–ืจ ื‘ื—ืœืœ, ื”ืฉื™ืžื•ืฉ ื”ื—ื•ื–ืจ ื”ืื’ืจืกื™ื‘ื™ ื‘ืžื—ืกื ื™ืช ื™ื›ื•ืœ ืœื”ื•ื‘ื™ืœ ืœืฉื’ื™ืื•ืช ื‘ื–ืžืŸ ืจื™ืฆื”. ื–ึถื”
ื”ืื•ืคืฆื™ื” ืžืฉืžืฉืช ืœืฉืœื™ื˜ื” ื‘ืื•ืคื˜ื™ืžื™ื–ืฆื™ื™ืช ื”ืฉื™ืžื•ืฉ ื”ื—ื•ื–ืจ ื”ื–ืžื ื™ ืฉืœ ื”ืžื—ืกื ื™ืช.

-ftrapv
ืืคืฉืจื•ืช ื–ื• ื™ื•ืฆืจืช ืžืœื›ื•ื“ื•ืช ืขื‘ื•ืจ ื’ืœื™ืฉื” ื—ืชื•ืžื” ื‘ื—ื™ื‘ื•ืจ, ื—ื™ืกื•ืจ,
ืคืขื•ืœื•ืช ื›ืคืœ.

-fwrapv
ืืคืฉืจื•ืช ื–ื• ืžื•ืจื” ืœืžื”ื“ืจ ืœื”ื ื™ื— ื›ื™ ื’ืœื™ืฉื” ืืจื™ืชืžื˜ื™ืช ื‘ืกื™ืžืŸ ืฉืœ
ื—ื™ื‘ื•ืจ, ื—ื™ืกื•ืจ ื•ื›ืคืœ ืขื•ื˜ืคื™ื ื‘ืืžืฆืขื•ืช ืžืฉืœื™ื ืฉื ื™ื™ื
ื™ึดืฆื•ึผื’. ื“ื’ืœ ื–ื” ืžืืคืฉืจ ืื•ืคื˜ื™ืžื™ื–ืฆื™ื•ืช ืžืกื•ื™ืžื•ืช ื•ืžืฉื‘ื™ืช ืื—ืจื•ืช. ื–ึถื”
ื”ืืคืฉืจื•ืช ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ ืžืžืฉืง ื”ืงืฆื” ืฉืœ Java, ื›ื ื“ืจืฉ ืขืœ ื™ื“ื™ ืฉืคืช Java
ืžืคืจื˜.

ื—ืจื™ื’ื•ืช
ืืคืฉืจ ื˜ื™ืคื•ืœ ื‘ื—ืจื™ื’ื™ื. ื™ื•ืฆืจ ืงื•ื“ ื ื•ืกืฃ ื”ื“ืจื•ืฉ ืœื”ืคืฆืช ื—ืจื™ื’ื™ื. ืœ
ื—ืœืง ืžื”ืžื˜ืจื•ืช, ื–ื” ืžืจืžื– ืฉ-GCC ืžื™ื™ืฆืจ ืžื™ื“ืข ืขืœ ืฉื—ืจื•ืจ ืžืกื’ืจืช ืขื‘ื•ืจ ื›ืœ ื”ืคื•ื ืงืฆื™ื•ืช,
ืžื” ืฉื™ื›ื•ืœ ืœื™ื™ืฆืจ ืชืงื•ืจื” ื‘ื’ื•ื“ืœ ื ืชื•ื ื™ื ืžืฉืžืขื•ืชื™, ืœืžืจื•ืช ืฉื–ื” ืœื ืžืฉืคื™ืข
ื‘ื™ืฆื•ืข. ืื ืœื ืชืฆื™ื™ืŸ ืืคืฉืจื•ืช ื–ื•, GCC ืžืคืขื™ืœ ืื•ืชื” ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืขื‘ื•ืจ ืฉืคื•ืช
ื›ืžื• C++ ืฉื‘ื“ืจืš ื›ืœืœ ื“ื•ืจืฉ ื˜ื™ืคื•ืœ ื—ืจื™ื’, ื•ืžืฉื‘ื™ืช ืื•ืชื• ืขื‘ื•ืจ ืฉืคื•ืช ื›ืžื•
C ืฉื‘ื“ืจืš ื›ืœืœ ืื™ื ื ื“ื•ืจืฉื™ื ื–ืืช. ืขื ื–ืืช, ื™ื™ืชื›ืŸ ืฉื™ื”ื™ื” ืขืœื™ืš ืœื”ืคืขื™ืœ ืืคืฉืจื•ืช ื–ื• ื›ืืฉืจ
ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ืงื•ื“ C ืฉืฆืจื™ืš ืœืคืขื•ืœ ื‘ืื•ืคืŸ ืชืงื™ืŸ ืขื ืžื˜ืคืœื™ ื—ืจื™ื’ื™ื ืฉื ื›ืชื‘ื•
ื‘-C++. ื™ื™ืชื›ืŸ ืฉืชืจืฆื” ืœื‘ื˜ืœ ืืคืฉืจื•ืช ื–ื• ื’ื ืื ืืชื” ืžืจื›ื™ื‘ C++ ื™ืฉืŸ ื™ื•ืชืจ
ืชื•ื›ื ื™ื•ืช ืฉืื™ื ืŸ ืžืฉืชืžืฉื•ืช ื‘ื˜ื™ืคื•ืœ ื‘ื—ืจื™ื’ื™ื.

- ื—ืจื™ื’ื™ื ืœืœื ืฉื™ื—ื•ืช
ืฆื•ืจ ืงื•ื“ ื”ืžืืคืฉืจ ื”ื•ืจืื•ืช ืœื›ื™ื“ื” ื›ื“ื™ ืœื–ืจื•ืง ื—ืจื™ื’ื™ื. ืฉื™ืžื• ืœื‘ ืฉื–ื”
ื“ื•ืจืฉ ืชืžื™ื›ื” ื‘ื–ืžืŸ ืจื™ืฆื” ืกืคืฆื™ืคื™ืช ืœืคืœื˜ืคื•ืจืžื” ืฉืื™ื ื” ืงื™ื™ืžืช ื‘ื›ืœ ืžืงื•ื. ื™ืชืจ ืขืœ ื›ืš,
ื–ื” ืจืง ืžืืคืฉืจ ืœึฐื›ึดื™ื“ึธื” ื”ื•ืจืื•ืช ืœื–ืจื•ืง ื—ืจื™ื’ื™ื, ื›ืœื•ืžืจ ื”ืคื ื™ื•ืช ืœื–ื™ื›ืจื•ืŸ ืื•
ื”ื•ืจืื•ืช ื ืงื•ื“ื” ืฆืคื”. ื–ื” ืœื ืžืืคืฉืจ ืœื–ืจื•ืง ื—ืจื™ื’ื™ื ืžืฉืจื™ืจื•ืชื™ื•ืช
ืžื˜ืคืœื™ ืื•ืชื•ืช ื›ื’ื•ืŸ "SIGALRM".

-fdelete-dead-exceptions
ืงื—ื• ื‘ื—ืฉื‘ื•ืŸ ืฉื”ื•ืจืื•ืช ืฉืขืœื•ืœื•ืช ืœื’ืจื•ื ื—ืจื™ื’ื™ื ืื‘ืœ ืœื ืชื•ืจืžื•ืช ืื—ืจืช
ื ื™ืชืŸ ืœื™ื™ืขืœ ืืช ื‘ื™ืฆื•ืข ื”ืชื•ื›ื ื™ืช. ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ
ืขื‘ื•ืจ ื”ืงืฆื” ื”ืงื“ืžื™ ืฉืœ Ada, ื›ืคื™ ืฉืžื•ืชืจ ืขืœ ืคื™ ืžืคืจื˜ ืฉืคืช Ada. ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”
ืžืขื‘ืจื™ื ืฉื’ื•ืจืžื™ื ืœื”ืกืจืช ื—ืจื™ื’ื™ื ืžืชื™ื ืžื•ืคืขืœื™ื ื‘ืื•ืคืŸ ืขืฆืžืื™ ื‘ืฉืขื” ืฉื•ื ื”
ืจืžื•ืช ืื•ืคื˜ื™ืžื™ื–ืฆื™ื”.

-ืฉื•ืœื—ื ื•ืช ืจื•ื— ื›ื™ืฃ
ื“ื•ืžื” ื—ืจื™ื’ื•ืช, ืคืจื˜ ืœื›ืš ืฉื”ื•ื ืคืฉื•ื˜ ืžื™ื™ืฆืจ ืืช ื›ืœ ื”ื ืชื•ื ื™ื ื”ืกื˜ื˜ื™ื™ื ื”ื“ืจื•ืฉื™ื, ืื‘ืœ
ืื™ื ื• ืžืฉืคื™ืข ืขืœ ื”ืงื•ื“ ืฉื ื•ืฆืจ ื‘ื“ืจืš ืื—ืจืช. ืืชื” ื‘ื“ืจืš ื›ืœืœ ืœื ืฆืจื™ืš
ืืคืฉืจ ืืคืฉืจื•ืช ื–ื•; ื‘ืžืงื•ื ื–ืืช, ืžืขื‘ื“ ืฉืคื” ืฉื–ืงื•ืง ืœื˜ื™ืคื•ืœ ื–ื” ืžืืคืฉืจ ื–ืืช
ื‘ืฉืžืš.

-ืคื-ืกื™ื ื›ืจื•ื ื™-ืคืจื™ืง-ืฉื•ืœื—ื ื•ืช
ืฆื•ืจ ื˜ื‘ืœืช ืฉื—ืจื•ืจ ื‘ืคื•ืจืžื˜ DWARF 2, ืื ื ืชืžืš ืขืœ ื™ื“ื™ ืžื›ื•ื ืช ื”ื™ืขื“. ื”ืฉื•ืœื—ืŸ ื”ื•ื
ืžื“ื•ื™ืง ื‘ื›ืœ ื’ื‘ื•ืœ ื”ื•ืจืื”, ื›ืš ืฉื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ื• ืœื”ืชื ืชืงื•ืช ืžื—ืกื ื™ืช
ืื™ืจื•ืขื™ื ืืกื™ื ื›ืจื•ื ื™ื™ื (ื›ื’ื•ืŸ ืžืืชืจ ื‘ืื’ื™ื ืื• ืืกืคืŸ ืืฉืคื”).

-fno-gnu-unique
ื‘ืžืขืจื›ื•ืช ืขื GNU assembler ื•ืกืคืจื™ื™ืช C ืœืื—ืจื•ื ื”, ื”ืžื”ื“ืจ C++ ืžืฉืชืžืฉ ื‘-
"STB_GNU_UNIQUE" ืžื—ื™ื™ื‘ ื›ื“ื™ ืœื•ื•ื“ื ืฉื”ื’ื“ืจื•ืช ืฉืœ ืชื‘ื ื™ืช ื ืชื•ื ื™ื ืกื˜ื˜ื™ื™ื ื—ื‘ืจื™ื
ื•ืžืฉืชื ื™ื ืžืงื•ืžื™ื™ื ืกื˜ื˜ื™ื™ื ื‘ืคื•ื ืงืฆื™ื•ืช ืžื•ื˜ื‘ืขื•ืช ื”ื ื™ื™ื—ื•ื“ื™ื™ื ืืคื™ืœื• ื‘ื ื•ื›ื—ื•ืช
"RTLD_LOCAL"; ื–ื” ื”ื›ืจื—ื™ ื›ื“ื™ ืœืžื ื•ืข ื‘ืขื™ื•ืช ืขื ืกืคืจื™ื™ื” ื”ืžืฉืžืฉืช ืฉื ื™ื™ื ืฉื•ื ื™ื
ืชื•ืกืคื™ื "RTLD_LOCAL" ื‘ื”ืชืื ืœื”ื’ื“ืจื” ื‘ืื—ื“ ืžื”ื ื•ืœื›ืŸ
ื—ื•ืœืง ืขืœ ื”ืฉื ื™ ืœื’ื‘ื™ ืขืงื™ื“ืช ื”ืกืžืœ. ืื‘ืœ ื–ื” ื’ื•ืจื
"dlclose" ืฉื™ืฉ ืœื”ืชืขืœื ืžืžื ื• ืขื‘ื•ืจ DSOs ืžื•ืฉืคืขื™ื; ืื ื”ืชื•ื›ื ื™ืช ืฉืœืš ืžืกืชืžื›ืช ืขืœ ืืชื—ื•ืœ ืžื—ื“ืฉ
ืฉืœ DSO ื‘ืืžืฆืขื•ืช "dlclose" ื•-"dlopen", ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ -fno-gnu-unique.

-fpcc-struct-return
ื”ื—ื–ืจ ืขืจื›ื™ "ืงืฆืจ" "ืžื‘ื ื”" ื•"ืื™ื—ื•ื“" ื‘ื–ื™ื›ืจื•ืŸ ื›ืžื• ืืจื•ื›ื™ื ื™ื•ืชืจ, ื‘ืžืงื•ื ื‘
ืจื•ืฉืžืช. ื”ืืžื ื” ื”ื–ื• ืคื—ื•ืช ื™ืขื™ืœื”, ืื‘ืœ ื™ืฉ ืœื” ื™ืชืจื•ืŸ ื‘ื›ืš ืฉื”ื™ื ืžืืคืฉืจืช
ื™ื›ื•ืœืช ื”ืชืงืฉืจื•ืช ื‘ื™ืŸ ืงื‘ืฆื™ื ืžื”ื™ื“ื•ืจื™ื ืฉืœ GCC ื•ืงื‘ืฆื™ื ืฉื”ื•ื“ืคื• ืขื ืžื”ื“ืจื™ื ืื—ืจื™ื,
ื‘ืžื™ื•ื—ื“ ืžื”ื“ืจ C Portable C (pcc).

ื”ืžื•ืกื›ืžื” ื”ืžื“ื•ื™ืงืช ืœื”ื—ื–ืจืช ืžื‘ื ื™ื ื‘ื–ื™ื›ืจื•ืŸ ืชืœื•ื™ื” ื‘ืžื˜ืจื”
ืคืงื•ื“ื•ืช ืžืืงืจื• ืฉืœ ืชืฆื•ืจื”.

ืžื‘ื ื™ื ืงืฆืจื™ื ื•ืื™ื’ื•ื“ื™ื ื”ื ื›ืืœื” ืฉื’ื•ื“ืœื ื•ื™ื™ืฉื•ืจื ืชื•ืืžื™ื ืืช ื–ื” ืฉืœ ื—ืœืงื
ืกื•ื’ ืžืกืคืจ ืฉืœื.

ืึทื–ื”ึธืจึธื”: ืงื•ื“ ื”ื™ื“ื•ืจ ืขื ื” -fpcc-struct-return ื”ืžืชื’ ืื™ื ื• ืชื•ืื ื‘ื™ื ืืจื™
ืขื ืงื•ื“ ื”ื™ื“ื•ืจ ืขื ื” -freg-struct-return ื”ื—ืœืฃ. ื”ืฉืชืžืฉ ื‘ื• ื›ื“ื™ ืœื”ืชืื™ื ืœื-
ืžืžืฉืง ื‘ื™ื ืืจื™ ืฉืœ ื™ื™ืฉื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-freg-struct-return
ื”ื—ื–ืจ ืขืจื›ื™ "struct" ื•-"union" ื‘ืจื’ื™ืกื˜ืจื™ื ื‘ืžื™ื“ืช ื”ืืคืฉืจ. ื–ื” ื™ื•ืชืจ ื™ืขื™ืœ
ืขื‘ื•ืจ ืžื‘ื ื™ื ืงื˜ื ื™ื ืžืืฉืจ -fpcc-struct-return.

ืื ืืชื” ืœื ืžืฆื™ื™ืŸ ืืช ืฉื ื™ื”ื -fpcc-struct-return ื•ืœื -freg-struct-return, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ GCC ื”ื™ื
ื›ืœ ืžื•ืกื›ืžื” ืฉื”ื™ื ืกื˜ื ื“ืจื˜ื™ืช ืขื‘ื•ืจ ื”ื™ืขื“. ืื ืื™ืŸ ืžื•ืกื›ืžื” ืกื˜ื ื“ืจื˜ื™ืช,
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ GCC ื”ื™ื -fpcc-struct-return, ืœืžืขื˜ ื™ืขื“ื™ื ืฉื‘ื”ื GCC ื”ื•ื ื”ืžื ื”ืœ
ืžึทื”ึฐื“ึตืจ. ื‘ืื•ืชื ืžืงืจื™ื ื ื•ื›ืœ ืœื‘ื—ื•ืจ ื‘ืชืงืŸ, ื•ื‘ื—ืจื ื• ื‘ื™ืขื™ืœ ื™ื•ืชืจ
ืจืฉื•ื ื—ืœื•ืคื” ืœื”ื—ื–ืจื”.

ืึทื–ื”ึธืจึธื”: ืงื•ื“ ื”ื™ื“ื•ืจ ืขื ื” -freg-struct-return ื”ืžืชื’ ืื™ื ื• ืชื•ืื ื‘ื™ื ืืจื™
ืขื ืงื•ื“ ื”ื™ื“ื•ืจ ืขื ื” -fpcc-struct-return ื”ื—ืœืฃ. ื”ืฉืชืžืฉ ื‘ื• ื›ื“ื™ ืœื”ืชืื™ื ืœื-
ืžืžืฉืง ื‘ื™ื ืืจื™ ืฉืœ ื™ื™ืฉื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-fshort-enums
ื”ืงืฆื• ืœืกื•ื’ "enum" ืจืง ื›ืžื” ื‘ืชื™ื ืฉื”ื•ื ืฆืจื™ืš ืขื‘ื•ืจ ื”ื˜ื•ื•ื— ื”ืžื•ืฆื”ืจ ืฉืœ
ืขืจื›ื™ื ืืคืฉืจื™ื™ื. ื‘ืื•ืคืŸ ืกืคืฆื™ืคื™, ื”ืกื•ื’ "enum" ืฉื•ื•ื” ืขืจืš ืœืžืกืคืจ ื”ืฉืœื ื”ืงื˜ืŸ ื‘ื™ื•ืชืจ
ืกื•ื’ ืฉื™ืฉ ืœื• ืžืกืคื™ืง ืžืงื•ื.

ืึทื–ื”ึธืจึธื”: ืžื” ื”ื™ื -fshort-enums switch ื’ื•ืจื ืœ-GCC ืœื™ืฆื•ืจ ืงื•ื“ ืฉืื™ื ื• ื‘ื™ื ืืจื™
ืชื•ืื ืœืงื•ื“ ืฉื ื•ืฆืจ ืœืœื ื”ืžืชื’ ื”ื–ื”. ื”ืฉืชืžืฉ ื‘ื• ื›ื“ื™ ืœื”ืชืื™ื ืœื-
ืžืžืฉืง ื‘ื™ื ืืจื™ ืฉืœ ื™ื™ืฉื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-ืงืฆืจ-ื›ืคื•ืœ
ื”ืฉืชืžืฉ ื‘ืื•ืชื• ื’ื•ื“ืœ ืขื‘ื•ืจ "ื›ืคื•ืœ" ื›ืžื• ืขื‘ื•ืจ "ืฆืฃ".

ืึทื–ื”ึธืจึธื”: ืžื” ื”ื™ื -ืงืฆืจ-ื›ืคื•ืœ switch ื’ื•ืจื ืœ-GCC ืœื™ืฆื•ืจ ืงื•ื“ ืฉืื™ื ื• ื‘ื™ื ืืจื™
ืชื•ืื ืœืงื•ื“ ืฉื ื•ืฆืจ ืœืœื ื”ืžืชื’ ื”ื–ื”. ื”ืฉืชืžืฉ ื‘ื• ื›ื“ื™ ืœื”ืชืื™ื ืœื-
ืžืžืฉืง ื‘ื™ื ืืจื™ ืฉืœ ื™ื™ืฉื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-fshort-wchar
ืœืขืงื•ืฃ ืืช ื”ืกื•ื’ ื”ื‘ืกื™ืกื™ ืขื‘ื•ืจ wchar_t ืœื”ื™ื•ืช ืงืฆืจ ืœื ื—ืชื•ื int ื‘ืžืงื•ื ื”
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ ื”ื™ืขื“. ืืคืฉืจื•ืช ื–ื• ืฉื™ืžื•ืฉื™ืช ืœื‘ื ื™ื™ืช ืชื•ื›ื ื™ื•ืช ืœืจื•ืฅ ื‘ื”ืŸ
ื™ึทื™ึดืŸ.

ืึทื–ื”ึธืจึธื”: ืžื” ื”ื™ื -fshort-wchar switch ื’ื•ืจื ืœ-GCC ืœื™ืฆื•ืจ ืงื•ื“ ืฉืื™ื ื• ื‘ื™ื ืืจื™
ืชื•ืื ืœืงื•ื“ ืฉื ื•ืฆืจ ืœืœื ื”ืžืชื’ ื”ื–ื”. ื”ืฉืชืžืฉ ื‘ื• ื›ื“ื™ ืœื”ืชืื™ื ืœื-
ืžืžืฉืง ื‘ื™ื ืืจื™ ืฉืœ ื™ื™ืฉื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.

-fno-ื ืคื•ืฅ
ื‘ืงื•ื“ C, ืฉื•ืœื˜ ื‘ืžื™ืงื•ื ืฉืœ ืžืฉืชื ื™ื ื’ืœื•ื‘ืœื™ื™ื ืœื ืžืื•ืชื—ืœื™ื. ืžื”ื“ืจื™ื ืฉืœ Unix C
ื‘ืื•ืคืŸ ืžืกื•ืจืชื™ ืืคืฉืจื• ืžืกืคืจ ื”ื’ื“ืจื•ืช ืฉืœ ืžืฉืชื ื™ื ื›ืืœื” ื‘ืฉื•ื ื•ืช
ื™ื—ื™ื“ื•ืช ืงื•ืžืคื™ืœืฆื™ื” ืขืœ ื™ื“ื™ ื”ืฆื‘ืช ื”ืžืฉืชื ื™ื ื‘ื‘ืœื•ืง ืžืฉื•ืชืฃ. ื–ื• ื”ื”ืชื ื”ื’ื•ืช
ืฉืฆื•ื™ืŸ ืขืœ ื™ื“ื™ -ื ืคื•ืฅ, ื•ื”ื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืขื‘ื•ืจ GCC ื‘ืจื•ื‘ ื”ื™ืขื“ื™ื. ืžืฆื“ ืฉื ื™,
ื”ืชื ื”ื’ื•ืช ื–ื• ืื™ื ื” ื ื“ืจืฉืช ืขืœ ื™ื“ื™ ISO C, ื•ื‘ืžื˜ืจื•ืช ืžืกื•ื™ืžื•ืช ืขืฉื•ื™ื” ืœืฉืืช ืžื”ื™ืจื•ืช ืื• ืงื•ื“
ืงื ืก ื’ื•ื“ืœ ืขืœ ื”ืคื ื™ื•ืช ืžืฉืชื ื•ืช. ื” -fno-ื ืคื•ืฅ ื”ืืคืฉืจื•ืช ืžืฆื™ื™ื ืช ื›ื™
ืžื”ื“ืจ ืฆืจื™ืš ืœืžืงื ืžืฉืชื ื™ื ื’ืœื•ื‘ืœื™ื™ื ืœื ืžืื•ืชื—ืœื™ื ื‘ืงื˜ืข ื”ื ืชื•ื ื™ื ืฉืœ ื”ืื•ื‘ื™ื™ืงื˜
ืงื•ื‘ืฅ, ื‘ืžืงื•ื ืœื™ืฆื•ืจ ืื•ืชื ื›ื‘ืœื•ืงื™ื ื ืคื•ืฆื™ื. ื™ืฉ ืœื›ืš ื”ืฉืคืขื” ืฉืื ื”
ืื•ืชื• ืžืฉืชื ื” ืžื•ืฆื”ืจ (ืœืœื "extern") ื‘ืฉื ื™ ืงื•ืžืคื™ืœืฆื™ื•ืช ืฉื•ื ื•ืช, ืืชื” ืžืงื‘ืœ ื
ืฉื’ื™ืื” ืžืจื•ื‘ืช ื”ื’ื“ืจื•ืช ื›ืืฉืจ ืืชื” ืžืงืฉืจ ืื•ืชื. ื‘ืžืงืจื” ื–ื”, ืขืœื™ืš ืœื‘ืฆืข ืงื•ืžืคื™ืœืฆื™ื” ืขื
-ื ืคื•ืฅ ื‘ืžืงื•ื ื–ืืช. ืงื•ืžืคื™ืœืฆื™ื” ืขื -fno-ื ืคื•ืฅ ืฉื™ืžื•ืฉื™ ื‘ืžื˜ืจื•ืช ืฉืขื‘ื•ืจืŸ ื–ื”
ืžืกืคืง ื‘ื™ืฆื•ืขื™ื ื˜ื•ื‘ื™ื ื™ื•ืชืจ, ืื• ืื ื‘ืจืฆื•ื ืš ืœื•ื•ื“ื ืฉื”ืชื•ื›ื ื™ืช ืชืขื‘ื•ื“
ืžืขืจื›ื•ืช ืื—ืจื•ืช ืฉืชืžื™ื“ ืžืชื™ื™ื—ืกื•ืช ื›ืš ืœื”ืฆื”ืจื•ืช ืžืฉืชื ื•ืช ืœื ืžืื•ืชื—ืœื•ืช.

-fno-ident
ื”ืชืขืœื ืžื”- #ื–ื”ื” ื”ื•ืจืื”.

-finhibit-size-directive
ืืœ ืชื•ืฆื™ื ื”ื ื—ื™ื™ืช assembler ืžืกื•ื’ ".size", ืื• ื›ืœ ื“ื‘ืจ ืื—ืจ ืฉื™ื’ืจื•ื ืœื‘ืขื™ื•ืช
ืื ื”ืคื•ื ืงืฆื™ื” ืžืคื•ืฆืœืช ื‘ืืžืฆืข, ื•ืฉื ื™ ื”ื—ืฆืื™ื ืžืžื•ืงืžื™ื ื‘ืžืงื•ืžื•ืช ืจื—ื•ืงื™ื
ื‘ื ืคืจื“ ื‘ื–ื™ื›ืจื•ืŸ. ืืคืฉืจื•ืช ื–ื• ืžืฉืžืฉืช ื‘ืขืช ืงื•ืžืคื™ืœืฆื™ื” crtstuff.c; ืืชื” ืœื ืฆืจื™ืš
ืœื”ืฉืชืžืฉ ื‘ื• ืœื›ืœ ื“ื‘ืจ ืื—ืจ.

-fverbose-asm
ืฉื™ื ืžื™ื“ืข ืคืจืฉื ื•ืช ื ื•ืกืฃ ื‘ืงื•ื“ ื”ื”ืจื›ื‘ื” ืฉื ื•ืฆืจ ื›ื“ื™ ืœื”ืคื•ืš ืื•ืชื• ืœื™ื•ืชืจ
ืงึธืจึดื™ื. ืืคืฉืจื•ืช ื–ื• ืžื•ืขื™ืœื” ื‘ื“ืจืš ื›ืœืœ ืจืง ืœืžื™ ืฉื‘ืืžืช ืฆืจื™ืš ืœืงืจื•ื ืืช
ืงื•ื“ assembly ืฉื ื•ืฆืจ (ืื•ืœื™ ืชื•ืš ืื™ืชื•ืจ ื‘ืื’ื™ื ื‘ืžื”ื“ืจ ืขืฆืžื•).

-fno-verbose-asm, ื‘ืจื™ืจืช ื”ืžื—ื“ืœ, ื’ื•ืจืžืช ืœื”ืฉืžื˜ืช ื”ืžื™ื“ืข ื”ื ื•ืกืฃ ื•ื”ื•ื ืงื™ื™ื
ืฉื™ืžื•ืฉื™ ื‘ืขืช ื”ืฉื•ื•ืืช ืฉื ื™ ืงื‘ืฆื™ ืืกืžื‘ืœืจ.

-frecord-gcc-ืžืชื’ื™ื
ืžืชื’ ื–ื” ื’ื•ืจื ืœื”ืงืœื˜ื” ืฉืœ โ€‹โ€‹ืฉื•ืจืช ื”ืคืงื•ื“ื” ื”ืžืฉืžืฉืช ืœื”ืคืขืœืช ื”ืžื”ื“ืจ
ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜ ืฉื ื•ืฆืจ. ืžืชื’ ื–ื” ืžื™ื•ืฉื ืจืง ื‘ื—ืœืงื
ืžื˜ืจื•ืช ื•ื”ืคื•ืจืžื˜ ื”ืžื“ื•ื™ืง ืฉืœ ื”ื”ืงืœื˜ื” ื”ื•ื ืคื•ืจืžื˜ ื™ืขื“ ื•ืงื•ื‘ืฅ ื‘ื™ื ืืจื™
ืชืœื•ื™, ืื‘ืœ ื–ื” ื‘ื“ืจืš ื›ืœืœ ืœื•ื‘ืฉ ืฆื•ืจื” ืฉืœ ืงื˜ืข ื”ืžื›ื™ืœ ื˜ืงืกื˜ ASCII. ื–ึถื”
ืžืชื’ ืงืฉื•ืจ ืœ- -fverbose-asm ืžืชื’, ืื‘ืœ ื”ืžืชื’ ื”ื–ื” ืจืง ืžืชืขื“
ืžื™ื“ืข ื‘ืงื•ื‘ืฅ ื”ืคืœื˜ ืฉืœ ื”-assembler ื›ื”ืขืจื•ืช, ื›ืš ืฉื”ื•ื ืœืขื•ืœื ืœื ืžื’ื™ืข ืœืื•ื‘ื™ื™ืงื˜
ืงื•ึนื‘ึถืฅ. ืจืื” ื’ื -grecord-gcc-ืžืชื’ื™ื ืœื“ืจืš ืื—ืจืช ืœืื—ืกืŸ ืืคืฉืจื•ื™ื•ืช ืžื”ื“ืจ ืœืชื•ืš
ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜.

-fpic
ืฆื•ืจ ืงื•ื“ ื‘ืœืชื™ ืชืœื•ื™ ื‘ืžื™ืงื•ื (PIC) ื”ืžืชืื™ื ืœืฉื™ืžื•ืฉ ื‘ืกืคืจื™ื™ื” ืžืฉื•ืชืคืช, ืื
ื ืชืžืš ืขื‘ื•ืจ ืžื›ื•ื ืช ื”ื™ืขื“. ืงื•ื“ ื›ื–ื” ื ื™ื’ืฉ ืœื›ืœ ื”ื›ืชื•ื‘ื•ืช ื”ืงื‘ื•ืขื•ืช ื“ืจืš a
ื˜ื‘ืœืช ืื•ืคืกื˜ ื’ืœื•ื‘ืœื™ืช (GOT). ื”ืžื˜ืขืŸ ื”ื“ื™ื ืžื™ ืคื•ืชืจ ืืช ืขืจื›ื™ ื”-GOT ื›ืืฉืจ
ื”ืชื•ื›ื ื™ืช ืžืชื—ื™ืœื” (ื”ืžื˜ืขื™ืŸ ื”ื“ื™ื ืžื™ ืื™ื ื• ื—ืœืง ืž-GCC; ื”ื•ื ื—ืœืง ืžื”ื”ืคืขืœื”
ืžืขืจื›ืช). ืื ื’ื•ื“ืœ ื”-GOT ืขื‘ื•ืจ ืงื•ื‘ืฅ ื”ื”ืคืขืœื” ื”ืžืงื•ืฉืจ ื—ื•ืจื’ ืžืžืงืกื™ืžื•ื ืกืคืฆื™ืคื™ ืœืžื›ื•ื ื”
ื’ื•ื“ืœ, ืืชื” ืžืงื‘ืœ ื”ื•ื“ืขืช ืฉื’ื™ืื” ืžื”ืžืงืฉืจ ืฉืžืฆื™ื™ื ืช ื–ืืช -fpic ืœื ืขื•ื‘ื“; ื‘
ื‘ืžืงืจื” ื–ื”, ื”ื™ื“ื•ืจ ืžื—ื“ืฉ ืขื -fPIC ื‘ืžืงื•ื ื–ืืช. (ื”ืžืงืกื™ืžื•ื ื”ื•ื 8k ื‘-SPARC ื•-32k
ื‘-m68k ื•ื‘-RS/6000. ืœ-386 ืื™ืŸ ืžื’ื‘ืœื” ื›ื–ื•.)

ืงื•ื“ ื‘ืœืชื™ ืชืœื•ื™ ื‘ืžื™ืงื•ื ื“ื•ืจืฉ ืชืžื™ื›ื” ืžื™ื•ื—ื“ืช, ื•ืœื›ืŸ ืขื•ื‘ื“ ืจืง ืขืœ
ืžื›ื•ื ื•ืช ืžืกื•ื™ืžื•ืช. ืขื‘ื•ืจ ื”-386, GCC ืชื•ืžืš ื‘-PIC ืขื‘ื•ืจ System V ืืš ืœื ืขื‘ื•ืจ ื”-Sun
386i. ื”ืงื•ื“ ืฉื ื•ืฆืจ ืขื‘ื•ืจ IBM RS/6000 ื”ื•ื ืชืžื™ื“ ื‘ืœืชื™ ืชืœื•ื™ ื‘ืžื™ืงื•ื.

ื›ืืฉืจ ื”ื“ื’ืœ ื”ื–ื” ืžื•ื’ื“ืจ, ืคืงื•ื“ื•ืช ื”ืžืืงืจื• "__pic__" ื•-"__PIC__" ืžื•ื’ื“ืจื•ืช ืœ-1.

-fPIC
ืื ื ืชืžืš ืขื‘ื•ืจ ืžื›ื•ื ืช ื”ื™ืขื“, ืคืœื˜ ืงื•ื“ ื‘ืœืชื™ ืชืœื•ื™ ื‘ืžื™ืงื•ื, ืžืชืื™ื ืœ
ืงื™ืฉื•ืจ ื“ื™ื ืžื™ ื•ื”ื™ืžื ืขื•ืช ืžื›ืœ ื”ื’ื‘ืœื” ืขืœ ื’ื•ื“ืœ ื˜ื‘ืœืช ื”ื”ื™ืกื˜ ื”ื’ืœื•ื‘ืœื™ืช. ื–ึถื”
ืืคืฉืจื•ืช ืขื•ืฉื” ืืช ื”ื”ื‘ื“ืœ ื‘-m68k, PowerPC ื•-SPARC.

ืงื•ื“ ื‘ืœืชื™ ืชืœื•ื™ ื‘ืžื™ืงื•ื ื“ื•ืจืฉ ืชืžื™ื›ื” ืžื™ื•ื—ื“ืช, ื•ืœื›ืŸ ืขื•ื‘ื“ ืจืง ืขืœ
ืžื›ื•ื ื•ืช ืžืกื•ื™ืžื•ืช.

ื›ืืฉืจ ื”ื“ื’ืœ ื”ื–ื” ืžื•ื’ื“ืจ, ืคืงื•ื“ื•ืช ื”ืžืืงืจื• "__pic__" ื•-"__PIC__" ืžื•ื’ื“ืจื•ืช ืœ-2.

-fpie
-fPIE
ืืคืฉืจื•ื™ื•ืช ืืœื” ื“ื•ืžื•ืช ืœ -fpic ื• -fPIC, ืื‘ืœ ื ื•ืฆืจ ืงื•ื“ ืขืฆืžืื™ ื‘ืžื™ืงื•ื
ื ื™ืชืŸ ืœืงืฉืจ ืจืง ืœืงื•ื‘ืฆื™ ื”ืคืขืœื”. ื‘ื“ืจืš ื›ืœืœ ืžืฉืชืžืฉื™ื ื‘ืืคืฉืจื•ื™ื•ืช ืืœื• ื›ืืฉืจ -ืคึผึทืึดื™ GCC
ื”ืืคืฉืจื•ืช ืžืฉืžืฉืช ื‘ืžื”ืœืš ื”ืงื™ืฉื•ืจ.

-fpie ื• -fPIE ืฉื ื™ื”ื ืžื’ื“ื™ืจื™ื ืืช ืคืงื•ื“ื•ืช ื”ืžืืงืจื• "__pie__" ื•- "__PIE__". ืœืคืงื•ื“ื•ืช ื”ืžืืงืจื• ื™ืฉ ืืช
ืขืจืš 1 ืขื‘ื•ืจ -fpie ื• 2 ืขื‘ื•ืจ -fPIE.

-fno-jump-tables
ืืœ ืชืฉืชืžืฉ ื‘ื˜ื‘ืœืื•ืช ืงืคื™ืฆื” ืœื”ืฆื”ืจื•ืช ืžืชื’, ืืคื™ืœื• ืื ื–ื” ื™ื”ื™ื” ื™ืขื™ืœ ื™ื•ืชืจ
ืžืืฉืจ ืืกื˜ืจื˜ื’ื™ื•ืช ื™ืฆื™ืจืช ืงื•ื“ ืื—ืจื•ืช. ืืคืฉืจื•ืช ื–ื• ืฉื™ืžื•ืฉื™ืช ื‘ืฉื™ืœื•ื‘ ืขื
-fpic or -fPIC ืœื‘ื ื™ื™ืช ืงื•ื“ ืฉืžื”ื•ื•ื” ื—ืœืง ืžืžืงืฉืจ ื“ื™ื ืžื™ ื•ืื™ื ื• ื™ื›ื•ืœ
ื”ืชื™ื™ื—ืก ืœื›ืชื•ื‘ืช ืฉืœ ื˜ื‘ืœืช ืงืคื™ืฆื”. ื‘ื—ืœืง ืžื”ืžื˜ืจื•ืช, ื˜ื‘ืœืื•ืช ืงืคื™ืฆื” ืื™ื ืŸ ื“ื•ืจืฉื•ืช ื
GOT ื•ืืคืฉืจื•ืช ื–ื• ืื™ื ื” ื ื—ื•ืฆื”.

-ืชื•ืงืŸ-ืจื’
ื”ืชื™ื™ื—ืกื• ืœืคื ืงืก ืฉืฉืžื• ืจื’ ื›ืคื ืงืก ืงื‘ื•ืข; ืงื•ื“ ืฉื ื•ืฆืจ ืœืขื•ืœื ืœื ืืžื•ืจ ืœื”ืชื™ื™ื—ืก ืืœื™ื•
ื–ื” (ืœืžืขื˜ ืื•ืœื™ ื›ืžืฆื‘ื™ืข ืžื—ืกื ื™ืช, ืžืฆื‘ื™ืข ืžืกื’ืจืช ืื• ื‘ืชืคืงื™ื“ ืงื‘ื•ืข ืื—ืจ).

ืจื’ ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืฉื ืฉืœ ืคื ืงืก. ืฉืžื•ืช ื”ืจื™ืฉื•ื ื”ืžืงื•ื‘ืœื™ื ื”ื ืกืคืฆื™ืคื™ื™ื ืœืžื›ื•ื ื”
ื•ืžื•ื’ื“ืจื™ื ื‘ืžืืงืจื• "REGISTER_NAMES" ื‘ืงื•ื‘ืฅ ื”ืžืืงืจื• ืฉืœ ืชื™ืื•ืจ ื”ืžื›ื•ื ื”.

ืœื“ื’ืœ ื–ื” ืื™ืŸ ืฆื•ืจื” ืฉืœื™ืœื™ืช, ืžื›ื™ื•ื•ืŸ ืฉื”ื•ื ืžืฆื™ื™ืŸ ื‘ื—ื™ืจื” ืชืœืช ื›ื™ื•ื•ื ื™ืช.

-fcall-used-ืจื’
ื”ืชื™ื™ื—ืกื• ืœืคื ืงืก ืฉืฉืžื• ืจื’ ื›ืคื ืงืก ื‘ืจ-ื”ืงืฆืื” ื”ื ืชื•ืŸ ืœืคื™ ืคื•ื ืงืฆื™ื”
ืฉื™ื—ื•ืช. ื–ื” ืขืฉื•ื™ ืœื”ื™ื•ืช ืžื•ืงืฆื” ืขื‘ื•ืจ ื–ืžื ื™ื™ื ืื• ืžืฉืชื ื™ื ืฉืื™ื ื ื—ื™ื™ื ืขืœ ืคื ื™ a
ืฉื‚ึดื™ื—ึธื”. ืคื•ื ืงืฆื™ื•ืช ืฉื”ื™ื“ื•ืจ ื‘ื“ืจืš ื–ื• ืื™ื ืŸ ืฉื•ืžืจื•ืช ื•ืžืฉื—ื–ืจื•ืช ืืช ื”ืื•ื’ืจ ืจื’.

ื–ื• ืฉื’ื™ืื” ืœื”ืฉืชืžืฉ ื‘ื“ื’ืœ ื–ื” ืขื ืžืฆื‘ื™ืข ื”ืžืกื’ืจืช ืื• ืžืฆื‘ื™ืข ื”ืขืจื™ืžื”. ืฉื™ืžื•ืฉ ื‘ื–ื”
ื“ื’ืœ ืขื‘ื•ืจ ืจื’ื™ืกื˜ืจื™ื ืื—ืจื™ื ืฉื™ืฉ ืœื”ื ืชืคืงื™ื“ื™ื ืžืงื•ื‘ืขื™ื ื‘ื‘ื™ืฆื•ืข ื”ืžื›ื•ื ื”
ื”ืžื•ื“ืœ ืžื™ื™ืฆืจ ืชื•ืฆืื•ืช ื”ืจื•ืช ืืกื•ืŸ.

ืœื“ื’ืœ ื–ื” ืื™ืŸ ืฆื•ืจื” ืฉืœื™ืœื™ืช, ืžื›ื™ื•ื•ืŸ ืฉื”ื•ื ืžืฆื™ื™ืŸ ื‘ื—ื™ืจื” ืชืœืช ื›ื™ื•ื•ื ื™ืช.

-fcall-sved-ืจื’
ื”ืชื™ื™ื—ืกื• ืœืคื ืงืก ืฉืฉืžื• ืจื’ ื›ืคื ืงืก ื ื™ืชืŸ ืœื”ืงืฆืื” ืฉื ืฉืžืจ ืขืœ ื™ื“ื™ ืคื•ื ืงืฆื™ื•ืช. ื–ื” ื™ื›ื•ืœ ืœื”ื™ื•ืช
ืžื•ืงืฆื” ืืคื™ืœื• ืขื‘ื•ืจ ื–ืžื ื™ื™ื ืื• ืžืฉืชื ื™ื ืฉื—ื™ื™ื ืขืœ ืคื ื™ ืฉื™ื—ื”. ืคื•ื ืงืฆื™ื•ืช
ื”ื™ื“ื•ืจ ื‘ื“ืจืš ื–ื• ืฉืžื•ืจ ื•ืฉื—ื–ืจ ืืช ื”ืจื™ืฉื•ื ืจื’ ืื ื”ื ืžืฉืชืžืฉื™ื ื‘ื•.

ื–ื• ืฉื’ื™ืื” ืœื”ืฉืชืžืฉ ื‘ื“ื’ืœ ื–ื” ืขื ืžืฆื‘ื™ืข ื”ืžืกื’ืจืช ืื• ืžืฆื‘ื™ืข ื”ืขืจื™ืžื”. ืฉื™ืžื•ืฉ ื‘ื–ื”
ื“ื’ืœ ืขื‘ื•ืจ ืจื’ื™ืกื˜ืจื™ื ืื—ืจื™ื ืฉื™ืฉ ืœื”ื ืชืคืงื™ื“ื™ื ืžืงื•ื‘ืขื™ื ื‘ื‘ื™ืฆื•ืข ื”ืžื›ื•ื ื”
ื”ืžื•ื“ืœ ืžื™ื™ืฆืจ ืชื•ืฆืื•ืช ื”ืจื•ืช ืืกื•ืŸ.

ืกื•ื’ ืื—ืจ ืฉืœ ืืกื•ืŸ ื ื•ื‘ืข ืžื”ืฉื™ืžื•ืฉ ื‘ื“ื’ืœ ื–ื” ืขื‘ื•ืจ ืจื™ืฉื•ื ืฉื‘ื•
ื ื™ืชืŸ ืœื”ื—ื–ื™ืจ ืขืจื›ื™ ืคื•ื ืงืฆื™ื”.

ืœื“ื’ืœ ื–ื” ืื™ืŸ ืฆื•ืจื” ืฉืœื™ืœื™ืช, ืžื›ื™ื•ื•ืŸ ืฉื”ื•ื ืžืฆื™ื™ืŸ ื‘ื—ื™ืจื” ืชืœืช ื›ื™ื•ื•ื ื™ืช.

-fpack-struct[=n]
ืœืœื ืขืจืš ืฉืฆื•ื™ืŸ, ืืจื–ื• ืืช ื›ืœ ืื™ื‘ืจื™ ื”ืžื‘ื ื” ื™ื—ื“ ืœืœื ื—ื•ืจื™ื. ื›ืฉ
ื”ืขืจืš ืžืฆื•ื™ืŸ (ืฉื—ื™ื™ื‘ ืœื”ื™ื•ืช ื›ื•ื— ืงื˜ืŸ ืฉืœ ืฉื ื™ื™ื), ื—ื‘ืจื™ ืžื‘ื ื” ื—ื‘ื™ืœื”
ืœืคื™ ืขืจืš ื–ื”, ื”ืžื™ื™ืฆื’ ืืช ื”ื™ื™ืฉื•ืจ ื”ืžืงืกื™ืžืœื™ (ื›ืœื•ืžืจ, ืื•ื‘ื™ื™ืงื˜ื™ื ืขื
ื“ืจื™ืฉื•ืช ื™ื™ืฉื•ืจ ื‘ืจื™ืจืช ืžื—ื“ืœ ื’ื“ื•ืœื•ืช ืžื–ื” ืขืฉื•ื™ื•ืช ืœื”ื™ื•ืช ืœื ืžื™ื•ืฉืจื•ืช ื‘ืคืœื˜
ืžื™ืงื•ื ื”ื”ืชืืžื” ื”ื‘ื.

ืึทื–ื”ึธืจึธื”: ืžื” ื”ื™ื -fpack-struct switch ื’ื•ืจื ืœ-GCC ืœื™ืฆื•ืจ ืงื•ื“ ืฉืื™ื ื• ื‘ื™ื ืืจื™
ืชื•ืื ืœืงื•ื“ ืฉื ื•ืฆืจ ืœืœื ื”ืžืชื’ ื”ื–ื”. ื‘ื ื•ืกืฃ, ื–ื” ืขื•ืฉื” ืืช ื”ืงื•ื“
ืœื ืื•ืคื˜ื™ืžืœื™. ื”ืฉืชืžืฉ ื‘ื• ื›ื“ื™ ืœื”ืชืื™ื ืœืžืžืฉืง ื‘ื™ื ืืจื™ ืฉืœ ื™ื™ืฉื•ื ืฉืื™ื ื• ื‘ืจื™ืจืช ืžื—ื“ืœ.

-finstrument-ืคื•ื ืงืฆื™ื•ืช
ืฆื•ืจ ืงืจื™ืื•ืช ืžื›ืฉื•ืจ ืœื›ื ื™ืกื” ื•ื™ืฆื™ืื” ืœืคื•ื ืงืฆื™ื•ืช. ืจืง ืื—ืจื™ ืคื•ื ืงืฆื™ื”
ื›ื ื™ืกื” ื•ืžืžืฉ ืœืคื ื™ ื™ืฆื™ืืช ื”ืคื•ื ืงืฆื™ื”, ืคื•ื ืงืฆื™ื•ืช ื”ืคืจื•ืคื™ืœ ื”ื‘ื ื ืงืจืื•ืช ืขื
ื”ื›ืชื•ื‘ืช ืฉืœ ื”ืคื•ื ืงืฆื™ื” ื”ื ื•ื›ื—ื™ืช ื•ืืช ืืชืจ ื”ื”ืชืงืฉืจื•ืช ืฉืœื”. (ื‘ื›ืžื” ืคืœื˜ืคื•ืจืžื•ืช,
"__builtin_return_address" ืœื ืขื•ื‘ื“ ืžืขื‘ืจ ืœืคื•ื ืงืฆื™ื” ื”ื ื•ื›ื—ื™ืช, ืื– ืืชืจ ื”ื”ืชืงืฉืจื•ืช
ื™ื™ืชื›ืŸ ืฉืžื™ื“ืข ืœื ื™ื”ื™ื” ื–ืžื™ืŸ ืœืคื•ื ืงืฆื™ื•ืช ื”ืคืจื•ืคื™ืœ ืื—ืจืช.)

void __cyg_profile_func_enter (void *this_fn,
void *call_site);
void __cyg_profile_func_exit (void *this_fn,
void *call_site);

ื”ืืจื’ื•ืžื ื˜ ื”ืจืืฉื•ืŸ ื”ื•ื ื”ื›ืชื•ื‘ืช ืฉืœ ื”ื”ืชื—ืœื” ืฉืœ ื”ืคื•ื ืงืฆื™ื” ื”ื ื•ื›ื—ื™ืช, ืฉื™ื›ื•ืœ ืœื”ื™ื•ืช
ื”ืกืชื›ืœ ืœืžืขืœื” ื‘ื“ื™ื•ืง ื‘ื˜ื‘ืœืช ื”ืกืžืœื™ื.

ืžื›ืฉื•ืจ ื–ื” ื ืขืฉื” ื’ื ืขื‘ื•ืจ ืคื•ื ืงืฆื™ื•ืช ื”ืžื•ืจื—ื‘ื•ืช ื‘ืฉื•ืจื” ื‘ืคื•ื ืงืฆื™ื•ืช ืื—ืจื•ืช.
ืฉื™ื—ื•ืช ื”ืคืจื•ืคื™ืœ ืžืฆื™ื™ื ื•ืช ื”ื™ื›ืŸ, ืžื‘ื—ื™ื ื” ืจืขื™ื•ื ื™ืช, ื”ืคื•ื ืงืฆื™ื” ื”ืžื•ื˜ื‘ืขืช ืžื•ื–ื ืช ื•
ื™ืฆื. ื”ืžืฉืžืขื•ืช ื”ื™ื ืฉื’ืจืกืื•ืช ื ื™ืชื ื•ืช ืœื”ืชื™ื™ื—ืกื•ืช ืฉืœ ืคื•ื ืงืฆื™ื•ืช ื›ืืœื” ื—ื™ื™ื‘ื•ืช ืœื”ื™ื•ืช ื–ืžื™ื ื•ืช. ืื
ื›ืœ ื”ืฉื™ืžื•ืฉื™ื ืฉืœืš ื‘ืคื•ื ืงืฆื™ื” ืžื•ืจื—ื‘ื™ื ื‘ืฉื•ืจื”, ื”ืžืฉืžืขื•ืช ืขืฉื•ื™ื” ืœื”ื™ื•ืช ื”ืจื—ื‘ื” ื ื•ืกืคืช
ื‘ื’ื•ื“ืœ ืงื•ื“. ืื ืืชื” ืžืฉืชืžืฉ ื—ื™ืฆื•ื ื™ ืžื•ื˜ื‘ืข ื‘ืงื•ื“ C ืฉืœืš, ื’ืจืกื” ื ื™ืชื ืช ืœื”ืชื™ื™ื—ืกื•ืช ืฉืœ ื›ื–ื”
ื™ืฉ ืœืกืคืง ืคื•ื ืงืฆื™ื•ืช. (ื‘ื“ืจืš ื›ืœืœ ื–ื” ื”ืžืฆื‘ ื‘ื›ืœ ืžืงืจื”, ืื‘ืœ ืื ื™ืฉ ืœืš ืžื–ืœ
ื•ื”ืื•ืคื˜ื™ืžื™ื–ืจ ืชืžื™ื“ ืžืจื—ื™ื‘ ืืช ื”ืคื•ื ืงืฆื™ื•ืช ื‘ืฉื•ืจื”, ืื•ืœื™ ื™ืฆืืช ืžืฉื
ืžื‘ืœื™ ืœืกืคืง ืขื•ืชืงื™ื ืกื˜ื˜ื™ื™ื.)

ื ื™ืชืŸ ืœืชืช ืœืคื•ื ืงืฆื™ื” ืืช ื”ืชื›ื•ื ื” "no_instrument_function", ื•ื‘ืžืงืจื” ื–ื”
ืžื›ืฉื•ืจ ืœื ื ืขืฉื”. ื–ื” ื™ื›ื•ืœ ืœืฉืžืฉ, ืœืžืฉืœ, ืขื‘ื•ืจ ื”ืคืจื•ืคื™ืœ
ืคื•ื ืงืฆื™ื•ืช ื”ืžืคื•ืจื˜ื•ืช ืœืขื™ืœ, ืฉื’ืจื•ืช ืคืกื™ืงื•ืช ื‘ืขื“ื™ืคื•ืช ื’ื‘ื•ื”ื” ื•ื›ืœ ืคื•ื ืงืฆื™ื” ืฉืžืžื ื”
ืœื ื ื™ืชืŸ ืœืงืจื•ื ื‘ื‘ื˜ื—ื” ืœืคื•ื ืงืฆื™ื•ืช ื”ืคืจื•ืคื™ืœ (ืื•ืœื™ ืžื˜ืคืœื™ ืื•ืชื•ืช, ืื
ืฉื’ืจื•ืช ืคืจื•ืคื™ืœ ืžื™ื™ืฆืจื•ืช ืคืœื˜ ืื• ืžืงืฆื•ืช ื–ื™ื›ืจื•ืŸ).

-finstrument-functions-exclude-file-list=ืคื™ืœื”,ืคื™ืœื”, ...
ื”ื’ื“ืจ ืืช ืจืฉื™ืžืช ื”ืคื•ื ืงืฆื™ื•ืช ืฉืื™ื ืŸ ื ื›ืœืœื•ืช ื‘ืžื›ืฉื•ืจ (ืจืื” ืืช ื”ืชื™ืื•ืจ
ืฉืœ "-finstrument-functions"). ืื ื”ืงื•ื‘ืฅ ืฉืžื›ื™ืœ ื”ื’ื“ืจืช ืคื•ื ืงืฆื™ื” ืชื•ืื
ืขื ืื—ื“ ืž ืคื™ืœื”, ืื– ื”ืคื•ื ืงืฆื™ื” ื”ื–ื• ืื™ื ื” ืžื›ืฉื™ืจื”. ื”ื”ืชืืžื” ืžืชื‘ืฆืขืช ื‘
ืžื—ืจื•ื–ื•ืช ืžืฉื ื”: ืื ื” ืคื™ืœื” ืคืจืžื˜ืจ ื”ื•ื ืžื—ืจื•ื–ืช ืžืฉื ื” ืฉืœ ืฉื ื”ืงื•ื‘ืฅ, ื”ื•ื ื ื—ืฉื‘ ืœ
ืœื”ื™ื•ืช ื”ืชืืžื”.

ืœื“ื•ื’ืžื”:

-finstrument-functions-exclude-file-list=/bits/stl,include/sys

ืื™ื ื• ื›ื•ืœืœ ื›ืœ ืคื•ื ืงืฆื™ื” ืžื•ื˜ื‘ืขืช ื”ืžื•ื’ื“ืจืช ื‘ืงื‘ืฆื™ื ืฉืฉืžื•ืช ื”ื ืชื™ื‘ื™ื ืฉืœื”ื ืžื›ื™ืœื™ื "/bits/stl" ืื•
"include/sys".

ืื, ืžืกื™ื‘ื” ื›ืœืฉื”ื™, ืืชื” ืจื•ืฆื” ืœื›ืœื•ืœ ืืช ื”ืื•ืช ',' ื‘ืื—ืช ืžื”ืŸ SYM, ื›ืชื•ื‘ ','. ืœ
ื“ื•ื’ืžื”, "-finstrument-functions-exclude-file-list=',,tmp'" (ืฉื™ืžื• ืœื‘ ืœืžืจื˜ื•ื˜ ื”ื™ื—ื™ื“
ืกื‘ื™ื‘ ื”ืืคืฉืจื•ืช).

-finstrument-functions-exclude-function-list=SYM,SYM, ...
ื–ื” ื“ื•ืžื” ืœ-"-finstrument-functions-exclude-file-list", ืื‘ืœ ืืคืฉืจื•ืช ื–ื• ื ืงื‘ืขืช
ืจืฉื™ืžืช ืฉืžื•ืช ื”ืคื•ื ืงืฆื™ื•ืช ืฉื™ืฉ ืœื”ื•ืฆื™ื ืžื”ืžื›ืฉื™ืจ. ืฉื ื”ืคื•ื ืงืฆื™ื” ืœ
be matched ื”ื•ื ื”ืฉื ื”ื’ืœื•ื™ ืœืžืฉืชืžืฉ, ื›ื’ื•ืŸ "vector blah(const vector &)",
ืœื ื”ืฉื ื”ืžืขื•ื•ืช ื”ืคื ื™ืžื™ (ืœืžืฉืœ, "_Z4blahRSt6vectorIiSaIiEE"). ื”ืฉื™ื“ื•ืš ื ืขืฉื”
ืขืœ ืžื—ืจื•ื–ื•ืช ืžืฉื ื”: ืื ื” SYM ืคืจืžื˜ืจ ื”ื•ื ืžื—ืจื•ื–ืช ืžืฉื ื” ืฉืœ ืฉื ื”ืคื•ื ืงืฆื™ื”, ื”ื•ื ื›ืŸ
ื ื—ืฉื‘ ืœืฉื™ื“ื•ืš. ืขื‘ื•ืจ ืžื–ื”ื™ื ืžื•ืจื—ื‘ื™ื C99 ื•-C++, ืฉื ื”ืคื•ื ืงืฆื™ื”
ื—ื™ื™ื‘ ืœื”ื™ื ืชืŸ ื‘-UTF-8, ืœื ื‘ืืžืฆืขื•ืช ืฉืžื•ืช ืชื•ื•ื™ื ืื•ื ื™ื‘ืจืกืœื™ื™ื.

-fstack-check
ืฆื•ืจ ืงื•ื“ ื›ื“ื™ ืœื•ื•ื“ื ืฉืื™ื ืš ืขื•ื‘ืจ ืืช ื’ื‘ื•ืœ ื”ืžื—ืกื ื™ืช. ืืชื”
ืฆืจื™ืš ืœืฆื™ื™ืŸ ืืช ื”ื“ื’ืœ ื”ื–ื” ืื ืืชื” ืคื•ืขืœ ื‘ืกื‘ื™ื‘ื” ืขื ืฉืจืฉื•ืจื™ื ืžืจื•ื‘ื™ื,
ืื‘ืœ ืจืง ืœืขืชื™ื ืจื—ื•ืงื•ืช ืืชื” ืฆืจื™ืš ืœืฆื™ื™ืŸ ืืช ื–ื” ื‘ืกื‘ื™ื‘ื” ืขื ื—ื•ื˜ ื™ื—ื™ื“ ืžืื– ื”ืขืจื™ืžื”
ื”ืฆืคื” ืžื–ื•ื”ื” ืื•ื˜ื•ืžื˜ื™ืช ื›ืžืขื˜ ื‘ื›ืœ ื”ืžืขืจื›ื•ืช ืื ื™ืฉ ืจืง ืžื—ืกื ื™ืช ืื—ืช.

ืฉื™ืžื• ืœื‘ ืฉืžืชื’ ื–ื” ืื™ื ื• ื’ื•ืจื ืœืžืขืฉื” ืœื‘ื™ืฆื•ืข ื‘ื“ื™ืงื”; ื”ื”ืคืขืœื”
ืžืขืจื›ืช ืื• ื–ืžืŸ ื”ืจื™ืฆื” ืฉืœ ื”ืฉืคื” ื—ื™ื™ื‘ื•ืช ืœืขืฉื•ืช ื–ืืช. ื”ืžืชื’ ื’ื•ืจื ืœื™ืฆื™ืจืช ืงื•ื“
ืœื”ื‘ื˜ื™ื— ืฉื”ื ืจื•ืื™ื ืืช ื”ืขืจื™ืžื” ืžื•ืจื—ื‘ืช.

ืืชื” ื™ื›ื•ืœ ื’ื ืœืฆื™ื™ืŸ ืคืจืžื˜ืจ ืžื—ืจื•ื–ืช: "ืœื" ืคื™ืจื•ืฉื• ืœืœื ื‘ื“ื™ืงื”, "ื’ื ืจื™"
ืคื™ืจื•ืฉื• ืœื›ืคื•ืช ืฉื™ืžื•ืฉ ื‘ื‘ื“ื™ืงื” ื‘ืกื’ื ื•ืŸ ื™ืฉืŸ, "ืกืคืฆื™ืคื™" ืคื™ืจื•ืฉื• ืœื”ืฉืชืžืฉ ื‘ื‘ื“ื™ืงื” ื”ื˜ื•ื‘ื” ื‘ื™ื•ืชืจ
ืฉื™ื˜ื” ื•ื”ื•ื ืฉื•ื•ื” ืขืจืš ืœื—ืฉื•ืฃ -fstack-check.

ื‘ื“ื™ืงื” ื‘ืกื’ื ื•ืŸ ื™ืฉืŸ ื”ื•ื ืžื ื’ื ื•ืŸ ื’ื ืจื™ ืฉืœื ื“ื•ืจืฉ ืชืžื™ื›ืช ื™ืขื“ ืกืคืฆื™ืคื™ืช ื‘
ื”ืžื”ื“ืจ ืื‘ืœ ืžื’ื™ืข ืขื ื”ื—ืกืจื•ื ื•ืช ื”ื‘ืื™ื:

1. ืืกื˜ืจื˜ื’ื™ื™ืช ื”ืงืฆืื” ืฉื•ื ื” ืขื‘ื•ืจ ืื•ื‘ื™ื™ืงื˜ื™ื ื’ื“ื•ืœื™ื: ื”ื ืชืžื™ื“ ืžื•ืงืฆื™ื
ื‘ืื•ืคืŸ ื“ื™ื ืžื™ ืื ื”ื’ื•ื“ืœ ืฉืœื”ื ืขื•ืœื” ืขืœ ืกืฃ ืงื‘ื•ืข.

2. ื”ื’ื‘ืœื” ืงื‘ื•ืขื” ืขืœ ื’ื•ื“ืœ ื”ืžืกื’ืจืช ื”ืกื˜ื˜ื™ืช ืฉืœ ืคื•ื ืงืฆื™ื•ืช: ื›ืืฉืจ ื‘ืจืืฉื” ื
ืคื•ื ืงืฆื™ื” ืžืกื•ื™ืžืช, ื‘ื“ื™ืงืช ืžื—ืกื ื™ืช ืื™ื ื” ืืžื™ื ื” ื•ืžื•ื ืคืงืช ืื–ื”ืจื” ืขืœ ื™ื“ื™
ืžื”ื“ืจ.

3. ื—ื•ืกืจ ื™ืขื™ืœื•ืช: ื”ืŸ ื‘ื’ืœืœ ืืกื˜ืจื˜ื’ื™ื™ืช ื”ื”ืงืฆืื” ื”ืžื•ืชืืžืช ื•ื”ืŸ ื‘ื’ืœืœ ื”ื’ื ืจื™ืช
ื™ื™ืฉื•ื, ื‘ื™ืฆื•ืขื™ ื”ืงื•ื“ ื ืคื’ืขื™ื.

ืฉื™ืžื• ืœื‘ ืฉื‘ื“ื™ืงืช ืžื—ืกื ื™ืช ื‘ืกื’ื ื•ืŸ ื™ืฉืŸ ื”ื™ื ื’ื ืฉื™ื˜ืช ื”ื—ื–ืจื” ืœ"ืกืคืฆื™ืคื™ืช" ืื ืœื
ืชืžื™ื›ืช ื™ืขื“ ื ื•ืกืคื” ื‘ืžื”ื“ืจ.

-fstack-limit-register=ืจื’
-fstack-limit-symbol=SYM
-fno-stack-limit
ืฆื•ืจ ืงื•ื“ ื›ื“ื™ ืœื”ื‘ื˜ื™ื— ืฉื’ื ื”ืžื—ืกื ื™ืช ืœื ืชื’ื“ืœ ืžืขื‘ืจ ืœืขืจืš ืžืกื•ื™ื
ื”ืขืจืš ืฉืœ ืคื ืงืก ืื• ื›ืชื•ื‘ืช ืฉืœ ืกืžืœ. ืื ื ื“ืจืฉืช ืขืจื™ืžื” ื’ื“ื•ืœื” ื™ื•ืชืจ, ื
ื”ืื•ืช ืžื•ืจื ื‘ื–ืžืŸ ื”ืจื™ืฆื”. ืขื‘ื•ืจ ืจื•ื‘ ื”ืžื˜ืจื•ืช, ื”ืื•ืช ืžื•ืจื ืœืคื ื™ ื”ืขืจื™ืžื”
ื—ื•ืฆื” ืืช ื”ื’ื‘ื•ืœ, ื›ืš ืฉืืคืฉืจ ืœืชืคื•ืก ืืช ื”ืื•ืช ื‘ืœื™ ืœืงื—ืช ืžื™ื•ื—ื“
ืืžืฆืขื™ ื–ื”ื™ืจื•ืช.

ืœืžืฉืœ, ืื ื”ืžื—ืกื ื™ืช ืžืชื—ื™ืœื” ื‘ื›ืชื•ื‘ืช ืžื•ื—ืœื˜ืช 0x80000000 ื•ื’ื“ืœ ื›ืœืคื™ ืžื˜ื”,
ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ื“ื’ืœื™ื -fstack-limit-symbol=__stack_limit ื•
-Wl,--defsym,__stack_limit=0x7ffe0000 ืœืื›ื•ืฃ ืžื’ื‘ืœืช ืžื—ืกื ื™ืช ืฉืœ 128KB. ืฆื™ื™ืŸ ื–ืืช
ื–ื” ืขืฉื•ื™ ืœืขื‘ื•ื“ ืจืง ืขื ืžืงืฉืจ GNU.

-fsplit-ืžื—ืกื ื™ืช
ืฆื•ืจ ืงื•ื“ ื›ื“ื™ ืœืคืฆืœ ืื•ื˜ื•ืžื˜ื™ืช ืืช ื”ืขืจื™ืžื” ืœืคื ื™ ืฉื”ื™ื ืขื•ืœื” ืขืœ ื’ื“ื•ืชื™ื”. ื”ืžืชืงื‘ืœ
ืœืชื•ื›ื ื™ืช ื™ืฉ ืžื—ืกื ื™ืช ืœื ืจืฆื™ืคื” ืฉื™ื›ื•ืœื” ืœืขืœื•ืช ืขืœ ื’ื“ื•ืชื™ื” ืจืง โ€‹โ€‹ืื ื”ืชื•ื›ื ื™ืช ืื™ื ื” ืžืกื•ื’ืœืช
ืœื”ืงืฆื•ืช ืขื•ื“ ื–ื™ื›ืจื•ืŸ. ื–ื” ืฉื™ืžื•ืฉื™ ื‘ื™ื•ืชืจ ื‘ืขืช ื”ืคืขืœืช ืชื•ื›ื ื™ื•ืช ืžืฉื•ืจืฉืจื•ืช, ืฉื›ืŸ
ืื™ืŸ ืขื•ื“ ืฆื•ืจืš ืœื—ืฉื‘ ื’ื•ื“ืœ ืขืจื™ืžื” ื˜ื•ื‘ ืœืฉื™ืžื•ืฉ ืขื‘ื•ืจ ื›ืœ ื—ื•ื˜. ื–ื”
ื›ืจื’ืข ืžื™ื•ืฉื ืจืง ืขื‘ื•ืจ ื”ืงืฆื” ื”ืื—ื•ืจื™ ืฉืœ i386 ื•-x86_64 ืขื GNU/Linux.

ื›ืืฉืจ ืงื•ื“ ืงื•ืžืคื™ืœื“ ืขื -fsplit-ืžื—ืกื ื™ืช ืงื•ื“ ืฉื™ื—ื•ืช ื”ื™ื“ื•ืจ ืœืœื -fsplit-ืžื—ืกื ื™ืช, ืฉื
ื™ื™ืชื›ืŸ ืฉืœื ื™ื”ื™ื” ื”ืจื‘ื” ืฉื˜ื— ืžื—ืกื ื™ืช ื–ืžื™ืŸ ืœื”ืคืขืœืช ื”ืงื•ื“ ื”ืื—ืจื•ืŸ. ืื ืงื•ืžืคื™ืœืฆื™ื” ืฉืœ ื”ื›ืœ
ืงื•ื“, ื›ื•ืœืœ ืงื•ื“ ืกืคืจื™ื”, ืขื -fsplit-ืžื—ืกื ื™ืช ื–ื” ืœื ืื•ืคืฆื™ื”, ืื– ื”ืžืงืฉืจ ื™ื›ื•ืœ
ืชืงืŸ ืืช ื”ืฉื™ื—ื•ืช ื”ืืœื” ื›ืš ืฉื”ืงื•ื“ ื™ื•ื“ืจ ืœืœื -fsplit-ืžื—ืกื ื™ืช ืชืžื™ื“ ื™ืฉ ื’ื“ื•ืœ
ืœึทืขึฒืจื•ึนื. ืชืžื™ื›ื” ืœื›ืš ืžื™ื•ืฉืžืช ื‘ืžืงืฉืจ ื”ื–ื”ื‘ ื‘ืžื”ื“ื•ืจืช GNU binutils
2.21 ื•ืื™ืœืš.

-ื‘ื•ืจื—-ืงื• ืชื—ืชื•ืŸ
ืืคืฉืจื•ืช ื–ื• ื•ืžืงื‘ื™ืœื” ืœื”, -fno-ืžื•ื‘ื™ืœ-ืงื• ืชื—ืชื•ืŸ, ืœืฉื ื•ืช ื‘ื›ื•ื— ืืช ื”ื“ืจืš C
ืกืžืœื™ื ืžื™ื•ืฆื’ื™ื ื‘ืงื•ื‘ืฅ ื”ืื•ื‘ื™ื™ืงื˜ื™ื. ืฉื™ืžื•ืฉ ืื—ื“ ื”ื•ื ืœืขื–ื•ืจ ืœืงืฉืจ ืขื ืžื•ืจืฉืช
ืงื•ื“ ื”ืจื›ื‘ื”.

ืึทื–ื”ึธืจึธื”: ืžื” ื”ื™ื -ื‘ื•ืจื—-ืงื• ืชื—ืชื•ืŸ switch ื’ื•ืจื ืœ-GCC ืœื™ืฆื•ืจ ืงื•ื“ ืฉืื™ื ื•
ื‘ื™ื ืืจื™ ืชื•ืื ืœืงื•ื“ ืฉื ื•ืฆืจ ืœืœื ื”ืžืชื’ ื”ื–ื”. ื”ืฉืชืžืฉ ื‘ื• ื›ื“ื™ ืœื”ืชืื™ื ืืช ื
ืžืžืฉืง ื‘ื™ื ืืจื™ ืฉืœ ื™ื™ืฉื•ื ืฉืื™ื ื• ื‘ืจื™ืจืช ืžื—ื“ืœ. ืœื ื›ืœ ื”ื™ืขื“ื™ื ืžืกืคืงื™ื ืชืžื™ื›ื” ืžืœืื”
ืขื‘ื•ืจ ื”ืžืชื’ ื”ื–ื”.

-ftls-model=ืžื•ื“ืœ
ืฉื ื” ืืช ืžื•ื“ืœ ื”ืื—ืกื•ืŸ ื”ืžืงื•ืžื™ ืฉืœ ื—ื•ื˜ ืœืฉื™ืžื•ืฉ. ื” ืžื•ื“ืœ ื”ื˜ื™ืขื•ืŸ ืฆืจื™ืš ืœื”ื™ื•ืช ืื—ื“ ืžื”ื
"ื’ืœื•ื‘ืœื™-ื“ื™ื ืžื™", "ืžืงื•ืžื™-ื“ื™ื ืžื™", "ืจืืฉื•ื ื™-ืžื ื”ืœ" ืื• "ืžื ื”ืœ ืžืงื•ืžื™".

ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืœืœื -fpic ื”ื•ื "initial-exec"; ืขื -fpic ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื
"ื’ืœื•ื‘ืœื™-ื“ื™ื ืžื™".

-fvisibility=ื‘ืจื™ืจืช ืžื—ื“ืœ|ืคื ื™ืžื™|ืžื•ืกืชืจ|ืžื•ื’ืŸ
ื”ื’ื“ืจ ืืช ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ื ืจืื•ืช ืกืžืœ ืชืžื•ื ืช ELF ืœืืคืฉืจื•ืช ืฉืฆื•ื™ื ื” --- ื›ืœ ื”ืกืžืœื™ื ื”ื
ืžืกื•ืžืŸ ืขื ื–ื” ืืœื ืื ื›ืŸ ื ื“ื—ืง ื‘ืชื•ืš ื”ืงื•ื“. ืฉื™ืžื•ืฉ ื‘ืชื›ื•ื ื” ื–ื• ื™ื›ื•ืœ ืžืื•ื“
ืœืฉืคืจ ืžืฉืžืขื•ืชื™ืช ืืช ื–ืžื ื™ ื”ืงื™ืฉื•ืจ ื•ื”ื˜ืขื™ื ื” ืฉืœ ืกืคืจื™ื•ืช ืื•ื‘ื™ื™ืงื˜ื™ื ืžืฉื•ืชืคื•ืช, ืœื™ื™ืฆืจ ื™ื•ืชืจ
ืงื•ื“ ืื•ืคื˜ื™ืžืœื™, ืœืกืคืง ื™ื™ืฆื•ื ืžืžืฉืง API ื›ืžืขื˜ ืžื•ืฉืœื ื•ืœืžื ื•ืข ื”ืชื ื’ืฉื•ื™ื•ืช ืกืžืœื™ื. ื–ื”
ื‘ึผึฐืชื•ึนืงึถืฃ ืžื•ืžืœืฅ ืœื”ืฉืชืžืฉ ื‘ื–ื” ื‘ื›ืœ ืื•ื‘ื™ื™ืงื˜ ืžืฉื•ืชืฃ ืฉืชืคื™ืฅ.

ืœืžืจื•ืช ื”ืžื™ื ื•ื—, "ื‘ืจื™ืจืช ืžื—ื“ืœ" ืคื™ืจื•ืฉื• ืชืžื™ื“ ืฆื™ื‘ื•ืจื™; ื›ืœื•ืžืจ, ื–ืžื™ืŸ ืœืงื™ืฉื•ืจ
ื ื’ื“ ื”ืื•ื‘ื™ื™ืงื˜ ื”ืžืฉื•ืชืฃ ืžื‘ื—ื•ืฅ. "ืžื•ื’ืŸ" ื•"ืคื ื™ืžื™" ื”ื ื“ื™ ื—ืกืจื™ ืชื•ืขืœืช
ื‘ืฉื™ืžื•ืฉ ื‘ืขื•ืœื ื”ืืžื™ืชื™, ื›ืš ืฉื”ืืคืฉืจื•ืช ื”ื™ื—ื™ื“ื” ื”ืื—ืจืช ื”ื ืคื•ืฆื” ื”ื™ื "ืžื•ืกืชืจืช". ื‘ืจื™ืจืช ื”ืžื—ื“ืœ
if -ื ืจืื•ืช ืœื ืฆื•ื™ืŸ ื”ื•ื "ื‘ืจื™ืจืช ืžื—ื“ืœ", ื›ืœื•ืžืจ, ื”ืคื•ืš ื›ืœ ืกืžืœ ืœืฆื™ื‘ื•ืจื™ --- ื–ื”
ื’ื•ืจื ืœืื•ืชื” ื”ืชื ื”ื’ื•ืช ื›ืžื• ื’ืจืกืื•ืช ืงื•ื“ืžื•ืช ืฉืœ GCC.

ื”ืกื‘ืจ ื˜ื•ื‘ ืขืœ ื”ื™ืชืจื•ื ื•ืช ื”ืžื•ืฆืขื™ื ืขืœ ื™ื“ื™ ื”ื‘ื˜ื—ืช ืกืžืœื™ ELF ื‘ืขืœื™ ื”ืขืจืš ื”ื ื›ื•ืŸ
ื”ื ืจืื•ืช ื ื™ืชื ืช ืขืœ ื™ื“ื™ "ืื™ืš ืœื›ืชื•ื‘ ืกืคืจื™ื•ืช ืžืฉื•ืชืคื•ืช" ืžืืช ืื•ืœืจื™ืš ื“ืจืคืจ (ืฉื™ื›ื•ืœ ืœื”ื™ื•ืช
ื ืžืฆื ื‘http://people.redhat.com/~drepper/>) --- ืขื ื–ืืช ื ืขืฉื” ืคืชืจื•ืŸ ืžืขื•ืœื”
ืืคืฉืจื™ ืขืœ ื™ื“ื™ ืืคืฉืจื•ืช ื–ื• ืœืกืžืŸ ื“ื‘ืจื™ื ืžื•ืกืชืจื™ื ื›ืืฉืจ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ื”ื™ื ืฆื™ื‘ื•ืจื™ืช ื”ื™ื ืœืขืฉื•ืช
ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืžื•ืกืชืจืช ื•ืกื™ืžื•ืŸ ื“ื‘ืจื™ื ืฆื™ื‘ื•ืจื™ื™ื. ื–ื• ื”ื ื•ืจืžื” ืขื ืงื•ื‘ืฆื™ DLL ื‘-Windows ื•-
ืขื -ื ืจืื•ืช = ืžื•ืกืชืจืช ื•-"__attribute__ ((visibility("default"))" ื‘ืžืงื•ื
"__declspec(dllexport)" ืืชื” ืžืงื‘ืœ ืกืžื ื˜ื™ืงื” ื›ืžืขื˜ ื–ื”ื” ืขื ืชื—ื‘ื™ืจ ื–ื”ื”.
ื–ื”ื• ื‘ืจื›ื” ื’ื“ื•ืœื” ืœืžื™ ืฉืขื•ื‘ื“ ืขื ืคืจื•ื™ืงื˜ื™ื ื—ื•ืฆื™ ืคืœื˜ืคื•ืจืžื”.

ืœืืœื• ืฉืžื•ืกื™ืคื™ื ืชืžื™ื›ืช ื ืจืื•ืช ืœืงื•ื“ ืงื™ื™ื, ื™ื™ืชื›ืŸ ืฉืชืžืฆืื• #ืคืจื’ืžื” GCC
ืจืื•ืช ื‘ืฉื™ืžื•ืฉ. ื–ื” ืขื•ื‘ื“ ื‘ื›ืš ืฉืืชื” ืžืฆืจืฃ ืืช ื”ื”ืฆื”ืจื•ืช ืฉื‘ืจืฆื•ื ืš ืœืงื‘ื•ืข
ื ืจืื•ืช ืขื‘ื•ืจ ืขื (ืœื“ื•ื’ืžื”) #ืคืจื’ืžื” GCC ืจืื•ืช push (ืžื•ืกืชืจ) ื• #ืคืจื’ืžื” GCC
ืจืื•ืช ืคื•ืค. ื–ื›ื•ืจ ืฉื™ืฉ ืœืจืื•ืช ืืช ื ืจืื•ืช ื”ืกืžืœื™ื as ื—ืœืง of ืžื” ื”ื™ื
API ืžืžืฉืง ื—ื•ื–ื” ื•ืœื›ืŸ ื›ืœ ื”ืงื•ื“ ื”ื—ื“ืฉ ืฆืจื™ืš ืชืžื™ื“ ืœืฆื™ื™ืŸ ืืช ื”ื ืจืื•ืช ื›ืืฉืจ ื”ื•ื
ืื™ื ื• ื‘ืจื™ืจืช ื”ืžื—ื“ืœ; ื›ืœื•ืžืจ, ื”ืฆื”ืจื•ืช ืจืง ืœืฉื™ืžื•ืฉ ื‘ืชื•ืš ื”-DSO ื”ืžืงื•ืžื™ ืฆืจื™ืš ืชืžื™ื“
ืœื”ื™ื•ืช ืžืกื•ืžืŸ ื‘ืžืคื•ืจืฉ ื›ืžื• ืžื•ืกืชืจ ื›ื“ื™ ืœืžื ื•ืข ืชืงื•ืจื” ืขืงื™ืคื” PLT --- ืžื” ืฉื”ื•ืคืš ืืช ื–ื”
ื‘ืจื•ืจ ื‘ืฉืคืข ื’ื ืžืกื™ื™ืข ืœืงืจื™ืื” ื•ืชื™ืขื•ื“ ืขืฆืžื™ ืฉืœ ื”ืงื•ื“. ืฆื™ื™ืŸ ื–ืืช
ืขืงื‘ ื“ืจื™ืฉื•ืช ืžืคืจื˜ ISO C++, ื—ื™ื™ื‘ื™ื "ืžืคืขื™ืœ ื—ื“ืฉ" ื•"ืžื—ื™ืงืช ืžืคืขื™ืœ".
ืชืžื™ื“ ืชื”ื™ื” ื‘ืจื™ืจืช ืžื—ื“ืœ.

ืฉื™ื ืœื‘ ืœื›ืš ืฉื›ื•ืชืจื•ืช ืžื—ื•ืฅ ืœืคืจื•ื™ืงื˜ ืฉืœืš, ื‘ืคืจื˜ ื›ื•ืชืจื•ืช ืžืขืจื›ืช ื•
ื›ื•ืชืจื•ืช ืžื›ืœ ืกืคืจื™ื™ื” ืื—ืจืช ืฉื‘ื” ืืชื” ืžืฉืชืžืฉ, ืื•ืœื™ ืœื ืžืฆืคื™ื ืœื”ื™ื“ื•ืจ ืื™ืชืŸ
ื ืจืื•ืช ืžืœื‘ื“ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ. ืื•ืœื™ ืชืฆื˜ืจืš ืœื•ืžืจ ื‘ืžืคื•ืจืฉ #ืคืจื’ืžื” GCC
ืจืื•ืช push (ื‘ืจื™ืจืช ืžื—ื“ืœ) ืœืคื ื™ ื”ื›ืœืœืช ื›ื•ืชืจื•ืช ื›ืืœื”.

ื—ื™ืฆื•ื ื™ ื”ืฆื”ืจื•ืช ืื™ื ืŸ ืžื•ืฉืคืขื•ืช ืž -ื ืจืื•ืช, ืื– ื”ืจื‘ื” ืงื•ื“ ื™ื›ื•ืœ ืœื”ื™ื•ืช
ื”ื™ื“ื•ืจ ืžื—ื“ืฉ ืขื -ื ืจืื•ืช = ืžื•ืกืชืจืช ืœืœื ืฉื™ื ื•ื™ื™ื. ืขื ื–ืืช, ื”ืžืฉืžืขื•ืช ื”ื™ื ื–ืืช
ืงืจื™ืื•ืช ืœืคื•ื ืงืฆื™ื•ืช "ื—ื™ืฆื•ื ื™ื•ืช" ืœืœื ื—ืฉื™ืคื” ืžืคื•ืจืฉืช ืžืฉืชืžืฉื•ืช ื‘-PLT, ืื– ื–ื” ื™ื•ืชืจ
ื™ืขื™ืœ ืœื”ืฉืชืžืฉ ื‘-"__attribute ((visibility))" ื•/ืื• "#pragma GCC visibility" ื›ื“ื™ ืœื“ืขืช
ื”ืžื”ื“ืจ ืืฉืจ ื™ืฉ ืœื”ืชื™ื™ื—ืก ืœื”ืฆื”ืจื•ืช "ื—ื™ืฆื•ื ื™ื•ืช" ื›ืืœ ืžื•ืกืชืจื•ืช.

ืฉื™ื ืœื‘ ื›ื™ -ื ืจืื•ืช ืื›ืŸ ืžืฉืคื™ืข ืขืœ ื™ืฉื•ื™ื•ืช ืงื™ืฉื•ืจ ืžืขื•ืจืคืœื•ืช ืฉืœ C++. ื–ื” ืื•ืžืจ ืฉืขื‘ื•ืจ
ืœืžืฉืœ, ืžื—ืœืงื” ื—ืจื™ื’ื” ืฉื ื–ืจืงืช ื‘ื™ืŸ DSOs ื—ื™ื™ื‘ืช ืœื”ื™ื•ืช ืžืกื•ืžื ืช ื‘ืžืคื•ืจืฉ
ืขื ื ืจืื•ืช ื‘ืจื™ืจืช ืžื—ื“ืœ ื›ืš ืฉื” ืกื•ื’_ืžื™ื“ืข ืฆืžืชื™ื ืžืื•ื—ื“ื™ื ื‘ื™ืŸ DSOs.

ืกืงื™ืจื” ื›ืœืœื™ืช ืฉืœ ื˜ื›ื ื™ืงื•ืช ืืœื”, ื”ื™ืชืจื•ื ื•ืช ืฉืœื”ืŸ ื•ืื•ืคืŸ ื”ืฉื™ืžื•ืฉ ื‘ื”ืŸ ื ืžืฆืืช ื‘
<http://gcc.gnu.org/wiki/Visibility>.

-ืคื ื™ืงื˜-ื ื“ื™ืคื•ืช-ืฉื“ื•ืช
ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ืืคืฉืจื•ืช ื–ื• ืื ื™ืฉ ื’ื™ืฉื” ืœืฉื“ื•ืช ืกื™ื‘ื™ื•ืช ื ื“ื™ืคื™ื (ืื• ืžื‘ื ื” ืื—ืจ
ืฉื“ื•ืช, ืœืžืจื•ืช ืฉื”ืžื”ื“ืจ ื‘ื“ืจืš ื›ืœืœ ืžื›ื‘ื“ ืืช ื”ื˜ื™ืคื•ืกื™ื ื”ืืœื” ื‘ื›ืœ ืžืงืจื”) ืฆืจื™ืš ืœื”ืฉืชืžืฉ ื‘ืกื™ื ื’ืœ
ื’ื™ืฉื” ืฉืœ ืจื•ื—ื‘ ืกื•ื’ ื”ืฉื“ื”, ืžื™ื•ืฉืจ ืœื™ื™ืฉื•ืจ ื˜ื‘ืขื™ ื‘ืžื™ื“ืช ื”ืืคืฉืจ.
ืœื“ื•ื’ืžื”, ืžื˜ืจื•ืช ืขื ืื•ื’ืจื™ื ื”ื™ืงืคื™ื™ื ืžืžื•ืคื™ ื–ื™ื›ืจื•ืŸ ืขืฉื•ื™ื™ื ืœื“ืจื•ืฉ ืืช ื›ืœ ืืœื”
ื’ื™ืฉื” ื‘ืจื•ื—ื‘ ืฉืœ 16 ืกื™ื‘ื™ื•ืช; ืขื ื”ื“ื’ืœ ื”ื–ื” ืืชื” ื™ื›ื•ืœ ืœื”ื›ืจื™ื– ืขืœ ื›ืœ ืฉื“ื•ืช ื”ืกื™ื‘ื™ื•ืช ื”ื”ื™ืงืคื™ื™ื
ื‘ืชื•ืจ "ืงืฆืจ ืœื ื—ืชื•ื" (ื‘ื”ื ื—ื” ืฉื”ืงืฆืจ ื”ื•ื 16 ืกื™ื‘ื™ื•ืช ื‘ืžื˜ืจื•ืช ืืœื•) ื›ื“ื™ ืœืืœืฅ ืืช GCC ืœื”ืฉืชืžืฉ
ื’ื™ืฉื” ืฉืœ 16 ืกื™ื‘ื™ื•ืช ื‘ืžืงื•ื, ืื•ืœื™, ื’ื™ืฉื” ื™ืขื™ืœื” ื™ื•ืชืจ ืฉืœ 32 ืกื™ื‘ื™ื•ืช.

ืื ืืคืฉืจื•ืช ื–ื• ืžื•ืฉื‘ืชืช, ื”ืžื”ื“ืจ ืžืฉืชืžืฉ ื‘ื”ื•ืจืื” ื”ื™ืขื™ืœื” ื‘ื™ื•ืชืจ. ื‘ืชื•ืš ื”
ื“ื•ื’ืžื” ืงื•ื“ืžืช, ื–ื• ืขืฉื•ื™ื” ืœื”ื™ื•ืช ื”ื•ืจืืช ื˜ืขื™ื ื” ืฉืœ 32 ืกื™ื‘ื™ื•ืช, ืœืžืจื•ืช ืฉื”ื™ื ื ื™ื’ืฉืช
ื‘ืชื™ื ืฉืื™ื ื ืžื›ื™ืœื™ื ืืฃ ื—ืœืง ืžืฉื“ื” ื”ืกื™ื‘ื™ื•ืช, ืื• ืื•ื’ืจื™ื ืžืžื•ืคื™ ื–ื™ื›ืจื•ืŸ
ืœื ืงืฉื•ืจ ืœื–ื” ื”ืžืขื•ื“ื›ืŸ.

ืื ื”ืžื˜ืจื” ื“ื•ืจืฉืช ื™ื™ืฉื•ืจ ืงืคื“ื ื™, ื•ื›ื™ื‘ื•ื“ ืกื•ื’ ื”ืฉื“ื” ื™ื“ืจื•ืฉ
ื”ืคืจื” ืฉืœ ื™ื™ืฉื•ืจ ื–ื”, ื ื™ืชื ืช ืื–ื”ืจื”. ืื ื‘ืฉื“ื” ื™ืฉ โ€‹โ€‹ืชื›ื•ื ื” "ืืจื•ื–",
ื”ื’ื™ืฉื” ืžืชื‘ืฆืขืช ืžื‘ืœื™ ืœื›ื‘ื“ ืืช ืกื•ื’ ื”ืฉื“ื”. ืื ืœืฉื“ื” ืื™ืŸ
ืชื›ื•ื ืช "ืืจื•ื–", ื”ื’ื™ืฉื” ื ืขืฉื™ืช ืชื•ืš ื›ื™ื‘ื•ื“ ืกื•ื’ ื”ืฉื“ื”. ื‘ืฉื ื™ ื”ืžืงืจื™ื, GCC
ืžื ื™ื— ืฉื”ืžืฉืชืžืฉ ื™ื•ื“ืข ืžืฉื”ื• ืขืœ ื—ื•ืžืจืช ื”ื™ืขื“ ืฉื”ื•ื ืœื ืžื•ื“ืข ืืœื™ื•.

ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ืืคืฉืจื•ืช ื–ื• ื ืงื‘ืข ืขืœ ื™ื“ื™ ื”ืžืžืฉืง ื”ื‘ื™ื ืืจื™ ืฉืœ ื”ื™ื™ืฉื•ื ืขื‘ื•ืจ
ืžืขื‘ื“ ื”ื™ืขื“.

-fsync-libcalls
ืืคืฉืจื•ืช ื–ื• ืฉื•ืœื˜ืช ืื ืžื•ืคืข ื›ืœืฉื”ื• ืžื—ื•ืฅ ืœืงื• ืฉืœ ืžืฉืคื—ืช "__sync" ืฉืœ
ื ื™ืชืŸ ืœื”ืฉืชืžืฉ ื‘ืคื•ื ืงืฆื™ื•ืช ื›ื“ื™ ืœื™ื™ืฉื ืืช ืžืฉืคื—ืช ื”ืคื•ื ืงืฆื™ื•ืช "__atomic" ืฉืœ C++11.

ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ ืืคืฉืจื•ืช ื–ื• ืžื•ืคืขืœ, ื•ื‘ื›ืš ื”ืฆื•ืจื” ื”ืฉื™ืžื•ืฉื™ืช ื”ื™ื—ื™ื“ื” ืฉืœ ื”ืืคืฉืจื•ืช
is -fno-sync-libcalls. ืืคืฉืจื•ืช ื–ื• ืžืฉืžืฉืช ื‘ื™ื™ืฉื•ื ืฉืœ ืœื™ื‘ืื˜ื•ืžื™
ืกืคืจื™ื™ืช ื–ืžืŸ ืจื™ืฆื”.

ื”ืกื‘ื™ื‘ื”


ืกืขื™ืฃ ื–ื” ืžืชืืจ ืžืกืคืจ ืžืฉืชื ื™ ืกื‘ื™ื‘ื” ื”ืžืฉืคื™ืขื™ื ืขืœ ืื•ืคืŸ ื”ืคืขื•ืœื” ืฉืœ GCC. ื›ืžื”
ืžื”ื ืคื•ืขืœื™ื ืขืœ ื™ื“ื™ ืฆื™ื•ืŸ ืกืคืจื™ื•ืช ืื• ืงื™ื“ื•ืžื•ืช ืœืฉื™ืžื•ืฉ ื‘ืขืช ื—ื™ืคื•ืฉ ืื—ืจ ืกื•ื’ื™ื ืฉื•ื ื™ื
ืฉืœ ืงื‘ืฆื™ื. ื—ืœืงื ืžืฉืžืฉื™ื ืœืฆื™ื•ืŸ ื”ื™ื‘ื˜ื™ื ืื—ืจื™ื ืฉืœ ืกื‘ื™ื‘ืช ื”ืงื•ืžืคื™ืœืฆื™ื”.

ืฉื™ื ืœื‘ ืฉืืชื” ื™ื›ื•ืœ ื’ื ืœืฆื™ื™ืŸ ืžืงื•ืžื•ืช ืœื—ื™ืคื•ืฉ ื‘ืืžืฆืขื•ืช ืืคืฉืจื•ื™ื•ืช ื›ื’ื•ืŸ -B, -I ื• -L.
ืืœื” ืžืงื‘ืœื™ื ืขื“ื™ืคื•ืช ืขืœ ืคื ื™ ืžืงื•ืžื•ืช ืฉืฆื•ื™ื ื• ื‘ืืžืฆืขื•ืช ืžืฉืชื ื™ ืกื‘ื™ื‘ื”, ืืฉืจ ื‘ืชื•ืจื
ืขื“ื™ืคื•ืช ืขืœ ืืœื” ืฉืฆื•ื™ื ื• ืขืœ ื™ื“ื™ ื”ืชืฆื•ืจื” ืฉืœ GCC.

ืฉืคื”
LC_CTYPE
LC_MESSAGES
LC_ALL
ืžืฉืชื ื™ ืกื‘ื™ื‘ื” ืืœื” ืฉื•ืœื˜ื™ื ื‘ืื•ืคืŸ ืฉื‘ื• GCC ืžืฉืชืžืฉ ื‘ืžื™ื“ืข ืœื•ืงืœื™ื–ืฆื™ื”
ืžื” ืฉืžืืคืฉืจ ืœ-GCC ืœืขื‘ื•ื“ ืขื ืžื•ืกื›ืžื•ืช ืœืื•ืžื™ื•ืช ืฉื•ื ื•ืช. GCC ื‘ื•ื“ืง ืืช ื”ืžืงื•ื
ืงื˜ื’ื•ืจื™ื•ืช LC_CTYPE ื• LC_MESSAGES ืื ื”ื•ื ื”ื•ื’ื“ืจ ืœืขืฉื•ืช ื–ืืช. ื”ืžืงื•ื ื”ืืœื”
ื ื™ืชืŸ ืœื”ื’ื“ื™ืจ ืงื˜ื’ื•ืจื™ื•ืช ืœื›ืœ ืขืจืš ืฉื ืชืžืš ืขืœ ื™ื“ื™ ื”ื”ืชืงื ื” ืฉืœืš. ืขืจืš ื˜ื™ืคื•ืกื™ ื”ื•ื
en_GB.UTF-8 ืœืื ื’ืœื™ืช ื‘ื‘ืจื™ื˜ื ื™ื” ืžืงื•ื“ื“ืช ื‘-UTF-8.

ื”ืฉืžื™ื™ื LC_CTYPE ืžืฉืชื ื” ืกื‘ื™ื‘ื” ืžืฆื™ื™ืŸ ืกื™ื•ื•ื’ ืชื•ื•ื™ื. GCC ืžืฉืชืžืฉ ื‘ื–ื” ื›ื“ื™
ืœืงื‘ื•ืข ืืช ื’ื‘ื•ืœื•ืช ื”ืชื•ื•ื™ื ื‘ืžื—ืจื•ื–ืช; ื–ื” ื ื—ื•ืฅ ืขื‘ื•ืจ ื›ืžื” multibyte
ืงื™ื“ื•ื“ื™ื ื”ืžื›ื™ืœื™ื ืฆื™ื˜ื•ื˜ื™ื ื•ืชื•ื•ื™ ื‘ืจื™ื—ื” ืฉืžืชืคืจืฉื™ื ืื—ืจืช ื›-a
ืกื•ืฃ ืžื—ืจื•ื–ืช ืื• ื‘ืจื™ื—ื”.

ื”ืฉืžื™ื™ื LC_MESSAGES ืžืฉืชื ื” ืกื‘ื™ื‘ื” ืžืฆื™ื™ืŸ ืืช ื”ืฉืคื” ืœืฉื™ืžื•ืฉ ื‘ืื‘ื—ื•ืŸ
ื”ื•ื“ืขื•ืช.

ืื LC_ALL ืžืฉืชื ื” ืกื‘ื™ื‘ื” ืžื•ื’ื“ืจ, ื”ื•ื ืขื•ืงืฃ ืืช ื”ืขืจืš ืฉืœ LC_CTYPE ื•
LC_MESSAGES; ืื—ืจืช, LC_CTYPE ื• LC_MESSAGES ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืœืขืจืš ืฉืœ ืฉืคื”
ืžืฉืชื ื” ื”ืกื‘ื™ื‘ื”. ืื ืืฃ ืื—ื“ ืžื”ืžืฉืชื ื™ื ื”ืืœื” ืœื ืžื•ื’ื“ืจ, GCC ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืœืžืกื•ืจืชื™
C ื”ืชื ื”ื’ื•ืช ืื ื’ืœื™ืช.

TMPDIR
If TMPDIR ืžื•ื’ื“ืจ, ื”ื•ื ืžืฆื™ื™ืŸ ืืช ื”ืกืคืจื™ื™ื” ืœืฉื™ืžื•ืฉ ืขื‘ื•ืจ ืงื‘ืฆื™ื ื–ืžื ื™ื™ื. GCC ืžืฉืชืžืฉ
ืงื‘ืฆื™ื ื–ืžื ื™ื™ื ื›ื“ื™ ืœื”ื—ื–ื™ืง ืืช ื”ืคืœื˜ ืฉืœ ืฉืœื‘ ืื—ื“ ืฉืœ ืงื•ืžืคื™ืœืฆื™ื” ืฉื™ืฉ ืœื”ืฉืชืžืฉ ื‘ื•
ืงืœื˜ ืœืฉืœื‘ ื”ื‘ื: ืœืžืฉืœ, ื”ืคืœื˜ ืฉืœ ื”ืžืขื‘ื“ ื”ืงื“ื, ืฉื”ื•ื ื”-
ืงืœื˜ ืœืžื”ื“ืจ ื”ื ื›ื•ืŸ.

GCC_COMPARE_DEBUG
ื”ื’ื“ืจืช GCC_COMPARE_DEBUG ื›ืžืขื˜ ืฉื•ื•ื” ืขืจืš ืœืžืขื‘ืจ -fcompare-debug ืืœ ื”
ืžื ื”ืœ ื”ืชืงืŸ ืžื”ื“ืจ. ืขื™ื™ืŸ ื‘ืชื™ืขื•ื“ ืฉืœ ืืคืฉืจื•ืช ื–ื• ืœืคืจื˜ื™ื ื ื•ืกืคื™ื.

GCC_EXEC_PREFIX
If GCC_EXEC_PREFIX ืžื•ื’ื“ืจ, ื”ื•ื ืžืฆื™ื™ืŸ ืงื™ื“ื•ืžืช ืœืฉื™ืžื•ืฉ ื‘ืฉืžื•ืช ืฉืœ
ืชื•ื›ื ื™ื•ืช ืžืฉื ื” ื”ืžื•ืคืขืœื•ืช ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ. ืœื ืžื•ืกื™ืคื™ื ืœื•ื›ืกืŸ ื›ืืฉืจ ืงื™ื“ื•ืžืช ื–ื• ืžืฉื•ืœื‘ืช
ืขื ืฉื ืฉืœ ืชืช-ืชื•ื›ื ื™ืช, ืื‘ืœ ืืชื” ื™ื›ื•ืœ ืœืฆื™ื™ืŸ ืงื™ื“ื•ืžืช ืฉืžืกืชื™ื™ืžืช ื‘ืงื• ื ื˜ื•ื™ if
ืืชื” ืจื•ืฆื”.

If GCC_EXEC_PREFIX ืœื ืžื•ื’ื“ืจ, GCC ืžื ืกื” ืœืžืฆื•ื ืงื™ื“ื•ืžืช ืžืชืื™ืžื” ืœืฉื™ืžื•ืฉ
ื‘ื”ืชื‘ืกืก ืขืœ ืฉื ื”ื ืชื™ื‘ ืื™ืชื• ื”ื•ื ืžื•ืคืขืœ.

ืื GCC ืœื ื™ื›ื•ืœ ืœืžืฆื•ื ืืช ืชื•ื›ื ื™ืช ื”ืžืฉื ื” ื‘ืืžืฆืขื•ืช ื”ืงื™ื“ื•ืžืช ืฉืฆื•ื™ื ื”, ื”ื•ื ืžื ืกื” ืœื—ืคืฉ ื‘-
ืžืงื•ืžื•ืช ืจื’ื™ืœื™ื ืœืชืช-ื”ืชื•ื›ื ื™ืช.

ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืฉืœ GCC_EXEC_PREFIX is prefix/lib/gcc/ ืื™ืคื” ืงื™ื“ื•ืžืช ื”ื•ื ื”ืงื™ื“ื•ืžืช ืœ
ื”ืžื”ื“ืจ ื”ืžื•ืชืงืŸ. ื‘ืžืงืจื™ื ืจื‘ื™ื ืงื™ื“ื•ืžืช ื”ื•ื ื”ืขืจืš ืฉืœ "ืงื™ื“ื•ืžืช" ื›ืฉื”ืจืฆืช ืืช
ืœื”ื’ื“ื™ืจ ืชึทืกืจึดื™ื˜.

ืงื™ื“ื•ืžื•ืช ืื—ืจื•ืช ืฉืฆื•ื™ื ื• ืขื -B ืœืงื‘ืœ ืขื“ื™ืคื•ืช ืขืœ ืงื™ื“ื•ืžืช ื–ื•.

ืงื™ื“ื•ืžืช ื–ื• ืžืฉืžืฉืช ื’ื ืœืžืฆื™ืืช ืงื‘ืฆื™ื ื›ื’ื•ืŸ crt0.o ื”ืžืฉืžืฉื™ื ืœืงื™ืฉื•ืจ.

ื‘ื ื•ืกืฃ, ื”ืงื™ื“ื•ืžืช ืžืฉืžืฉืช ื‘ืฆื•ืจื” ื™ื•ืฆืืช ื“ื•ืคืŸ ื‘ืžืฆื™ืืช ื”ืกืคืจื™ื•ืช ืœื—ื™ืคื•ืฉ
ืขื‘ื•ืจ ืงื‘ืฆื™ ื›ื•ืชืจื•ืช. ืœื›ืœ ืื—ืช ืžื”ืกืคืจื™ื•ืช ื”ืกื˜ื ื“ืจื˜ื™ื•ืช ืฉื”ืฉื ืฉืœื”ืŸ ืžืชื—ื™ืœ ื‘ื“ืจืš ื›ืœืœ
ืขื /usr/local/lib/gcc (ืœื™ืชืจ ื“ื™ื•ืง, ืขื ื”ืขืจืš ืฉืœ GCC_INCLUDE_DIR), ืžื ืกื” GCC
ื”ื—ืœืคืช ื”ื”ืชื—ืœื” ื‘ืงื™ื“ื•ืžืช ืฉืฆื•ื™ื ื” ื›ื“ื™ ืœื™ื™ืฆืจ ืกืคืจื™ื™ื” ื—ืœื•ืคื™ืช
ืฉืึตื. ืœืคื™ื›ืš, ืขื -Bfoo/, ื—ื™ืคื•ืฉื™ GCC ืคื• ื‘ืจ ืจื’ืข ืœืคื ื™ ืฉื”ื•ื ืžื—ืคืฉ ื‘ืชืงืŸ
ื‘ืกืคืจื™ื™ื” /usr/local/lib/bar. ืื ืกืคืจื™ื™ื” ืจื’ื™ืœื” ืžืชื—ื™ืœื” ืขื ื”ืžื•ื’ื“ืจ
ืงื™ื“ื•ืžืช ื•ืื– ื”ืขืจืš ืฉืœ ืงื™ื“ื•ืžืช ืžื•ื—ืœืฃ ืขืœ ื™ื“ื™ GCC_EXEC_PREFIX ื›ืืฉืจ ืžื—ืคืฉื™ื ื›ื•ืชืจืช
ืงื‘ืฆื™ื.

COMPILER_PATH
ื”ืขืจืš ืฉืœ COMPILER_PATH ื”ื™ื ืจืฉื™ืžื” ืžื•ืคืจื“ืช ื‘ื ืงื•ื“ืชื™ื™ื ืฉืœ ืกืคืจื™ื•ืช, ื‘ื“ื•ืžื” ืœ ื ืชื™ื‘.
GCC ืžื ืกื” ืืช ื”ืกืคืจื™ื•ืช ืฉืฆื•ื™ื ื• ื›ืš ื‘ืขืช ื—ื™ืคื•ืฉ ืื—ืจ ืชื•ื›ื ื™ื•ืช ืžืฉื ื”, ืื ื”ื™ื ืœื ืžืฆืœื™ื—ื”
ืžืฆื ืืช ืชื•ื›ื ื™ื•ืช ื”ืžืฉื ื” ื‘ืืžืฆืขื•ืช GCC_EXEC_PREFIX.

LIBRARY_PATH
ื”ืขืจืš ืฉืœ LIBRARY_PATH ื”ื™ื ืจืฉื™ืžื” ืžื•ืคืจื“ืช ื‘ื ืงื•ื“ืชื™ื™ื ืฉืœ ืกืคืจื™ื•ืช, ื‘ื“ื•ืžื” ืœ ื ืชื™ื‘.
ื›ืืฉืจ ืžื•ื’ื“ืจ ื›ืงื•ืžืคื™ื™ืœืจ ืžืงื•ืจื™, GCC ืžื ืกื” ืืช ื”ืกืคืจื™ื•ืช ืฉืฆื•ื™ื ื• ื›ืš ืžืชื™
ืžื—ืคืฉ ืงื‘ืฆื™ ืงื™ืฉื•ืจ ืžื™ื•ื—ื“ื™ื, ืื ื”ื•ื ืœื ื™ื›ื•ืœ ืœืžืฆื•ื ืื•ืชื ื‘ืืžืฆืขื•ืช GCC_EXEC_PREFIX.
ืงื™ืฉื•ืจ ื‘ืืžืฆืขื•ืช GCC ืžืฉืชืžืฉ ื’ื ื‘ืกืคืจื™ื•ืช ืืœื• ื‘ืขืช ื—ื™ืคื•ืฉ ืกืคืจื™ื•ืช ืจื’ื™ืœื•ืช
ืขื‘ื•ืจ -l ืืคืฉืจื•ืช (ืื‘ืœ ืกืคืจื™ื•ืช ืฆื•ื™ื ื• ืขื -L ืชื‘ื•ื ืจืืฉื•ืŸ).

ืฉืคื”
ืžืฉืชื ื” ื–ื” ืžืฉืžืฉ ืœื”ืขื‘ืจืช ืžื™ื“ืข ืžืงื•ืžื™ ืœืงื•ืžืคื™ื™ืœืจ. ื“ืจืš ืื—ืช ืฉื‘ื”
ืžื™ื“ืข ื–ื” ืžืฉืžืฉ ื›ื“ื™ ืœืงื‘ื•ืข ืืช ืขืจื›ืช ื”ืชื•ื•ื™ื ืฉื™ืฉืžืฉ ื›ืืฉืจ ืชื•
ืžื™ืœื•ืœื™ื•ืช, ืžื™ืœื•ืœื™ื•ืช ืžื—ืจื•ื–ื•ืช ื•ื”ืขืจื•ืช ืžื ื•ืชื—ื•ืช ื‘-C ื•-C++. ื›ืืฉืจ ื”ืžื”ื“ืจ ื”ื•ื
ืžื•ื’ื“ืจ ืœืืคืฉืจ ืชื•ื•ื™ื ืžืจื•ื‘ื™-ื‘ืชื™ื, ื”ืขืจื›ื™ื ื”ื‘ืื™ื ืขื‘ื•ืจ ืฉืคื” ื™ืฉ ืœื•
ืžื•ึผื›ึผึธืจ:

C-JIS
ื–ื™ื”ื•ื™ ื“ืžื•ื™ื•ืช JIS.

C-SJIS
ื–ื™ื”ื•ื™ ื“ืžื•ื™ื•ืช SJIS.

C-EUCJP
ื–ื™ื”ื•ื™ ืชื•ื•ื™ EUCJP.

If ืฉืคื” ืื™ื ื• ืžื•ื’ื“ืจ, ืื• ืื ื™ืฉ ืœื• ืขืจืš ืื—ืจ, ืื– ื”ืžื”ื“ืจ ืžืฉืชืžืฉ ื‘-"mblen"
ื•-"mbtowc" ื›ืคื™ ืฉื”ื•ื’ื“ืจ ืขืœ ื™ื“ื™ ืžื™ืงื•ื ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืœื–ื”ื•ืช ื•ืœืชืจื’ื multibyte
ืชื•ื•ื™ื.

ื›ืžื” ืžืฉืชื ื™ ืกื‘ื™ื‘ื” ื ื•ืกืคื™ื ืžืฉืคื™ืขื™ื ืขืœ ื”ืชื ื”ื’ื•ืช ื”ืžืขื‘ื“ ื”ืžืงื“ื™ื.

CPATH
C_INCLUDE_PATH
CPLUS_INCLUDE_PATH
OBJC_INCLUDE_PATH
ื”ืขืจืš ืฉืœ ื›ืœ ืžืฉืชื ื” ื”ื•ื ืจืฉื™ืžื” ืฉืœ ืกืคืจื™ื•ืช ืžื•ืคืจื“ื•ืช ืขืœ ื™ื“ื™ ืชื• ืžื™ื•ื—ื“, ื”ืจื‘ื”
ื›ืžื• ื ืชื™ื‘, ืฉื‘ื• ืœื—ืคืฉ ืงื‘ืฆื™ ื›ื•ืชืจื•ืช. ื”ื“ืžื•ืช ื”ืžื™ื•ื—ื“ืช,
"PATH_SEPARATOR", ืชืœื•ื™ ื‘ื™ืขื“ ื•ื ืงื‘ืข ื‘ื–ืžืŸ ื‘ื ื™ื™ืช GCC. ืขื‘ื•ืจ ืžื™ืงืจื•ืกื•ืคื˜
ื™ืขื“ื™ื ืžื‘ื•ืกืกื™ Windows ื–ื” ื ืงื•ื“ื”-ืคืกื™ืง, ื•ื›ืžืขื˜ ืขื‘ื•ืจ ื›ืœ ืฉืืจ ื”ืžื˜ืจื•ืช ื–ื” ื
ื”ืžืขื™ ื”ื’ืก.

CPATH ืžืฆื™ื™ืŸ ืจืฉื™ืžื” ืฉืœ ืกืคืจื™ื•ืช ืฉื™ืฉ ืœื—ืคืฉ ื›ืื™ืœื• ืฆื•ื™ืŸ ืื™ืชืŸ -I, ืื‘ืœ
ืื—ืจื™ ื›ืœ ื ืชื™ื‘ื™ื ืฉื ื™ืชื ื• ืขื -I ืืคืฉืจื•ื™ื•ืช ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”. ืžืฉืชื ื” ืกื‘ื™ื‘ื” ื–ื”
ืžืฉืžืฉ ืœืœื ืงืฉืจ ืœืื™ื–ื• ืฉืคื” ืขื•ื‘ืจืช ืขื™ื‘ื•ื“ ืžื•ืงื“ื.

ืžืฉืชื ื™ ื”ืกื‘ื™ื‘ื” ื”ื ื•ืชืจื™ื ื—ืœื™ื ืจืง ื‘ืขืช ืขื™ื‘ื•ื“ ืžืงื“ื™ื ืฉืœ ื”ืคืจื˜
ื”ืฉืคื” ื”ืžืฆื•ื™ื ืช. ื›ืœ ืื—ื“ ืžื”ื ืžืฆื™ื™ืŸ ืจืฉื™ืžื” ืฉืœ ืกืคืจื™ื•ืช ืฉื™ืฉ ืœื—ืคืฉ ื›ืื™ืœื•
ืฆื•ื™ืŸ ืขื -ืžืขืจื›ืช, ืื‘ืœ ืื—ืจื™ ื›ืœ ื ืชื™ื‘ื™ื ืฉื ื™ืชื ื• ืขื -ืžืขืจื›ืช ืืคืฉืจื•ื™ื•ืช ืขืœ
ืฉื•ืจืช ื”ืคืงื•ื“ื”.

ื‘ื›ืœ ื”ืžืฉืชื ื™ื ื”ืœืœื•, ืืœืžื ื˜ ืจื™ืง ืžื•ืจื” ืœืžื”ื“ืจ ืœื—ืคืฉ ืืช ื”ื–ืจื ืฉืœื•
ืกืคืจื™ื™ืช ืขื‘ื•ื“ื”. ืืœืžื ื˜ื™ื ืจื™ืงื™ื ื™ื›ื•ืœื™ื ืœื”ื•ืคื™ืข ื‘ืชื—ื™ืœืช ืื• ื‘ืกื•ืคื• ืฉืœ ื ืชื™ื‘. ืœ
ืœืžืฉืœ, ืื ื”ืขืจืš ืฉืœ CPATH ื”ื•ื ":/special/include", ืฉื™ืฉ ืœื• ืื•ืชื” ื”ืฉืคืขื” ื›ืžื•
-ืื ื™. -ืื ื™/ืžื™ื•ื—ื“/ื›ื•ืœืœ.

DEPENDENCIES_OUTPUT
ืื ืžืฉืชื ื” ื–ื” ืžื•ื’ื“ืจ, ื”ืขืจืš ืฉืœื• ืžืฆื™ื™ืŸ ื›ื™ืฆื“ ืœื”ืคื™ืง ืชืœื•ืช ืขื‘ื•ืจ Make based
ืขืœ ืงื‘ืฆื™ ื”ื›ื•ืชืจื•ืช ืฉืื™ื ื ืžืขืจื›ืช ื”ืžืขื•ื‘ื“ื™ื ืขืœ ื™ื“ื™ ื”ืžื”ื“ืจ. ืงื‘ืฆื™ ื›ื•ืชืจื•ืช ืžืขืจื›ืช ื”ื
ื”ืชืขืœืžื• ื‘ืคืœื˜ ื”ืชืœื•ืช.

ื”ืขืจืš ืฉืœ DEPENDENCIES_OUTPUT ื™ื›ื•ืœ ืœื”ื™ื•ืช ืจืง ืฉื ืงื•ื‘ืฅ, ื•ื‘ืžืงืจื” ื–ื” ื”ื›ืœืœื™ื Make
ื ื›ืชื‘ื™ื ืœืงื•ื‘ืฅ ื”ื–ื”, ืžื ื—ืฉื™ื ืืช ืฉื ื”ื™ืขื“ ืžืฉื ืงื•ื‘ืฅ ื”ืžืงื•ืจ. ืื• ื”
ืขืจืš ื™ื›ื•ืœ ืœืงื‘ืœ ืืช ื”ืฆื•ืจื” ืคื™ืœื” ื™ืขื“, ื•ื‘ืžืงืจื” ื–ื” ื”ื›ืœืœื™ื ื ื›ืชื‘ื™ื ืœืชื™ืง ืคื™ืœื”
ื‘ืืžืฆืขื•ืช ื™ืขื“ ื›ืฉื ื”ื™ืขื“.

ื‘ืžื™ืœื™ื ืื—ืจื•ืช, ืžืฉืชื ื” ืกื‘ื™ื‘ื” ื–ื” ืฉื•ื•ื” ืขืจืš ืœืฉื™ืœื•ื‘ ื”ืืคืฉืจื•ื™ื•ืช -ืžืž
ื• -MF, ืขื ืื•ืคืฆื™ื•ื ืœื™ -MT ืœื”ื—ืœื™ืฃ ื’ื.

SUNPRO_DEPENDENCIES
ืžืฉืชื ื” ื–ื” ื–ื”ื” ืœ DEPENDENCIES_OUTPUT (ืจืื” ืœืขื™ืœ), ืžืœื‘ื“ ื”ืžืขืจื›ืช ื”ื”ื™ื
ืœื ืžืชืขืœืžื™ื ืžืงื•ื‘ืฆื™ ื›ื•ืชืจืช, ื›ืš ืฉื–ื” ืžืจืžื– -M ื•ืœื -ืžืž. ืื•ืœื, ื”
ื”ืชืœื•ืช ื‘ืงื•ื‘ืฅ ื”ืงืœื˜ ื”ืจืืฉื™ ื ืฉืžื˜ืช.

ื”ืฉืชืžืฉ ื‘- aarch64-linux-gnu-g++-4.8 ื‘ืื•ืคืŸ ืžืงื•ื•ืŸ ื‘ืืžืฆืขื•ืช ืฉื™ืจื•ืชื™ onworks.net


ืฉืจืชื™ื ื•ืชื—ื ื•ืช ืขื‘ื•ื“ื” ื‘ื—ื™ื ื

ื”ื•ืจื“ ืืคืœื™ืงืฆื™ื•ืช Windows & Linux

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF ื™ืชืงื™ืŸ ืืช ื›ืœ
    ืชื•ื›ื ื” ืฉืคื“ื•ืจื” ืœื™ื ื•ืงืก ื•ืื—ืจื•ืช
    ืื™ื ื• ื›ื•ืœืœ ื›ื‘ืจื™ืจืช ืžื—ื“ืœ, ืœืื—ืจ
    ืžืคืขื™ืœ ืืช ืคื“ื•ืจื” ื‘ืคืขื ื”ืจืืฉื•ื ื”. ืฉืึถืœึธื”
    ืงืœ ืœ ...
    ื”ื•ืจื“ ืืช PostInstallerF
  • 2
    ืฉื˜ืจืก
    ืฉื˜ืจืก
    ืคืจื•ื™ืงื˜ strace ื”ื•ืขื‘ืจ ืœ
    https://strace.io. strace is a
    ืื‘ื—ื•ืŸ, ืื™ืชื•ืจ ื‘ืื’ื™ื ื•ื”ื“ืจื›ื”
    ืžืขืงื‘ ืื—ืจ ืžืจื—ื‘ ืžืฉืชืžืฉ ืขื‘ื•ืจ ืœื™ื ื•ืงืก. ื–ื” ืžืฉื•ืžืฉ
    ืœืคืงื— ืขืœ...
    ื”ื•ืจื“ strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    GUI ืขื‘ื•ืจ ื›ืœื™ ื”ืฉื™ืจื•ืช mkvextract (ื—ืœืง ืž
    MKVToolNix) ื”ืžืฉืœื‘ ืืช ืจื•ื‘ (ืื
    ืœื ื”ื›ืœ) ื”ืคื•ื ืงืฆื™ื•ื ืœื™ื•ืช ืฉืœ mkvextract ื•
    ื›ืœื™ ืขื–ืจ mkvinfo. ื ื›ืชื‘ ื‘-C#NET 4.0,...
    ื”ื•ืจื“ ืืช gMKVExtractGUI
  • 4
    ืกืคืจื™ื™ืช JasperReports
    ืกืคืจื™ื™ืช JasperReports
    ืกืคืจื™ื™ืช JasperReports ื”ื™ื
    ื”ืงื•ื“ ื”ืคืชื•ื— ื”ืคื•ืคื•ืœืจื™ ื‘ื™ื•ืชืจ ื‘ืขื•ืœื
    ืžื•ื“ื™ืขื™ืŸ ืขืกืงื™ ื•ื“ื™ื•ื•ื—
    ืžื ื•ืข. ื”ื•ื ื›ืชื•ื‘ ื›ื•ืœื• ื‘ื’'ืื•ื•ื”
    ื•ื”ื•ื ืžืกื•ื’ืœ...
    ื”ื•ืจื“ ืืช ืกืคืจื™ื™ืช JasperReports
  • 5
    ืกืคืจื™ ืคืจืืคื”
    ืกืคืจื™ ืคืจืืคื”
    Frappe Books ื”ื•ื ืงื•ื“ ืคืชื•ื— ื•ื—ื™ื ืžื™
    ืชื•ื›ื ืช ื”ื ื”ืœืช ื—ืฉื‘ื•ื ื•ืช ืฉื•ืœื—ื ื™ืช ื›ืœื•ืžืจ
    ืคืฉื•ื˜ ื•ืžืขื•ืฆื‘ ืœืฉื™ืžื•ืฉ ืขืœ ื™ื“ื™
    ืขืกืงื™ื ืงื˜ื ื™ื ื•ืคืจื™ืœื ืกืจื™ื. ื–ื”'...
    ื”ื•ืจื“ ืืช ืกืคืจื™ Frappe
  • 6
    ืคื™ื™ืชื•ืŸ ืžืกืคืจื™
    ืคื™ื™ืชื•ืŸ ืžืกืคืจื™
    ื—ื“ืฉื•ืช: NumPy 1.11.2 ื”ื•ื ื”ืžื”ื“ื•ืจื” ื”ืื—ืจื•ื ื”
    ืฉื™ื‘ื•ืฆืข ื‘-sourceforge. ื’ืœื’ืœื™ื
    ืขื‘ื•ืจ Windows, Mac ื•ืœื™ื ื•ืงืก ื•ื›ืŸ
    ื”ืคืฆื•ืช ืžืงื•ืจ ื‘ืืจื›ื™ื•ืŸ ื™ื›ื•ืœื•ืช ืœื”ื™ื•ืช...
    ื”ื•ืจื“ ื ื•ืžืจื™ ืคื™ื™ืชื•ืŸ
  • ืขื•ื“ ยป

ืคืงื•ื“ื•ืช ืœื™ื ื•ืงืก

Ad