gcc/gcc
David Malcolm 51b861137e Introduce RTL function reader
This is the combination of these patches:
- [8a/9] Introduce class function_reader (v8)
- Add ASSERT_RTX_PTR_EQ
- [8b/9] Add target-independent selftests of RTL function reader (v2)
- [8c/9] Add aarch64-specific selftests for RTL function reader (v2)
- [8d/9] Add x86_64-specific selftests for RTL function reader (v2)

gcc/ChangeLog:
	* Makefile.in (OBJS): Add read-md.o, read-rtl.o,
	read-rtl-function.o, and selftest-rtl.o.
	* config/aarch64/aarch64.c: Include selftest.h and
	selftest-rtl.h.
	(selftest::aarch64_test_loading_full_dump): New function.
	(selftest::aarch64_run_selftests): New function.
	(TARGET_RUN_TARGET_SELFTESTS): Wire it up to
	selftest::aarch64_run_selftests.
	* config/i386/i386.c
	(selftest::ix86_test_loading_dump_fragment_1): New function.
	(selftest::ix86_test_loading_call_insn): New function.
	(selftest::ix86_test_loading_full_dump): New function.
	(selftest::ix86_test_loading_unspec): New function.
	(selftest::ix86_run_selftests): Call the new functions.
	* emit-rtl.c (maybe_set_max_label_num): New function.
	* emit-rtl.h (maybe_set_max_label_num): New decl.
	* function.c (instantiate_decls): Guard call to
	instantiate_decls_1 with if (DECL_INITIAL (fndecl)).
	* function-tests.c (selftest::verify_three_block_rtl_cfg): Remove
	"static".
	* gensupport.c (gen_reader::gen_reader): Pass "false"
	for new "compact" param of rtx_reader.
	* print-rtl.c (rtx_writer::print_rtx_operand): Print "(nil)"
	rather than an empty string for NULL strings.
	* read-md.c: Potentially include config.h rather than bconfig.h.
	Wrap include of errors.h with #ifdef GENERATOR_FILE.
	(have_error): New global, copied from errors.c.
	(md_reader::read_name): Rename to...
	(md_reader::read_name_1): ...this, adding "out_loc" param,
	and converting "missing name or number" to returning false, rather
	than failing.
	(md_reader::read_name): Reimplement in terms of read_name_1.
	(md_reader::read_name_or_nil): New function.
	(md_reader::read_string): Handle "(nil)" by returning NULL.
	(md_reader::md_reader): Add new param "compact".
	(md_reader::read_md_files): Wrap with #ifdef GENERATOR_FILE.
	(md_reader::read_file): New method.
	* read-md.h (md_reader::md_reader): Add new param "compact".
	(md_reader::read_file): New method.
	(md_reader::is_compact): New accessor.
	(md_reader::read_name): Convert return type from void to
	file_location.
	(md_reader::read_name_or_nil): New decl.
	(md_reader::read_name_1): New decl.
	(md_reader::m_compact): New field.
	(noop_reader::noop_reader): Pass "false" for new "compact" param
	of rtx_reader.
	(rtx_reader::rtx_reader): Add new "compact" param.
	(rtx_reader::read_rtx_operand): Make virtual and convert return
	type from void to rtx.
	(rtx_reader::read_until): New decl.
	(rtx_reader::handle_any_trailing_information): New virtual
	function.
	(rtx_reader::postprocess): New virtual function.
	(rtx_reader::finalize_string): New virtual function.
	(rtx_reader::m_in_call_function_usage): New field.
	(rtx_reader::m_reuse_rtx_by_id): New field.
	* read-rtl-function.c: New file.
	* selftest-rtl.c (selftest::assert_rtx_ptr_eq_at): New function.
	* selftest-rtl.h (ASSERT_RTX_PTR_EQ): New macro.
	(selftest::verify_three_block_rtl_cfg): New decl.
	* read-rtl-function.h: New file.
	* read-rtl.c: Potentially include config.h rather than bconfig.h.
	For host, include function.h, memmodel.h, and emit-rtl.h.
	(one_time_initialization): New function.
	(struct compact_insn_name): New struct.
	(compact_insn_names): New array.
	(find_code): Handle insn codes in compact dumps.
	(apply_subst_iterator): Wrap with #ifdef GENERATOR_FILE.
	(bind_subst_iter_and_attr): Likewise.
	(add_condition_to_string): Likewise.
	(add_condition_to_rtx): Likewise.
	(apply_attribute_uses): Likewise.
	(add_current_iterators): Likewise.
	(apply_iterators): Likewise.
	(initialize_iterators): Guard usage of apply_subst_iterator with
	#ifdef GENERATOR_FILE.
	(read_conditions): Wrap with #ifdef GENERATOR_FILE.
	(md_reader::read_mapping): Likewise.
	(add_define_attr_for_define_subst): Likewise.
	(add_define_subst_attr): Likewise.
	(read_subst_mapping): Likewise.
	(check_code_iterator): Likewise.
	(rtx_reader::read_rtx): Likewise.  Move one-time initialization
	logic to...
	(one_time_initialization): New function.
	(rtx_reader::read_until): New method.
	(read_flags): New function.
	(parse_reg_note_name): New function.
	(rtx_reader::read_rtx_code): Initialize "iterator" to NULL.
	Handle reuse_rtx ids.
	Wrap iterator lookup within #ifdef GENERATOR_FILE.
	Add parsing support for RTL dumps, mirroring the special-cases in
	print_rtx, by calling read_flags, reading REG_NOTE names, INSN_UID
	values, and calling handle_any_trailing_information.
	(rtx_reader::read_rtx_operand): Convert return type from void
	to rtx, returning return_rtx.  Handle case 'e'.  Call
	finalize_string on XSTR and XTMPL fields.
	(rtx_reader::read_nested_rtx):  Handle dumps in which trailing
	 "(nil)" values were omitted.  Call the postprocess vfunc on the
	return_rtx.
	(rtx_reader::rtx_reader): Add new "compact" param and pass to base
	class ctor.  Initialize m_in_call_function_usage.  Call
	one_time_initialization.
	* rtl-tests.c (selftest::test_uncond_jump): Call
	set_new_first_and_last_insn.
	* rtl.h (read_rtx): Wrap decl with #ifdef GENERATOR_FILE.
	* selftest-rtl.c: New file.
	* selftest-rtl.h (class selftest::rtl_dump_test): New class.
	(selftest::get_insn_by_uid): New decl.
	* selftest-run-tests.c (selftest::run_tests): Call
	read_rtl_function_c_tests.
	* selftest.h  (selftest::read_rtl_function_c_tests): New decl.
	* tree-dfa.c (ssa_default_def): Return NULL_TREE for rtl function
	dumps.

gcc/testsuite/ChangeLog:
	* selftests/asr_div1.rtl: New file.
	* selftests/aarch64: New subdirectory.
	* selftests/aarch64/times-two.rtl: New file.
	* selftests/bb-index.rtl: New file.
	* selftests/cfg-test.rtl: New file.
	* selftests/const-int.rtl: New file.
	* selftests/example-labels.rtl: New file.
	* selftests/insn-with-mode.rtl: New file.
	* selftests/jump-to-label-ref.rtl: New file.
	* selftests/jump-to-return.rtl: New file.
	* selftests/jump-to-simple-return.rtl: New file.
	* selftests/mem.rtl: New file.
	* selftests/note-insn-deleted.rtl: New file.
	* selftests/note_insn_basic_block.rtl: New file.
	* selftests/simple-cse.rtl: New file.
	* selftests/symbol-ref.rtl: New file.
	* selftests/x86_64: New subdirectory.
	* selftests/x86_64/call-insn.rtl: New file.
	* selftests/x86_64/copy-hard-reg-into-frame.rtl: New file.
	* selftests/x86_64/times-two.rtl: New file.
	* selftests/x86_64/unspec.rtl: New file.

From-SVN: r244110
2017-01-05 19:32:09 +00:00
..
ada s-linux-mips.ads: Use correct signal and errno constants. 2017-01-03 17:52:28 +00:00
c re PR c++/64767 (Could GCC warn when a pointer is compared against '\0'?) 2017-01-04 21:47:04 +00:00
c-family Error for '-' as filename of a precompiled header (PR pch/78970) 2017-01-05 14:17:07 +00:00
common Update copyright years. 2017-01-01 13:07:43 +01:00
config Introduce RTL function reader 2017-01-05 19:32:09 +00:00
cp re PR c++/78765 (ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5708)) 2017-01-05 12:30:26 +00:00
doc re PR c++/64767 (Could GCC warn when a pointer is compared against '\0'?) 2017-01-04 21:47:04 +00:00
fortran [bootstrap-O3,fortran] add a NULL initializer to avoid a warning at -O3 2017-01-05 01:46:01 +00:00
ginclude Update copyright years. 2017-01-01 13:07:43 +01:00
go runtime: remove __go_alloc and __go_free 2017-01-03 22:58:48 +00:00
jit Update copyright years. 2017-01-01 13:07:43 +01:00
lto Update copyright years. 2017-01-01 13:07:43 +01:00
objc Update copyright years. 2017-01-01 13:07:43 +01:00
objcp Update copyright years. 2017-01-01 13:07:43 +01:00
po Update .po files from TP. 2017-01-03 20:52:48 +00:00
testsuite Introduce RTL function reader 2017-01-05 19:32:09 +00:00
ABOUT-GCC-NLS Update copyright years. 2017-01-01 13:07:43 +01:00
BASE-VER
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog Introduce RTL function reader 2017-01-05 19:32:09 +00: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: Fix whitespace. 2017-01-05 20:18:53 +01:00
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
DATESTAMP Daily bump. 2017-01-05 00:16:23 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES Update copyright years. 2017-01-01 13:07:43 +01:00
Makefile.in Introduce RTL function reader 2017-01-05 19:32:09 +00:00
ONEWS
README.Portability Update copyright years. 2017-01-01 13:07:43 +01:00
acinclude.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
aclocal.m4
addresses.h Update copyright years. 2017-01-01 13:07:43 +01:00
alias.c Update copyright years. 2017-01-01 13:07:43 +01:00
alias.h Update copyright years. 2017-01-01 13:07:43 +01:00
alloc-pool.c Update copyright years. 2017-01-01 13:07:43 +01:00
alloc-pool.h Update copyright years. 2017-01-01 13:07:43 +01:00
asan.c Update copyright years. 2017-01-01 13:07:43 +01:00
asan.h Update copyright years. 2017-01-01 13:07:43 +01:00
attribs.c Update copyright years. 2017-01-01 13:07:43 +01:00
attribs.h Update copyright years. 2017-01-01 13:07:43 +01:00
auto-inc-dec.c Update copyright years. 2017-01-01 13:07:43 +01:00
auto-profile.c Update copyright years. 2017-01-01 13:07:43 +01:00
auto-profile.h Update copyright years. 2017-01-01 13:07:43 +01:00
backend.h Update copyright years. 2017-01-01 13:07:43 +01:00
basic-block.h Update copyright years. 2017-01-01 13:07:43 +01:00
bb-reorder.c Update copyright years. 2017-01-01 13:07:43 +01:00
bb-reorder.h Update copyright years. 2017-01-01 13:07:43 +01:00
bitmap.c Update copyright years. 2017-01-01 13:07:43 +01:00
bitmap.h Update copyright years. 2017-01-01 13:07:43 +01:00
bt-load.c Update copyright years. 2017-01-01 13:07:43 +01:00
builtin-attrs.def Update copyright years. 2017-01-01 13:07:43 +01:00
builtin-types.def Update copyright years. 2017-01-01 13:07:43 +01:00
builtins.c Update copyright years. 2017-01-01 13:07:43 +01:00
builtins.def Update copyright years. 2017-01-01 13:07:43 +01:00
builtins.h Update copyright years. 2017-01-01 13:07:43 +01:00
caller-save.c Update copyright years. 2017-01-01 13:07:43 +01:00
calls.c Update copyright years. 2017-01-01 13:07:43 +01:00
calls.h Update copyright years. 2017-01-01 13:07:43 +01:00
ccmp.c Update copyright years. 2017-01-01 13:07:43 +01:00
ccmp.h Update copyright years. 2017-01-01 13:07:43 +01:00
cfg-flags.def Update copyright years. 2017-01-01 13:07:43 +01:00
cfg.c Update copyright years. 2017-01-01 13:07:43 +01:00
cfg.h Update copyright years. 2017-01-01 13:07:43 +01:00
cfganal.c Update copyright years. 2017-01-01 13:07:43 +01:00
cfganal.h Update copyright years. 2017-01-01 13:07:43 +01:00
cfgbuild.c Update copyright years. 2017-01-01 13:07:43 +01:00
cfgbuild.h Update copyright years. 2017-01-01 13:07:43 +01:00
cfgcleanup.c Update copyright years. 2017-01-01 13:07:43 +01:00
cfgcleanup.h Update copyright years. 2017-01-01 13:07:43 +01:00
cfgexpand.c [-fcompare-debug] find jump before debug insns in expand 2017-01-05 01:46:32 +00:00
cfgexpand.h Update copyright years. 2017-01-01 13:07:43 +01:00
cfghooks.c Update copyright years. 2017-01-01 13:07:43 +01:00
cfghooks.h Update copyright years. 2017-01-01 13:07:43 +01:00
cfgloop.c Update copyright years. 2017-01-01 13:07:43 +01:00
cfgloop.h Update copyright years. 2017-01-01 13:07:43 +01:00
cfgloopanal.c Update copyright years. 2017-01-01 13:07:43 +01:00
cfgloopmanip.c Update copyright years. 2017-01-01 13:07:43 +01:00
cfgloopmanip.h Update copyright years. 2017-01-01 13:07:43 +01:00
cfgrtl.c Update copyright years. 2017-01-01 13:07:43 +01:00
cfgrtl.h Update copyright years. 2017-01-01 13:07:43 +01:00
cgraph.c Update copyright years. 2017-01-01 13:07:43 +01:00
cgraph.h Update copyright years. 2017-01-01 13:07:43 +01:00
cgraphbuild.c Update copyright years. 2017-01-01 13:07:43 +01:00
cgraphclones.c Update copyright years. 2017-01-01 13:07:43 +01:00
cgraphunit.c Update copyright years. 2017-01-01 13:07:43 +01:00
chkp-builtins.def Update copyright years. 2017-01-01 13:07:43 +01:00
cif-code.def Update copyright years. 2017-01-01 13:07:43 +01:00
cilk-builtins.def Update copyright years. 2017-01-01 13:07:43 +01:00
cilk-common.c Update copyright years. 2017-01-01 13:07:43 +01:00
cilk.h Update copyright years. 2017-01-01 13:07:43 +01:00
cilkplus.def Update copyright years. 2017-01-01 13:07:43 +01:00
collect-utils.c Update copyright years. 2017-01-01 13:07:43 +01:00
collect-utils.h Update copyright years. 2017-01-01 13:07:43 +01:00
collect2-aix.c Update copyright years. 2017-01-01 13:07:43 +01:00
collect2-aix.h Update copyright years. 2017-01-01 13:07:43 +01:00
collect2.c Update copyright years. 2017-01-01 13:07:43 +01:00
collect2.h Update copyright years. 2017-01-01 13:07:43 +01:00
combine-stack-adj.c Update copyright years. 2017-01-01 13:07:43 +01:00
combine.c Update copyright years. 2017-01-01 13:07:43 +01:00
common.md Update copyright years. 2017-01-01 13:07:43 +01:00
common.opt common.opt (fvect-cost-model): Remove RejectNegative flag... 2017-01-05 16:48:41 +01:00
compare-elim.c Update copyright years. 2017-01-01 13:07:43 +01:00
conditions.h Update copyright years. 2017-01-01 13:07:43 +01:00
config.build Update copyright years. 2017-01-01 13:07:43 +01:00
config.gcc Update copyright years. 2017-01-01 13:07:43 +01:00
config.host Update copyright years. 2017-01-01 13:07:43 +01:00
config.in Update configure deps, remove stray \xA0 in picflag.m4, regenerate 2017-01-04 18:59:34 +10:30
configure Update configure deps, remove stray \xA0 in picflag.m4, regenerate 2017-01-04 18:59:34 +10:30
configure.ac Update copyright years. 2017-01-01 13:07:43 +01:00
context.c Update copyright years. 2017-01-01 13:07:43 +01:00
context.h Update copyright years. 2017-01-01 13:07:43 +01:00
convert.c Update copyright years. 2017-01-01 13:07:43 +01:00
convert.h Update copyright years. 2017-01-01 13:07:43 +01:00
coretypes.h Update copyright years. 2017-01-01 13:07:43 +01:00
coverage.c Update copyright years. 2017-01-01 13:07:43 +01:00
coverage.h Update copyright years. 2017-01-01 13:07:43 +01:00
cppbuiltin.c Update copyright years. 2017-01-01 13:07:43 +01:00
cppbuiltin.h Update copyright years. 2017-01-01 13:07:43 +01:00
cppdefault.c Update copyright years. 2017-01-01 13:07:43 +01:00
cppdefault.h Update copyright years. 2017-01-01 13:07:43 +01:00
cprop.c Update copyright years. 2017-01-01 13:07:43 +01:00
cse.c Update copyright years. 2017-01-01 13:07:43 +01:00
cselib.c Update copyright years. 2017-01-01 13:07:43 +01:00
cselib.h Update copyright years. 2017-01-01 13:07:43 +01:00
cstamp-h.in
data-streamer-in.c Update copyright years. 2017-01-01 13:07:43 +01:00
data-streamer-out.c Update copyright years. 2017-01-01 13:07:43 +01:00
data-streamer.c Update copyright years. 2017-01-01 13:07:43 +01:00
data-streamer.h Update copyright years. 2017-01-01 13:07:43 +01:00
dbgcnt.c Update copyright years. 2017-01-01 13:07:43 +01:00
dbgcnt.def Update copyright years. 2017-01-01 13:07:43 +01:00
dbgcnt.h Update copyright years. 2017-01-01 13:07:43 +01:00
dbxout.c Update copyright years. 2017-01-01 13:07:43 +01:00
dbxout.h Update copyright years. 2017-01-01 13:07:43 +01:00
dce.c Update copyright years. 2017-01-01 13:07:43 +01:00
dce.h Update copyright years. 2017-01-01 13:07:43 +01:00
ddg.c Update copyright years. 2017-01-01 13:07:43 +01:00
ddg.h Update copyright years. 2017-01-01 13:07:43 +01:00
debug.c Update copyright years. 2017-01-01 13:07:43 +01:00
debug.h Update copyright years. 2017-01-01 13:07:43 +01:00
defaults.h Update copyright years. 2017-01-01 13:07:43 +01:00
df-core.c Update copyright years. 2017-01-01 13:07:43 +01:00
df-problems.c Update copyright years. 2017-01-01 13:07:43 +01:00
df-scan.c [bootstrap-O3] use unsigned type for regno in df-scan 2017-01-05 01:46:41 +00:00
df.h Update copyright years. 2017-01-01 13:07:43 +01:00
dfp.c Update copyright years. 2017-01-01 13:07:43 +01:00
dfp.h Update copyright years. 2017-01-01 13:07:43 +01:00
diagnostic-color.c Update copyright years. 2017-01-01 13:07:43 +01:00
diagnostic-color.h Update copyright years. 2017-01-01 13:07:43 +01:00
diagnostic-core.h Update copyright years. 2017-01-01 13:07:43 +01:00
diagnostic-show-locus.c Update copyright years. 2017-01-01 13:07:43 +01:00
diagnostic.c Update copyright years. 2017-01-01 13:07:43 +01:00
diagnostic.def Update copyright years. 2017-01-01 13:07:43 +01:00
diagnostic.h Update copyright years. 2017-01-01 13:07:43 +01:00
dojump.c Update copyright years. 2017-01-01 13:07:43 +01:00
dojump.h Update copyright years. 2017-01-01 13:07:43 +01:00
dominance.c Update copyright years. 2017-01-01 13:07:43 +01:00
dominance.h Update copyright years. 2017-01-01 13:07:43 +01:00
domwalk.c Update copyright years. 2017-01-01 13:07:43 +01:00
domwalk.h Update copyright years. 2017-01-01 13:07:43 +01:00
double-int.c Update copyright years. 2017-01-01 13:07:43 +01:00
double-int.h Update copyright years. 2017-01-01 13:07:43 +01:00
dse.c Update copyright years. 2017-01-01 13:07:43 +01:00
dumpfile.c Update copyright years. 2017-01-01 13:07:43 +01:00
dumpfile.h Update copyright years. 2017-01-01 13:07:43 +01:00
dwarf2asm.c Update copyright years. 2017-01-01 13:07:43 +01:00
dwarf2asm.h Update copyright years. 2017-01-01 13:07:43 +01:00
dwarf2cfi.c Update copyright years. 2017-01-01 13:07:43 +01:00
dwarf2out.c dwarf2out.c (output_loc_list): Don't throw away 64K+ location descriptions for -gdwarf-5 and emit them as... 2017-01-04 21:03:59 +01:00
dwarf2out.h Update copyright years. 2017-01-01 13:07:43 +01:00
edit-context.c Update copyright years. 2017-01-01 13:07:43 +01:00
edit-context.h Update copyright years. 2017-01-01 13:07:43 +01:00
emit-rtl.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
emit-rtl.h Introduce RTL function reader 2017-01-05 19:32:09 +00:00
errors.c Update copyright years. 2017-01-01 13:07:43 +01:00
errors.h Update copyright years. 2017-01-01 13:07:43 +01:00
et-forest.c Update copyright years. 2017-01-01 13:07:43 +01:00
et-forest.h Update copyright years. 2017-01-01 13:07:43 +01:00
except.c Update copyright years. 2017-01-01 13:07:43 +01:00
except.h Update copyright years. 2017-01-01 13:07:43 +01:00
exec-tool.in Update copyright years. 2017-01-01 13:07:43 +01:00
explow.c Update copyright years. 2017-01-01 13:07:43 +01:00
explow.h Update copyright years. 2017-01-01 13:07:43 +01:00
expmed.c Update copyright years. 2017-01-01 13:07:43 +01:00
expmed.h Update copyright years. 2017-01-01 13:07:43 +01:00
expr.c Update copyright years. 2017-01-01 13:07:43 +01:00
expr.h Update copyright years. 2017-01-01 13:07:43 +01:00
fibonacci_heap.c Update copyright years. 2017-01-01 13:07:43 +01:00
fibonacci_heap.h Update copyright years. 2017-01-01 13:07:43 +01:00
file-find.c Update copyright years. 2017-01-01 13:07:43 +01:00
file-find.h Update copyright years. 2017-01-01 13:07:43 +01:00
final.c Update copyright years. 2017-01-01 13:07:43 +01:00
fixed-value.c Update copyright years. 2017-01-01 13:07:43 +01:00
fixed-value.h Update copyright years. 2017-01-01 13:07:43 +01:00
flag-types.h Update copyright years. 2017-01-01 13:07:43 +01:00
flags.h Update copyright years. 2017-01-01 13:07:43 +01:00
fold-const-call.c Update copyright years. 2017-01-01 13:07:43 +01:00
fold-const-call.h Update copyright years. 2017-01-01 13:07:43 +01:00
fold-const.c Update copyright years. 2017-01-01 13:07:43 +01:00
fold-const.h Update copyright years. 2017-01-01 13:07:43 +01:00
fp-test.c Update copyright years. 2017-01-01 13:07:43 +01:00
function-tests.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
function.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
function.h Update copyright years. 2017-01-01 13:07:43 +01:00
fwprop.c Update copyright years. 2017-01-01 13:07:43 +01:00
gcc-ar.c Update copyright years. 2017-01-01 13:07:43 +01:00
gcc-main.c Update copyright years. 2017-01-01 13:07:43 +01:00
gcc-plugin.h Update copyright years. 2017-01-01 13:07:43 +01:00
gcc-rich-location.c Update copyright years. 2017-01-01 13:07:43 +01:00
gcc-rich-location.h Update copyright years. 2017-01-01 13:07:43 +01:00
gcc-symtab.h Update copyright years. 2017-01-01 13:07:43 +01:00
gcc.c Error for '-' as filename of a precompiled header (PR pch/78970) 2017-01-05 14:17:07 +00:00
gcc.h Update copyright years. 2017-01-01 13:07:43 +01:00
gcov-counter.def Update copyright years. 2017-01-01 13:07:43 +01:00
gcov-dump.c Update copyright years. 2017-01-01 13:07:43 +01:00
gcov-io.c Update copyright years. 2017-01-01 13:07:43 +01:00
gcov-io.h Update copyright years. 2017-01-01 13:07:43 +01:00
gcov-iov.c Update copyright years. 2017-01-01 13:07:43 +01:00
gcov-tool.c Update copyright years. 2017-01-01 13:07:43 +01:00
gcov.c Update copyright years. 2017-01-01 13:07:43 +01:00
gcse-common.c Update copyright years. 2017-01-01 13:07:43 +01:00
gcse-common.h Update copyright years. 2017-01-01 13:07:43 +01:00
gcse.c re PR rtl-optimization/78812 (Wrong code generation due to hoisting memory load across function call) 2017-01-05 00:38:48 -07:00
gcse.h Update copyright years. 2017-01-01 13:07:43 +01:00
gdbasan.in
gdbhooks.py Update copyright years. 2017-01-01 13:07:43 +01:00
gdbinit.in Update copyright years. 2017-01-01 13:07:43 +01:00
gen-pass-instances.awk Update copyright years. 2017-01-01 13:07:43 +01:00
genattr-common.c Update copyright years. 2017-01-01 13:07:43 +01:00
genattr.c Update copyright years. 2017-01-01 13:07:43 +01:00
genattrtab.c Update copyright years. 2017-01-01 13:07:43 +01:00
genautomata.c Update copyright years. 2017-01-01 13:07:43 +01:00
gencfn-macros.c Update copyright years. 2017-01-01 13:07:43 +01:00
gencheck.c Update copyright years. 2017-01-01 13:07:43 +01:00
genchecksum.c Update copyright years. 2017-01-01 13:07:43 +01:00
gencodes.c Update copyright years. 2017-01-01 13:07:43 +01:00
genconditions.c Update copyright years. 2017-01-01 13:07:43 +01:00
genconfig.c Update copyright years. 2017-01-01 13:07:43 +01:00
genconstants.c Update copyright years. 2017-01-01 13:07:43 +01:00
genemit.c Update copyright years. 2017-01-01 13:07:43 +01:00
genenums.c Update copyright years. 2017-01-01 13:07:43 +01:00
generic-match-head.c Update copyright years. 2017-01-01 13:07:43 +01:00
generic-match.h Update copyright years. 2017-01-01 13:07:43 +01:00
genextract.c Update copyright years. 2017-01-01 13:07:43 +01:00
genflags.c Update copyright years. 2017-01-01 13:07:43 +01:00
gengenrtl.c Update copyright years. 2017-01-01 13:07:43 +01:00
gengtype-lex.l Update copyright years. 2017-01-01 13:07:43 +01:00
gengtype-parse.c Update copyright years. 2017-01-01 13:07:43 +01:00
gengtype-state.c Update copyright years. 2017-01-01 13:07:43 +01:00
gengtype.c Update copyright years. 2017-01-01 13:07:43 +01:00
gengtype.h Update copyright years. 2017-01-01 13:07:43 +01:00
genhooks.c Update copyright years. 2017-01-01 13:07:43 +01:00
genmatch.c genmatch.c (dt_node::gen_kids_1): If generic_exprs include SSA_NAME and exprs_len || fns_len... 2017-01-03 08:17:38 +01:00
genmddeps.c Update copyright years. 2017-01-01 13:07:43 +01:00
genmddump.c Update copyright years. 2017-01-01 13:07:43 +01:00
genmodes.c Update copyright years. 2017-01-01 13:07:43 +01:00
genmultilib Update copyright years. 2017-01-01 13:07:43 +01:00
genopinit.c Update copyright years. 2017-01-01 13:07:43 +01:00
genoutput.c Update copyright years. 2017-01-01 13:07:43 +01:00
genpeep.c Update copyright years. 2017-01-01 13:07:43 +01:00
genpreds.c Update copyright years. 2017-01-01 13:07:43 +01:00
genrecog.c Update copyright years. 2017-01-01 13:07:43 +01:00
gensupport.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
gensupport.h Update copyright years. 2017-01-01 13:07:43 +01:00
gentarget-def.c Update copyright years. 2017-01-01 13:07:43 +01:00
ggc-common.c Update copyright years. 2017-01-01 13:07:43 +01:00
ggc-internal.h Update copyright years. 2017-01-01 13:07:43 +01:00
ggc-none.c Update copyright years. 2017-01-01 13:07:43 +01:00
ggc-page.c Update copyright years. 2017-01-01 13:07:43 +01:00
ggc-tests.c Update copyright years. 2017-01-01 13:07:43 +01:00
ggc.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-builder.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-builder.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-expr.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-expr.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-fold.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-fold.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-iterator.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-iterator.h [-fcompare-debug] skip more debug stmts in cleanup_empty_eh 2017-01-05 01:46:14 +00:00
gimple-laddress.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-low.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-low.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-match-head.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-match.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-predict.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-pretty-print.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-pretty-print.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-ssa-backprop.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-ssa-isolate-paths.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-ssa-nonnull-compare.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-ssa-split-paths.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-ssa-sprintf.c PR tree-optimization/78696 - [7 Regression] -fprintf-return-value misoptimizes %.Ng where N is greater than 10 2017-01-03 16:14:44 -07:00
gimple-ssa-store-merging.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-ssa-strength-reduction.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-ssa-warn-alloca.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-ssa.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-streamer-in.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-streamer-out.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-streamer.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-walk.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple-walk.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimple.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimple.def Update copyright years. 2017-01-01 13:07:43 +01:00
gimple.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimplify-me.c Update copyright years. 2017-01-01 13:07:43 +01:00
gimplify-me.h Update copyright years. 2017-01-01 13:07:43 +01:00
gimplify.c Do not sanitize in an abnormal context (PR sanitizer/78815). 2017-01-05 09:16:50 +00:00
gimplify.h Update copyright years. 2017-01-01 13:07:43 +01:00
glimits.h Update copyright years. 2017-01-01 13:07:43 +01:00
godump.c godump.c (go_format_type): Treat ENUMERAL_TYPE like INTEGER_TYPE. 2017-01-04 00:58:34 +00:00
graph.c Update copyright years. 2017-01-01 13:07:43 +01:00
graph.h Update copyright years. 2017-01-01 13:07:43 +01:00
graphds.c Update copyright years. 2017-01-01 13:07:43 +01:00
graphds.h Update copyright years. 2017-01-01 13:07:43 +01:00
graphite-dependences.c Update copyright years. 2017-01-01 13:07:43 +01:00
graphite-isl-ast-to-gimple.c Update copyright years. 2017-01-01 13:07:43 +01:00
graphite-optimize-isl.c Update copyright years. 2017-01-01 13:07:43 +01:00
graphite-poly.c Update copyright years. 2017-01-01 13:07:43 +01:00
graphite-scop-detection.c Update copyright years. 2017-01-01 13:07:43 +01:00
graphite-sese-to-poly.c Update copyright years. 2017-01-01 13:07:43 +01:00
graphite.c Update copyright years. 2017-01-01 13:07:43 +01:00
graphite.h Update copyright years. 2017-01-01 13:07:43 +01:00
gsstruct.def Update copyright years. 2017-01-01 13:07:43 +01:00
gstab.h Update copyright years. 2017-01-01 13:07:43 +01:00
gsyms.h Update copyright years. 2017-01-01 13:07:43 +01:00
gsyslimits.h
gtm-builtins.def
haifa-sched.c Update copyright years. 2017-01-01 13:07:43 +01:00
hard-reg-set.h Update copyright years. 2017-01-01 13:07:43 +01:00
hash-map-tests.c Update copyright years. 2017-01-01 13:07:43 +01:00
hash-map-traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
hash-map.h Update copyright years. 2017-01-01 13:07:43 +01:00
hash-set-tests.c Update copyright years. 2017-01-01 13:07:43 +01:00
hash-set.h Update copyright years. 2017-01-01 13:07:43 +01:00
hash-table.c Update copyright years. 2017-01-01 13:07:43 +01:00
hash-table.h Update copyright years. 2017-01-01 13:07:43 +01:00
hash-traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
highlev-plugin-common.h Update copyright years. 2017-01-01 13:07:43 +01:00
hooks.c Update copyright years. 2017-01-01 13:07:43 +01:00
hooks.h Update copyright years. 2017-01-01 13:07:43 +01:00
host-default.c Update copyright years. 2017-01-01 13:07:43 +01:00
hosthooks-def.h Update copyright years. 2017-01-01 13:07:43 +01:00
hosthooks.h Update copyright years. 2017-01-01 13:07:43 +01:00
hsa-brig-format.h Update copyright years. 2017-01-01 13:07:43 +01:00
hsa-brig.c Update copyright years. 2017-01-01 13:07:43 +01:00
hsa-builtins.def Update copyright years. 2017-01-01 13:07:43 +01:00
hsa-dump.c Update copyright years. 2017-01-01 13:07:43 +01:00
hsa-gen.c HSA: implement DIVMOD internal function call 2017-01-05 14:25:06 +00:00
hsa-regalloc.c Update copyright years. 2017-01-01 13:07:43 +01:00
hsa.c Update copyright years. 2017-01-01 13:07:43 +01:00
hsa.h Update copyright years. 2017-01-01 13:07:43 +01:00
hw-doloop.c Update copyright years. 2017-01-01 13:07:43 +01:00
hw-doloop.h Update copyright years. 2017-01-01 13:07:43 +01:00
hwint.c Update copyright years. 2017-01-01 13:07:43 +01:00
hwint.h Update copyright years. 2017-01-01 13:07:43 +01:00
ifcvt.c re PR rtl-optimization/78812 (Wrong code generation due to hoisting memory load across function call) 2017-01-05 00:38:48 -07:00
ifcvt.h Update copyright years. 2017-01-01 13:07:43 +01:00
inchash.c Update copyright years. 2017-01-01 13:07:43 +01:00
inchash.h Update copyright years. 2017-01-01 13:07:43 +01:00
incpath.c Update copyright years. 2017-01-01 13:07:43 +01:00
incpath.h Update copyright years. 2017-01-01 13:07:43 +01:00
init-regs.c Update copyright years. 2017-01-01 13:07:43 +01:00
input.c [bootstrap-O3] add a default initializer to avoid a warning at -O3 2017-01-05 01:46:52 +00:00
input.h Update copyright years. 2017-01-01 13:07:43 +01:00
insn-addr.h Update copyright years. 2017-01-01 13:07:43 +01:00
insn-notes.def Update copyright years. 2017-01-01 13:07:43 +01:00
internal-fn.c Update copyright years. 2017-01-01 13:07:43 +01:00
internal-fn.def Update copyright years. 2017-01-01 13:07:43 +01:00
internal-fn.h Update copyright years. 2017-01-01 13:07:43 +01:00
intl.c Update copyright years. 2017-01-01 13:07:43 +01:00
intl.h Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-chkp.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-chkp.h Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-comdats.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-cp.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-devirt.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-hsa.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-icf-gimple.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-icf-gimple.h Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-icf.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-icf.h Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-inline-analysis.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-inline-transform.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-inline.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-inline.h Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-polymorphic-call.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-profile.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-prop.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-prop.h Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-pure-const.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-ref.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-ref.h Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-reference.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-reference.h Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-split.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-utils.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-utils.h Update copyright years. 2017-01-01 13:07:43 +01:00
ipa-visibility.c Update copyright years. 2017-01-01 13:07:43 +01:00
ipa.c Update copyright years. 2017-01-01 13:07:43 +01:00
ira-build.c Update copyright years. 2017-01-01 13:07:43 +01:00
ira-color.c Update copyright years. 2017-01-01 13:07:43 +01:00
ira-conflicts.c Update copyright years. 2017-01-01 13:07:43 +01:00
ira-costs.c Update copyright years. 2017-01-01 13:07:43 +01:00
ira-emit.c Update copyright years. 2017-01-01 13:07:43 +01:00
ira-int.h Update copyright years. 2017-01-01 13:07:43 +01:00
ira-lives.c Update copyright years. 2017-01-01 13:07:43 +01:00
ira.c Update copyright years. 2017-01-01 13:07:43 +01:00
ira.h Update copyright years. 2017-01-01 13:07:43 +01:00
is-a.h Update copyright years. 2017-01-01 13:07:43 +01:00
jump.c Update copyright years. 2017-01-01 13:07:43 +01:00
langhooks-def.h Update copyright years. 2017-01-01 13:07:43 +01:00
langhooks.c Update copyright years. 2017-01-01 13:07:43 +01:00
langhooks.h Update copyright years. 2017-01-01 13:07:43 +01:00
lcm.c Update copyright years. 2017-01-01 13:07:43 +01:00
lcm.h Update copyright years. 2017-01-01 13:07:43 +01:00
libfuncs.h Update copyright years. 2017-01-01 13:07:43 +01:00
limitx.h Update copyright years. 2017-01-01 13:07:43 +01:00
limity.h
lists.c Update copyright years. 2017-01-01 13:07:43 +01:00
lock-and-run.sh
loop-doloop.c Update copyright years. 2017-01-01 13:07:43 +01:00
loop-init.c Update copyright years. 2017-01-01 13:07:43 +01:00
loop-invariant.c Update copyright years. 2017-01-01 13:07:43 +01:00
loop-iv.c Update copyright years. 2017-01-01 13:07:43 +01:00
loop-unroll.c Update copyright years. 2017-01-01 13:07:43 +01:00
loop-unroll.h Update copyright years. 2017-01-01 13:07:43 +01:00
lower-subreg.c Update copyright years. 2017-01-01 13:07:43 +01:00
lower-subreg.h Update copyright years. 2017-01-01 13:07:43 +01:00
lra-assigns.c Update copyright years. 2017-01-01 13:07:43 +01:00
lra-coalesce.c Update copyright years. 2017-01-01 13:07:43 +01:00
lra-constraints.c Update copyright years. 2017-01-01 13:07:43 +01:00
lra-eliminations.c Update copyright years. 2017-01-01 13:07:43 +01:00
lra-int.h Update copyright years. 2017-01-01 13:07:43 +01:00
lra-lives.c Update copyright years. 2017-01-01 13:07:43 +01:00
lra-remat.c Update copyright years. 2017-01-01 13:07:43 +01:00
lra-spills.c Update copyright years. 2017-01-01 13:07:43 +01:00
lra.c Update copyright years. 2017-01-01 13:07:43 +01:00
lra.h Update copyright years. 2017-01-01 13:07:43 +01:00
lto-cgraph.c Update copyright years. 2017-01-01 13:07:43 +01:00
lto-compress.c Update copyright years. 2017-01-01 13:07:43 +01:00
lto-compress.h Update copyright years. 2017-01-01 13:07:43 +01:00
lto-opts.c Update copyright years. 2017-01-01 13:07:43 +01:00
lto-section-in.c Update copyright years. 2017-01-01 13:07:43 +01:00
lto-section-names.h Update copyright years. 2017-01-01 13:07:43 +01:00
lto-section-out.c Update copyright years. 2017-01-01 13:07:43 +01:00
lto-streamer-in.c Update copyright years. 2017-01-01 13:07:43 +01:00
lto-streamer-out.c Update copyright years. 2017-01-01 13:07:43 +01:00
lto-streamer.c Update copyright years. 2017-01-01 13:07:43 +01:00
lto-streamer.h Update copyright years. 2017-01-01 13:07:43 +01:00
lto-wrapper.c Update copyright years. 2017-01-01 13:07:43 +01:00
machmode.def Update copyright years. 2017-01-01 13:07:43 +01:00
machmode.h Update copyright years. 2017-01-01 13:07:43 +01:00
main.c Update copyright years. 2017-01-01 13:07:43 +01:00
match.pd re PR tree-optimization/71563 (Regression in GCC-7.0.0's optimizer.) 2017-01-04 10:07:33 +01:00
mcf.c Update copyright years. 2017-01-01 13:07:43 +01:00
mem-stats-traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
mem-stats.h Update copyright years. 2017-01-01 13:07:43 +01:00
memmodel.h Update copyright years. 2017-01-01 13:07:43 +01:00
memory-block.cc Update copyright years. 2017-01-01 13:07:43 +01:00
memory-block.h Update copyright years. 2017-01-01 13:07:43 +01:00
mkconfig.sh Update copyright years. 2017-01-01 13:07:43 +01:00
mode-classes.def Update copyright years. 2017-01-01 13:07:43 +01:00
mode-switching.c Update copyright years. 2017-01-01 13:07:43 +01:00
modulo-sched.c Update copyright years. 2017-01-01 13:07:43 +01:00
multiple_target.c [bootstrap-O1] add initializers to avoid warnings at -O1 2017-01-05 01:45:51 +00:00
omp-builtins.def Update copyright years. 2017-01-01 13:07:43 +01:00
omp-expand.c Update copyright years. 2017-01-01 13:07:43 +01:00
omp-expand.h Update copyright years. 2017-01-01 13:07:43 +01:00
omp-general.c Update copyright years. 2017-01-01 13:07:43 +01:00
omp-general.h Update copyright years. 2017-01-01 13:07:43 +01:00
omp-grid.c Update copyright years. 2017-01-01 13:07:43 +01:00
omp-grid.h Update copyright years. 2017-01-01 13:07:43 +01:00
omp-low.c Update copyright years. 2017-01-01 13:07:43 +01:00
omp-low.h Update copyright years. 2017-01-01 13:07:43 +01:00
omp-offload.c Update copyright years. 2017-01-01 13:07:43 +01:00
omp-offload.h Update copyright years. 2017-01-01 13:07:43 +01:00
omp-simd-clone.c Update copyright years. 2017-01-01 13:07:43 +01:00
opt-functions.awk Update copyright years. 2017-01-01 13:07:43 +01:00
opt-gather.awk Update copyright years. 2017-01-01 13:07:43 +01:00
opt-include.awk Update copyright years. 2017-01-01 13:07:43 +01:00
opt-read.awk Update copyright years. 2017-01-01 13:07:43 +01:00
optabs-libfuncs.c Update copyright years. 2017-01-01 13:07:43 +01:00
optabs-libfuncs.h Update copyright years. 2017-01-01 13:07:43 +01:00
optabs-query.c Update copyright years. 2017-01-01 13:07:43 +01:00
optabs-query.h Update copyright years. 2017-01-01 13:07:43 +01:00
optabs-tree.c Update copyright years. 2017-01-01 13:07:43 +01:00
optabs-tree.h Update copyright years. 2017-01-01 13:07:43 +01:00
optabs.c Update copyright years. 2017-01-01 13:07:43 +01:00
optabs.def Update copyright years. 2017-01-01 13:07:43 +01:00
optabs.h Update copyright years. 2017-01-01 13:07:43 +01:00
optc-gen.awk optc-gen.awk: Emit #error for -W*/-f*/-m* Enum without RejectNegative. 2017-01-04 22:26:50 +01:00
optc-save-gen.awk Update copyright years. 2017-01-01 13:07:43 +01:00
opth-gen.awk Update copyright years. 2017-01-01 13:07:43 +01:00
opts-common.c Update copyright years. 2017-01-01 13:07:43 +01:00
opts-diagnostic.h Update copyright years. 2017-01-01 13:07:43 +01:00
opts-global.c Update copyright years. 2017-01-01 13:07:43 +01:00
opts.c Update copyright years. 2017-01-01 13:07:43 +01:00
opts.h Update copyright years. 2017-01-01 13:07:43 +01:00
output.h Update copyright years. 2017-01-01 13:07:43 +01:00
params-enum.h Update copyright years. 2017-01-01 13:07:43 +01:00
params-list.h Update copyright years. 2017-01-01 13:07:43 +01:00
params-options.h Update copyright years. 2017-01-01 13:07:43 +01:00
params.c Update copyright years. 2017-01-01 13:07:43 +01:00
params.def Update copyright years. 2017-01-01 13:07:43 +01:00
params.h Update copyright years. 2017-01-01 13:07:43 +01:00
pass_manager.h Update copyright years. 2017-01-01 13:07:43 +01:00
passes.c Update copyright years. 2017-01-01 13:07:43 +01:00
passes.def Update copyright years. 2017-01-01 13:07:43 +01:00
plugin.c Update copyright years. 2017-01-01 13:07:43 +01:00
plugin.def Update copyright years. 2017-01-01 13:07:43 +01:00
plugin.h Update copyright years. 2017-01-01 13:07:43 +01:00
postreload-gcse.c Update copyright years. 2017-01-01 13:07:43 +01:00
postreload.c Update copyright years. 2017-01-01 13:07:43 +01:00
predict.c re PR middle-end/77484 (Static branch predictor causes ~6-8% regression of SPEC2000 GAP) 2017-01-01 15:40:29 +00:00
predict.def re PR middle-end/77484 (Static branch predictor causes ~6-8% regression of SPEC2000 GAP) 2017-01-01 15:40:29 +00:00
predict.h Update copyright years. 2017-01-01 13:07:43 +01:00
prefix.c Update copyright years. 2017-01-01 13:07:43 +01:00
prefix.h Update copyright years. 2017-01-01 13:07:43 +01:00
pretty-print.c Update copyright years. 2017-01-01 13:07:43 +01:00
pretty-print.h Update copyright years. 2017-01-01 13:07:43 +01:00
print-rtl-function.c Update copyright years. 2017-01-01 13:07:43 +01:00
print-rtl.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
print-rtl.h Update copyright years. 2017-01-01 13:07:43 +01:00
print-tree.c Update copyright years. 2017-01-01 13:07:43 +01:00
print-tree.h Update copyright years. 2017-01-01 13:07:43 +01:00
profile.c Update copyright years. 2017-01-01 13:07:43 +01:00
profile.h Update copyright years. 2017-01-01 13:07:43 +01:00
read-md.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
read-md.h Introduce RTL function reader 2017-01-05 19:32:09 +00:00
read-rtl-function.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
read-rtl-function.h Introduce RTL function reader 2017-01-05 19:32:09 +00:00
read-rtl.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
real.c Update copyright years. 2017-01-01 13:07:43 +01:00
real.h Update copyright years. 2017-01-01 13:07:43 +01:00
realmpfr.c Update copyright years. 2017-01-01 13:07:43 +01:00
realmpfr.h Update copyright years. 2017-01-01 13:07:43 +01:00
recog.c Update copyright years. 2017-01-01 13:07:43 +01:00
recog.h Update copyright years. 2017-01-01 13:07:43 +01:00
ree.c Update copyright years. 2017-01-01 13:07:43 +01:00
reg-notes.def Update copyright years. 2017-01-01 13:07:43 +01:00
reg-stack.c Update copyright years. 2017-01-01 13:07:43 +01:00
regcprop.c Update copyright years. 2017-01-01 13:07:43 +01:00
regcprop.h Update copyright years. 2017-01-01 13:07:43 +01:00
reginfo.c Update copyright years. 2017-01-01 13:07:43 +01:00
regrename.c Update copyright years. 2017-01-01 13:07:43 +01:00
regrename.h Update copyright years. 2017-01-01 13:07:43 +01:00
regs.h Update copyright years. 2017-01-01 13:07:43 +01:00
regset.h Update copyright years. 2017-01-01 13:07:43 +01:00
regstat.c Update copyright years. 2017-01-01 13:07:43 +01:00
reload.c Update copyright years. 2017-01-01 13:07:43 +01:00
reload.h Update copyright years. 2017-01-01 13:07:43 +01:00
reload1.c Update copyright years. 2017-01-01 13:07:43 +01:00
reorg.c Update copyright years. 2017-01-01 13:07:43 +01:00
resource.c Update copyright years. 2017-01-01 13:07:43 +01:00
resource.h Update copyright years. 2017-01-01 13:07:43 +01:00
rtl-chkp.c Update copyright years. 2017-01-01 13:07:43 +01:00
rtl-chkp.h Update copyright years. 2017-01-01 13:07:43 +01:00
rtl-error.c Update copyright years. 2017-01-01 13:07:43 +01:00
rtl-error.h Update copyright years. 2017-01-01 13:07:43 +01:00
rtl-iter.h Update copyright years. 2017-01-01 13:07:43 +01:00
rtl-tests.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
rtl.c Update copyright years. 2017-01-01 13:07:43 +01:00
rtl.def Update copyright years. 2017-01-01 13:07:43 +01:00
rtl.h Introduce RTL function reader 2017-01-05 19:32:09 +00:00
rtlanal.c re PR rtl-optimization/78812 (Wrong code generation due to hoisting memory load across function call) 2017-01-05 00:38:48 -07:00
rtlhash.c Update copyright years. 2017-01-01 13:07:43 +01:00
rtlhash.h Update copyright years. 2017-01-01 13:07:43 +01:00
rtlhooks-def.h Update copyright years. 2017-01-01 13:07:43 +01:00
rtlhooks.c Update copyright years. 2017-01-01 13:07:43 +01:00
sancov.c Update copyright years. 2017-01-01 13:07:43 +01:00
sanitizer.def Update copyright years. 2017-01-01 13:07:43 +01:00
sanopt.c Update copyright years. 2017-01-01 13:07:43 +01:00
sbitmap.c Update copyright years. 2017-01-01 13:07:43 +01:00
sbitmap.h Update copyright years. 2017-01-01 13:07:43 +01:00
sched-deps.c Update copyright years. 2017-01-01 13:07:43 +01:00
sched-ebb.c Update copyright years. 2017-01-01 13:07:43 +01:00
sched-int.h Update copyright years. 2017-01-01 13:07:43 +01:00
sched-rgn.c Update copyright years. 2017-01-01 13:07:43 +01:00
sdbout.c Update copyright years. 2017-01-01 13:07:43 +01:00
sdbout.h Update copyright years. 2017-01-01 13:07:43 +01:00
sel-sched-dump.c Update copyright years. 2017-01-01 13:07:43 +01:00
sel-sched-dump.h Update copyright years. 2017-01-01 13:07:43 +01:00
sel-sched-ir.c Update copyright years. 2017-01-01 13:07:43 +01:00
sel-sched-ir.h Update copyright years. 2017-01-01 13:07:43 +01:00
sel-sched.c Update copyright years. 2017-01-01 13:07:43 +01:00
sel-sched.h Update copyright years. 2017-01-01 13:07:43 +01:00
selftest-rtl.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
selftest-rtl.h Introduce RTL function reader 2017-01-05 19:32:09 +00:00
selftest-run-tests.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
selftest.c Update copyright years. 2017-01-01 13:07:43 +01:00
selftest.h Introduce RTL function reader 2017-01-05 19:32:09 +00:00
sese.c Update copyright years. 2017-01-01 13:07:43 +01:00
sese.h Update copyright years. 2017-01-01 13:07:43 +01:00
shrink-wrap.c Update copyright years. 2017-01-01 13:07:43 +01:00
shrink-wrap.h Update copyright years. 2017-01-01 13:07:43 +01:00
signop.h Update copyright years. 2017-01-01 13:07:43 +01:00
simplify-rtx.c Update copyright years. 2017-01-01 13:07:43 +01:00
sparseset.c Update copyright years. 2017-01-01 13:07:43 +01:00
sparseset.h Update copyright years. 2017-01-01 13:07:43 +01:00
spellcheck-tree.c Update copyright years. 2017-01-01 13:07:43 +01:00
spellcheck-tree.h Update copyright years. 2017-01-01 13:07:43 +01:00
spellcheck.c Update copyright years. 2017-01-01 13:07:43 +01:00
spellcheck.h Update copyright years. 2017-01-01 13:07:43 +01:00
sreal.c Update copyright years. 2017-01-01 13:07:43 +01:00
sreal.h Update copyright years. 2017-01-01 13:07:43 +01:00
ssa-iterators.h Update copyright years. 2017-01-01 13:07:43 +01:00
ssa.h Update copyright years. 2017-01-01 13:07:43 +01:00
stab.def Update copyright years. 2017-01-01 13:07:43 +01:00
stack-ptr-mod.c Update copyright years. 2017-01-01 13:07:43 +01:00
statistics.c Update copyright years. 2017-01-01 13:07:43 +01:00
statistics.h Update copyright years. 2017-01-01 13:07:43 +01:00
stmt.c Update copyright years. 2017-01-01 13:07:43 +01:00
stmt.h Update copyright years. 2017-01-01 13:07:43 +01:00
stor-layout.c Update copyright years. 2017-01-01 13:07:43 +01:00
stor-layout.h Update copyright years. 2017-01-01 13:07:43 +01:00
store-motion.c Update copyright years. 2017-01-01 13:07:43 +01:00
streamer-hooks.c Update copyright years. 2017-01-01 13:07:43 +01:00
streamer-hooks.h Update copyright years. 2017-01-01 13:07:43 +01:00
stringpool.c Update copyright years. 2017-01-01 13:07:43 +01:00
stringpool.h Update copyright years. 2017-01-01 13:07:43 +01:00
substring-locations.c Update copyright years. 2017-01-01 13:07:43 +01:00
substring-locations.h Update copyright years. 2017-01-01 13:07:43 +01:00
symbol-summary.h Update copyright years. 2017-01-01 13:07:43 +01:00
symtab.c re PR ipa/77674 (ICE in binds_to_current_def_p with -fkeep-inline-functions) 2017-01-01 23:31:53 +00:00
sync-builtins.def Update copyright years. 2017-01-01 13:07:43 +01:00
system.h Update copyright years. 2017-01-01 13:07:43 +01:00
target-def.h Update copyright years. 2017-01-01 13:07:43 +01:00
target-globals.c Update copyright years. 2017-01-01 13:07:43 +01:00
target-globals.h Update copyright years. 2017-01-01 13:07:43 +01:00
target-hooks-macros.h Update copyright years. 2017-01-01 13:07:43 +01:00
target-insns.def Update copyright years. 2017-01-01 13:07:43 +01:00
target.def Update copyright years. 2017-01-01 13:07:43 +01:00
target.h Update copyright years. 2017-01-01 13:07:43 +01:00
targhooks.c Update copyright years. 2017-01-01 13:07:43 +01:00
targhooks.h Update copyright years. 2017-01-01 13:07:43 +01:00
timevar.c Update copyright years. 2017-01-01 13:07:43 +01:00
timevar.def Update copyright years. 2017-01-01 13:07:43 +01:00
timevar.h Update copyright years. 2017-01-01 13:07:43 +01:00
tlink.c Update copyright years. 2017-01-01 13:07:43 +01:00
toplev.c Update copyright years. 2017-01-01 13:07:43 +01:00
toplev.h Update copyright years. 2017-01-01 13:07:43 +01:00
tracer.c Update copyright years. 2017-01-01 13:07:43 +01:00
tracer.h Update copyright years. 2017-01-01 13:07:43 +01:00
trans-mem.c Update copyright years. 2017-01-01 13:07:43 +01:00
trans-mem.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-affine.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-affine.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-call-cdce.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-cfg.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-cfg.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-cfgcleanup.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-cfgcleanup.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-chkp-opt.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-chkp.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-chkp.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-chrec.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-chrec.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-complex.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-core.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-data-ref.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-data-ref.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-dfa.c Introduce RTL function reader 2017-01-05 19:32:09 +00:00
tree-dfa.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-diagnostic.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-diagnostic.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-dump.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-dump.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-eh.c [-fcompare-debug] skip more debug stmts in cleanup_empty_eh 2017-01-05 01:46:14 +00:00
tree-eh.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-emutls.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-hash-traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-hasher.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-if-conv.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-if-conv.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-inline.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-inline.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-into-ssa.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-into-ssa.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-iterator.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-iterator.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-loop-distribution.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-nested.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-nested.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-nrv.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-object-size.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-object-size.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-outof-ssa.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-outof-ssa.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-parloops.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-parloops.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-pass.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-phinodes.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-phinodes.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-predcom.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-pretty-print.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-pretty-print.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-profile.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-scalar-evolution.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-scalar-evolution.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-sra.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-address.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-address.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-alias.c re PR tree-optimization/67955 (tree-dse does not use pointer info) 2017-01-04 12:22:44 -07:00
tree-ssa-alias.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-ccp.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-ccp.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-coalesce.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-coalesce.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-copy.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-dce.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-dom.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-dom.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-dse.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-forwprop.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-ifcombine.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-live.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-live.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop-ch.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop-im.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop-ivcanon.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop-ivopts.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop-ivopts.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop-manip.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop-manip.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop-niter.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop-niter.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop-prefetch.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop-split.c [bootstrap-O1] add initializers to avoid warnings at -O1 2017-01-05 01:45:51 +00:00
tree-ssa-loop-unswitch.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-loop.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-math-opts.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-operands.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-operands.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-phionlycprop.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-phiopt.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-phiprop.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-pre.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-propagate.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-propagate.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-reassoc.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-sccvn.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-sccvn.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-scopedtables.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-scopedtables.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-sink.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-strlen.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-structalias.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-tail-merge.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-ter.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-ter.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-threadbackward.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-threadbackward.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-threadedge.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-threadedge.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-threadupdate.c re PR tree-optimization/78856 (wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)) 2017-01-03 22:31:23 -07:00
tree-ssa-threadupdate.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-uncprop.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa-uninit.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssa.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssanames.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-ssanames.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-stdarg.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-stdarg.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-streamer-in.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-streamer-out.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-streamer.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-streamer.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-switch-conversion.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-tailcall.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-vect-data-refs.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-vect-generic.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-vect-loop-manip.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-vect-loop.c [bootstrap-O1] add initializers to avoid warnings at -O1 2017-01-05 01:45:51 +00:00
tree-vect-patterns.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-vect-slp.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-vect-stmts.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-vectorizer.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-vectorizer.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree-vrp.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree-vrp.h Update copyright years. 2017-01-01 13:07:43 +01:00
tree.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree.def Update copyright years. 2017-01-01 13:07:43 +01:00
tree.h Update copyright years. 2017-01-01 13:07:43 +01:00
treestruct.def Update copyright years. 2017-01-01 13:07:43 +01:00
tsan.c Update copyright years. 2017-01-01 13:07:43 +01:00
tsan.h Update copyright years. 2017-01-01 13:07:43 +01:00
tsystem.h Update copyright years. 2017-01-01 13:07:43 +01:00
typeclass.h Update copyright years. 2017-01-01 13:07:43 +01:00
typed-splay-tree.c Update copyright years. 2017-01-01 13:07:43 +01:00
typed-splay-tree.h Update copyright years. 2017-01-01 13:07:43 +01:00
ubsan.c Update copyright years. 2017-01-01 13:07:43 +01:00
ubsan.h Update copyright years. 2017-01-01 13:07:43 +01:00
valtrack.c Update copyright years. 2017-01-01 13:07:43 +01:00
valtrack.h Update copyright years. 2017-01-01 13:07:43 +01:00
value-prof.c Update copyright years. 2017-01-01 13:07:43 +01:00
value-prof.h Update copyright years. 2017-01-01 13:07:43 +01:00
var-tracking.c Update copyright years. 2017-01-01 13:07:43 +01:00
varasm.c Update copyright years. 2017-01-01 13:07:43 +01:00
varasm.h Update copyright years. 2017-01-01 13:07:43 +01:00
varpool.c Update copyright years. 2017-01-01 13:07:43 +01:00
vec.c Update copyright years. 2017-01-01 13:07:43 +01:00
vec.h Update copyright years. 2017-01-01 13:07:43 +01:00
version.c Update copyright years. 2017-01-01 13:07:43 +01:00
version.h
vmsdbg.h Update copyright years. 2017-01-01 13:07:43 +01:00
vmsdbgout.c Update copyright years. 2017-01-01 13:07:43 +01:00
vtable-verify.c Update copyright years. 2017-01-01 13:07:43 +01:00
vtable-verify.h Update copyright years. 2017-01-01 13:07:43 +01:00
web.c Update copyright years. 2017-01-01 13:07:43 +01:00
wide-int-print.cc Update copyright years. 2017-01-01 13:07:43 +01:00
wide-int-print.h Update copyright years. 2017-01-01 13:07:43 +01:00
wide-int.cc Update copyright years. 2017-01-01 13:07:43 +01:00
wide-int.h Update copyright years. 2017-01-01 13:07:43 +01:00
xcoff.h Update copyright years. 2017-01-01 13:07:43 +01:00
xcoffout.c Update copyright years. 2017-01-01 13:07:43 +01:00
xcoffout.h Update copyright years. 2017-01-01 13:07:43 +01:00

README.Portability

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