gcc/gcc
Martin Jambor 48182bd670 Avoid segfault when dumping IPA-CP lattices for unoptimized functions (PR 92917)
2020-01-03  Martin Jambor  <mjambor@suse.cz>

	PR ipa/92917
	* ipa-cp.c (print_all_lattices): Skip functions without info.

From-SVN: r279859
2020-01-03 14:52:38 +01:00
..
ada Update copyright years. 2020-01-01 12:51:42 +01:00
brig Update copyright years. 2020-01-01 12:51:42 +01:00
c Update copyright years. 2020-01-01 12:51:42 +01:00
c-family Update copyright years. 2020-01-01 12:51:42 +01:00
common Update copyright years. 2020-01-01 12:51:42 +01:00
config re PR target/93089 (Force mprefer-vector-width=512 in 'e' simd clones) 2020-01-03 11:14:03 +01:00
cp re PR c/90677 (gcc-9.1.0 fails to build __gcc_diag__ souce: error: 'cgraph_node' is not defined as a type) 2020-01-02 18:29:59 +01:00
d Update copyright years. 2020-01-01 12:51:42 +01:00
doc [Arm] Enable CLI for Armv8.6-a: armv8.6-a, i8mm and bf16. 2020-01-02 17:22:53 +00:00
fortran Fortran] OpenMP/OpenACC – fix more issues with OPTIONAL 2020-01-03 13:56:46 +01:00
ginclude Update copyright years. 2020-01-01 12:51:42 +01:00
go compiler, runtime, reflect: generate hash functions only for map keys 2020-01-02 21:55:32 +00:00
jit Update copyright years. 2020-01-01 12:51:42 +01:00
lto Update copyright years. 2020-01-01 12:51:42 +01:00
objc Update copyright years. 2020-01-01 12:51:42 +01:00
objcp Update copyright years. 2020-01-01 12:51:42 +01:00
po Update copyright years. 2020-01-01 12:51:42 +01:00
testsuite re PR target/93089 (Force mprefer-vector-width=512 in 'e' simd clones) 2020-01-03 11:14:03 +01:00
ABOUT-GCC-NLS Update copyright years. 2020-01-01 12:51:42 +01:00
acinclude.m4 Update copyright years. 2020-01-01 12:51:42 +01:00
aclocal.m4
addresses.h Update copyright years. 2020-01-01 12:51:42 +01:00
alias.c Update copyright years. 2020-01-01 12:51:42 +01:00
alias.h Update copyright years. 2020-01-01 12:51:42 +01:00
align.h Update copyright years. 2020-01-01 12:51:42 +01:00
alloc-pool.c Update copyright years. 2020-01-01 12:51:42 +01:00
alloc-pool.h Update copyright years. 2020-01-01 12:51:42 +01:00
array-traits.h Update copyright years. 2020-01-01 12:51:42 +01:00
asan.c Update copyright years. 2020-01-01 12:51:42 +01:00
asan.h Update copyright years. 2020-01-01 12:51:42 +01:00
attribs.c Update copyright years. 2020-01-01 12:51:42 +01:00
attribs.h Update copyright years. 2020-01-01 12:51:42 +01:00
auto-inc-dec.c Update copyright years. 2020-01-01 12:51:42 +01:00
auto-profile.c Update copyright years. 2020-01-01 12:51:42 +01:00
auto-profile.h Update copyright years. 2020-01-01 12:51:42 +01:00
backend.h Update copyright years. 2020-01-01 12:51:42 +01:00
BASE-VER
basic-block.h Update copyright years. 2020-01-01 12:51:42 +01:00
bb-reorder.c Update copyright years. 2020-01-01 12:51:42 +01:00
bb-reorder.h Update copyright years. 2020-01-01 12:51:42 +01:00
bitmap.c Update copyright years. 2020-01-01 12:51:42 +01:00
bitmap.h Update copyright years. 2020-01-01 12:51:42 +01:00
brig-builtins.def Update copyright years. 2020-01-01 12:51:42 +01:00
builtin-attrs.def Update copyright years. 2020-01-01 12:51:42 +01:00
builtin-types.def Update copyright years. 2020-01-01 12:51:42 +01:00
builtins.c Update copyright years. 2020-01-01 12:51:42 +01:00
builtins.def Update copyright years. 2020-01-01 12:51:42 +01:00
builtins.h Update copyright years. 2020-01-01 12:51:42 +01:00
caller-save.c Update copyright years. 2020-01-01 12:51:42 +01:00
calls.c Update copyright years. 2020-01-01 12:51:42 +01:00
calls.h Update copyright years. 2020-01-01 12:51:42 +01:00
ccmp.c Update copyright years. 2020-01-01 12:51:42 +01:00
ccmp.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfg-flags.def Update copyright years. 2020-01-01 12:51:42 +01:00
cfg.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfg.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfganal.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfganal.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfgbuild.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfgbuild.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfgcleanup.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfgcleanup.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfgexpand.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfgexpand.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfghooks.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfghooks.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfgloop.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfgloop.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfgloopanal.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfgloopmanip.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfgloopmanip.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfgrtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfgrtl.h Update copyright years. 2020-01-01 12:51:42 +01:00
cgraph.c Update copyright years. 2020-01-01 12:51:42 +01:00
cgraph.h Update copyright years. 2020-01-01 12:51:42 +01:00
cgraphbuild.c Update copyright years. 2020-01-01 12:51:42 +01:00
cgraphclones.c Update copyright years. 2020-01-01 12:51:42 +01:00
cgraphunit.c Update copyright years. 2020-01-01 12:51:42 +01:00
ChangeLog Avoid segfault when dumping IPA-CP lattices for unoptimized functions (PR 92917) 2020-01-03 14:52:38 +01:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019 re PR tree-optimization/93098 (ICE with negative shifter) 2020-01-01 01:20:39 +01:00
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
cif-code.def Update copyright years. 2020-01-01 12:51:42 +01:00
collect2-aix.c Update copyright years. 2020-01-01 12:51:42 +01:00
collect2-aix.h Update copyright years. 2020-01-01 12:51:42 +01:00
collect2.c Update copyright years. 2020-01-01 12:51:42 +01:00
collect2.h Update copyright years. 2020-01-01 12:51:42 +01:00
collect-utils.c Update copyright years. 2020-01-01 12:51:42 +01:00
collect-utils.h Update copyright years. 2020-01-01 12:51:42 +01:00
color-macros.h Update copyright years. 2020-01-01 12:51:42 +01:00
combine-stack-adj.c Update copyright years. 2020-01-01 12:51:42 +01:00
combine.c Update copyright years. 2020-01-01 12:51:42 +01:00
common.md Update copyright years. 2020-01-01 12:51:42 +01:00
common.opt Update copyright years. 2020-01-01 12:51:42 +01:00
compare-elim.c Update copyright years. 2020-01-01 12:51:42 +01:00
conditions.h Update copyright years. 2020-01-01 12:51:42 +01:00
config.build Update copyright years. 2020-01-01 12:51:42 +01:00
config.gcc Update copyright years. 2020-01-01 12:51:42 +01:00
config.host Update copyright years. 2020-01-01 12:51:42 +01:00
config.in
configure
configure.ac Update copyright years. 2020-01-01 12:51:42 +01:00
context.c Update copyright years. 2020-01-01 12:51:42 +01:00
context.h Update copyright years. 2020-01-01 12:51:42 +01:00
convert.c Update copyright years. 2020-01-01 12:51:42 +01:00
convert.h Update copyright years. 2020-01-01 12:51:42 +01:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h Update copyright years. 2020-01-01 12:51:42 +01:00
coverage.c Update copyright years. 2020-01-01 12:51:42 +01:00
coverage.h Update copyright years. 2020-01-01 12:51:42 +01:00
cppbuiltin.c Update copyright years. 2020-01-01 12:51:42 +01:00
cppbuiltin.h Update copyright years. 2020-01-01 12:51:42 +01:00
cppdefault.c Update copyright years. 2020-01-01 12:51:42 +01:00
cppdefault.h Update copyright years. 2020-01-01 12:51:42 +01:00
cprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
cse.c Update copyright years. 2020-01-01 12:51:42 +01:00
cselib.c Update copyright years. 2020-01-01 12:51:42 +01:00
cselib.h Update copyright years. 2020-01-01 12:51:42 +01:00
cstamp-h.in
data-streamer-in.c Update copyright years. 2020-01-01 12:51:42 +01:00
data-streamer-out.c Update copyright years. 2020-01-01 12:51:42 +01:00
data-streamer.c Update copyright years. 2020-01-01 12:51:42 +01:00
data-streamer.h Update copyright years. 2020-01-01 12:51:42 +01:00
DATESTAMP Daily bump. 2020-01-03 00:16:32 +00:00
dbgcnt.c Update copyright years. 2020-01-01 12:51:42 +01:00
dbgcnt.def Update copyright years. 2020-01-01 12:51:42 +01:00
dbgcnt.h Update copyright years. 2020-01-01 12:51:42 +01:00
dbxout.c Update copyright years. 2020-01-01 12:51:42 +01:00
dbxout.h Update copyright years. 2020-01-01 12:51:42 +01:00
dce.c Update copyright years. 2020-01-01 12:51:42 +01:00
dce.h Update copyright years. 2020-01-01 12:51:42 +01:00
ddg.c Update copyright years. 2020-01-01 12:51:42 +01:00
ddg.h Update copyright years. 2020-01-01 12:51:42 +01:00
debug.c Update copyright years. 2020-01-01 12:51:42 +01:00
debug.h Update copyright years. 2020-01-01 12:51:42 +01:00
defaults.h Update copyright years. 2020-01-01 12:51:42 +01:00
DEV-PHASE
df-core.c Update copyright years. 2020-01-01 12:51:42 +01:00
df-problems.c Update copyright years. 2020-01-01 12:51:42 +01:00
df-scan.c Update copyright years. 2020-01-01 12:51:42 +01:00
df.h Update copyright years. 2020-01-01 12:51:42 +01:00
dfp.c Update copyright years. 2020-01-01 12:51:42 +01:00
dfp.h Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic-color.c Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic-color.h Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic-core.h Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic-format-json.cc Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic-metadata.h Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic-show-locus.c Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic-url.h Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic.c Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic.def Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic.h Update copyright years. 2020-01-01 12:51:42 +01:00
dojump.c Update copyright years. 2020-01-01 12:51:42 +01:00
dojump.h Update copyright years. 2020-01-01 12:51:42 +01:00
dominance.c Update copyright years. 2020-01-01 12:51:42 +01:00
dominance.h Update copyright years. 2020-01-01 12:51:42 +01:00
domwalk.c Update copyright years. 2020-01-01 12:51:42 +01:00
domwalk.h Update copyright years. 2020-01-01 12:51:42 +01:00
double-int.c Update copyright years. 2020-01-01 12:51:42 +01:00
double-int.h Update copyright years. 2020-01-01 12:51:42 +01:00
dse.c Update copyright years. 2020-01-01 12:51:42 +01:00
dump-context.h Update copyright years. 2020-01-01 12:51:42 +01:00
dumpfile.c Update copyright years. 2020-01-01 12:51:42 +01:00
dumpfile.h Update copyright years. 2020-01-01 12:51:42 +01:00
dwarf2asm.c Update copyright years. 2020-01-01 12:51:42 +01:00
dwarf2asm.h Update copyright years. 2020-01-01 12:51:42 +01:00
dwarf2cfi.c Update copyright years. 2020-01-01 12:51:42 +01:00
dwarf2out.c Update copyright years. 2020-01-01 12:51:42 +01:00
dwarf2out.h Update copyright years. 2020-01-01 12:51:42 +01:00
early-remat.c Update copyright years. 2020-01-01 12:51:42 +01:00
edit-context.c Update copyright years. 2020-01-01 12:51:42 +01:00
edit-context.h Update copyright years. 2020-01-01 12:51:42 +01:00
emit-rtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
emit-rtl.h Update copyright years. 2020-01-01 12:51:42 +01:00
errors.c Update copyright years. 2020-01-01 12:51:42 +01:00
errors.h Update copyright years. 2020-01-01 12:51:42 +01:00
escaped_string.h Update copyright years. 2020-01-01 12:51:42 +01:00
et-forest.c Update copyright years. 2020-01-01 12:51:42 +01:00
et-forest.h Update copyright years. 2020-01-01 12:51:42 +01:00
except.c Update copyright years. 2020-01-01 12:51:42 +01:00
except.h Update copyright years. 2020-01-01 12:51:42 +01:00
exec-tool.in Update copyright years. 2020-01-01 12:51:42 +01:00
explow.c Update copyright years. 2020-01-01 12:51:42 +01:00
explow.h Update copyright years. 2020-01-01 12:51:42 +01:00
expmed.c Update copyright years. 2020-01-01 12:51:42 +01:00
expmed.h Update copyright years. 2020-01-01 12:51:42 +01:00
expr.c Update copyright years. 2020-01-01 12:51:42 +01:00
expr.h Update copyright years. 2020-01-01 12:51:42 +01:00
fibonacci_heap.c Update copyright years. 2020-01-01 12:51:42 +01:00
fibonacci_heap.h Update copyright years. 2020-01-01 12:51:42 +01:00
file-find.c Update copyright years. 2020-01-01 12:51:42 +01:00
file-find.h Update copyright years. 2020-01-01 12:51:42 +01:00
file-prefix-map.c Update copyright years. 2020-01-01 12:51:42 +01:00
file-prefix-map.h Update copyright years. 2020-01-01 12:51:42 +01:00
final.c Update copyright years. 2020-01-01 12:51:42 +01:00
fixed-value.c Update copyright years. 2020-01-01 12:51:42 +01:00
fixed-value.h Update copyright years. 2020-01-01 12:51:42 +01:00
flag-types.h Update copyright years. 2020-01-01 12:51:42 +01:00
flags.h Update copyright years. 2020-01-01 12:51:42 +01:00
fold-const-call.c Update copyright years. 2020-01-01 12:51:42 +01:00
fold-const-call.h Update copyright years. 2020-01-01 12:51:42 +01:00
fold-const.c Update copyright years. 2020-01-01 12:51:42 +01:00
fold-const.h Update copyright years. 2020-01-01 12:51:42 +01:00
fp-test.c Update copyright years. 2020-01-01 12:51:42 +01:00
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function-abi.cc Update copyright years. 2020-01-01 12:51:42 +01:00
function-abi.h Update copyright years. 2020-01-01 12:51:42 +01:00
function-tests.c Update copyright years. 2020-01-01 12:51:42 +01:00
function.c Update copyright years. 2020-01-01 12:51:42 +01:00
function.h Update copyright years. 2020-01-01 12:51:42 +01:00
fwprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-ar.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-main.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-plugin.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-rich-location.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-rich-location.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-symtab.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcc.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcc.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-counter.def Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-dump.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-io.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-io.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-iov.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-tool.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcov.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcse-common.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcse-common.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcse.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcse.h Update copyright years. 2020-01-01 12:51:42 +01:00
gdbasan.in
gdbhooks.py Update copyright years. 2020-01-01 12:51:42 +01:00
gdbinit.in Update copyright years. 2020-01-01 12:51:42 +01:00
gen-pass-instances.awk Update copyright years. 2020-01-01 12:51:42 +01:00
genattr-common.c Update copyright years. 2020-01-01 12:51:42 +01:00
genattr.c Update copyright years. 2020-01-01 12:51:42 +01:00
genattrtab.c Update copyright years. 2020-01-01 12:51:42 +01:00
genautomata.c Update copyright years. 2020-01-01 12:51:42 +01:00
gencfn-macros.c Update copyright years. 2020-01-01 12:51:42 +01:00
gencheck.c Update copyright years. 2020-01-01 12:51:42 +01:00
genchecksum.c Update copyright years. 2020-01-01 12:51:42 +01:00
gencodes.c Update copyright years. 2020-01-01 12:51:42 +01:00
genconditions.c Update copyright years. 2020-01-01 12:51:42 +01:00
genconfig.c Update copyright years. 2020-01-01 12:51:42 +01:00
genconstants.c Update copyright years. 2020-01-01 12:51:42 +01:00
genemit.c Update copyright years. 2020-01-01 12:51:42 +01:00
genenums.c Update copyright years. 2020-01-01 12:51:42 +01:00
generic-match-head.c Update copyright years. 2020-01-01 12:51:42 +01:00
generic-match.h Update copyright years. 2020-01-01 12:51:42 +01:00
genextract.c Update copyright years. 2020-01-01 12:51:42 +01:00
genflags.c Update copyright years. 2020-01-01 12:51:42 +01:00
gengenrtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
gengtype-lex.l Update copyright years. 2020-01-01 12:51:42 +01:00
gengtype-parse.c Update copyright years. 2020-01-01 12:51:42 +01:00
gengtype-state.c Update copyright years. 2020-01-01 12:51:42 +01:00
gengtype.c Update copyright years. 2020-01-01 12:51:42 +01:00
gengtype.h Update copyright years. 2020-01-01 12:51:42 +01:00
genhooks.c Update copyright years. 2020-01-01 12:51:42 +01:00
genmatch.c Update copyright years. 2020-01-01 12:51:42 +01:00
genmddeps.c Update copyright years. 2020-01-01 12:51:42 +01:00
genmddump.c Update copyright years. 2020-01-01 12:51:42 +01:00
genmodes.c Update copyright years. 2020-01-01 12:51:42 +01:00
genmultilib Update copyright years. 2020-01-01 12:51:42 +01:00
genopinit.c Update copyright years. 2020-01-01 12:51:42 +01:00
genoutput.c Update copyright years. 2020-01-01 12:51:42 +01:00
genpeep.c Update copyright years. 2020-01-01 12:51:42 +01:00
genpreds.c Update copyright years. 2020-01-01 12:51:42 +01:00
genrecog.c Update copyright years. 2020-01-01 12:51:42 +01:00
gensupport.c Update copyright years. 2020-01-01 12:51:42 +01:00
gensupport.h Update copyright years. 2020-01-01 12:51:42 +01:00
gentarget-def.c Update copyright years. 2020-01-01 12:51:42 +01:00
ggc-common.c Update copyright years. 2020-01-01 12:51:42 +01:00
ggc-internal.h Update copyright years. 2020-01-01 12:51:42 +01:00
ggc-none.c Update copyright years. 2020-01-01 12:51:42 +01:00
ggc-page.c Update copyright years. 2020-01-01 12:51:42 +01:00
ggc-tests.c Update copyright years. 2020-01-01 12:51:42 +01:00
ggc.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-builder.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-builder.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-expr.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-expr.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-fold.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-fold.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-iterator.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-iterator.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-laddress.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-loop-interchange.cc Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-loop-jam.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-loop-versioning.cc Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-low.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-low.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-match-head.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-match.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-predict.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-pretty-print.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-pretty-print.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-backprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-evrp-analyze.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-evrp-analyze.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-evrp.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-isolate-paths.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-nonnull-compare.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-split-paths.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-sprintf.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-store-merging.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-strength-reduction.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-warn-alloca.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-warn-restrict.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-warn-restrict.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-streamer-in.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-streamer-out.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-streamer.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-walk.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-walk.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple.def Update copyright years. 2020-01-01 12:51:42 +01:00
gimple.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimplify-me.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimplify-me.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimplify.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimplify.h Update copyright years. 2020-01-01 12:51:42 +01:00
glimits.h Update copyright years. 2020-01-01 12:51:42 +01:00
godump.c Update copyright years. 2020-01-01 12:51:42 +01:00
graph.c Update copyright years. 2020-01-01 12:51:42 +01:00
graph.h Update copyright years. 2020-01-01 12:51:42 +01:00
graphds.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphds.h Update copyright years. 2020-01-01 12:51:42 +01:00
graphite-dependences.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphite-isl-ast-to-gimple.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphite-optimize-isl.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphite-poly.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphite-scop-detection.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphite-sese-to-poly.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphite.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphite.h Update copyright years. 2020-01-01 12:51:42 +01:00
gsstruct.def Update copyright years. 2020-01-01 12:51:42 +01:00
gstab.h Update copyright years. 2020-01-01 12:51:42 +01:00
gsyms.h Update copyright years. 2020-01-01 12:51:42 +01:00
gsyslimits.h
gtm-builtins.def
haifa-sched.c Update copyright years. 2020-01-01 12:51:42 +01:00
hard-reg-set.h Update copyright years. 2020-01-01 12:51:42 +01:00
hash-map-tests.c Update copyright years. 2020-01-01 12:51:42 +01:00
hash-map-traits.h Update copyright years. 2020-01-01 12:51:42 +01:00
hash-map.h Update copyright years. 2020-01-01 12:51:42 +01:00
hash-set-tests.c Update copyright years. 2020-01-01 12:51:42 +01:00
hash-set.h Update copyright years. 2020-01-01 12:51:42 +01:00
hash-table.c Update copyright years. 2020-01-01 12:51:42 +01:00
hash-table.h Update copyright years. 2020-01-01 12:51:42 +01:00
hash-traits.h Update copyright years. 2020-01-01 12:51:42 +01:00
highlev-plugin-common.h Update copyright years. 2020-01-01 12:51:42 +01:00
hooks.c Update copyright years. 2020-01-01 12:51:42 +01:00
hooks.h Update copyright years. 2020-01-01 12:51:42 +01:00
host-default.c Update copyright years. 2020-01-01 12:51:42 +01:00
hosthooks-def.h Update copyright years. 2020-01-01 12:51:42 +01:00
hosthooks.h Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-brig-format.h Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-brig.c Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-builtins.def Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-common.c Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-common.h Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-dump.c Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-gen.c Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-regalloc.c Update copyright years. 2020-01-01 12:51:42 +01:00
hw-doloop.c Update copyright years. 2020-01-01 12:51:42 +01:00
hw-doloop.h Update copyright years. 2020-01-01 12:51:42 +01:00
hwint.c Update copyright years. 2020-01-01 12:51:42 +01:00
hwint.h Update copyright years. 2020-01-01 12:51:42 +01:00
ifcvt.c Update copyright years. 2020-01-01 12:51:42 +01:00
ifcvt.h Update copyright years. 2020-01-01 12:51:42 +01:00
inchash.c Update copyright years. 2020-01-01 12:51:42 +01:00
inchash.h Update copyright years. 2020-01-01 12:51:42 +01:00
incpath.c Update copyright years. 2020-01-01 12:51:42 +01:00
incpath.h Update copyright years. 2020-01-01 12:51:42 +01:00
init-regs.c Update copyright years. 2020-01-01 12:51:42 +01:00
input.c Update copyright years. 2020-01-01 12:51:42 +01:00
input.h Update copyright years. 2020-01-01 12:51:42 +01:00
insn-addr.h Update copyright years. 2020-01-01 12:51:42 +01:00
insn-notes.def Update copyright years. 2020-01-01 12:51:42 +01:00
int-vector-builder.h Update copyright years. 2020-01-01 12:51:42 +01:00
internal-fn.c Update copyright years. 2020-01-01 12:51:42 +01:00
internal-fn.def Update copyright years. 2020-01-01 12:51:42 +01:00
internal-fn.h Update copyright years. 2020-01-01 12:51:42 +01:00
intl.c Update copyright years. 2020-01-01 12:51:42 +01:00
intl.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-comdats.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-cp.c Avoid segfault when dumping IPA-CP lattices for unoptimized functions (PR 92917) 2020-01-03 14:52:38 +01:00
ipa-devirt.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-fnsummary.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-fnsummary.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-hsa.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-icf-gimple.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-icf-gimple.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-icf.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-icf.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-inline-analysis.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-inline-transform.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-inline.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-inline.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-param-manipulation.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-param-manipulation.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-polymorphic-call.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-predicate.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-predicate.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-profile.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-prop.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-prop.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-pure-const.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-ref.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-ref.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-reference.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-reference.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-split.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-sra.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-utils.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-utils.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-visibility.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa.c Update copyright years. 2020-01-01 12:51:42 +01:00
ira-build.c Update copyright years. 2020-01-01 12:51:42 +01:00
ira-color.c Update copyright years. 2020-01-01 12:51:42 +01:00
ira-conflicts.c Update copyright years. 2020-01-01 12:51:42 +01:00
ira-costs.c Update copyright years. 2020-01-01 12:51:42 +01:00
ira-emit.c Update copyright years. 2020-01-01 12:51:42 +01:00
ira-int.h Update copyright years. 2020-01-01 12:51:42 +01:00
ira-lives.c Update copyright years. 2020-01-01 12:51:42 +01:00
ira.c Update copyright years. 2020-01-01 12:51:42 +01:00
ira.h Update copyright years. 2020-01-01 12:51:42 +01:00
is-a.h Update copyright years. 2020-01-01 12:51:42 +01:00
json.cc Update copyright years. 2020-01-01 12:51:42 +01:00
json.h Update copyright years. 2020-01-01 12:51:42 +01:00
jump.c Update copyright years. 2020-01-01 12:51:42 +01:00
langhooks-def.h Update copyright years. 2020-01-01 12:51:42 +01:00
langhooks.c Update copyright years. 2020-01-01 12:51:42 +01:00
langhooks.h Update copyright years. 2020-01-01 12:51:42 +01:00
LANGUAGES Update copyright years. 2020-01-01 12:51:42 +01:00
lcm.c Update copyright years. 2020-01-01 12:51:42 +01:00
lcm.h Update copyright years. 2020-01-01 12:51:42 +01:00
libfuncs.h Update copyright years. 2020-01-01 12:51:42 +01:00
limitx.h Update copyright years. 2020-01-01 12:51:42 +01:00
limity.h
lists.c Update copyright years. 2020-01-01 12:51:42 +01:00
lock-and-run.sh
loop-doloop.c Update copyright years. 2020-01-01 12:51:42 +01:00
loop-init.c Update copyright years. 2020-01-01 12:51:42 +01:00
loop-invariant.c Update copyright years. 2020-01-01 12:51:42 +01:00
loop-iv.c re PR rtl-optimization/93088 (Compile time hog on gcc/testsuite/gcc.target/i386/pr56348.c w/ -O3 -funroll-loops -fno-tree-dominator-opts -fno-tree-vrp) 2020-01-03 10:10:13 +01:00
loop-unroll.c Update copyright years. 2020-01-01 12:51:42 +01:00
loop-unroll.h Update copyright years. 2020-01-01 12:51:42 +01:00
lower-subreg.c Update copyright years. 2020-01-01 12:51:42 +01:00
lower-subreg.h Update copyright years. 2020-01-01 12:51:42 +01:00
lra-assigns.c Update copyright years. 2020-01-01 12:51:42 +01:00
lra-coalesce.c Update copyright years. 2020-01-01 12:51:42 +01:00
lra-constraints.c Update copyright years. 2020-01-01 12:51:42 +01:00
lra-eliminations.c Update copyright years. 2020-01-01 12:51:42 +01:00
lra-int.h Update copyright years. 2020-01-01 12:51:42 +01:00
lra-lives.c Update copyright years. 2020-01-01 12:51:42 +01:00
lra-remat.c Update copyright years. 2020-01-01 12:51:42 +01:00
lra-spills.c Update copyright years. 2020-01-01 12:51:42 +01:00
lra.c Update copyright years. 2020-01-01 12:51:42 +01:00
lra.h Update copyright years. 2020-01-01 12:51:42 +01:00
lto-cgraph.c Update copyright years. 2020-01-01 12:51:42 +01:00
lto-compress.c Update copyright years. 2020-01-01 12:51:42 +01:00
lto-compress.h Update copyright years. 2020-01-01 12:51:42 +01:00
lto-opts.c Update copyright years. 2020-01-01 12:51:42 +01:00
lto-section-in.c Update copyright years. 2020-01-01 12:51:42 +01:00
lto-section-names.h Update copyright years. 2020-01-01 12:51:42 +01:00
lto-section-out.c Update copyright years. 2020-01-01 12:51:42 +01:00
lto-streamer-in.c Update copyright years. 2020-01-01 12:51:42 +01:00
lto-streamer-out.c Update copyright years. 2020-01-01 12:51:42 +01:00
lto-streamer.c Update copyright years. 2020-01-01 12:51:42 +01:00
lto-streamer.h Update copyright years. 2020-01-01 12:51:42 +01:00
lto-wrapper.c Update copyright years. 2020-01-01 12:51:42 +01:00
machmode.def Update copyright years. 2020-01-01 12:51:42 +01:00
machmode.h Update copyright years. 2020-01-01 12:51:42 +01:00
main.c Update copyright years. 2020-01-01 12:51:42 +01:00
Makefile.in Update copyright years. 2020-01-01 12:51:42 +01:00
match.pd Update copyright years. 2020-01-01 12:51:42 +01:00
mcf.c Update copyright years. 2020-01-01 12:51:42 +01:00
mem-stats-traits.h Update copyright years. 2020-01-01 12:51:42 +01:00
mem-stats.h Update copyright years. 2020-01-01 12:51:42 +01:00
memmodel.h Update copyright years. 2020-01-01 12:51:42 +01:00
memory-block.cc Update copyright years. 2020-01-01 12:51:42 +01:00
memory-block.h Update copyright years. 2020-01-01 12:51:42 +01:00
mkconfig.sh Update copyright years. 2020-01-01 12:51:42 +01:00
mode-classes.def Update copyright years. 2020-01-01 12:51:42 +01:00
mode-switching.c Update copyright years. 2020-01-01 12:51:42 +01:00
modulo-sched.c Update copyright years. 2020-01-01 12:51:42 +01:00
multiple_target.c Update copyright years. 2020-01-01 12:51:42 +01:00
omp-builtins.def Update copyright years. 2020-01-01 12:51:42 +01:00
omp-expand.c Update copyright years. 2020-01-01 12:51:42 +01:00
omp-expand.h Update copyright years. 2020-01-01 12:51:42 +01:00
omp-general.c Update copyright years. 2020-01-01 12:51:42 +01:00
omp-general.h Update copyright years. 2020-01-01 12:51:42 +01:00
omp-grid.c Update copyright years. 2020-01-01 12:51:42 +01:00
omp-grid.h Update copyright years. 2020-01-01 12:51:42 +01:00
omp-low.c Update copyright years. 2020-01-01 12:51:42 +01:00
omp-low.h Update copyright years. 2020-01-01 12:51:42 +01:00
omp-offload.c Update copyright years. 2020-01-01 12:51:42 +01:00
omp-offload.h Update copyright years. 2020-01-01 12:51:42 +01:00
omp-simd-clone.c Update copyright years. 2020-01-01 12:51:42 +01:00
omp-simd-clone.h Update copyright years. 2020-01-01 12:51:42 +01:00
ONEWS
opt-functions.awk Update copyright years. 2020-01-01 12:51:42 +01:00
opt-gather.awk Update copyright years. 2020-01-01 12:51:42 +01:00
opt-include.awk Update copyright years. 2020-01-01 12:51:42 +01:00
opt-problem.cc Update copyright years. 2020-01-01 12:51:42 +01:00
opt-problem.h Update copyright years. 2020-01-01 12:51:42 +01:00
opt-read.awk Update copyright years. 2020-01-01 12:51:42 +01:00
opt-suggestions.c Update copyright years. 2020-01-01 12:51:42 +01:00
opt-suggestions.h Update copyright years. 2020-01-01 12:51:42 +01:00
optabs-libfuncs.c Update copyright years. 2020-01-01 12:51:42 +01:00
optabs-libfuncs.h Update copyright years. 2020-01-01 12:51:42 +01:00
optabs-query.c Update copyright years. 2020-01-01 12:51:42 +01:00
optabs-query.h Update copyright years. 2020-01-01 12:51:42 +01:00
optabs-tree.c Update copyright years. 2020-01-01 12:51:42 +01:00
optabs-tree.h Update copyright years. 2020-01-01 12:51:42 +01:00
optabs.c Update copyright years. 2020-01-01 12:51:42 +01:00
optabs.def Update copyright years. 2020-01-01 12:51:42 +01:00
optabs.h Update copyright years. 2020-01-01 12:51:42 +01:00
optc-gen.awk Update copyright years. 2020-01-01 12:51:42 +01:00
optc-save-gen.awk Update copyright years. 2020-01-01 12:51:42 +01:00
opth-gen.awk Update copyright years. 2020-01-01 12:51:42 +01:00
optinfo-emit-json.cc Update copyright years. 2020-01-01 12:51:42 +01:00
optinfo-emit-json.h Update copyright years. 2020-01-01 12:51:42 +01:00
optinfo.cc Update copyright years. 2020-01-01 12:51:42 +01:00
optinfo.h Update copyright years. 2020-01-01 12:51:42 +01:00
opts-common.c Update copyright years. 2020-01-01 12:51:42 +01:00
opts-diagnostic.h Update copyright years. 2020-01-01 12:51:42 +01:00
opts-global.c Update copyright years. 2020-01-01 12:51:42 +01:00
opts.c Update copyright years. 2020-01-01 12:51:42 +01:00
opts.h Update copyright years. 2020-01-01 12:51:42 +01:00
output.h Update copyright years. 2020-01-01 12:51:42 +01:00
params.opt Update copyright years. 2020-01-01 12:51:42 +01:00
pass_manager.h Update copyright years. 2020-01-01 12:51:42 +01:00
passes.c Update copyright years. 2020-01-01 12:51:42 +01:00
passes.def Update copyright years. 2020-01-01 12:51:42 +01:00
plugin.c Update copyright years. 2020-01-01 12:51:42 +01:00
plugin.def Update copyright years. 2020-01-01 12:51:42 +01:00
plugin.h Update copyright years. 2020-01-01 12:51:42 +01:00
poly-int-types.h Update copyright years. 2020-01-01 12:51:42 +01:00
poly-int.h Update copyright years. 2020-01-01 12:51:42 +01:00
postreload-gcse.c Update copyright years. 2020-01-01 12:51:42 +01:00
postreload.c Update copyright years. 2020-01-01 12:51:42 +01:00
predict.c re PR ipa/93087 (Bogus -Wsuggest-attribute=cold on function already marked as __attribute__((cold))) 2020-01-02 10:15:00 +01:00
predict.def Update copyright years. 2020-01-01 12:51:42 +01:00
predict.h Update copyright years. 2020-01-01 12:51:42 +01:00
prefix.c Update copyright years. 2020-01-01 12:51:42 +01:00
prefix.h Update copyright years. 2020-01-01 12:51:42 +01:00
pretty-print.c Update copyright years. 2020-01-01 12:51:42 +01:00
pretty-print.h Update copyright years. 2020-01-01 12:51:42 +01:00
print-rtl-function.c Update copyright years. 2020-01-01 12:51:42 +01:00
print-rtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
print-rtl.h Update copyright years. 2020-01-01 12:51:42 +01:00
print-tree.c Update copyright years. 2020-01-01 12:51:42 +01:00
print-tree.h Update copyright years. 2020-01-01 12:51:42 +01:00
profile-count.c Update copyright years. 2020-01-01 12:51:42 +01:00
profile-count.h Update copyright years. 2020-01-01 12:51:42 +01:00
profile.c Update copyright years. 2020-01-01 12:51:42 +01:00
profile.h Update copyright years. 2020-01-01 12:51:42 +01:00
range-op.cc Update copyright years. 2020-01-01 12:51:42 +01:00
range-op.h Update copyright years. 2020-01-01 12:51:42 +01:00
range.cc Update copyright years. 2020-01-01 12:51:42 +01:00
range.h Update copyright years. 2020-01-01 12:51:42 +01:00
read-md.c Update copyright years. 2020-01-01 12:51:42 +01:00
read-md.h Update copyright years. 2020-01-01 12:51:42 +01:00
read-rtl-function.c Update copyright years. 2020-01-01 12:51:42 +01:00
read-rtl-function.h Update copyright years. 2020-01-01 12:51:42 +01:00
read-rtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
README.Portability Update copyright years. 2020-01-01 12:51:42 +01:00
real.c Update copyright years. 2020-01-01 12:51:42 +01:00
real.h Update copyright years. 2020-01-01 12:51:42 +01:00
realmpfr.c Update copyright years. 2020-01-01 12:51:42 +01:00
realmpfr.h Update copyright years. 2020-01-01 12:51:42 +01:00
recog.c Update copyright years. 2020-01-01 12:51:42 +01:00
recog.h Update copyright years. 2020-01-01 12:51:42 +01:00
ree.c Update copyright years. 2020-01-01 12:51:42 +01:00
reg-notes.def Update copyright years. 2020-01-01 12:51:42 +01:00
reg-stack.c Update copyright years. 2020-01-01 12:51:42 +01:00
regcprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
regcprop.h Update copyright years. 2020-01-01 12:51:42 +01:00
reginfo.c Update copyright years. 2020-01-01 12:51:42 +01:00
regrename.c Update copyright years. 2020-01-01 12:51:42 +01:00
regrename.h Update copyright years. 2020-01-01 12:51:42 +01:00
regs.h Update copyright years. 2020-01-01 12:51:42 +01:00
regset.h Update copyright years. 2020-01-01 12:51:42 +01:00
regstat.c Update copyright years. 2020-01-01 12:51:42 +01:00
reload1.c Update copyright years. 2020-01-01 12:51:42 +01:00
reload.c Update copyright years. 2020-01-01 12:51:42 +01:00
reload.h Update copyright years. 2020-01-01 12:51:42 +01:00
reorg.c Update copyright years. 2020-01-01 12:51:42 +01:00
resource.c Update copyright years. 2020-01-01 12:51:42 +01:00
resource.h Update copyright years. 2020-01-01 12:51:42 +01:00
rtl-error.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtl-error.h Update copyright years. 2020-01-01 12:51:42 +01:00
rtl-iter.h Update copyright years. 2020-01-01 12:51:42 +01:00
rtl-tests.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtl.def Update copyright years. 2020-01-01 12:51:42 +01:00
rtl.h Update copyright years. 2020-01-01 12:51:42 +01:00
rtlanal.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtlhash.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtlhash.h Update copyright years. 2020-01-01 12:51:42 +01:00
rtlhooks-def.h Update copyright years. 2020-01-01 12:51:42 +01:00
rtlhooks.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtx-vector-builder.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtx-vector-builder.h Update copyright years. 2020-01-01 12:51:42 +01:00
run-rtl-passes.c Update copyright years. 2020-01-01 12:51:42 +01:00
run-rtl-passes.h Update copyright years. 2020-01-01 12:51:42 +01:00
sancov.c Update copyright years. 2020-01-01 12:51:42 +01:00
sanitizer.def Update copyright years. 2020-01-01 12:51:42 +01:00
sanopt.c Update copyright years. 2020-01-01 12:51:42 +01:00
sbitmap.c Update copyright years. 2020-01-01 12:51:42 +01:00
sbitmap.h Update copyright years. 2020-01-01 12:51:42 +01:00
sched-deps.c Update copyright years. 2020-01-01 12:51:42 +01:00
sched-ebb.c Update copyright years. 2020-01-01 12:51:42 +01:00
sched-int.h Update copyright years. 2020-01-01 12:51:42 +01:00
sched-rgn.c Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched-dump.c Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched-dump.h Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched-ir.c Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched-ir.h Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched.c Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched.h Update copyright years. 2020-01-01 12:51:42 +01:00
selftest-diagnostic.c Update copyright years. 2020-01-01 12:51:42 +01:00
selftest-diagnostic.h Update copyright years. 2020-01-01 12:51:42 +01:00
selftest-rtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
selftest-rtl.h Update copyright years. 2020-01-01 12:51:42 +01:00
selftest-run-tests.c Update copyright years. 2020-01-01 12:51:42 +01:00
selftest.c Update copyright years. 2020-01-01 12:51:42 +01:00
selftest.h Update copyright years. 2020-01-01 12:51:42 +01:00
sese.c Update copyright years. 2020-01-01 12:51:42 +01:00
sese.h Update copyright years. 2020-01-01 12:51:42 +01:00
shrink-wrap.c Update copyright years. 2020-01-01 12:51:42 +01:00
shrink-wrap.h Update copyright years. 2020-01-01 12:51:42 +01:00
signop.h Update copyright years. 2020-01-01 12:51:42 +01:00
simplify-rtx.c Update copyright years. 2020-01-01 12:51:42 +01:00
sort.cc Update copyright years. 2020-01-01 12:51:42 +01:00
sparseset.c Update copyright years. 2020-01-01 12:51:42 +01:00
sparseset.h Update copyright years. 2020-01-01 12:51:42 +01:00
spellcheck-tree.c Update copyright years. 2020-01-01 12:51:42 +01:00
spellcheck-tree.h Update copyright years. 2020-01-01 12:51:42 +01:00
spellcheck.c Update copyright years. 2020-01-01 12:51:42 +01:00
spellcheck.h Update copyright years. 2020-01-01 12:51:42 +01:00
sreal.c Update copyright years. 2020-01-01 12:51:42 +01:00
sreal.h Update copyright years. 2020-01-01 12:51:42 +01:00
ssa-iterators.h Update copyright years. 2020-01-01 12:51:42 +01:00
ssa.h Update copyright years. 2020-01-01 12:51:42 +01:00
stab.def Update copyright years. 2020-01-01 12:51:42 +01:00
stack-ptr-mod.c Update copyright years. 2020-01-01 12:51:42 +01:00
statistics.c Update copyright years. 2020-01-01 12:51:42 +01:00
statistics.h Update copyright years. 2020-01-01 12:51:42 +01:00
stmt.c Update copyright years. 2020-01-01 12:51:42 +01:00
stmt.h Update copyright years. 2020-01-01 12:51:42 +01:00
stor-layout.c Update copyright years. 2020-01-01 12:51:42 +01:00
stor-layout.h Update copyright years. 2020-01-01 12:51:42 +01:00
store-motion.c Update copyright years. 2020-01-01 12:51:42 +01:00
streamer-hooks.c Update copyright years. 2020-01-01 12:51:42 +01:00
streamer-hooks.h Update copyright years. 2020-01-01 12:51:42 +01:00
stringpool.c Update copyright years. 2020-01-01 12:51:42 +01:00
stringpool.h Update copyright years. 2020-01-01 12:51:42 +01:00
substring-locations.c Update copyright years. 2020-01-01 12:51:42 +01:00
substring-locations.h Update copyright years. 2020-01-01 12:51:42 +01:00
symbol-summary.h Update copyright years. 2020-01-01 12:51:42 +01:00
symtab.c Update copyright years. 2020-01-01 12:51:42 +01:00
sync-builtins.def Update copyright years. 2020-01-01 12:51:42 +01:00
system.h Update copyright years. 2020-01-01 12:51:42 +01:00
target-def.h Update copyright years. 2020-01-01 12:51:42 +01:00
target-globals.c Update copyright years. 2020-01-01 12:51:42 +01:00
target-globals.h Update copyright years. 2020-01-01 12:51:42 +01:00
target-hooks-macros.h Update copyright years. 2020-01-01 12:51:42 +01:00
target-insns.def Update copyright years. 2020-01-01 12:51:42 +01:00
target.def Update copyright years. 2020-01-01 12:51:42 +01:00
target.h Update copyright years. 2020-01-01 12:51:42 +01:00
targhooks.c Update copyright years. 2020-01-01 12:51:42 +01:00
targhooks.h Update copyright years. 2020-01-01 12:51:42 +01:00
timevar.c Update copyright years. 2020-01-01 12:51:42 +01:00
timevar.def Update copyright years. 2020-01-01 12:51:42 +01:00
timevar.h Update copyright years. 2020-01-01 12:51:42 +01:00
toplev.c Update copyright years. 2020-01-01 12:51:42 +01:00
toplev.h Update copyright years. 2020-01-01 12:51:42 +01:00
tracer.c Update copyright years. 2020-01-01 12:51:42 +01:00
tracer.h Update copyright years. 2020-01-01 12:51:42 +01:00
trans-mem.c Update copyright years. 2020-01-01 12:51:42 +01:00
trans-mem.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-affine.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-affine.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-call-cdce.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-cfg.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-cfg.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-cfgcleanup.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-cfgcleanup.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-chrec.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-chrec.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-complex.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-core.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-data-ref.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-data-ref.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-dfa.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-dfa.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-diagnostic.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-diagnostic.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-dump.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-dump.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-eh.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-eh.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-emutls.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-hash-traits.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-hasher.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-if-conv.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-if-conv.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-inline.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-inline.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-into-ssa.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-into-ssa.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-iterator.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-iterator.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-loop-distribution.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-nested.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-nested.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-nrv.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-object-size.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-object-size.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-outof-ssa.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-outof-ssa.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-parloops.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-parloops.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-pass.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-phinodes.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-phinodes.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-predcom.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-pretty-print.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-pretty-print.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-profile.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-scalar-evolution.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-scalar-evolution.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-sra.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-sra.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-address.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-address.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-alias.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-alias.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-ccp.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-ccp.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-coalesce.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-coalesce.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-copy.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-dce.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-dce.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-dom.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-dom.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-dse.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-dse.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-forwprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-ifcombine.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-live.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-live.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-ch.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-im.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-ivcanon.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-ivopts.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-ivopts.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-manip.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-manip.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-niter.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-niter.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-prefetch.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-split.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-unswitch.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-math-opts.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-operands.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-operands.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-phiopt.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-phiprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-pre.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-propagate.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-propagate.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-reassoc.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-sccvn.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-sccvn.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-scopedtables.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-scopedtables.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-sink.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-strlen.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-strlen.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-structalias.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-tail-merge.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-ter.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-ter.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-threadbackward.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-threadedge.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-threadedge.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-threadupdate.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-threadupdate.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-uncprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-uninit.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssanames.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssanames.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-stdarg.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-stdarg.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-streamer-in.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-streamer-out.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-streamer.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-streamer.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-switch-conversion.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-switch-conversion.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-tailcall.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vect-data-refs.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vect-generic.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vect-loop-manip.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vect-loop.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vect-patterns.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vect-slp.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vect-stmts.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vector-builder.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vector-builder.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vectorizer.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vectorizer.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vrp.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vrp.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree.def Update copyright years. 2020-01-01 12:51:42 +01:00
tree.h Update copyright years. 2020-01-01 12:51:42 +01:00
treestruct.def Update copyright years. 2020-01-01 12:51:42 +01:00
tsan.c Update copyright years. 2020-01-01 12:51:42 +01:00
tsan.h Update copyright years. 2020-01-01 12:51:42 +01:00
tsystem.h Update copyright years. 2020-01-01 12:51:42 +01:00
typeclass.h Update copyright years. 2020-01-01 12:51:42 +01:00
typed-splay-tree.c Update copyright years. 2020-01-01 12:51:42 +01:00
typed-splay-tree.h Update copyright years. 2020-01-01 12:51:42 +01:00
ubsan.c Update copyright years. 2020-01-01 12:51:42 +01:00
ubsan.h Update copyright years. 2020-01-01 12:51:42 +01:00
unique-ptr-tests.cc Update copyright years. 2020-01-01 12:51:42 +01:00
valtrack.c Update copyright years. 2020-01-01 12:51:42 +01:00
valtrack.h Update copyright years. 2020-01-01 12:51:42 +01:00
value-prof.c Update copyright years. 2020-01-01 12:51:42 +01:00
value-prof.h Update copyright years. 2020-01-01 12:51:42 +01:00
value-range.cc Update copyright years. 2020-01-01 12:51:42 +01:00
value-range.h Update copyright years. 2020-01-01 12:51:42 +01:00
var-tracking.c Update copyright years. 2020-01-01 12:51:42 +01:00
varasm.c Update copyright years. 2020-01-01 12:51:42 +01:00
varasm.h Update copyright years. 2020-01-01 12:51:42 +01:00
varpool.c Update copyright years. 2020-01-01 12:51:42 +01:00
vec-perm-indices.c Update copyright years. 2020-01-01 12:51:42 +01:00
vec-perm-indices.h Update copyright years. 2020-01-01 12:51:42 +01:00
vec.c Update copyright years. 2020-01-01 12:51:42 +01:00
vec.h Update copyright years. 2020-01-01 12:51:42 +01:00
vector-builder.h Update copyright years. 2020-01-01 12:51:42 +01:00
version.c Update copyright years. 2020-01-01 12:51:42 +01:00
version.h
vmsdbg.h Update copyright years. 2020-01-01 12:51:42 +01:00
vmsdbgout.c Update copyright years. 2020-01-01 12:51:42 +01:00
vr-values.c Update copyright years. 2020-01-01 12:51:42 +01:00
vr-values.h Update copyright years. 2020-01-01 12:51:42 +01:00
vtable-verify.c Update copyright years. 2020-01-01 12:51:42 +01:00
vtable-verify.h Update copyright years. 2020-01-01 12:51:42 +01:00
web.c Update copyright years. 2020-01-01 12:51:42 +01:00
wide-int-bitmask.h Update copyright years. 2020-01-01 12:51:42 +01:00
wide-int-print.cc Update copyright years. 2020-01-01 12:51:42 +01:00
wide-int-print.h Update copyright years. 2020-01-01 12:51:42 +01:00
wide-int.cc Update copyright years. 2020-01-01 12:51:42 +01:00
wide-int.h Update copyright years. 2020-01-01 12:51:42 +01:00
xcoff.h Update copyright years. 2020-01-01 12:51:42 +01:00
xcoffout.c Update copyright years. 2020-01-01 12:51:42 +01:00
xcoffout.h Update copyright years. 2020-01-01 12:51:42 +01:00

Copyright (C) 2000-2020 Free Software Foundation, Inc.

This file is intended to contain a few notes about writing C code
within GCC so that it compiles without error on the full range of
compilers GCC needs to be able to compile on.

The problem is that many ISO-standard constructs are not accepted by
either old or buggy compilers, and we keep getting bitten by them.
This knowledge until now has been sparsely spread around, so I
thought I'd collect it in one useful place.  Please add and correct
any problems as you come across them.

I'm going to start from a base of the ISO C90 standard, since that is
probably what most people code to naturally.  Obviously using
constructs introduced after that is not a good idea.

For the complete coding style conventions used in GCC, please read
http://gcc.gnu.org/codingconventions.html


String literals
---------------

Some compilers like MSVC++ have fairly low limits on the maximum
length of a string literal; 509 is the lowest we've come across.  You
may need to break up a long printf statement into many smaller ones.


Empty macro arguments
---------------------

ISO C (6.8.3 in the 1990 standard) specifies the following:

If (before argument substitution) any argument consists of no
preprocessing tokens, the behavior is undefined.

This was relaxed by ISO C99, but some older compilers emit an error,
so code like

#define foo(x, y) x y
foo (bar, )

needs to be coded in some other way.


Avoid unnecessary test before free
----------------------------------

Since SunOS 4 stopped being a reasonable portability target,
(which happened around 2007) there has been no need to guard
against "free (NULL)".  Thus, any guard like the following
constitutes a redundant test:

  if (P)
    free (P);

It is better to avoid the test.[*]
Instead, simply free P, regardless of whether it is NULL.

[*] However, if your profiling exposes a test like this in a
performance-critical loop, say where P is nearly always NULL, and
the cost of calling free on a NULL pointer would be prohibitively
high, consider using __builtin_expect, e.g., like this:

  if (__builtin_expect (ptr != NULL, 0))
    free (ptr);



Trigraphs
---------

You weren't going to use them anyway, but some otherwise ISO C
compliant compilers do not accept trigraphs.


Suffixes on Integer Constants
-----------------------------

You should never use a 'l' suffix on integer constants ('L' is fine),
since it can easily be confused with the number '1'.


			Common Coding Pitfalls
			======================

errno
-----

errno might be declared as a macro.


Implicit int
------------

In C, the 'int' keyword can often be omitted from type declarations.
For instance, you can write

  unsigned variable;

as shorthand for

  unsigned int variable;

There are several places where this can cause trouble.  First, suppose
'variable' is a long; then you might think

  (unsigned) variable

would convert it to unsigned long.  It does not.  It converts to
unsigned int.  This mostly causes problems on 64-bit platforms, where
long and int are not the same size.

Second, if you write a function definition with no return type at
all:

  operate (int a, int b)
  {
    ...
  }

that function is expected to return int, *not* void.  GCC will warn
about this.

Implicit function declarations always have return type int.  So if you
correct the above definition to

  void
  operate (int a, int b)
  ...

but operate() is called above its definition, you will get an error
about a "type mismatch with previous implicit declaration".  The cure
is to prototype all functions at the top of the file, or in an
appropriate header.

Char vs unsigned char vs int
----------------------------

In C, unqualified 'char' may be either signed or unsigned; it is the
implementation's choice.  When you are processing 7-bit ASCII, it does
not matter.  But when your program must handle arbitrary binary data,
or fully 8-bit character sets, you have a problem.  The most obvious
issue is if you have a look-up table indexed by characters.

For instance, the character '\341' in ISO Latin 1 is SMALL LETTER A
WITH ACUTE ACCENT.  In the proper locale, isalpha('\341') will be
true.  But if you read '\341' from a file and store it in a plain
char, isalpha(c) may look up character 225, or it may look up
character -31.  And the ctype table has no entry at offset -31, so
your program will crash.  (If you're lucky.)

It is wise to use unsigned char everywhere you possibly can.  This
avoids all these problems.  Unfortunately, the routines in <string.h>
take plain char arguments, so you have to remember to cast them back
and forth - or avoid the use of strxxx() functions, which is probably
a good idea anyway.

Another common mistake is to use either char or unsigned char to
receive the result of getc() or related stdio functions.  They may
return EOF, which is outside the range of values representable by
char.  If you use char, some legal character value may be confused
with EOF, such as '\377' (SMALL LETTER Y WITH UMLAUT, in Latin-1).
The correct choice is int.

A more subtle version of the same mistake might look like this:

  unsigned char pushback[NPUSHBACK];
  int pbidx;
  #define unget(c) (assert(pbidx < NPUSHBACK), pushback[pbidx++] = (c))
  #define get(c) (pbidx ? pushback[--pbidx] : getchar())
  ...
  unget(EOF);

which will mysteriously turn a pushed-back EOF into a SMALL LETTER Y
WITH UMLAUT.


Other common pitfalls
---------------------

o Expecting 'plain' char to be either sign or unsigned extending.

o Shifting an item by a negative amount or by greater than or equal to
  the number of bits in a type (expecting shifts by 32 to be sensible
  has caused quite a number of bugs at least in the early days).

o Expecting ints shifted right to be sign extended.

o Modifying the same value twice within one sequence point.

o Host vs. target floating point representation, including emitting NaNs
  and Infinities in a form that the assembler handles.

o qsort being an unstable sort function (unstable in the sense that
  multiple items that sort the same may be sorted in different orders
  by different qsort functions).

o Passing incorrect types to fprintf and friends.

o Adding a function declaration for a module declared in another file to
  a .c file instead of to a .h file.