gcc/gcc
Thomas Schwinge 18f6014649 Merge BUILT_IN_GOACC_HOST_DATA into BUILT_IN_GOACC_DATA_START
gcc/
	* omp-builtins.def (BUILT_IN_GOACC_HOST_DATA): Remove.
	* omp-low.c (expand_omp_target): Use BUILT_IN_GOACC_DATA_START
	instead.
	libgomp/
	* libgomp.map (GOACC_2.0): Remove GOACC_host_data.
	* oacc-parallel.c (GOACC_host_data): Remove function definition.

From-SVN: r233074
2016-02-02 14:53:55 +01:00
..
ada gigi.h (enum attr_type): Rename into... 2016-01-28 11:59:14 +00:00
c re PR debug/69518 (Flag -g causes "error: type variant has different TYPE_VFIELD") 2016-01-29 21:37:25 +01:00
c-family re PR preprocessor/69543 (_Pragma does not apply within macro) 2016-02-01 23:36:07 +01:00
common system.h (string, algorithm): Include only conditionally. 2016-01-22 16:44:10 +00:00
config re PR middle-end/68542 (10% 481.wrf performance regression) 2016-02-02 09:46:26 +00:00
cp re PR c++/68763 (ICE: in verify_unstripped_args, at cp/pt.c:1132) 2016-01-31 09:53:26 -05:00
doc nvptx.c (PTX_GANG_DEFAULT): New. 2016-02-01 16:20:13 +00:00
fortran nvptx.c (PTX_GANG_DEFAULT): New. 2016-02-01 16:20:13 +00:00
ginclude Test __cplusplus instead of __GXX_EXPERIMENTAL_CXX0X__ 2016-01-29 12:29:42 +00:00
go compiler: Accept map composite literals with omitted key types. 2016-01-27 18:51:58 +00:00
java Update copyright years. 2016-01-04 15:30:50 +01:00
jit Add missing includes in JIT frontend. 2016-01-26 08:53:17 +00:00
lto HSA: simplify partitioning of HSA kernels and host impls. 2016-01-27 12:50:05 +00:00
objc Update copyright years. 2016-01-04 15:30:50 +01:00
objcp Update copyright years. 2016-01-04 15:30:50 +01:00
po Regenerate .pot files. 2016-01-31 15:54:00 +00:00
testsuite re PR tree-optimization/69606 (wrong code at -Os and above on x86_64-linux-gnu) 2016-02-02 12:39:36 +00:00
ABOUT-GCC-NLS Update copyright years. 2016-01-04 15:30:50 +01:00
BASE-VER
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog Merge BUILT_IN_GOACC_HOST_DATA into BUILT_IN_GOACC_DATA_START 2016-02-02 14:53:55 +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 Rotate ChangeLog. 2016-01-01 00:50:54 +01:00
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
DATESTAMP Daily bump. 2016-02-02 00:16:14 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.in fix PR68343: disable fuse-*.c tests for isl 0.14 or earlier 2016-01-26 00:19:11 +00:00
ONEWS
README.Portability Update copyright years. 2016-01-04 15:30:50 +01:00
acinclude.m4 Update copyright years. 2016-01-04 15:30:50 +01:00
aclocal.m4
addresses.h Update copyright years. 2016-01-04 15:30:50 +01:00
alias.c re PR rtl-optimization/68955 (wrong code at -O3 on x86-64-linux-gnu in 32-bit mode) 2016-01-19 13:34:45 +01:00
alias.h Update copyright years. 2016-01-04 15:30:50 +01:00
alloc-pool.c Update copyright years. 2016-01-04 15:30:50 +01:00
alloc-pool.h Update copyright years. 2016-01-04 15:30:50 +01:00
asan.c re PR lto/69254 (ICE in streamer_get_builtin_tree when using -fsanitize=shift on the compile side only) 2016-01-27 19:48:30 +01:00
asan.h Update copyright years. 2016-01-04 15:30:50 +01:00
attribs.c Update copyright years. 2016-01-04 15:30:50 +01:00
attribs.h Update copyright years. 2016-01-04 15:30:50 +01:00
auto-inc-dec.c Update copyright years. 2016-01-04 15:30:50 +01:00
auto-profile.c Update copyright years. 2016-01-04 15:30:50 +01:00
auto-profile.h Update copyright years. 2016-01-04 15:30:50 +01:00
backend.h Update copyright years. 2016-01-04 15:30:50 +01:00
basic-block.h Update copyright years. 2016-01-04 15:30:50 +01:00
bb-reorder.c system.h (string, algorithm): Include only conditionally. 2016-01-22 16:44:10 +00:00
bb-reorder.h Update copyright years. 2016-01-04 15:30:50 +01:00
bitmap.c Update copyright years. 2016-01-04 15:30:50 +01:00
bitmap.h Update copyright years. 2016-01-04 15:30:50 +01:00
bt-load.c Fix a minor issue found by a static analyzer (PR66206). 2016-01-07 12:15:59 +00:00
builtin-attrs.def Update copyright years. 2016-01-04 15:30:50 +01:00
builtin-types.def Merge of HSA 2016-01-19 11:35:10 +01:00
builtins.c re PR c/69104 (invalid atomic memory order not diagnosed) 2016-01-05 20:24:02 +00:00
builtins.def Update copyright years. 2016-01-04 15:30:50 +01:00
builtins.h Update copyright years. 2016-01-04 15:30:50 +01:00
caller-save.c Update copyright years. 2016-01-04 15:30:50 +01:00
calls.c PR 69246: Invalid REG_ARGS_SIZE for sibcalls 2016-01-15 14:41:10 +00:00
calls.h Update copyright years. 2016-01-04 15:30:50 +01:00
ccmp.c [Patch] Fix spurious warning in ccmp.c 2016-01-19 18:02:48 +00:00
ccmp.h Update copyright years. 2016-01-04 15:30:50 +01:00
cfg-flags.def Update copyright years. 2016-01-04 15:30:50 +01:00
cfg.c Update copyright years. 2016-01-04 15:30:50 +01:00
cfg.h Update copyright years. 2016-01-04 15:30:50 +01:00
cfganal.c Update copyright years. 2016-01-04 15:30:50 +01:00
cfganal.h Update copyright years. 2016-01-04 15:30:50 +01:00
cfgbuild.c Update copyright years. 2016-01-04 15:30:50 +01:00
cfgbuild.h Update copyright years. 2016-01-04 15:30:50 +01:00
cfgcleanup.c Update copyright years. 2016-01-04 15:30:50 +01:00
cfgcleanup.h Update copyright years. 2016-01-04 15:30:50 +01:00
cfgexpand.c Update copyright years. 2016-01-04 15:30:50 +01:00
cfgexpand.h Update copyright years. 2016-01-04 15:30:50 +01:00
cfghooks.c Update copyright years. 2016-01-04 15:30:50 +01:00
cfghooks.h Update copyright years. 2016-01-04 15:30:50 +01:00
cfgloop.c Update copyright years. 2016-01-04 15:30:50 +01:00
cfgloop.h Update copyright years. 2016-01-04 15:30:50 +01:00
cfgloopanal.c Update copyright years. 2016-01-04 15:30:50 +01:00
cfgloopmanip.c tree-ssanames.c (release_free_names_and_compact_live_names): Replace "the the" with "the" in the comments. 2016-01-23 15:13:53 +01:00
cfgloopmanip.h Update copyright years. 2016-01-04 15:30:50 +01:00
cfgrtl.c Update copyright years. 2016-01-04 15:30:50 +01:00
cfgrtl.h Update copyright years. 2016-01-04 15:30:50 +01:00
cgraph.c re PR lto/69133 (LTO segfault in lto_get_decl_name_mapping() on 483.xalancbmk with -flto-partition=none) 2016-01-19 11:57:41 +00:00
cgraph.h Update copyright years. 2016-01-04 15:30:50 +01:00
cgraphbuild.c Update copyright years. 2016-01-04 15:30:50 +01:00
cgraphclones.c [PR ipa/66616] Copy can_change_signature flag to artificial thunks 2016-01-11 11:03:44 +01:00
cgraphunit.c cgraphunit.c (cgraph_node::reset): Clear thunk info and instrumented_version. 2016-01-19 13:28:32 +00:00
chkp-builtins.def Update copyright years. 2016-01-04 15:30:50 +01:00
cif-code.def Update copyright years. 2016-01-04 15:30:50 +01:00
cilk-builtins.def Update copyright years. 2016-01-04 15:30:50 +01:00
cilk-common.c Update copyright years. 2016-01-04 15:30:50 +01:00
cilk.h Update copyright years. 2016-01-04 15:30:50 +01:00
cilkplus.def Update copyright years. 2016-01-04 15:30:50 +01:00
collect-utils.c Update copyright years. 2016-01-04 15:30:50 +01:00
collect-utils.h Update copyright years. 2016-01-04 15:30:50 +01:00
collect2-aix.c Update copyright years. 2016-01-04 15:30:50 +01:00
collect2-aix.h Update copyright years. 2016-01-04 15:30:50 +01:00
collect2.c Update copyright years. 2016-01-04 15:30:50 +01:00
collect2.h Update copyright years. 2016-01-04 15:30:50 +01:00
combine-stack-adj.c Update copyright years. 2016-01-04 15:30:50 +01:00
combine.c re PR rtl-optimization/69535 (wrong code with -O -fno-tree-bit-ccp -fno-tree-reassoc due to use of uninitialised value) 2016-01-31 23:32:01 -08:00
common.md Update copyright years. 2016-01-04 15:30:50 +01:00
common.opt common.opt (fkeep-gc-roots-live): New undocumented option. 2016-01-27 17:42:47 +00:00
compare-elim.c Update copyright years. 2016-01-04 15:30:50 +01:00
conditions.h Update copyright years. 2016-01-04 15:30:50 +01:00
config.build Update copyright years. 2016-01-04 15:30:50 +01:00
config.gcc [PATCH 5/6] [DJGPP] Update DJGPP configuration related files 2016-01-12 06:57:10 +02:00
config.host Update copyright years. 2016-01-04 15:30:50 +01:00
config.in configure.ac (ac_cv_std_swap_in_utility): New test. 2016-01-26 16:34:24 +00:00
configure re PR target/68380 (NetBSD has SSP in libc) 2016-01-27 09:54:48 -07:00
configure.ac re PR target/68380 (NetBSD has SSP in libc) 2016-01-27 09:54:48 -07:00
context.c Update copyright years. 2016-01-04 15:30:50 +01:00
context.h Update copyright years. 2016-01-04 15:30:50 +01:00
convert.c re PR sanitizer/69099 (ICE when compiling gcc.dg/atomic/c11-atomic-exec-2.c with -fsanitize=float-cast-overflow) 2016-01-06 10:24:15 +00:00
convert.h Update copyright years. 2016-01-04 15:30:50 +01:00
coretypes.h Update copyright years. 2016-01-04 15:30:50 +01:00
coverage.c Update copyright years. 2016-01-04 15:30:50 +01:00
coverage.h Update copyright years. 2016-01-04 15:30:50 +01:00
cppbuiltin.c Update copyright years. 2016-01-04 15:30:50 +01:00
cppbuiltin.h Update copyright years. 2016-01-04 15:30:50 +01:00
cppdefault.c Update copyright years. 2016-01-04 15:30:50 +01:00
cppdefault.h Update copyright years. 2016-01-04 15:30:50 +01:00
cprop.c Update copyright years. 2016-01-04 15:30:50 +01:00
cse.c Update copyright years. 2016-01-04 15:30:50 +01:00
cselib.c Update copyright years. 2016-01-04 15:30:50 +01:00
cselib.h Update copyright years. 2016-01-04 15:30:50 +01:00
cstamp-h.in
data-streamer-in.c Update copyright years. 2016-01-04 15:30:50 +01:00
data-streamer-out.c Update copyright years. 2016-01-04 15:30:50 +01:00
data-streamer.c Update copyright years. 2016-01-04 15:30:50 +01:00
data-streamer.h Update copyright years. 2016-01-04 15:30:50 +01:00
dbgcnt.c Update copyright years. 2016-01-04 15:30:50 +01:00
dbgcnt.def Update copyright years. 2016-01-04 15:30:50 +01:00
dbgcnt.h Update copyright years. 2016-01-04 15:30:50 +01:00
dbxout.c Update copyright years. 2016-01-04 15:30:50 +01:00
dbxout.h Update copyright years. 2016-01-04 15:30:50 +01:00
dce.c Update copyright years. 2016-01-04 15:30:50 +01:00
dce.h Update copyright years. 2016-01-04 15:30:50 +01:00
ddg.c Update copyright years. 2016-01-04 15:30:50 +01:00
ddg.h Update copyright years. 2016-01-04 15:30:50 +01:00
debug.c Update copyright years. 2016-01-04 15:30:50 +01:00
debug.h Update copyright years. 2016-01-04 15:30:50 +01:00
defaults.h Update copyright years. 2016-01-04 15:30:50 +01:00
df-core.c Update copyright years. 2016-01-04 15:30:50 +01:00
df-problems.c Update copyright years. 2016-01-04 15:30:50 +01:00
df-scan.c Update copyright years. 2016-01-04 15:30:50 +01:00
df.h Update copyright years. 2016-01-04 15:30:50 +01:00
dfp.c Update copyright years. 2016-01-04 15:30:50 +01:00
dfp.h Update copyright years. 2016-01-04 15:30:50 +01:00
diagnostic-color.c Update copyright years. 2016-01-04 15:30:50 +01:00
diagnostic-color.h Update copyright years. 2016-01-04 15:30:50 +01:00
diagnostic-core.h Update copyright years. 2016-01-04 15:30:50 +01:00
diagnostic-show-locus.c PR other/69006: fix extra newlines after diagnostics 2016-01-26 17:08:12 +00:00
diagnostic.c PR other/69006: fix extra newlines after diagnostics 2016-01-26 17:08:12 +00:00
diagnostic.def Update copyright years. 2016-01-04 15:30:50 +01:00
diagnostic.h PR other/69006: fix extra newlines after diagnostics 2016-01-26 17:08:12 +00:00
dojump.c Update copyright years. 2016-01-04 15:30:50 +01:00
dojump.h
dominance.c Update copyright years. 2016-01-04 15:30:50 +01:00
dominance.h Update copyright years. 2016-01-04 15:30:50 +01:00
domwalk.c Update copyright years. 2016-01-04 15:30:50 +01:00
domwalk.h Update copyright years. 2016-01-04 15:30:50 +01:00
double-int.c Update copyright years. 2016-01-04 15:30:50 +01:00
double-int.h Update copyright years. 2016-01-04 15:30:50 +01:00
dse.c re PR rtl-optimization/68955 (wrong code at -O3 on x86-64-linux-gnu in 32-bit mode) 2016-01-19 13:34:45 +01:00
dumpfile.c Update copyright years. 2016-01-04 15:30:50 +01:00
dumpfile.h Update copyright years. 2016-01-04 15:30:50 +01:00
dwarf2asm.c Update copyright years. 2016-01-04 15:30:50 +01:00
dwarf2asm.h Update copyright years. 2016-01-04 15:30:50 +01:00
dwarf2cfi.c Update copyright years. 2016-01-04 15:30:50 +01:00
dwarf2out.c re PR lto/69393 (ICE in dwarf2out_finish, at dwarf2out.c:27175 with LTO) 2016-01-25 09:31:47 +00:00
dwarf2out.h Update copyright years. 2016-01-04 15:30:50 +01:00
emit-rtl.c Update copyright years. 2016-01-04 15:30:50 +01:00
emit-rtl.h Update copyright years. 2016-01-04 15:30:50 +01:00
errors.c Update copyright years. 2016-01-04 15:30:50 +01:00
errors.h Update copyright years. 2016-01-04 15:30:50 +01:00
et-forest.c Update copyright years. 2016-01-04 15:30:50 +01:00
et-forest.h Update copyright years. 2016-01-04 15:30:50 +01:00
except.c Update copyright years. 2016-01-04 15:30:50 +01:00
except.h Update copyright years. 2016-01-04 15:30:50 +01:00
exec-tool.in Update copyright years. 2016-01-04 15:30:50 +01:00
explow.c Update copyright years. 2016-01-04 15:30:50 +01:00
explow.h
expmed.c Update copyright years. 2016-01-04 15:30:50 +01:00
expmed.h Update copyright years. 2016-01-04 15:30:50 +01:00
expr.c tree-ssanames.c (release_free_names_and_compact_live_names): Replace "the the" with "the" in the comments. 2016-01-23 15:13:53 +01:00
expr.h Update copyright years. 2016-01-04 15:30:50 +01:00
fibonacci_heap.h Update copyright years. 2016-01-04 15:30:50 +01:00
file-find.c Update copyright years. 2016-01-04 15:30:50 +01:00
file-find.h Update copyright years. 2016-01-04 15:30:50 +01:00
final.c system.h (string, algorithm): Include only conditionally. 2016-01-22 16:44:10 +00:00
fixed-value.c Update copyright years. 2016-01-04 15:30:50 +01:00
fixed-value.h Update copyright years. 2016-01-04 15:30:50 +01:00
flag-types.h Update copyright years. 2016-01-04 15:30:50 +01:00
flags.h Update copyright years. 2016-01-04 15:30:50 +01:00
fold-const-call.c Update copyright years. 2016-01-04 15:30:50 +01:00
fold-const-call.h Update copyright years. 2016-01-04 15:30:50 +01:00
fold-const.c re PR tree-optimization/67921 ("internal compiler error: in build_polynomial_chrec, at tree-chrec.h:147" when using -fsanitize=undefined) 2016-02-01 17:17:47 +00:00
fold-const.h re PR middle-end/50865 (Invalid code generation for INT64_MIN % 1 on x86_64) 2016-01-09 08:37:04 +01:00
fp-test.c Update copyright years. 2016-01-04 15:30:50 +01:00
function.c PR c++/68983 (BE) 2016-01-08 11:01:12 -05:00
function.h Update copyright years. 2016-01-04 15:30:50 +01:00
fwprop.c Update copyright years. 2016-01-04 15:30:50 +01:00
gcc-ar.c Update copyright years. 2016-01-04 15:30:50 +01:00
gcc-main.c Update copyright years. 2016-01-04 15:30:50 +01:00
gcc-plugin.h Update copyright years. 2016-01-04 15:30:50 +01:00
gcc-rich-location.c Update copyright years. 2016-01-04 15:30:50 +01:00
gcc-rich-location.h Update copyright years. 2016-01-04 15:30:50 +01:00
gcc-symtab.h Update copyright years. 2016-01-04 15:30:50 +01:00
gcc.c Fix memory chunk corruption for opts_obstack (PR jit/68446) 2016-01-19 14:35:16 +00:00
gcc.h Update copyright years. 2016-01-04 15:30:50 +01:00
gcov-counter.def Update copyright years. 2016-01-04 15:30:50 +01:00
gcov-dump.c gcc.c (process_command): Update copyright notice dates. 2016-01-04 14:03:35 +01:00
gcov-io.c Update copyright years. 2016-01-04 15:30:50 +01:00
gcov-io.h Update copyright years. 2016-01-04 15:30:50 +01:00
gcov-iov.c Update copyright years. 2016-01-04 15:30:50 +01:00
gcov-tool.c gcc.c (process_command): Update copyright notice dates. 2016-01-04 14:03:35 +01:00
gcov.c gcc.c (process_command): Update copyright notice dates. 2016-01-04 14:03:35 +01:00
gcse-common.c Update copyright years. 2016-01-04 15:30:50 +01:00
gcse-common.h Update copyright years. 2016-01-04 15:30:50 +01:00
gcse.c Update copyright years. 2016-01-04 15:30:50 +01:00
gcse.h Update copyright years. 2016-01-04 15:30:50 +01:00
gdbasan.in
gdbhooks.py Update copyright years. 2016-01-04 15:30:50 +01:00
gdbinit.in Update copyright years. 2016-01-04 15:30:50 +01:00
gen-pass-instances.awk Update copyright years. 2016-01-04 15:30:50 +01:00
genattr-common.c Update copyright years. 2016-01-04 15:30:50 +01:00
genattr.c Update copyright years. 2016-01-04 15:30:50 +01:00
genattrtab.c Update copyright years. 2016-01-04 15:30:50 +01:00
genautomata.c Update copyright years. 2016-01-04 15:30:50 +01:00
gencfn-macros.c Update copyright years. 2016-01-04 15:30:50 +01:00
gencheck.c Update copyright years. 2016-01-04 15:30:50 +01:00
genchecksum.c Update copyright years. 2016-01-04 15:30:50 +01:00
gencodes.c Update copyright years. 2016-01-04 15:30:50 +01:00
genconditions.c system.h (string, algorithm): Include only conditionally. 2016-01-22 16:44:10 +00:00
genconfig.c Update copyright years. 2016-01-04 15:30:50 +01:00
genconstants.c Update copyright years. 2016-01-04 15:30:50 +01:00
genemit.c Update copyright years. 2016-01-04 15:30:50 +01:00
genenums.c Update copyright years. 2016-01-04 15:30:50 +01:00
generic-match-head.c Update copyright years. 2016-01-04 15:30:50 +01:00
generic-match.h Update copyright years. 2016-01-04 15:30:50 +01:00
genextract.c Update copyright years. 2016-01-04 15:30:50 +01:00
genflags.c Update copyright years. 2016-01-04 15:30:50 +01:00
gengenrtl.c Update copyright years. 2016-01-04 15:30:50 +01:00
gengtype-lex.l Update copyright years. 2016-01-04 15:30:50 +01:00
gengtype-parse.c Update copyright years. 2016-01-04 15:30:50 +01:00
gengtype-state.c Update copyright years. 2016-01-04 15:30:50 +01:00
gengtype.c remove mark_hook gty attribute 2016-01-13 02:51:11 +00:00
gengtype.h Update copyright years. 2016-01-04 15:30:50 +01:00
genhooks.c Update copyright years. 2016-01-04 15:30:50 +01:00
genmatch.c Update copyright years. 2016-01-04 15:30:50 +01:00
genmddeps.c Update copyright years. 2016-01-04 15:30:50 +01:00
genmddump.c Update copyright years. 2016-01-04 15:30:50 +01:00
genmodes.c Update copyright years. 2016-01-04 15:30:50 +01:00
genmultilib Update copyright years. 2016-01-04 15:30:50 +01:00
genopinit.c Update copyright years. 2016-01-04 15:30:50 +01:00
genoutput.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
genpeep.c Update copyright years. 2016-01-04 15:30:50 +01:00
genpreds.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
genrecog.c re PR bootstrap/69434 (bootstrap failed with --with-arch=corei7 --with-cpu=corei7) 2016-01-23 10:54:19 +01:00
gensupport.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
gensupport.h Update copyright years. 2016-01-04 15:30:50 +01:00
gentarget-def.c Update copyright years. 2016-01-04 15:30:50 +01:00
ggc-common.c re PR pch/68758 (Invalid read of size 8 in gt_pch_save (ggc-common.c:551)) 2016-01-28 08:39:05 +00:00
ggc-internal.h Update copyright years. 2016-01-04 15:30:50 +01:00
ggc-none.c Update copyright years. 2016-01-04 15:30:50 +01:00
ggc-page.c Update copyright years. 2016-01-04 15:30:50 +01:00
ggc.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-builder.c Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-builder.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-expr.c re PR c/68960 (__attribute__ ((aligned ())) is ignored for OpenMP private variables) 2016-01-07 09:45:54 +01:00
gimple-expr.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-fold.c re PR tree-optimization/69483 (gcc ICE on x86_64-linux-gnu with "expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p") 2016-01-26 16:51:51 +01:00
gimple-fold.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-iterator.c Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-iterator.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-laddress.c Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-low.c Merge of HSA 2016-01-19 11:35:10 +01:00
gimple-low.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-match-head.c re PR tree-optimization/69167 (internal compiler error: SSA corruption) 2016-01-08 21:50:24 +01:00
gimple-match.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-predict.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-pretty-print.c Merge of HSA 2016-01-19 11:35:10 +01:00
gimple-pretty-print.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-ssa-backprop.c Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-ssa-isolate-paths.c Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-ssa-split-paths.c tree-ssanames.c (release_free_names_and_compact_live_names): Replace "the the" with "the" in the comments. 2016-01-23 15:13:53 +01:00
gimple-ssa-strength-reduction.c re PR tree-optimization/68799 (lto ICE on powerpc64le-linux-gnu builing python 2.7.x) 2016-01-18 02:43:06 +00:00
gimple-ssa.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-streamer-in.c Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-streamer-out.c Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-streamer.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple-walk.c Merge of HSA 2016-01-19 11:35:10 +01:00
gimple-walk.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimple.c Merge of HSA 2016-01-19 11:35:10 +01:00
gimple.def Merge of HSA 2016-01-19 11:35:10 +01:00
gimple.h Merge of HSA 2016-01-19 11:35:10 +01:00
gimplify-me.c Update copyright years. 2016-01-04 15:30:50 +01:00
gimplify-me.h Update copyright years. 2016-01-04 15:30:50 +01:00
gimplify.c re PR middle-end/67653 (ICE on valid code on x86_64-linux-gnu: verify_gimple failed) 2016-01-21 00:43:58 +01:00
gimplify.h Update copyright years. 2016-01-04 15:30:50 +01:00
glimits.h Update copyright years. 2016-01-04 15:30:50 +01:00
godump.c Update copyright years. 2016-01-04 15:30:50 +01:00
graph.c Update copyright years. 2016-01-04 15:30:50 +01:00
graph.h Update copyright years. 2016-01-04 15:30:50 +01:00
graphds.c Update copyright years. 2016-01-04 15:30:50 +01:00
graphds.h Update copyright years. 2016-01-04 15:30:50 +01:00
graphite-dependences.c new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
graphite-isl-ast-to-gimple.c PR69545: revert patch 2016-01-29 04:31:40 +00:00
graphite-optimize-isl.c Fix optimize_isl dump 2016-01-28 10:23:24 -08:00
graphite-poly.c new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
graphite-scop-detection.c new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
graphite-sese-to-poly.c new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
graphite.c Update copyright years. 2016-01-04 15:30:50 +01:00
graphite.h new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
gsstruct.def Update copyright years. 2016-01-04 15:30:50 +01:00
gstab.h Update copyright years. 2016-01-04 15:30:50 +01:00
gsyms.h Update copyright years. 2016-01-04 15:30:50 +01:00
gsyslimits.h
gtm-builtins.def re PR target/68964 (Internal compiler error for test case gcc.dg/tm/20100610.c since r231674) 2016-01-13 09:03:42 -08:00
haifa-sched.c haifa-sched.c (autopref_multipass_init): Work around -Wmaybe-uninitialized warning. 2016-01-18 10:02:42 +01:00
hard-reg-set.h Update copyright years. 2016-01-04 15:30:50 +01:00
hash-map-traits.h Update copyright years. 2016-01-04 15:30:50 +01:00
hash-map.h Update copyright years. 2016-01-04 15:30:50 +01:00
hash-set.h Update copyright years. 2016-01-04 15:30:50 +01:00
hash-table.c Update copyright years. 2016-01-04 15:30:50 +01:00
hash-table.h Optimise hash_table::empty 2016-01-16 11:03:18 +00:00
hash-traits.h Update copyright years. 2016-01-04 15:30:50 +01:00
highlev-plugin-common.h Update copyright years. 2016-01-04 15:30:50 +01:00
hooks.c Update copyright years. 2016-01-04 15:30:50 +01:00
hooks.h Update copyright years. 2016-01-04 15:30:50 +01:00
host-default.c Update copyright years. 2016-01-04 15:30:50 +01:00
hosthooks-def.h Update copyright years. 2016-01-04 15:30:50 +01:00
hosthooks.h Update copyright years. 2016-01-04 15:30:50 +01:00
hsa-brig-format.h Merge of HSA 2016-01-19 11:35:10 +01:00
hsa-brig.c Merge of HSA 2016-01-19 11:35:10 +01:00
hsa-dump.c Merge of HSA 2016-01-19 11:35:10 +01:00
hsa-gen.c [hsa] Atomic assess memory model fixes 2016-01-29 23:53:28 +01:00
hsa-regalloc.c Merge of HSA 2016-01-19 11:35:10 +01:00
hsa.c HSA: simplify partitioning of HSA kernels and host impls. 2016-01-27 12:50:05 +00:00
hsa.h Merge of HSA 2016-01-19 11:35:10 +01:00
hw-doloop.c Update copyright years. 2016-01-04 15:30:50 +01:00
hw-doloop.h Update copyright years. 2016-01-04 15:30:50 +01:00
hwint.c Update copyright years. 2016-01-04 15:30:50 +01:00
hwint.h Update copyright years. 2016-01-04 15:30:50 +01:00
ifcvt.c ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return false when count is incremented above limit... 2016-02-01 21:37:49 +01:00
ifcvt.h Update copyright years. 2016-01-04 15:30:50 +01:00
inchash.c Update copyright years. 2016-01-04 15:30:50 +01:00
inchash.h Update copyright years. 2016-01-04 15:30:50 +01:00
incpath.c Update copyright years. 2016-01-04 15:30:50 +01:00
incpath.h Update copyright years. 2016-01-04 15:30:50 +01:00
init-regs.c Update copyright years. 2016-01-04 15:30:50 +01:00
input.c Update copyright years. 2016-01-04 15:30:50 +01:00
input.h Update copyright years. 2016-01-04 15:30:50 +01:00
insn-addr.h Update copyright years. 2016-01-04 15:30:50 +01:00
insn-notes.def Update copyright years. 2016-01-04 15:30:50 +01:00
internal-fn.c Update copyright years. 2016-01-04 15:30:50 +01:00
internal-fn.def Update copyright years. 2016-01-04 15:30:50 +01:00
internal-fn.h Update copyright years. 2016-01-04 15:30:50 +01:00
intl.c Update copyright years. 2016-01-04 15:30:50 +01:00
intl.h Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-chkp.c system.h (string, algorithm): Include only conditionally. 2016-01-22 16:44:10 +00:00
ipa-chkp.h Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-comdats.c Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-cp.c [PR ipa/69044] Do not clone for param removal when not possible 2016-01-11 11:09:17 +01:00
ipa-devirt.c tree-ssanames.c (release_free_names_and_compact_live_names): Replace "the the" with "the" in the comments. 2016-01-23 15:13:53 +01:00
ipa-hsa.c Merge of HSA 2016-01-19 11:35:10 +01:00
ipa-icf-gimple.c Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-icf-gimple.h Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-icf.c re PR ipa/68148 (Devirtualization only applies to last of multiple successive calls) 2016-01-15 11:00:24 +00:00
ipa-icf.h Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-inline-analysis.c Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-inline-transform.c Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-inline.c ipa-inline.c (can_inline_edge_p): Back out overzealous check on flag_non_call_exceptions compatibility. 2016-01-22 11:06:06 +00:00
ipa-inline.h Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-polymorphic-call.c re PR c++/66487 (sanitizer/warnings for lifetime DSE) 2016-01-13 23:47:45 +00:00
ipa-profile.c Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-prop.c ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr. 2016-01-22 12:09:58 +00:00
ipa-prop.h Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-pure-const.c Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-ref.c Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-ref.h Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-reference.c Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-reference.h Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-split.c Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-utils.c Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-utils.h Update copyright years. 2016-01-04 15:30:50 +01:00
ipa-visibility.c Update copyright years. 2016-01-04 15:30:50 +01:00
ipa.c Update copyright years. 2016-01-04 15:30:50 +01:00
ira-build.c Update copyright years. 2016-01-04 15:30:50 +01:00
ira-color.c Update copyright years. 2016-01-04 15:30:50 +01:00
ira-conflicts.c Update copyright years. 2016-01-04 15:30:50 +01:00
ira-costs.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
ira-emit.c Update copyright years. 2016-01-04 15:30:50 +01:00
ira-int.h Update copyright years. 2016-01-04 15:30:50 +01:00
ira-lives.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
ira.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
ira.h Update copyright years. 2016-01-04 15:30:50 +01:00
is-a.h Update copyright years. 2016-01-04 15:30:50 +01:00
jump.c Update copyright years. 2016-01-04 15:30:50 +01:00
langhooks-def.h Update copyright years. 2016-01-04 15:30:50 +01:00
langhooks.c Update copyright years. 2016-01-04 15:30:50 +01:00
langhooks.h Update copyright years. 2016-01-04 15:30:50 +01:00
lcm.c Update copyright years. 2016-01-04 15:30:50 +01:00
lcm.h Update copyright years. 2016-01-04 15:30:50 +01:00
libfuncs.h Update copyright years. 2016-01-04 15:30:50 +01:00
limitx.h Update copyright years. 2016-01-04 15:30:50 +01:00
limity.h
lists.c Update copyright years. 2016-01-04 15:30:50 +01:00
lock-and-run.sh
loop-doloop.c re PR rtl-optimization/69014 (gcc.c-torture/execute/991023-1.c FAILs with -Os -fmodulo-sched -fno-tree-vrp) 2016-01-14 15:12:53 -08:00
loop-init.c Update copyright years. 2016-01-04 15:30:50 +01:00
loop-invariant.c Update copyright years. 2016-01-04 15:30:50 +01:00
loop-iv.c Update copyright years. 2016-01-04 15:30:50 +01:00
loop-unroll.c Update copyright years. 2016-01-04 15:30:50 +01:00
loop-unroll.h Update copyright years. 2016-01-04 15:30:50 +01:00
lower-subreg.c Update copyright years. 2016-01-04 15:30:50 +01:00
lower-subreg.h Update copyright years. 2016-01-04 15:30:50 +01:00
lra-assigns.c Update copyright years. 2016-01-04 15:30:50 +01:00
lra-coalesce.c re PR rtl-optimization/68990 (wrong code at -O3 on x86_64-pc-linux-gnu in 32-bit mode.) 2016-01-21 16:01:22 +00:00
lra-constraints.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
lra-eliminations.c re PR debug/69244 (ICE in plus_constant, at explow.c:87 on i686-linux-gnu) 2016-01-14 20:57:34 +01:00
lra-int.h Update copyright years. 2016-01-04 15:30:50 +01:00
lra-lives.c Update copyright years. 2016-01-04 15:30:50 +01:00
lra-remat.c re PR middle-end/69542 (-fcompare-debug failure in simplify-rtx.c on i?86 since r232905) 2016-01-28 22:01:51 +01:00
lra-spills.c Revert revsion 229087 changes in lra-spills.c 2016-01-29 10:03:42 -08:00
lra.c Update copyright years. 2016-01-04 15:30:50 +01:00
lra.h Update copyright years. 2016-01-04 15:30:50 +01:00
lto-cgraph.c Mark symbols in offload tables with force_output in read_offload_tables 2016-01-14 20:01:39 +00:00
lto-compress.c Update copyright years. 2016-01-04 15:30:50 +01:00
lto-compress.h Update copyright years. 2016-01-04 15:30:50 +01:00
lto-opts.c Update copyright years. 2016-01-04 15:30:50 +01:00
lto-section-in.c Merge of HSA 2016-01-19 11:35:10 +01:00
lto-section-names.h Update copyright years. 2016-01-04 15:30:50 +01:00
lto-section-out.c Update copyright years. 2016-01-04 15:30:50 +01:00
lto-streamer-in.c Update copyright years. 2016-01-04 15:30:50 +01:00
lto-streamer-out.c lto-streamer-out.c (lto_output): Do not stream instrumentation thunks. 2016-01-19 11:55:10 +00:00
lto-streamer.c Update copyright years. 2016-01-04 15:30:50 +01:00
lto-streamer.h Merge of HSA 2016-01-19 11:35:10 +01:00
lto-wrapper.c nvptx.c (PTX_GANG_DEFAULT): New. 2016-02-01 16:20:13 +00:00
machmode.def Update copyright years. 2016-01-04 15:30:50 +01:00
machmode.h Update copyright years. 2016-01-04 15:30:50 +01:00
main.c Update copyright years. 2016-01-04 15:30:50 +01:00
match.pd re PR tree-optimization/69556 (forwprop4/match.pd undoing work from recip) 2016-02-01 15:40:23 +00:00
mcf.c Update copyright years. 2016-01-04 15:30:50 +01:00
mem-stats-traits.h Missing copyright for mem-stats header files. 2016-02-01 13:57:09 +00:00
mem-stats.h Missing copyright for mem-stats header files. 2016-02-01 13:57:09 +00:00
memory-block.cc Update copyright years. 2016-01-04 15:30:50 +01:00
memory-block.h Update copyright years. 2016-01-04 15:30:50 +01:00
mkconfig.sh Update copyright years. 2016-01-04 15:30:50 +01:00
mode-classes.def Update copyright years. 2016-01-04 15:30:50 +01:00
mode-switching.c Update copyright years. 2016-01-04 15:30:50 +01:00
modulo-sched.c re PR target/69252 (gcc.dg/vect/vect-iv-9.c FAILs with -Os -fmodulo-sched -fmodulo-sched-allow-regmoves -fsched-pressure) 2016-01-21 15:58:29 -07:00
multiple_target.c Update copyright years. 2016-01-04 15:30:50 +01:00
omp-builtins.def Merge BUILT_IN_GOACC_HOST_DATA into BUILT_IN_GOACC_DATA_START 2016-02-02 14:53:55 +01:00
omp-low.c Merge BUILT_IN_GOACC_HOST_DATA into BUILT_IN_GOACC_DATA_START 2016-02-02 14:53:55 +01:00
omp-low.h omp-low.h (oacc_fn_attrib_kernels_p): Declare. 2016-01-26 14:32:30 +00:00
opt-functions.awk Update copyright years. 2016-01-04 15:30:50 +01:00
opt-gather.awk Update copyright years. 2016-01-04 15:30:50 +01:00
opt-include.awk Update copyright years. 2016-01-04 15:30:50 +01:00
opt-read.awk Update copyright years. 2016-01-04 15:30:50 +01:00
optabs-libfuncs.c Update copyright years. 2016-01-04 15:30:50 +01:00
optabs-libfuncs.h Update copyright years. 2016-01-04 15:30:50 +01:00
optabs-query.c Update copyright years. 2016-01-04 15:30:50 +01:00
optabs-query.h Update copyright years. 2016-01-04 15:30:50 +01:00
optabs-tree.c Tidy: remove reduc_xxx_optab migration code. 2016-01-14 16:30:56 +00:00
optabs-tree.h Tidy: remove reduc_xxx_optab migration code. 2016-01-14 16:30:56 +00:00
optabs.c re PR target/69010 (Boolean vector constant with a scalar mode is expanded incorrectly) 2016-01-11 10:27:17 +00:00
optabs.def Tidy: remove reduc_xxx_optab migration code. 2016-01-14 16:30:56 +00:00
optabs.h Update copyright years. 2016-01-04 15:30:50 +01:00
optc-gen.awk Update copyright years. 2016-01-04 15:30:50 +01:00
optc-save-gen.awk Update copyright years. 2016-01-04 15:30:50 +01:00
opth-gen.awk Update copyright years. 2016-01-04 15:30:50 +01:00
opts-common.c Update copyright years. 2016-01-04 15:30:50 +01:00
opts-diagnostic.h Update copyright years. 2016-01-04 15:30:50 +01:00
opts-global.c Update copyright years. 2016-01-04 15:30:50 +01:00
opts.c re PR lto/69254 (ICE in streamer_get_builtin_tree when using -fsanitize=shift on the compile side only) 2016-01-26 14:01:44 +01:00
opts.h re PR lto/69254 (ICE in streamer_get_builtin_tree when using -fsanitize=shift on the compile side only) 2016-01-26 14:01:44 +01:00
output.h Update copyright years. 2016-01-04 15:30:50 +01:00
params-enum.h Update copyright years. 2016-01-04 15:30:50 +01:00
params-list.h Update copyright years. 2016-01-04 15:30:50 +01:00
params.c Update copyright years. 2016-01-04 15:30:50 +01:00
params.def re PR testsuite/68580 (FAIL: c-c++-common/tsan/pr65400-1.c -O0 execution test) 2016-02-01 15:03:57 -07:00
params.h Update copyright years. 2016-01-04 15:30:50 +01:00
pass_manager.h Update copyright years. 2016-01-04 15:30:50 +01:00
passes.c Update copyright years. 2016-01-04 15:30:50 +01:00
passes.def Merge of HSA 2016-01-19 11:35:10 +01:00
plugin.c Update copyright years. 2016-01-04 15:30:50 +01:00
plugin.def Update copyright years. 2016-01-04 15:30:50 +01:00
plugin.h Update copyright years. 2016-01-04 15:30:50 +01:00
postreload-gcse.c Update copyright years. 2016-01-04 15:30:50 +01:00
postreload.c * postreload.c (reload_cse_simplify): Remove dead code. 2016-02-01 11:04:22 +00:00
predict.c Update copyright years. 2016-01-04 15:30:50 +01:00
predict.def Update copyright years. 2016-01-04 15:30:50 +01:00
predict.h Update copyright years. 2016-01-04 15:30:50 +01:00
prefix.c Update copyright years. 2016-01-04 15:30:50 +01:00
prefix.h Update copyright years. 2016-01-04 15:30:50 +01:00
pretty-print.c Update copyright years. 2016-01-04 15:30:50 +01:00
pretty-print.h PR other/69006: fix extra newlines after diagnostics 2016-01-26 17:08:12 +00:00
print-rtl.c Update copyright years. 2016-01-04 15:30:50 +01:00
print-rtl.h Update copyright years. 2016-01-04 15:30:50 +01:00
print-tree.c Update copyright years. 2016-01-04 15:30:50 +01:00
print-tree.h Update copyright years. 2016-01-04 15:30:50 +01:00
profile.c Update copyright years. 2016-01-04 15:30:50 +01:00
profile.h Update copyright years. 2016-01-04 15:30:50 +01:00
read-md.c Update copyright years. 2016-01-04 15:30:50 +01:00
read-md.h Update copyright years. 2016-01-04 15:30:50 +01:00
read-rtl.c Update copyright years. 2016-01-04 15:30:50 +01:00
real.c Update copyright years. 2016-01-04 15:30:50 +01:00
real.h Update copyright years. 2016-01-04 15:30:50 +01:00
realmpfr.c Update copyright years. 2016-01-04 15:30:50 +01:00
realmpfr.h Update copyright years. 2016-01-04 15:30:50 +01:00
recog.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
recog.h Update copyright years. 2016-01-04 15:30:50 +01:00
ree.c Update copyright years. 2016-01-04 15:30:50 +01:00
reg-notes.def Update copyright years. 2016-01-04 15:30:50 +01:00
reg-stack.c Update copyright years. 2016-01-04 15:30:50 +01:00
regcprop.c Update copyright years. 2016-01-04 15:30:50 +01:00
regcprop.h Update copyright years. 2016-01-04 15:30:50 +01:00
reginfo.c Update copyright years. 2016-01-04 15:30:50 +01:00
regrename.c Update copyright years. 2016-01-04 15:30:50 +01:00
regrename.h Update copyright years. 2016-01-04 15:30:50 +01:00
regs.h Update copyright years. 2016-01-04 15:30:50 +01:00
regset.h Update copyright years. 2016-01-04 15:30:50 +01:00
regstat.c Update copyright years. 2016-01-04 15:30:50 +01:00
reload.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
reload.h Update copyright years. 2016-01-04 15:30:50 +01:00
reload1.c Update copyright years. 2016-01-04 15:30:50 +01:00
reorg.c Update copyright years. 2016-01-04 15:30:50 +01:00
resource.c Update copyright years. 2016-01-04 15:30:50 +01:00
resource.h Update copyright years. 2016-01-04 15:30:50 +01:00
rtl-chkp.c Update copyright years. 2016-01-04 15:30:50 +01:00
rtl-chkp.h Update copyright years. 2016-01-04 15:30:50 +01:00
rtl-error.c Update copyright years. 2016-01-04 15:30:50 +01:00
rtl-error.h Update copyright years. 2016-01-04 15:30:50 +01:00
rtl-iter.h Update copyright years. 2016-01-04 15:30:50 +01:00
rtl.c Update copyright years. 2016-01-04 15:30:50 +01:00
rtl.def re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
rtl.h Fix PR66178, ICE due to misexpansion of constant expressions involving labels. 2016-01-21 18:10:03 +00:00
rtlanal.c re PR rtl-optimization/69592 (Compile-time and memory-use hog in combine) 2016-02-01 23:39:31 +01:00
rtlhash.c Update copyright years. 2016-01-04 15:30:50 +01:00
rtlhash.h Update copyright years. 2016-01-04 15:30:50 +01:00
rtlhooks-def.h Update copyright years. 2016-01-04 15:30:50 +01:00
rtlhooks.c Update copyright years. 2016-01-04 15:30:50 +01:00
sancov.c Update copyright years. 2016-01-04 15:30:50 +01:00
sanitizer.def re PR lto/69254 (ICE in streamer_get_builtin_tree when using -fsanitize=shift on the compile side only) 2016-01-27 19:48:30 +01:00
sanopt.c Update copyright years. 2016-01-04 15:30:50 +01:00
sbitmap.c Update copyright years. 2016-01-04 15:30:50 +01:00
sbitmap.h Update copyright years. 2016-01-04 15:30:50 +01:00
sched-deps.c Update copyright years. 2016-01-04 15:30:50 +01:00
sched-ebb.c Update copyright years. 2016-01-04 15:30:50 +01:00
sched-int.h Update copyright years. 2016-01-04 15:30:50 +01:00
sched-rgn.c Update copyright years. 2016-01-04 15:30:50 +01:00
sdbout.c Update copyright years. 2016-01-04 15:30:50 +01:00
sdbout.h Update copyright years. 2016-01-04 15:30:50 +01:00
sel-sched-dump.c Update copyright years. 2016-01-04 15:30:50 +01:00
sel-sched-dump.h Update copyright years. 2016-01-04 15:30:50 +01:00
sel-sched-ir.c Update copyright years. 2016-01-04 15:30:50 +01:00
sel-sched-ir.h Update copyright years. 2016-01-04 15:30:50 +01:00
sel-sched.c Update copyright years. 2016-01-04 15:30:50 +01:00
sel-sched.h Update copyright years. 2016-01-04 15:30:50 +01:00
sese.c new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
sese.h new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
shrink-wrap.c re PR debug/65779 (undefined local symbol on powerpc [regression]) 2016-01-19 14:21:04 +01:00
shrink-wrap.h Update copyright years. 2016-01-04 15:30:50 +01:00
signop.h Update copyright years. 2016-01-04 15:30:50 +01:00
simplify-rtx.c Fix missed comment fix in last change. 2016-01-21 18:11:10 +00:00
sparseset.c Update copyright years. 2016-01-04 15:30:50 +01:00
sparseset.h Update copyright years. 2016-01-04 15:30:50 +01:00
spellcheck-tree.c Update copyright years. 2016-01-04 15:30:50 +01:00
spellcheck.c Update copyright years. 2016-01-04 15:30:50 +01:00
spellcheck.h Update copyright years. 2016-01-04 15:30:50 +01:00
sreal.c Update copyright years. 2016-01-04 15:30:50 +01:00
sreal.h Update copyright years. 2016-01-04 15:30:50 +01:00
ssa-iterators.h Update copyright years. 2016-01-04 15:30:50 +01:00
ssa.h Update copyright years. 2016-01-04 15:30:50 +01:00
stab.def Update copyright years. 2016-01-04 15:30:50 +01:00
stack-ptr-mod.c Update copyright years. 2016-01-04 15:30:50 +01:00
statistics.c Update copyright years. 2016-01-04 15:30:50 +01:00
statistics.h Update copyright years. 2016-01-04 15:30:50 +01:00
stmt.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
stmt.h Update copyright years. 2016-01-04 15:30:50 +01:00
stor-layout.c Update copyright years. 2016-01-04 15:30:50 +01:00
stor-layout.h Update copyright years. 2016-01-04 15:30:50 +01:00
store-motion.c Update copyright years. 2016-01-04 15:30:50 +01:00
streamer-hooks.c Update copyright years. 2016-01-04 15:30:50 +01:00
streamer-hooks.h Update copyright years. 2016-01-04 15:30:50 +01:00
stringpool.c Update copyright years. 2016-01-04 15:30:50 +01:00
stringpool.h Update copyright years. 2016-01-04 15:30:50 +01:00
symbol-summary.h Update copyright years. 2016-01-04 15:30:50 +01:00
symtab.c symtab.c (symtab_node::asm_name): Do not call printable name directly. 2016-01-19 11:51:18 +00:00
sync-builtins.def Update copyright years. 2016-01-04 15:30:50 +01:00
system.h configure.ac (ac_cv_std_swap_in_utility): New test. 2016-01-26 16:34:24 +00:00
target-def.h Update copyright years. 2016-01-04 15:30:50 +01:00
target-globals.c Update copyright years. 2016-01-04 15:30:50 +01:00
target-globals.h Update copyright years. 2016-01-04 15:30:50 +01:00
target-hooks-macros.h Update copyright years. 2016-01-04 15:30:50 +01:00
target-insns.def Update copyright years. 2016-01-04 15:30:50 +01:00
target.def nvptx.c (PTX_GANG_DEFAULT): New. 2016-02-01 16:20:13 +00:00
target.h Update copyright years. 2016-01-04 15:30:50 +01:00
targhooks.c Update copyright years. 2016-01-04 15:30:50 +01:00
targhooks.h Update copyright years. 2016-01-04 15:30:50 +01:00
timevar.c Update copyright years. 2016-01-04 15:30:50 +01:00
timevar.def Merge of HSA 2016-01-19 11:35:10 +01:00
timevar.h Update copyright years. 2016-01-04 15:30:50 +01:00
tlink.c Update copyright years. 2016-01-04 15:30:50 +01:00
toplev.c Fix memory chunk corruption for opts_obstack (PR jit/68446) 2016-01-19 14:35:16 +00:00
toplev.h Update copyright years. 2016-01-04 15:30:50 +01:00
tracer.c Update copyright years. 2016-01-04 15:30:50 +01:00
tracer.h Update copyright years. 2016-01-04 15:30:50 +01:00
trans-mem.c re PR middle-end/60908 (compiler bug related to trans-mem.c) 2016-01-26 09:29:02 -08:00
trans-mem.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-affine.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-affine.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-call-cdce.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-cfg.c re PR middle-end/68542 (10% 481.wrf performance regression) 2016-01-18 14:14:35 +00:00
tree-cfg.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-cfgcleanup.c PR c++/68983 (BE) 2016-01-08 11:01:12 -05:00
tree-cfgcleanup.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-chkp-opt.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-chkp.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-chkp.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-chrec.c re PR tree-optimization/69574 (gcc ICE at -O2 and -O3 on x86_64-linux-gnu in hide_evolution_in_other_loops_than_loop) 2016-02-01 15:38:08 +00:00
tree-chrec.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-complex.c re PR middle-end/68146 (ice in gimple_stmt_nonnegative_warnv_p with -O2) 2016-01-14 16:25:22 +01:00
tree-core.h Merge of HSA 2016-01-19 11:35:10 +01:00
tree-data-ref.c Handle DR_NUM_DIMENSIONS == 0 in initialize_data_dependence_relation 2016-01-26 22:11:51 +00:00
tree-data-ref.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-dfa.c re PR tree-optimization/69355 (Wrong results with -O1 optimization) 2016-01-21 08:59:32 +01:00
tree-dfa.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-diagnostic.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-diagnostic.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-dump.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-dump.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-eh.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-eh.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-emutls.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-hash-traits.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-hasher.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-if-conv.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-inline.c Avoid extraneous remapping in copy_gimple_seq_and_replace_locals 2016-01-15 13:43:49 +01:00
tree-inline.h Avoid extraneous remapping in copy_gimple_seq_and_replace_locals 2016-01-15 13:43:49 +01:00
tree-into-ssa.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-into-ssa.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-iterator.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-iterator.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-loop-distribution.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-nested.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-nested.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-nrv.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-object-size.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-object-size.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-outof-ssa.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-outof-ssa.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-parloops.c omp-low.h (oacc_fn_attrib_kernels_p): Declare. 2016-01-26 14:32:30 +00:00
tree-parloops.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-pass.h Merge of HSA 2016-01-19 11:35:10 +01:00
tree-phinodes.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-phinodes.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-predcom.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-pretty-print.c Merge of HSA 2016-01-19 11:35:10 +01:00
tree-pretty-print.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-profile.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-scalar-evolution.c Enhance SCEV to follow copies of SSA_NAMEs. 2016-01-18 12:46:54 +00:00
tree-scalar-evolution.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-sra.c [PR 69355] Correct hole detection when total_scalarization fails 2016-01-27 15:51:17 +01:00
tree-ssa-address.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-address.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-alias.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-alias.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-ccp.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-coalesce.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-coalesce.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-copy.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-dce.c re PR middle-end/69547 (no-op array initializer emits an empty loop) 2016-01-29 11:21:19 +00:00
tree-ssa-dom.c re PR tree-optimization/69347 (excessive compile time with -O2) 2016-01-22 13:18:59 -07:00
tree-ssa-dom.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-dse.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-forwprop.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-ifcombine.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-live.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-live.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-loop-ch.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-loop-im.c re PR tree-optimization/69452 (gcc ICE at -O3 on x86_64-linux-gnu in with verify_ssa failed) 2016-01-26 11:51:01 +00:00
tree-ssa-loop-ivcanon.c re PR tree-optimization/69579 (gcc ICE at -O3 and __sigsetjmp with “tree check: expected ssa_name, have integer_cst in compute_optimized_partition_bases”) 2016-02-01 12:39:04 +00:00
tree-ssa-loop-ivopts.c common.opt (fkeep-gc-roots-live): New undocumented option. 2016-01-27 17:42:47 +00:00
tree-ssa-loop-ivopts.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-loop-manip.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-loop-manip.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-loop-niter.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-loop-niter.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-loop-prefetch.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-loop-unswitch.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-loop.c omp-low.h (oacc_fn_attrib_kernels_p): Declare. 2016-01-26 14:32:30 +00:00
tree-ssa-loop.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-math-opts.c re PR tree-optimization/69606 (wrong code at -Os and above on x86_64-linux-gnu) 2016-02-02 12:39:36 +00:00
tree-ssa-operands.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-operands.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-phionlycprop.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-phiopt.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-phiprop.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-pre.c re PR tree-optimization/69376 (wrong code at -Os and above on x86_64-linux-gnu) 2016-01-25 09:05:47 +00:00
tree-ssa-propagate.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-propagate.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-reassoc.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-sccvn.c re PR tree-optimization/69376 (wrong code at -Os and above on x86_64-linux-gnu) 2016-01-25 09:05:47 +00:00
tree-ssa-sccvn.h re PR tree-optimization/69376 (wrong code at -Os and above on x86_64-linux-gnu) 2016-01-25 09:05:47 +00:00
tree-ssa-scopedtables.c re PR tree-optimization/69336 (Constant value not detected) 2016-01-19 13:27:11 +00:00
tree-ssa-scopedtables.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-sink.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-strlen.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-structalias.c Fix infinite recursion in create_variable_info_for_1 2016-01-13 15:51:33 +00:00
tree-ssa-tail-merge.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-ter.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-ter.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-threadbackward.c re PR testsuite/68580 (FAIL: c-c++-common/tsan/pr65400-1.c -O0 execution test) 2016-02-01 15:03:57 -07:00
tree-ssa-threadbackward.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-threadedge.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-threadedge.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa-threadupdate.c re PR tree-optimization/69196 (code size regression with jump threading at -O2) 2016-01-25 12:19:09 -07:00
tree-ssa-threadupdate.h re PR tree-optimization/69196 (code size regression with jump threading at -O2) 2016-01-25 12:19:09 -07:00
tree-ssa-uncprop.c re PR tree-optimization/69270 (DOM should exploit range information to create more equivalences) 2016-01-15 15:32:05 -07:00
tree-ssa-uninit.c re PR tree-optimization/69013 (gfortran-5.3.0 ICE in prune_uninit_phi_opnds_in_unrealizable_paths, at tree-ssa-uninit.c:1121) 2016-01-13 12:15:01 +00:00
tree-ssa.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssa.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-ssanames.c tree-ssanames.c (release_free_names_and_compact_live_names): Replace "the the" with "the" in the comments. 2016-01-23 15:13:53 +01:00
tree-ssanames.h re PR tree-optimization/69270 (DOM should exploit range information to create more equivalences) 2016-01-15 15:32:05 -07:00
tree-stdarg.c re PR tree-optimization/69162 (ICE in create_tmp_var, at gimple-expr.c:468) 2016-01-08 11:14:29 +01:00
tree-stdarg.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-streamer-in.c re PR lto/69254 (ICE in streamer_get_builtin_tree when using -fsanitize=shift on the compile side only) 2016-01-27 19:48:30 +01:00
tree-streamer-out.c re PR lto/69393 (ICE in dwarf2out_finish, at dwarf2out.c:27175 with LTO) 2016-01-25 09:31:47 +00:00
tree-streamer.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-streamer.h Update copyright years. 2016-01-04 15:30:50 +01:00
tree-switch-conversion.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-tailcall.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-vect-data-refs.c tree-ssanames.c (release_free_names_and_compact_live_names): Replace "the the" with "the" in the comments. 2016-01-23 15:13:53 +01:00
tree-vect-generic.c Update copyright years. 2016-01-04 15:30:50 +01:00
tree-vect-loop-manip.c re PR tree-optimization/69466 (ICE: Invalid PHI argument after vectorization (on -O2)) 2016-01-28 09:10:30 +00:00
tree-vect-loop.c re PR middle-end/68542 (10% 481.wrf performance regression) 2016-02-02 09:46:26 +00:00
tree-vect-patterns.c re PR testsuite/69007 (test cases gcc.dg/vect/vect-reduc-dot-s8a.c fails starting with r231815) 2016-01-12 11:39:54 +00:00
tree-vect-slp.c re PR tree-optimization/69297 (Performance regression after r230020) 2016-01-18 14:25:56 +00:00
tree-vect-stmts.c re PR middle-end/68542 (10% 481.wrf performance regression) 2016-02-02 09:46:26 +00:00
tree-vectorizer.c re PR middle-end/68542 (10% 481.wrf performance regression) 2016-02-02 09:46:26 +00:00
tree-vectorizer.h re PR middle-end/68542 (10% 481.wrf performance regression) 2016-02-02 09:46:26 +00:00
tree-vrp.c tree-ssanames.c (release_free_names_and_compact_live_names): Replace "the the" with "the" in the comments. 2016-01-23 15:13:53 +01:00
tree.c re PR c++/68782 (bad reference member formed with constexpr) 2016-01-26 16:34:10 -05:00
tree.def Update copyright years. 2016-01-04 15:30:50 +01:00
tree.h * tree.h (BINFO_FLAG_0): Rename from BINFO_MARKED. 2016-01-28 10:45:44 -05:00
treestruct.def Update copyright years. 2016-01-04 15:30:50 +01:00
tsan.c Update copyright years. 2016-01-04 15:30:50 +01:00
tsan.h Update copyright years. 2016-01-04 15:30:50 +01:00
tsystem.h Update copyright years. 2016-01-04 15:30:50 +01:00
typeclass.h Update copyright years. 2016-01-04 15:30:50 +01:00
typed-splay-tree.h Update copyright years. 2016-01-04 15:30:50 +01:00
ubsan.c re PR sanitizer/69099 (ICE when compiling gcc.dg/atomic/c11-atomic-exec-2.c with -fsanitize=float-cast-overflow) 2016-01-06 10:24:15 +00:00
ubsan.h re PR sanitizer/69099 (ICE when compiling gcc.dg/atomic/c11-atomic-exec-2.c with -fsanitize=float-cast-overflow) 2016-01-06 10:24:15 +00:00
valtrack.c Update copyright years. 2016-01-04 15:30:50 +01:00
valtrack.h Update copyright years. 2016-01-04 15:30:50 +01:00
value-prof.c re PR middle-end/69156 (gcc.dg/pr59630.c: ICE: verify_gimple failed: non-trivial conversion at assignment with -fno-tree-ccp) 2016-01-13 20:21:59 +01:00
value-prof.h Update copyright years. 2016-01-04 15:30:50 +01:00
var-tracking.c re PR rtl-optimization/69217 (ICE at var-tracking.c:5038 Segmentation fault) 2016-01-26 20:57:37 +00:00
varasm.c Fix SSA inconsistencies with invalid asm reg names (PR67639) 2016-01-07 12:17:39 +00:00
varasm.h Update copyright years. 2016-01-04 15:30:50 +01:00
varpool.c Mark symbols in offload tables with force_output in read_offload_tables 2016-01-14 20:01:39 +00:00
vec.c Update copyright years. 2016-01-04 15:30:50 +01:00
vec.h Update copyright years. 2016-01-04 15:30:50 +01:00
version.c Update copyright years. 2016-01-04 15:30:50 +01:00
version.h
vmsdbg.h Update copyright years. 2016-01-04 15:30:50 +01:00
vmsdbgout.c Update copyright years. 2016-01-04 15:30:50 +01:00
vtable-verify.c Update copyright years. 2016-01-04 15:30:50 +01:00
vtable-verify.h Update copyright years. 2016-01-04 15:30:50 +01:00
web.c Update copyright years. 2016-01-04 15:30:50 +01:00
wide-int-print.cc Update copyright years. 2016-01-04 15:30:50 +01:00
wide-int-print.h Update copyright years. 2016-01-04 15:30:50 +01:00
wide-int.cc re PR middle-end/69546 (wrong code with -O and simple int128 arithmetics) 2016-01-30 19:04:13 +01:00
wide-int.h re PR tree-optimization/69399 (wrong code with -O and int128) 2016-01-27 12:40:04 +01:00
xcoff.h Update copyright years. 2016-01-04 15:30:50 +01:00
xcoffout.c Update copyright years. 2016-01-04 15:30:50 +01:00
xcoffout.h Update copyright years. 2016-01-04 15:30:50 +01:00

README.Portability

Copyright (C) 2000-2016 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
---------------

Irix6 "cc -n32" and OSF4 "cc" have problems with constant string
initializers with parens around it, e.g.

const char string[] = ("A string");

This is unfortunate since this is what the GNU gettext macro N_
produces.  You need to find a different way to code it.

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.