Home | History | Annotate | only in /src/external/gpl3/gcc.old/dist/gcc
Up to higher level directory
NameDateSize
ABOUT-GCC-NLS07-Sep-20252.7K
acinclude.m407-Sep-202516.9K
aclocal.m407-Sep-20251.6K
addresses.h07-Sep-20252.9K
adjust-alignment.cc07-Sep-20252.2K
alias.cc07-Sep-2025110.4K
alias.h07-Sep-20252.1K
align.h07-Sep-20252.4K
alloc-pool.cc07-Sep-20251.2K
alloc-pool.h07-Sep-202515.2K
analyzer/25-Feb-2026
array-traits.h07-Sep-20251.5K
asan.cc07-Sep-2025157.4K
asan.h07-Sep-20258.6K
attr-fnspec.h07-Sep-20258.5K
attribs.cc07-Sep-202577.4K
attribs.h07-Sep-202511.7K
auto-inc-dec.cc07-Sep-202550.8K
auto-profile.cc07-Sep-202550.9K
auto-profile.h07-Sep-20251.1K
backend.h07-Sep-20251K
BASE-VER07-Sep-20257
basic-block.h07-Sep-202518.7K
bb-reorder.cc07-Sep-202592.2K
bb-reorder.h07-Sep-20251.2K
bitmap.cc07-Sep-202570.2K
bitmap.h07-Sep-202536.8K
btfout.cc07-Sep-202532.9K
builtin-attrs.def07-Sep-202519.6K
builtin-types.def07-Sep-202542.7K
builtins.cc07-Sep-2025351.3K
builtins.def07-Sep-202585.7K
builtins.h07-Sep-20257K
c/25-Feb-2026
c-family/25-Feb-2026
caller-save.cc07-Sep-202543.6K
calls.cc07-Sep-2025168.1K
calls.h07-Sep-20255.2K
ccmp.cc07-Sep-20259.6K
ccmp.h07-Sep-2025845
cfg-flags.def07-Sep-20256.7K
cfg.cc07-Sep-202527.6K
cfg.h07-Sep-20256.3K
cfganal.cc07-Sep-202555.6K
cfganal.h07-Sep-20253.4K
cfgbuild.cc07-Sep-202522.8K
cfgbuild.h07-Sep-20251,016
cfgcleanup.cc07-Sep-202594.5K
cfgcleanup.h07-Sep-20251.2K
cfgexpand.cc19-Mar-2026208K
cfgexpand.h07-Sep-2025966
cfghooks.cc07-Sep-202542.1K
cfghooks.h07-Sep-202511.2K
cfgloop.cc07-Sep-202554.8K
cfgloop.h07-Sep-202527.4K
cfgloopanal.cc07-Sep-202513.8K
cfgloopmanip.cc07-Sep-202553.3K
cfgloopmanip.h07-Sep-20252.4K
cfgrtl.cc07-Sep-2025148.4K
cfgrtl.h07-Sep-20252.6K
cgraph.cc07-Sep-2025120.8K
cgraph.h07-Sep-2025122K
cgraphbuild.cc07-Sep-202513.7K
cgraphclones.cc07-Sep-202537.7K
cgraphunit.cc07-Sep-202577.1K
cif-code.def07-Sep-20255.5K
collect-utils.cc07-Sep-20256.4K
collect-utils.h07-Sep-20251.7K
collect2-aix.cc07-Sep-202511K
collect2-aix.h07-Sep-20258.4K
collect2.cc07-Sep-202584.9K
collect2.h07-Sep-20251.3K
color-macros.h07-Sep-20254.8K
combine-stack-adj.cc07-Sep-202524.2K
combine.cc07-Sep-2025482.8K
common/25-Feb-2026
common.md07-Sep-20253.5K
common.opt07-Sep-2025103.3K
compare-elim.cc07-Sep-202527.1K
conditions.h07-Sep-20252.7K
config/Today
config.build07-Sep-20252.6K
config.gcc07-Sep-2025170.4K
config.host07-Sep-20259.2K
config.in07-Sep-202557.6K
configure07-Sep-2025998.7K
configure.ac07-Sep-2025247.8K
context.cc07-Sep-20251.2K
context.h07-Sep-20251.7K
convert.cc07-Sep-202538.2K
convert.h07-Sep-20251.8K
COPYING26-Sep-201917.6K
COPYING.LIB26-Sep-201925.8K
COPYING326-Sep-201934.3K
COPYING3.LIB26-Sep-20197.5K
coretypes.h07-Sep-202514.8K
coroutine-builtins.def07-Sep-20251.9K
coroutine-passes.cc07-Sep-202516K
coverage.cc07-Sep-202540.1K
coverage.h07-Sep-20252.3K
cp/25-Feb-2026
cppbuiltin.cc07-Sep-20256.8K
cppbuiltin.h07-Sep-20251.1K
cppdefault.cc07-Sep-20254.3K
cppdefault.h07-Sep-20252.9K
cprop.cc07-Sep-202556K
cse.cc07-Sep-2025231.5K
cselib.cc07-Sep-202589.6K
cselib.h07-Sep-20254.5K
cstamp-h.in26-Sep-201910
ctfc.cc07-Sep-202527.6K
ctfc.h07-Sep-202515.2K
ctfout.cc07-Sep-202524.7K
d/25-Feb-2026
data-streamer-in.cc07-Sep-20255.6K
data-streamer-out.cc07-Sep-202511K
data-streamer.cc07-Sep-20252.6K
data-streamer.h07-Sep-202510.8K
DATESTAMP07-Sep-20259
dbgcnt.cc07-Sep-20256.5K
dbgcnt.def07-Sep-20256.5K
dbgcnt.h07-Sep-20251.2K
dbxout.cc07-Sep-2025116.6K
dbxout.h07-Sep-20252.1K
dce.cc07-Sep-202534.7K
dce.h07-Sep-2025877
ddg.cc07-Sep-202531.2K
ddg.h07-Sep-20255.3K
debug.cc07-Sep-20254.6K
debug.h07-Sep-202511.3K
defaults.h07-Sep-202541K
DEV-PHASE26-Sep-20190
df-core.cc07-Sep-202568.8K
df-problems.cc07-Sep-2025139.7K
df-scan.cc07-Sep-2025118.9K
df.h07-Sep-202547.1K
dfp.cc07-Sep-202517.9K
dfp.h07-Sep-20252.3K
diagnostic-color.cc07-Sep-202511.1K
diagnostic-color.h07-Sep-20252.2K
diagnostic-core.h07-Sep-20255.1K
diagnostic-event-id.h07-Sep-20252K
diagnostic-format-json.cc07-Sep-202510.9K
diagnostic-metadata.h07-Sep-20251.2K
diagnostic-path.h07-Sep-20254.6K
diagnostic-show-locus.cc07-Sep-2025188.4K
diagnostic-spec.cc07-Sep-20255.1K
diagnostic-spec.h07-Sep-20253.5K
diagnostic-url.h07-Sep-20251.5K
diagnostic.cc07-Sep-202572.5K
diagnostic.def07-Sep-20252.6K
diagnostic.h07-Sep-202520.9K
digraph.cc07-Sep-20257.7K
digraph.h07-Sep-20256.6K
doc/25-Feb-2026
dojump.cc07-Sep-202539.5K
dojump.h07-Sep-20252.8K
dominance.cc07-Sep-202546.1K
dominance.h07-Sep-20253.6K
domwalk.cc07-Sep-202510.8K
domwalk.h07-Sep-20254.4K
double-int.cc07-Sep-202539.3K
double-int.h07-Sep-202513.2K
dse.cc07-Sep-2025110.6K
dump-context.h07-Sep-20259.1K
dumpfile.cc07-Sep-202578.8K
dumpfile.h07-Sep-202522.9K
dwarf2asm.cc07-Sep-202529.5K
dwarf2asm.h07-Sep-20253.1K
dwarf2cfi.cc07-Sep-2025104.7K
dwarf2ctf.cc07-Sep-202529.4K
dwarf2ctf.h07-Sep-20251.9K
dwarf2out.cc07-Sep-20251,002.8K
dwarf2out.h07-Sep-202515.9K
early-remat.cc07-Sep-202579.8K
edit-context.cc07-Sep-202553.7K
edit-context.h07-Sep-20252.1K
emit-rtl.cc07-Sep-2025176.4K
emit-rtl.h07-Sep-202519.7K
errors.cc07-Sep-20253.4K
errors.h07-Sep-20251.6K
escaped_string.h07-Sep-20251.3K
et-forest.cc07-Sep-202517K
et-forest.h07-Sep-20252.6K
except.cc07-Sep-202595.6K
except.h07-Sep-202512K
exec-tool.in07-Sep-20253.3K
explow.cc07-Sep-202570.1K
explow.h07-Sep-20255.6K
expmed.cc07-Sep-2025203.6K
expmed.h07-Sep-202520.8K
expr.cc07-Sep-2025405.4K
expr.h07-Sep-202513K
fibonacci_heap.cc07-Sep-20256.7K
fibonacci_heap.h07-Sep-202515.8K
file-find.cc07-Sep-20254.6K
file-find.h07-Sep-20251.7K
file-prefix-map.cc07-Sep-20257.6K
file-prefix-map.h07-Sep-20251.2K
final.cc07-Sep-2025126.1K
fixed-value.cc07-Sep-202529.4K
fixed-value.h07-Sep-20254.1K
flag-types.h07-Sep-202515.4K
flags.h07-Sep-20253.5K
fold-const-call.cc07-Sep-202549.3K
fold-const-call.h07-Sep-20251K
fold-const.cc07-Sep-2025517.9K
fold-const.h07-Sep-202512.8K
fortran/25-Feb-2026
fp-test.cc07-Sep-20255.3K
FSFChangeLog26-Sep-2019104.8K
FSFChangeLog.1026-Sep-2019381.5K
FSFChangeLog.1126-Sep-2019550K
function-abi.cc07-Sep-20258.5K
function-abi.h07-Sep-202511.1K
function-tests.cc07-Sep-202519.5K
function.cc07-Sep-2025209.5K
function.h07-Sep-202525.4K
fwprop.cc07-Sep-202532.7K
gcc-ar.cc07-Sep-20256.8K
gcc-main.cc07-Sep-20251.4K
gcc-plugin.h07-Sep-20251.2K
gcc-rich-location.cc07-Sep-20258K
gcc-rich-location.h07-Sep-20256.3K
gcc-symtab.h07-Sep-2025942
gcc.cc07-Sep-2025315K
gcc.h07-Sep-20253K
gcov-counter.def07-Sep-20251.8K
gcov-dump.cc07-Sep-202512.2K
gcov-io.cc07-Sep-202512.2K
gcov-io.h07-Sep-202515K
gcov-tool.cc07-Sep-202516.1K
gcov.cc07-Sep-202585.6K
gcse-common.cc07-Sep-20255.9K
gcse-common.h07-Sep-20251.4K
gcse.cc07-Sep-2025121.4K
gcse.h07-Sep-20251.5K
gdbasan.in26-Sep-2019214
gdbhooks.py07-Sep-202529K
gdbinit.in07-Sep-20259.1K
gen-pass-instances.awk07-Sep-20256K
genattr-common.cc07-Sep-20252.5K
genattr.cc07-Sep-202513.7K
genattrtab.cc07-Sep-2025144.6K
genautomata.cc07-Sep-2025295.6K
gencfn-macros.cc07-Sep-20258K
gencheck.cc07-Sep-20251.9K
genchecksum.cc07-Sep-20252.9K
gencodes.cc07-Sep-20252.4K
genconditions.cc07-Sep-20257.1K
genconfig.cc07-Sep-20259.4K
genconstants.cc07-Sep-20253K
genemit.cc07-Sep-202525.6K
genenums.cc07-Sep-20251.9K
generic-match-head.cc07-Sep-20252.7K
generic-match.h07-Sep-20251.2K
genextract.cc07-Sep-202512.8K
genflags.cc07-Sep-20255.6K
gengenrtl.cc07-Sep-20258.4K
gengtype-lex.cc07-Sep-202599.7K
gengtype-lex.l07-Sep-20255K
gengtype-parse.cc07-Sep-202527.9K
gengtype-state.cc07-Sep-202570.2K
gengtype.cc07-Sep-2025149.2K
gengtype.h07-Sep-202517K
genhooks.cc07-Sep-20259.4K
genmatch.cc27-Mar-2026144.7K
genmddeps.cc07-Sep-20251.9K
genmddump.cc07-Sep-20251.7K
genmodes.cc07-Sep-202553.2K
genmultilib07-Sep-202517.8K
genopinit.cc07-Sep-202515.3K
genoutput.cc07-Sep-202530.7K
genpeep.cc07-Sep-202510.6K
genpreds.cc07-Sep-202547.1K
genrecog.cc07-Sep-2025162K
gensupport.cc07-Sep-202583.5K
gensupport.h07-Sep-20256.8K
gentarget-def.cc07-Sep-20259.4K
genversion.cc07-Sep-20253K
ggc-common.cc07-Sep-202538K
ggc-internal.h07-Sep-20253.8K
ggc-none.cc07-Sep-20251.8K
ggc-page.cc07-Sep-202573.8K
ggc-tests.cc07-Sep-202513K
ggc.h07-Sep-202511K
gimple-array-bounds.cc07-Sep-202524K
gimple-array-bounds.h07-Sep-20251.5K
gimple-builder.cc07-Sep-20253.4K
gimple-builder.h07-Sep-20251.5K
gimple-expr.cc07-Sep-202527.2K
gimple-expr.h07-Sep-20255.1K
gimple-fold.cc07-Sep-2025283.7K
gimple-fold.h07-Sep-20257.1K
gimple-harden-conditionals.cc07-Sep-202517.8K
gimple-if-to-switch.cc07-Sep-202516.2K
gimple-isel.cc07-Sep-202511.3K
gimple-iterator.cc07-Sep-202524.5K
gimple-iterator.h07-Sep-20259.9K
gimple-laddress.cc07-Sep-20253.7K
gimple-loop-interchange.cc07-Sep-202564.7K
gimple-loop-jam.cc07-Sep-202520.6K
gimple-loop-versioning.cc07-Sep-202556.2K
gimple-low.cc07-Sep-202528.7K
gimple-low.h07-Sep-2025981
gimple-match-head.cc07-Sep-202540.7K
gimple-match.h07-Sep-202511K
gimple-predicate-analysis.cc07-Sep-202560.9K
gimple-predicate-analysis.h07-Sep-20254.6K
gimple-predict.h07-Sep-20252.5K
gimple-pretty-print.cc07-Sep-202585.6K
gimple-pretty-print.h07-Sep-20251.6K
gimple-range-cache.cc07-Sep-202542.2K
gimple-range-cache.h07-Sep-20255.2K
gimple-range-edge.cc07-Sep-20256.1K
gimple-range-edge.h07-Sep-20252.1K
gimple-range-fold.cc07-Sep-202542.6K
gimple-range-fold.h07-Sep-20256.9K
gimple-range-gori.cc07-Sep-202541.7K
gimple-range-gori.h07-Sep-20258.5K
gimple-range-path.cc07-Sep-202521.8K
gimple-range-path.h07-Sep-20253.9K
gimple-range-tests.cc07-Sep-20251.7K
gimple-range-trace.cc07-Sep-20255.4K
gimple-range-trace.h07-Sep-20252.3K
gimple-range.cc07-Sep-202516.6K
gimple-range.h07-Sep-20252.9K
gimple-ssa-backprop.cc07-Sep-202526.8K
gimple-ssa-evrp-analyze.cc07-Sep-202513.4K
gimple-ssa-evrp-analyze.h07-Sep-20251.8K
gimple-ssa-evrp.cc07-Sep-202510.2K
gimple-ssa-isolate-paths.cc07-Sep-202532K
gimple-ssa-nonnull-compare.cc07-Sep-20253.7K
gimple-ssa-split-paths.cc07-Sep-202518.2K
gimple-ssa-sprintf.cc07-Sep-2025147.5K
gimple-ssa-store-merging.cc07-Sep-2025171.9K
gimple-ssa-strength-reduction.cc07-Sep-2025120.7K
gimple-ssa-warn-access.cc07-Sep-2025139.5K
gimple-ssa-warn-access.h07-Sep-20251.9K
gimple-ssa-warn-alloca.cc07-Sep-202511.4K
gimple-ssa-warn-restrict.cc07-Sep-202565.3K
gimple-ssa-warn-restrict.h07-Sep-20251.1K
gimple-ssa.h07-Sep-20255.4K
gimple-streamer-in.cc07-Sep-20258.9K
gimple-streamer-out.cc07-Sep-20257.4K
gimple-streamer.h07-Sep-20251.1K
gimple-walk.cc07-Sep-202525.6K
gimple-walk.h07-Sep-20254.2K
gimple-warn-recursion.cc07-Sep-20255.8K
gimple.cc07-Sep-202598.2K
gimple.def07-Sep-202516.4K
gimple.h07-Sep-2025158.9K
gimplify-me.cc07-Sep-20259.7K
gimplify-me.h07-Sep-20251.5K
gimplify.cc07-Sep-2025511.5K
gimplify.h07-Sep-20253.5K
ginclude/25-Feb-2026
glimits.h07-Sep-20254.6K
godump.cc07-Sep-202536.6K
graph.cc07-Sep-202510.7K
graph.h07-Sep-2025951
graphds.cc07-Sep-202511.5K
graphds.h07-Sep-20252.2K
graphite-dependences.cc07-Sep-202510.6K
graphite-isl-ast-to-gimple.cc07-Sep-202548.6K
graphite-optimize-isl.cc07-Sep-20257.5K
graphite-poly.cc07-Sep-202513K
graphite-scop-detection.cc07-Sep-202545.1K
graphite-sese-to-poly.cc07-Sep-202535.7K
graphite.cc07-Sep-202515.8K
graphite.h07-Sep-202512.3K
graphviz.cc07-Sep-20253.1K
graphviz.h07-Sep-20251.5K
gsstruct.def07-Sep-20252.3K
gstab.h07-Sep-2025977
gsyms.h07-Sep-20251.7K
gsyslimits.h26-Sep-2019330
gtm-builtins.def26-Sep-20199.9K
haifa-sched.cc07-Sep-2025265K
hard-reg-set.h07-Sep-202515.7K
hash-map-tests.cc07-Sep-202512K
hash-map-traits.h07-Sep-20255.2K
hash-map.h07-Sep-202510.5K
hash-set-tests.cc07-Sep-20256.9K
hash-set.h07-Sep-20255.5K
hash-table.cc07-Sep-20254.5K
hash-table.h07-Sep-202536.7K
hash-traits.h07-Sep-20259.5K
highlev-plugin-common.h07-Sep-20251.1K
hooks.cc07-Sep-202510K
hooks.h07-Sep-20256.1K
host-default.cc07-Sep-2025902
hosthooks-def.h07-Sep-20251.8K
hosthooks.h07-Sep-20251.9K
hw-doloop.cc07-Sep-202517.4K
hw-doloop.h07-Sep-20255.5K
hwint.cc07-Sep-20254.1K
hwint.h07-Sep-202510.6K
ifcvt.cc07-Sep-2025167.3K
ifcvt.h07-Sep-20253.9K
inchash.cc07-Sep-2025837
inchash.h07-Sep-20255.1K
incpath.cc07-Sep-202515.4K
incpath.h07-Sep-20251.7K
init-regs.cc07-Sep-20254.7K
input.cc07-Sep-2025129.3K
input.h07-Sep-20258.6K
insn-addr.h07-Sep-20251.8K
insn-notes.def07-Sep-20253.5K
int-vector-builder.h07-Sep-20252.6K
internal-fn.cc07-Sep-2025135.9K
internal-fn.def07-Sep-202520.2K
internal-fn.h07-Sep-20258.7K
intl.cc07-Sep-20253.5K
intl.h07-Sep-20252K
ipa-comdats.cc07-Sep-202511.8K
ipa-cp.cc07-Sep-2025197.7K
ipa-devirt.cc07-Sep-2025134.3K
ipa-fnsummary.cc07-Sep-2025146.8K
ipa-fnsummary.h07-Sep-202515.5K
ipa-free-lang-data.cc07-Sep-202536.7K
ipa-icf-gimple.cc07-Sep-202529.5K
ipa-icf-gimple.h07-Sep-202510.7K
ipa-icf.cc07-Sep-2025104.5K
ipa-icf.h07-Sep-202520.7K
ipa-inline-analysis.cc07-Sep-202516.2K
ipa-inline-transform.cc07-Sep-202526.6K
ipa-inline.cc07-Sep-2025100.8K
ipa-inline.h07-Sep-20254.2K
ipa-modref-tree.cc07-Sep-202530K
ipa-modref-tree.h07-Sep-202521.8K
ipa-modref.cc07-Sep-2025159.7K
ipa-modref.h07-Sep-20254.9K
ipa-param-manipulation.cc07-Sep-202575.5K
ipa-param-manipulation.h07-Sep-202517.7K
ipa-polymorphic-call.cc07-Sep-202579.5K
ipa-predicate.cc07-Sep-202517.9K
ipa-predicate.h07-Sep-20258.7K
ipa-profile.cc07-Sep-202530K
ipa-prop.cc07-Sep-2025180.4K
ipa-prop.h07-Sep-202540.6K
ipa-pure-const.cc07-Sep-202567.5K
ipa-ref.cc07-Sep-20252.7K
ipa-ref.h07-Sep-20253.4K
ipa-reference.cc07-Sep-202539.3K
ipa-reference.h07-Sep-20251.1K
ipa-split.cc07-Sep-202562.2K
ipa-sra.cc07-Sep-2025124.3K
ipa-utils.cc07-Sep-202521.9K
ipa-utils.h07-Sep-20259.3K
ipa-visibility.cc07-Sep-202531K
ipa.cc07-Sep-202546.4K
ira-build.cc07-Sep-2025103.8K
ira-color.cc07-Sep-2025170.2K
ira-conflicts.cc07-Sep-202528.6K
ira-costs.cc07-Sep-202578.3K
ira-emit.cc07-Sep-202540.9K
ira-int.h07-Sep-202561K
ira-lives.cc07-Sep-202552.1K
ira.cc07-Sep-2025189.2K
ira.h07-Sep-20259.5K
is-a.h07-Sep-20257.5K
iterator-utils.h07-Sep-20255.8K
jit/25-Feb-2026
json.cc07-Sep-20258K
json.h07-Sep-20254.2K
jump.cc07-Sep-202549.2K
langhooks-def.h07-Sep-202516.4K
langhooks.cc07-Sep-202525.1K
langhooks.h07-Sep-202526.6K
LANGUAGES07-Sep-20252.2K
lcm.cc07-Sep-202527.3K
lcm.h07-Sep-20251.3K
libfuncs.h07-Sep-20252.5K
limitx.h07-Sep-20251.4K
limity.h26-Sep-2019270
lists.cc07-Sep-20256.1K
lock-and-run.sh20-Feb-20231.5K
loop-doloop.cc07-Sep-202525.5K
loop-init.cc07-Sep-202516.1K
loop-invariant.cc07-Sep-202562K
loop-iv.cc07-Sep-202577.7K
loop-unroll.cc07-Sep-202562K
loop-unroll.h07-Sep-2025893
lower-subreg.cc07-Sep-202551.1K
lower-subreg.h07-Sep-20252K
lra-assigns.cc07-Sep-202567.2K
lra-coalesce.cc07-Sep-202511.6K
lra-constraints.cc07-Sep-2025242.6K
lra-eliminations.cc07-Sep-202544.8K
lra-int.h07-Sep-202518.4K
lra-lives.cc07-Sep-202547.2K
lra-remat.cc07-Sep-202541.2K
lra-spills.cc07-Sep-202528.5K
lra.cc07-Sep-202573.9K
lra.h07-Sep-20251.3K
lto/25-Feb-2026
lto-cgraph.cc07-Sep-202564.9K
lto-compress.cc07-Sep-202511.2K
lto-compress.h07-Sep-20251.6K
lto-opts.cc07-Sep-20256K
lto-section-in.cc07-Sep-202513.1K
lto-section-names.h07-Sep-20251.6K
lto-section-out.cc07-Sep-20257.1K
lto-streamer-in.cc07-Sep-202560.7K
lto-streamer-out.cc07-Sep-202599.7K
lto-streamer.cc07-Sep-20258.2K
lto-streamer.h07-Sep-202537.6K
lto-wrapper.cc07-Sep-202558.5K
machmode.def07-Sep-202510.5K
machmode.h07-Sep-202533.1K
main.cc07-Sep-20251.3K
Makefile.in07-Sep-2025160K
match.pd07-Sep-2025265.1K
mcf.cc07-Sep-202538.7K
mem-stats-traits.h07-Sep-20251.2K
mem-stats.h07-Sep-202517.7K
memmodel.h07-Sep-20253.4K
memory-block.cc07-Sep-20252.2K
memory-block.h07-Sep-20252.4K
mkconfig.sh07-Sep-20253.7K
mode-classes.def07-Sep-20252K
mode-switching.cc07-Sep-202526.4K
modulo-sched.cc07-Sep-202599.5K
multiple_target.cc07-Sep-202514.6K
mux-utils.h07-Sep-20257.4K
objc/25-Feb-2026
objcp/25-Feb-2026
obstack-utils.h07-Sep-20252.4K
omp-builtins.def07-Sep-202522.2K
omp-expand.cc07-Sep-2025352.1K
omp-expand.h07-Sep-20251.1K
omp-general.cc07-Sep-202585.8K
omp-general.h07-Sep-20255.7K
omp-low.cc07-Sep-2025461K
omp-low.h07-Sep-20251.1K
omp-oacc-kernels-decompose.cc07-Sep-202556.9K
omp-oacc-neuter-broadcast.cc07-Sep-202555.1K
omp-offload.cc07-Sep-202580.3K
omp-offload.h07-Sep-20251.2K
omp-simd-clone.cc07-Sep-202556.7K
omp-simd-clone.h07-Sep-2025880
ONEWS26-Sep-201936.9K
opt-functions.awk07-Sep-202510.7K
opt-gather.awk07-Sep-20251.5K
opt-include.awk07-Sep-20251.1K
opt-problem.cc07-Sep-202510.1K
opt-problem.h07-Sep-20259.2K
opt-read.awk07-Sep-20253.5K
opt-suggestions.cc07-Sep-202512.1K
opt-suggestions.h07-Sep-20252.5K
optabs-libfuncs.cc07-Sep-202527.1K
optabs-libfuncs.h07-Sep-20253.4K
optabs-query.cc07-Sep-202526K
optabs-query.h07-Sep-20257K
optabs-tree.cc07-Sep-202517.1K
optabs-tree.h07-Sep-20251.8K
optabs.cc07-Sep-2025241.6K
optabs.def07-Sep-202522.1K
optabs.h07-Sep-202513.9K
optc-gen.awk07-Sep-202523.1K
optc-save-gen.awk07-Sep-202541.9K
opth-gen.awk07-Sep-202517.9K
optinfo-emit-json.cc07-Sep-202513.2K
optinfo-emit-json.h07-Sep-20252K
optinfo.cc07-Sep-20253.7K
optinfo.h07-Sep-20255K
opts-common.cc07-Sep-202559.1K
opts-diagnostic.h07-Sep-20251K
opts-global.cc07-Sep-202513.3K
opts-jobserver.h14-Jul-20231.4K
opts.cc07-Sep-2025113.4K
opts.h07-Sep-202518.2K
ordered-hash-map-tests.cc07-Sep-20256.6K
ordered-hash-map.h07-Sep-20254.9K
output.h07-Sep-202524.7K
params.opt07-Sep-202558.8K
pass_manager.h07-Sep-20254K
passes.cc07-Sep-202587.9K
passes.def07-Sep-202521.5K
plugin.cc07-Sep-202528.9K
plugin.def07-Sep-20253.3K
plugin.h07-Sep-20256.3K
pointer-query.cc07-Sep-202575.2K
pointer-query.h07-Sep-20259.3K
poly-int-types.h07-Sep-20254.2K
poly-int.h07-Sep-202579.3K
postreload-gcse.cc07-Sep-202541.4K
postreload.cc07-Sep-202569.5K
predict.cc07-Sep-2025129.7K
predict.def07-Sep-20259.9K
predict.h07-Sep-20254.6K
prefix.cc07-Sep-20258.7K
prefix.h07-Sep-20251.2K
pretty-print.cc07-Sep-202568.2K
pretty-print.h07-Sep-202515.6K
print-rtl-function.cc07-Sep-20257.3K
print-rtl.cc07-Sep-202553.2K
print-rtl.h07-Sep-20255.5K
print-tree.cc07-Sep-202533.8K
print-tree.h07-Sep-20251.9K
profile-count.cc07-Sep-202512.3K
profile-count.h07-Sep-202537.4K
profile.cc07-Sep-202547.9K
profile.h07-Sep-20252.3K
range-op.cc07-Sep-2025123.7K
range-op.h07-Sep-20254.2K
range.cc07-Sep-20251.7K
range.h07-Sep-20251,010
read-md.cc07-Sep-202530.9K
read-md.h07-Sep-202512.9K
read-rtl-function.cc07-Sep-202560.9K
read-rtl-function.h07-Sep-20251,002
read-rtl.cc07-Sep-202556.1K
README.Portability07-Sep-20256.2K
real.cc07-Sep-2025123.3K
real.h07-Sep-202520.1K
realmpfr.cc07-Sep-20253.1K
realmpfr.h07-Sep-20251.3K
recog.cc07-Sep-2025126.2K
recog.h07-Sep-202517.8K
ree.cc07-Sep-202544.7K
reg-notes.def07-Sep-202510.5K
reg-stack.cc07-Sep-2025103.1K
regcprop.cc07-Sep-202541.4K
regcprop.h07-Sep-2025877
reginfo.cc07-Sep-202538.4K
regrename.cc07-Sep-202559.2K
regrename.h07-Sep-20253.5K
regs.h07-Sep-202512.4K
regset.h07-Sep-20254.7K
regstat.cc07-Sep-202512.7K
regsub.cc07-Sep-20253.8K
reload.cc07-Sep-2025244.7K
reload.h07-Sep-202517.2K
reload1.cc07-Sep-2025290.3K
reorg.cc07-Sep-2025126.3K
resource.cc07-Sep-202539.5K
resource.h07-Sep-20251.9K
rtl-error.cc07-Sep-20253.4K
rtl-error.h07-Sep-20251K
rtl-iter.h07-Sep-20258.2K
rtl-ssa/25-Feb-2026
rtl-ssa.h07-Sep-20251.9K
rtl-tests.cc07-Sep-20259.4K
rtl.cc07-Sep-202525.8K
rtl.def07-Sep-202560K
rtl.h07-Sep-2025156.5K
rtlanal.cc07-Sep-2025192.7K
rtlanal.h07-Sep-202510.2K
rtlhash.cc07-Sep-20252.5K
rtlhash.h07-Sep-2025850
rtlhooks-def.h07-Sep-20251.8K
rtlhooks.cc07-Sep-20253.7K
rtx-vector-builder.cc07-Sep-20253K
rtx-vector-builder.h07-Sep-20253.8K
run-rtl-passes.cc07-Sep-20252.3K
run-rtl-passes.h07-Sep-2025884
sancov.cc07-Sep-20259.8K
sanitizer.def07-Sep-202532.8K
sanopt.cc07-Sep-202537.7K
sbitmap.cc07-Sep-202525.4K
sbitmap.h07-Sep-202510.2K
sched-deps.cc07-Sep-2025138.2K
sched-ebb.cc07-Sep-202519.7K
sched-int.h07-Sep-202560.1K
sched-rgn.cc07-Sep-2025108.2K
sel-sched-dump.cc07-Sep-202521.2K
sel-sched-dump.h07-Sep-20256.8K
sel-sched-ir.cc07-Sep-2025171.8K
sel-sched-ir.h07-Sep-202548K
sel-sched.cc07-Sep-2025241.1K
sel-sched.h07-Sep-2025920
selftest-diagnostic.cc07-Sep-20251.8K
selftest-diagnostic.h07-Sep-20251.5K
selftest-rtl.cc07-Sep-20253.4K
selftest-rtl.h07-Sep-20253.2K
selftest-run-tests.cc07-Sep-20254K
selftest.cc07-Sep-202510.9K
selftest.h07-Sep-202515.2K
sese.cc07-Sep-202513K
sese.h07-Sep-20257.4K
shortest-paths.h07-Sep-20256.1K
shrink-wrap.cc07-Sep-202556.4K
shrink-wrap.h07-Sep-20251.1K
signop.h07-Sep-20251K
simplify-rtx.cc07-Sep-2025262.1K
sort.cc07-Sep-20259.5K
sparseset.cc07-Sep-20255.3K
sparseset.h07-Sep-20256.7K
spellcheck-tree.cc07-Sep-20253.2K
spellcheck-tree.h07-Sep-20251.4K
spellcheck.cc07-Sep-202517.1K
spellcheck.h07-Sep-20256.6K
splay-tree-utils.cc07-Sep-20258.2K
splay-tree-utils.h07-Sep-202516.5K
splay-tree-utils.tcc07-Sep-202527.2K
sreal.cc07-Sep-20258.5K
sreal.h07-Sep-20256.4K
ssa-iterators.h07-Sep-202529.4K
ssa.h07-Sep-20251K
stab.def07-Sep-20259K
stack-ptr-mod.cc07-Sep-20253.2K
statistics.cc07-Sep-20259.7K
statistics.h07-Sep-20252.8K
stmt.cc07-Sep-202533.6K
stmt.h07-Sep-20252K
stor-layout.cc07-Sep-2025102.6K
stor-layout.h07-Sep-20255K
store-motion.cc07-Sep-202534.4K
streamer-hooks.cc07-Sep-20251.1K
streamer-hooks.h07-Sep-20253.6K
stringpool.cc07-Sep-20256.5K
stringpool.h07-Sep-20251.5K
substring-locations.cc07-Sep-20258.9K
substring-locations.h07-Sep-20254.6K
symbol-summary.h07-Sep-202526.8K
symtab-clones.cc07-Sep-20251.8K
symtab-clones.h07-Sep-20252K
symtab-thunks.cc07-Sep-202519.4K
symtab-thunks.h07-Sep-20254.9K
symtab.cc07-Sep-202573.2K
sync-builtins.def07-Sep-202527K
system.h07-Sep-202540.9K
target-def.h07-Sep-20254.2K
target-globals.cc07-Sep-20254.3K
target-globals.h07-Sep-20253.3K
target-hooks-macros.h07-Sep-20254K
target-insns.def07-Sep-20255.3K
target.def07-Sep-2025315.5K
target.h07-Sep-20259.1K
targhooks.cc07-Sep-202566.9K
targhooks.h07-Sep-202513.7K
timevar.cc07-Sep-202521K
timevar.def07-Sep-202517.9K
timevar.h07-Sep-20257.7K
toplev.cc07-Sep-202567.5K
toplev.h07-Sep-20252.8K
tracer.cc07-Sep-202512.4K
tracer.h07-Sep-2025903
trans-mem.cc07-Sep-2025158.9K
trans-mem.h07-Sep-20251.9K
tree-affine.cc07-Sep-202526.3K
tree-affine.h07-Sep-20253.8K
tree-call-cdce.cc07-Sep-202540K
tree-cfg.cc07-Sep-2025281.5K
tree-cfg.h07-Sep-20255.7K
tree-cfgcleanup.cc07-Sep-202547.7K
tree-cfgcleanup.h07-Sep-20251.1K
tree-chrec.cc07-Sep-202548.2K
tree-chrec.h07-Sep-20257.2K
tree-complex.cc07-Sep-202554.2K
tree-core.h07-Sep-202566.3K
tree-data-ref.cc07-Sep-2025192.4K
tree-data-ref.h07-Sep-202525.2K
tree-dfa.cc07-Sep-202529K
tree-dfa.h07-Sep-20251.8K
tree-diagnostic-path.cc07-Sep-202524.8K
tree-diagnostic.cc07-Sep-202512.9K
tree-diagnostic.h07-Sep-20252.7K
tree-dump.cc07-Sep-202519.2K
tree-dump.h07-Sep-20252.8K
tree-eh.cc07-Sep-2025139.2K
tree-eh.h07-Sep-20252.4K
tree-emutls.cc07-Sep-202524.1K
tree-hash-traits.h07-Sep-20251.2K
tree-hasher.h07-Sep-20251.9K
tree-if-conv.cc07-Sep-202596.3K
tree-if-conv.h07-Sep-2025845
tree-inline.cc07-Sep-2025203.1K
tree-inline.h07-Sep-20258.6K
tree-into-ssa.cc07-Sep-2025101.8K
tree-into-ssa.h07-Sep-20251.9K
tree-iterator.cc07-Sep-20259.1K
tree-iterator.h07-Sep-20254.2K
tree-loop-distribution.cc07-Sep-2025120.7K
tree-nested.cc07-Sep-2025111.5K
tree-nested.h07-Sep-20252.7K
tree-nrv.cc07-Sep-202510.8K
tree-object-size.cc07-Sep-202562.2K
tree-object-size.h07-Sep-20251.1K
tree-outof-ssa.cc07-Sep-202535.1K
tree-outof-ssa.h07-Sep-20252.7K
tree-parloops.cc07-Sep-2025121.4K
tree-parloops.h07-Sep-2025864
tree-pass.h07-Sep-202532.3K
tree-phinodes.cc07-Sep-202515.2K
tree-phinodes.h07-Sep-20252.2K
tree-predcom.cc07-Sep-202596K
tree-pretty-print.cc07-Sep-2025120.5K
tree-pretty-print.h07-Sep-20252.5K
tree-profile.cc07-Sep-202529.9K
tree-scalar-evolution.cc07-Sep-2025105.9K
tree-scalar-evolution.h07-Sep-20252.6K
tree-sra.cc07-Sep-2025143.5K
tree-sra.h07-Sep-20251.1K
tree-ssa-address.cc07-Sep-202533.4K
tree-ssa-address.h07-Sep-20251.6K
tree-ssa-alias-compare.h07-Sep-20251.3K
tree-ssa-alias.cc07-Sep-2025133.6K
tree-ssa-alias.h07-Sep-20257.7K
tree-ssa-ccp.cc07-Sep-2025131.4K
tree-ssa-ccp.h07-Sep-20251.1K
tree-ssa-coalesce.cc07-Sep-202547.6K
tree-ssa-coalesce.h07-Sep-2025925
tree-ssa-copy.cc07-Sep-202518.3K
tree-ssa-dce.cc07-Sep-202562.5K
tree-ssa-dce.h07-Sep-2025783
tree-ssa-dom.cc07-Sep-202573.5K
tree-ssa-dom.h07-Sep-2025985
tree-ssa-dse.cc07-Sep-202549.4K
tree-ssa-dse.h07-Sep-20251.2K
tree-ssa-forwprop.cc07-Sep-2025122.6K
tree-ssa-ifcombine.cc07-Sep-202527.3K
tree-ssa-live.cc07-Sep-202545.2K
tree-ssa-live.h07-Sep-20259.7K
tree-ssa-loop-ch.cc07-Sep-202518.6K
tree-ssa-loop-im.cc07-Sep-2025108.7K
tree-ssa-loop-ivcanon.cc07-Sep-202551.7K
tree-ssa-loop-ivopts.cc07-Sep-2025228.7K
tree-ssa-loop-ivopts.h07-Sep-20251.5K
tree-ssa-loop-manip.cc07-Sep-202552.4K
tree-ssa-loop-manip.h07-Sep-20252.3K
tree-ssa-loop-niter.cc07-Sep-2025149.4K
tree-ssa-loop-niter.h07-Sep-20253K
tree-ssa-loop-prefetch.cc07-Sep-202564.2K
tree-ssa-loop-split.cc07-Sep-202555.4K
tree-ssa-loop-unswitch.cc07-Sep-202528.1K
tree-ssa-loop.cc07-Sep-202516.1K
tree-ssa-loop.h07-Sep-20252.7K
tree-ssa-math-opts.cc07-Sep-2025147.3K
tree-ssa-math-opts.h07-Sep-2025948
tree-ssa-operands.cc07-Sep-202537.2K
tree-ssa-operands.h07-Sep-20253.9K
tree-ssa-phiopt.cc07-Sep-2025118K
tree-ssa-phiprop.cc07-Sep-202515.3K
tree-ssa-pre.cc07-Sep-2025134.3K
tree-ssa-propagate.cc07-Sep-202537.9K
tree-ssa-propagate.h07-Sep-20254.1K
tree-ssa-reassoc.cc07-Sep-2025207.5K
tree-ssa-reassoc.h07-Sep-20251.3K
tree-ssa-sccvn.cc07-Sep-2025253.6K
tree-ssa-sccvn.h07-Sep-202510.3K
tree-ssa-scopedtables.cc07-Sep-202534.5K
tree-ssa-scopedtables.h07-Sep-20256.8K
tree-ssa-sink.cc07-Sep-202525.4K
tree-ssa-strlen.cc07-Sep-2025173.3K
tree-ssa-strlen.h07-Sep-20251.4K
tree-ssa-structalias.cc07-Sep-2025245.4K
tree-ssa-tail-merge.cc07-Sep-202546.6K
tree-ssa-ter.cc07-Sep-202525.8K
tree-ssa-ter.h07-Sep-2025917
tree-ssa-threadbackward.cc07-Sep-202529.5K
tree-ssa-threadedge.cc07-Sep-202543.1K
tree-ssa-threadedge.h07-Sep-20254.1K
tree-ssa-threadupdate.cc07-Sep-202594K
tree-ssa-threadupdate.h07-Sep-20254.7K
tree-ssa-uncprop.cc07-Sep-202515K
tree-ssa-uninit.cc07-Sep-202543.4K
tree-ssa.cc07-Sep-202565K
tree-ssa.h07-Sep-20253.5K
tree-ssanames.cc07-Sep-202526.4K
tree-ssanames.h07-Sep-20255.2K
tree-stdarg.cc07-Sep-202531.2K
tree-stdarg.h07-Sep-20251.1K
tree-streamer-in.cc07-Sep-202536.7K
tree-streamer-out.cc07-Sep-202533.9K
tree-streamer.cc07-Sep-202512.4K
tree-streamer.h07-Sep-20254.3K
tree-switch-conversion.cc07-Sep-202575.1K
tree-switch-conversion.h07-Sep-202527.3K
tree-tailcall.cc07-Sep-202536.9K
tree-vect-data-refs.cc07-Sep-2025224.9K
tree-vect-generic.cc07-Sep-202577.9K
tree-vect-loop-manip.cc07-Sep-2025128.1K
tree-vect-loop.cc07-Sep-2025350.3K
tree-vect-patterns.cc07-Sep-2025191.9K
tree-vect-slp-patterns.cc07-Sep-202551K
tree-vect-slp.cc07-Sep-2025247.7K
tree-vect-stmts.cc07-Sep-2025404.4K
tree-vector-builder.cc07-Sep-20251.4K
tree-vector-builder.h07-Sep-20254.3K
tree-vectorizer.cc07-Sep-202557.5K
tree-vectorizer.h07-Sep-202591.7K
tree-vrp.cc07-Sep-2025130.5K
tree-vrp.h07-Sep-20252.5K
tree.cc07-Sep-2025438.3K
tree.def07-Sep-202569.3K
tree.h07-Sep-2025252.9K
treestruct.def07-Sep-20252.8K
tristate.cc07-Sep-20255.2K
tristate.h07-Sep-20252K
tsan.cc07-Sep-202533.7K
tsan.h07-Sep-2025876
tsystem.h07-Sep-20253.8K
typeclass.h07-Sep-20251.5K
typed-splay-tree.cc07-Sep-20251.9K
typed-splay-tree.h07-Sep-202516.2K
ubsan.cc07-Sep-202577.6K
ubsan.h07-Sep-20252.3K
valtrack.cc07-Sep-202521.6K
valtrack.h07-Sep-20254.5K
value-pointer-equiv.cc07-Sep-20258K
value-pointer-equiv.h07-Sep-20252K
value-prof.cc07-Sep-202556.6K
value-prof.h07-Sep-20254.7K
value-query.cc07-Sep-202512.2K
value-query.h07-Sep-20255.1K
value-range-equiv.cc07-Sep-20258K
value-range-equiv.h07-Sep-20252.7K
value-range.cc07-Sep-202568K
value-range.h07-Sep-202516.5K
value-relation.cc07-Sep-202541.4K
value-relation.h07-Sep-20259.6K
var-tracking.cc07-Sep-2025276.1K
varasm.cc07-Sep-2025247K
varasm.h07-Sep-20253.2K
varpool.cc07-Sep-202523.5K
vec-perm-indices.cc07-Sep-202512.7K
vec-perm-indices.h07-Sep-20255.3K
vec.cc07-Sep-202513.9K
vec.h07-Sep-202565.4K
vector-builder.h07-Sep-202519.9K
vmsdbg.h07-Sep-20256.4K
vmsdbgout.cc07-Sep-202554.8K
vr-values.cc07-Sep-2025131.4K
vr-values.h07-Sep-20257.5K
vtable-verify.cc07-Sep-202529.9K
vtable-verify.h07-Sep-20256.7K
warning-control.cc07-Sep-20256.1K
web.cc07-Sep-202512.4K
wide-int-bitmask.h07-Sep-20253.3K
wide-int-print.cc07-Sep-20253.5K
wide-int-print.h07-Sep-20251.4K
wide-int.cc07-Sep-202570.8K
wide-int.h07-Sep-2025110.3K
xcoff.h07-Sep-20251.1K
xcoffout.cc07-Sep-202513.6K
xcoffout.h07-Sep-20256.6K

README.Portability

      1 Copyright (C) 2000-2022 Free Software Foundation, Inc.
      2 
      3 This file is intended to contain a few notes about writing C code
      4 within GCC so that it compiles without error on the full range of
      5 compilers GCC needs to be able to compile on.
      6 
      7 The problem is that many ISO-standard constructs are not accepted by
      8 either old or buggy compilers, and we keep getting bitten by them.
      9 This knowledge until now has been sparsely spread around, so I
     10 thought I'd collect it in one useful place.  Please add and correct
     11 any problems as you come across them.
     12 
     13 I'm going to start from a base of the ISO C90 standard, since that is
     14 probably what most people code to naturally.  Obviously using
     15 constructs introduced after that is not a good idea.
     16 
     17 For the complete coding style conventions used in GCC, please read
     18 http://gcc.gnu.org/codingconventions.html
     19 
     20 
     21 String literals
     22 ---------------
     23 
     24 Some compilers like MSVC++ have fairly low limits on the maximum
     25 length of a string literal; 509 is the lowest we've come across.  You
     26 may need to break up a long printf statement into many smaller ones.
     27 
     28 
     29 Empty macro arguments
     30 ---------------------
     31 
     32 ISO C (6.8.3 in the 1990 standard) specifies the following:
     33 
     34 If (before argument substitution) any argument consists of no
     35 preprocessing tokens, the behavior is undefined.
     36 
     37 This was relaxed by ISO C99, but some older compilers emit an error,
     38 so code like
     39 
     40 #define foo(x, y) x y
     41 foo (bar, )
     42 
     43 needs to be coded in some other way.
     44 
     45 
     46 Avoid unnecessary test before free
     47 ----------------------------------
     48 
     49 Since SunOS 4 stopped being a reasonable portability target,
     50 (which happened around 2007) there has been no need to guard
     51 against "free (NULL)".  Thus, any guard like the following
     52 constitutes a redundant test:
     53 
     54   if (P)
     55     free (P);
     56 
     57 It is better to avoid the test.[*]
     58 Instead, simply free P, regardless of whether it is NULL.
     59 
     60 [*] However, if your profiling exposes a test like this in a
     61 performance-critical loop, say where P is nearly always NULL, and
     62 the cost of calling free on a NULL pointer would be prohibitively
     63 high, consider using __builtin_expect, e.g., like this:
     64 
     65   if (__builtin_expect (ptr != NULL, 0))
     66     free (ptr);
     67 
     68 
     69 
     70 Trigraphs
     71 ---------
     72 
     73 You weren't going to use them anyway, but some otherwise ISO C
     74 compliant compilers do not accept trigraphs.
     75 
     76 
     77 Suffixes on Integer Constants
     78 -----------------------------
     79 
     80 You should never use a 'l' suffix on integer constants ('L' is fine),
     81 since it can easily be confused with the number '1'.
     82 
     83 
     84 			Common Coding Pitfalls
     85 			======================
     86 
     87 errno
     88 -----
     89 
     90 errno might be declared as a macro.
     91 
     92 
     93 Implicit int
     94 ------------
     95 
     96 In C, the 'int' keyword can often be omitted from type declarations.
     97 For instance, you can write
     98 
     99   unsigned variable;
    100 
    101 as shorthand for
    102 
    103   unsigned int variable;
    104 
    105 There are several places where this can cause trouble.  First, suppose
    106 'variable' is a long; then you might think
    107 
    108   (unsigned) variable
    109 
    110 would convert it to unsigned long.  It does not.  It converts to
    111 unsigned int.  This mostly causes problems on 64-bit platforms, where
    112 long and int are not the same size.
    113 
    114 Second, if you write a function definition with no return type at
    115 all:
    116 
    117   operate (int a, int b)
    118   {
    119     ...
    120   }
    121 
    122 that function is expected to return int, *not* void.  GCC will warn
    123 about this.
    124 
    125 Implicit function declarations always have return type int.  So if you
    126 correct the above definition to
    127 
    128   void
    129   operate (int a, int b)
    130   ...
    131 
    132 but operate() is called above its definition, you will get an error
    133 about a "type mismatch with previous implicit declaration".  The cure
    134 is to prototype all functions at the top of the file, or in an
    135 appropriate header.
    136 
    137 Char vs unsigned char vs int
    138 ----------------------------
    139 
    140 In C, unqualified 'char' may be either signed or unsigned; it is the
    141 implementation's choice.  When you are processing 7-bit ASCII, it does
    142 not matter.  But when your program must handle arbitrary binary data,
    143 or fully 8-bit character sets, you have a problem.  The most obvious
    144 issue is if you have a look-up table indexed by characters.
    145 
    146 For instance, the character '\341' in ISO Latin 1 is SMALL LETTER A
    147 WITH ACUTE ACCENT.  In the proper locale, isalpha('\341') will be
    148 true.  But if you read '\341' from a file and store it in a plain
    149 char, isalpha(c) may look up character 225, or it may look up
    150 character -31.  And the ctype table has no entry at offset -31, so
    151 your program will crash.  (If you're lucky.)
    152 
    153 It is wise to use unsigned char everywhere you possibly can.  This
    154 avoids all these problems.  Unfortunately, the routines in <string.h>
    155 take plain char arguments, so you have to remember to cast them back
    156 and forth - or avoid the use of strxxx() functions, which is probably
    157 a good idea anyway.
    158 
    159 Another common mistake is to use either char or unsigned char to
    160 receive the result of getc() or related stdio functions.  They may
    161 return EOF, which is outside the range of values representable by
    162 char.  If you use char, some legal character value may be confused
    163 with EOF, such as '\377' (SMALL LETTER Y WITH UMLAUT, in Latin-1).
    164 The correct choice is int.
    165 
    166 A more subtle version of the same mistake might look like this:
    167 
    168   unsigned char pushback[NPUSHBACK];
    169   int pbidx;
    170   #define unget(c) (assert(pbidx < NPUSHBACK), pushback[pbidx++] = (c))
    171   #define get(c) (pbidx ? pushback[--pbidx] : getchar())
    172   ...
    173   unget(EOF);
    174 
    175 which will mysteriously turn a pushed-back EOF into a SMALL LETTER Y
    176 WITH UMLAUT.
    177 
    178 
    179 Other common pitfalls
    180 ---------------------
    181 
    182 o Expecting 'plain' char to be either sign or unsigned extending.
    183 
    184 o Shifting an item by a negative amount or by greater than or equal to
    185   the number of bits in a type (expecting shifts by 32 to be sensible
    186   has caused quite a number of bugs at least in the early days).
    187 
    188 o Expecting ints shifted right to be sign extended.
    189 
    190 o Modifying the same value twice within one sequence point.
    191 
    192 o Host vs. target floating point representation, including emitting NaNs
    193   and Infinities in a form that the assembler handles.
    194 
    195 o qsort being an unstable sort function (unstable in the sense that
    196   multiple items that sort the same may be sorted in different orders
    197   by different qsort functions).
    198 
    199 o Passing incorrect types to fprintf and friends.
    200 
    201 o Adding a function declaration for a module declared in another file to
    202   a .c file instead of to a .h file.
    203