gcc/gcc
Jan Hubicka 7b3376a0da ipa.c (symtab_remove_unreachable_nodes): Remove symbol from comdat group if its body was eliminated.
* ipa.c (symtab_remove_unreachable_nodes): Remove
	symbol from comdat group if its body was eliminated.
	(comdat_can_be_unshared_p_1): Static symbols can always
	be privatized.
	* symtab.c (symtab_remove_from_same_comdat_group): Break out
	from ...
	(symtab_unregister_node): ... this one.
	(verify_symtab_base): More strict checking of comdats.
	* cgraph.h (symtab_remove_from_same_comdat_group): Declare.

From-SVN: r210598
2014-05-19 01:01:12 +00:00
..
ada trans.c (Subprogram_Body_to_gnu): Rework comment and set function_start_locus. 2014-05-18 21:12:42 +00:00
c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
c-family use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
common gcc/ 2014-05-14 12:41:42 +00:00
config use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
cp use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
doc extend.texi (Size of an asm): Really move node to its position. 2014-05-18 09:17:06 +02:00
fortran use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
ginclude
go use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
java use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
lto use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
objc use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
objcp use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
po * zh_CN.po: Update. 2014-05-15 00:04:48 +01:00
testsuite tree-pass.h (make_pass_ipa_comdats): New pass. 2014-05-19 00:58:43 +00:00
ABOUT-GCC-NLS
acinclude.m4
aclocal.m4
addresses.h
alias.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
alias.h
alloc-pool.c configure.ac: Do valgrind header checks unconditionally. 2014-04-28 14:01:40 +00:00
alloc-pool.h
asan.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
asan.h
attribs.c
attribs.h
auto-inc-dec.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
BASE-VER * BASE-VER: Set to 4.9.0. 2014-04-11 14:50:55 +02:00
basic-block.h dominance.c (free_dominance_info): Add overload with function parameter. 2014-04-29 11:37:55 +00:00
bb-reorder.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
bb-reorder.h
bitmap.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
bitmap.h
bt-load.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
builtin-attrs.def
builtin-types.def re PR middle-end/60092 (posix_memalign not recognized to derive alias and alignment info) 2014-02-07 09:33:23 +00:00
builtins.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
builtins.def gcc.c (sanitize_spec_function): Handle SANITIZE_FLOAT_DIVIDE. 2014-04-30 07:34:43 +00:00
builtins.h
caller-save.c gcc/ 2014-05-13 10:38:50 +00:00
calls.c Remove PUSH_ARGS_REVERSED from the RTL expander. 2014-04-29 13:46:23 +00:00
calls.h * calls.h: Fix typo in comment. 2014-02-24 23:19:32 -07:00
cfg-flags.def
cfg.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
cfganal.c
cfgbuild.c
cfgcleanup.c cfgcleanup.c (try_forward_edges): Use location_t for locations. 2014-05-14 10:36:23 +00:00
cfgexpand.c -fstack-protector-strong: Instrumentation for return slots 2014-05-09 14:23:46 +02:00
cfgexpand.h
cfghooks.c cfghooks.c (make_forwarder_block): Use direct computation to get fall-through edge's count and frequency. 2014-05-16 20:40:29 +00:00
cfghooks.h
cfgloop.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
cfgloop.h More gcc/loop-unswitch.c cleanup. 2014-05-07 15:06:46 +02:00
cfgloopanal.c
cfgloopmanip.c re PR middle-end/59561 (warning: iteration 4 invokes undefined behavior) 2014-01-25 00:17:25 +01:00
cfgrtl.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
cgraph.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
cgraph.h ipa.c (symtab_remove_unreachable_nodes): Remove symbol from comdat group if its body was eliminated. 2014-05-19 01:01:12 +00:00
cgraphbuild.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
cgraphclones.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
cgraphunit.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
ChangeLog ipa.c (symtab_remove_unreachable_nodes): Remove symbol from comdat group if its body was eliminated. 2014-05-19 01:01:12 +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.dataflow
ChangeLog.graphite
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
cif-code.def re PR ipa/60315 (template constructor switch optimization) 2014-03-26 02:11:57 +00:00
cilk-builtins.def
cilk-common.c cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF. 2014-02-14 14:07:30 +00:00
cilk.h Replace flag_enable_cilkplus with flag_cilkplus. 2014-01-24 15:13:49 -08:00
cilkplus.def
collect2-aix.c
collect2-aix.h
collect2.c gcc.c (PLUGIN_COND): Always enable unless -fno-use-linker-plugin or -fno-lto is specified and the... 2014-03-06 08:48:01 +00:00
collect2.h
combine-stack-adj.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
combine.c gcc/ 2014-05-13 10:38:50 +00:00
common.opt -fuse-caller-save - Add command line option 2014-04-24 09:34:06 +00:00
compare-elim.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
conditions.h
config.build
config.gcc gcc/ 2014-05-14 12:41:42 +00:00
config.host
config.in configure.ac: Do valgrind header checks unconditionally. 2014-04-28 14:01:40 +00:00
configure configure.ac: Fix assembly for explicit JALR relocation check. 2014-05-13 09:36:56 -04:00
configure.ac configure.ac: Fix assembly for explicit JALR relocation check. 2014-05-13 09:36:56 -04:00
context.c
context.h
convert.c
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
coverage.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
coverage.h
cppbuiltin.c Replace flag_enable_cilkplus with flag_cilkplus. 2014-01-24 15:13:49 -08:00
cppbuiltin.h
cppdefault.c
cppdefault.h
cprop.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
cse.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
cselib.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
cselib.h
cstamp-h.in
data-streamer-in.c
data-streamer-out.c
data-streamer.c
data-streamer.h
DATESTAMP Daily bump. 2014-05-19 00:18:24 +00:00
dbgcnt.c
dbgcnt.def
dbgcnt.h
dbxout.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
dbxout.h
dce.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
dce.h
ddg.c
ddg.h
debug.c
debug.h
defaults.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
DEV-PHASE
df-core.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
df-problems.c df-problems.c (df_rd_confluence_n): Avoid bitmap_copy by using bitmap_and_compl instead of bitmap_and_compl_into. 2014-03-18 14:39:16 +00:00
df-scan.c
df.h re PR rtl-optimization/38518 (Excessive compile time with -O3) 2014-01-17 10:47:59 +00:00
dfp.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
dfp.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
diagnostic-color.c
diagnostic-color.h
diagnostic-core.h
diagnostic.c PR preprocessor/58580 - preprocessor goes OOM with warning for zero literals 2014-01-23 10:13:08 +01:00
diagnostic.def
diagnostic.h PR preprocessor/58580 - preprocessor goes OOM with warning for zero literals 2014-01-23 10:13:08 +01:00
dojump.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
dominance.c dominance.c (free_dominance_info): Add overload with function parameter. 2014-04-29 11:37:55 +00:00
domwalk.c
domwalk.h
double-int.c
double-int.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
dse.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
dumpfile.c
dumpfile.h
dwarf2asm.c
dwarf2asm.h
dwarf2cfi.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
dwarf2out.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
dwarf2out.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
emit-rtl.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
emit-rtl.h emit-rtl.h (replace_equiv_address, [...]): Add an inplace argument. 2014-05-17 07:00:02 +00:00
errors.c
errors.h
et-forest.c
et-forest.h
except.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
except.h
exec-tool.in
explow.c emit-rtl.h (replace_equiv_address, [...]): Add an inplace argument. 2014-05-17 07:00:02 +00:00
expmed.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
expmed.h re PR bootstrap/59934 (Bootstrap fail since r206941: expmed.h:252:33: error: array subscript is above array bounds) 2014-01-27 09:33:39 -07:00
expr.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
expr.h Add clobber_reg 2014-04-25 11:21:40 +00:00
file-find.c
file-find.h
final.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
fixed-value.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
fixed-value.h
flag-types.h gcc.c (sanitize_spec_function): Handle SANITIZE_FLOAT_DIVIDE. 2014-04-30 07:34:43 +00:00
flags.h
fold-const.c fold-const (fold_unary_loc): New case. 2014-05-16 16:59:38 +00:00
fold-const.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
function.h Makefile.in: add shrink-wrap.o. 2014-05-13 07:05:46 +00:00
fwprop.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
gcc-ar.c
gcc-plugin.h
gcc-symtab.h
gcc.c gcc.c (sanitize_spec_function): Handle SANITIZE_FLOAT_DIVIDE. 2014-04-30 07:34:43 +00:00
gcc.h
gcov-dump.c
gcov-io.c re PR gcov-profile/58602 (.gcno files not truncated at gcov_close) 2014-02-03 14:55:36 -07:00
gcov-io.h
gcov-iov.c
gcov.c
gcse.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
gcse.h
gdbasan.in
gdbhooks.py
gdbinit.in * gdbinit.in (pel): Define. 2014-02-04 15:34:24 +00:00
gen-pass-instances.awk
genattr-common.c
genattr.c
genattrtab.c rtl.def (SYMBOL_REF): Remove middle "0" field. 2014-05-13 10:39:16 +00:00
genautomata.c toplev.c (init_local_tick): Avoid signed integer multiplication overflow. 2014-03-22 15:03:20 +01:00
gencheck.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
genchecksum.c
gencodes.c
genconditions.c
genconfig.c
genconstants.c
genemit.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
genenums.c
genextract.c
genflags.c
gengenrtl.c rtl.def (VAR_LOCATION): Remove "i" field. 2014-05-13 10:39:08 +00:00
gengtype-lex.l Merge in wide-int. 2014-05-06 16:25:05 +00:00
gengtype-parse.c gengtype: Support explicit pointers in template arguments 2014-05-13 15:17:34 +00:00
gengtype-state.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
gengtype.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
gengtype.h gengtype: Support explicit pointers in template arguments 2014-05-13 15:17:34 +00:00
genhooks.c
genmddeps.c
genmddump.c
genmodes.c genmodes.c (struct mode_data): Add need_bytesize_adj field. 2014-04-17 14:49:49 +02:00
genmultilib
genopinit.c
genoutput.c
genpeep.c
genpreds.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
genrecog.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
gensupport.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
gensupport.h
ggc-common.c add finalizers to ggc 2014-05-17 23:08:00 +00:00
ggc-internal.h
ggc-none.c add finalizers to ggc 2014-05-17 23:08:00 +00:00
ggc-page.c comment ggc_handle_finalizers 2014-05-17 23:15:55 +00:00
ggc.h add finalizers to ggc 2014-05-17 23:08:00 +00:00
gimple-builder.c
gimple-builder.h [PATCH - obvious] Remove unused create_gimple_tmp declaration 2014-01-27 09:39:21 +00:00
gimple-expr.c re PR middle-end/60746 (ICE segfault in gimple-expr.c:314) 2014-04-04 11:52:35 +00:00
gimple-expr.h re PR middle-end/60746 (ICE segfault in gimple-expr.c:314) 2014-04-04 11:52:35 +00:00
gimple-fold.c gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove pointer propagation special-case. 2014-05-08 10:19:17 +00:00
gimple-fold.h re PR lto/59468 (ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo, at gimple-fold.c:3224) 2014-02-11 22:54:21 +00:00
gimple-iterator.c gimple-iterator.c (gsi_start_edge): New function. 2014-04-17 15:53:59 +02:00
gimple-iterator.h gimple-iterator.c (gsi_start_edge): New function. 2014-04-17 15:53:59 +02:00
gimple-low.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
gimple-low.h
gimple-pretty-print.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
gimple-pretty-print.h
gimple-ssa-isolate-paths.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
gimple-ssa-strength-reduction.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
gimple-ssa.h Change is-a.h to support typedefs of pointers 2014-04-23 19:06:40 +00:00
gimple-streamer-in.c Change is-a.h to support typedefs of pointers 2014-04-23 19:06:40 +00:00
gimple-streamer-out.c
gimple-streamer.h
gimple-walk.c
gimple-walk.h
gimple.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
gimple.def
gimple.h Const-correctness of gimple_call_builtin_p 2014-05-07 19:35:23 +00:00
gimplify-me.c re PR lto/60635 (ICE when mixing C and Fortran lto1: error: use operand missing for stmt) 2014-03-25 11:43:03 +00:00
gimplify-me.h
gimplify.c tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
gimplify.h re PR middle-end/60746 (ICE segfault in gimple-expr.c:314) 2014-04-04 11:52:35 +00:00
glimits.h
godump.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
graph.c
graph.h
graphds.c
graphds.h
graphite-blocking.c
graphite-clast-to-gimple.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
graphite-clast-to-gimple.h
graphite-dependences.c
graphite-htab.h
graphite-interchange.c
graphite-optimize-isl.c
graphite-poly.c
graphite-poly.h
graphite-scop-detection.c passes.c (execute_function_todo): Move TODO_verify_stmts and TODO_verify_ssa under the TODO_verify_il umbrella. 2014-04-30 08:06:49 +00:00
graphite-scop-detection.h
graphite-sese-to-poly.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
graphite-sese-to-poly.h
graphite.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.c Add implicit parameter to find_all_hard_reg_sets 2014-04-25 11:21:18 +00:00
hard-reg-set.h
hash-table.c
hash-table.h
highlev-plugin-common.h
hooks.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
hooks.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c
hw-doloop.h
hwint.c
hwint.h hwint.h (zext_hwi): Fix signed overflow for prec == 63. 2014-05-02 15:35:33 +00:00
ifcvt.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
incpath.c
incpath.h
init-regs.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
input.c PR preprocessor/59935 - caret diagnostics crashes on non-file locations 2014-01-28 16:03:19 +01:00
input.h PR preprocessor/58580 - preprocessor goes OOM with warning for zero literals 2014-01-23 10:13:08 +01:00
insn-addr.h
insn-notes.def
internal-fn.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
internal-fn.def re PR ipa/58721 (The subroutine perdida is no longer inlined in fatigue.f90) 2014-03-18 12:31:04 +01:00
internal-fn.h
intl.c
intl.h
ipa-comdats.c tree-pass.h (make_pass_ipa_comdats): New pass. 2014-05-19 00:58:43 +00:00
ipa-cp.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
ipa-devirt.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
ipa-inline-analysis.c Change is-a.h to support typedefs of pointers 2014-04-23 19:06:40 +00:00
ipa-inline-transform.c re PR ipa/60640 (ICE edge points to wrong declaration / verify_cgraph_node failed) 2014-04-04 16:11:06 +02:00
ipa-inline.c ipa-inline.h (INLINE_HINT_known_hot): New hint. 2014-04-18 19:36:01 +00:00
ipa-inline.h ipa-inline.h (INLINE_HINT_known_hot): New hint. 2014-04-18 19:36:01 +00:00
ipa-profile.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
ipa-prop.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
ipa-prop.h ipa-prop.h (ipa_ancestor_jf_data): Update ocmment. 2014-02-19 07:42:06 +00:00
ipa-pure-const.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
ipa-ref-inline.h
ipa-ref.c Change is-a.h to support typedefs of pointers 2014-04-23 19:06:40 +00:00
ipa-ref.h
ipa-reference.c Change is-a.h to support typedefs of pointers 2014-04-23 19:06:40 +00:00
ipa-reference.h
ipa-split.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
ipa-utils.c ipa-utils.c (ipa_merge_profiles): Merge profile_id. 2014-04-14 17:18:54 +00:00
ipa-utils.h re PR lto/59468 (ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo, at gimple-fold.c:3224) 2014-02-11 22:54:21 +00:00
ipa.c ipa.c (symtab_remove_unreachable_nodes): Remove symbol from comdat group if its body was eliminated. 2014-05-19 01:01:12 +00:00
ira-build.c
ira-color.c defaults.h (HONOR_REG_ALLOC_ORDER): Change HONOR_REG_ALLOC_ORDER to a C expression marco. 2014-05-02 00:03:22 -06:00
ira-conflicts.c
ira-costs.c ira-costs.c: Fix typo in comment. 2014-05-16 12:22:44 -06:00
ira-emit.c
ira-int.h ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use optimize_function_for_size_p. 2014-05-16 23:01:26 +00:00
ira-lives.c
ira.c gcc/ 2014-05-13 10:38:50 +00:00
ira.h
is-a.h Change is-a.h to support typedefs of pointers 2014-04-23 19:06:40 +00:00
jump.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
langhooks-def.h
langhooks.c The error_mark_node is not an OpenMP mappable type. 2014-03-07 09:46:13 +01:00
langhooks.h
LANGUAGES
lcm.c
libfuncs.h
limitx.h
limity.h
lists.c
lock-and-run.sh
loop-doloop.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
loop-init.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
loop-invariant.c re PR rtl-optimization/38518 (Excessive compile time with -O3) 2014-01-17 10:47:59 +00:00
loop-iv.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
loop-unroll.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
lower-subreg.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
lower-subreg.h
lra-assigns.c re PR target/60675 ([aarch64] internal compiler error: Max. number of generated reload insns per insn is achieved (90)) 2014-03-28 15:27:58 +00:00
lra-coalesce.c
lra-constraints.c revert: lra-constraints.c (valid_address_p): Move earlier in file. 2014-05-06 19:22:16 +00:00
lra-eliminations.c
lra-int.h
lra-lives.c
lra-spills.c
lra.c re PR rtl-optimization/60501 (LRA emits add patterns which might clobber cc) 2014-03-24 17:38:09 +00:00
lra.h
lto-cgraph.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
lto-compress.c
lto-compress.h
lto-opts.c re PR lto/60319 (wrong code (that hangs) by LTO at -Os and above on x86_64-linux-gnu) 2014-02-25 08:57:42 +00:00
lto-section-in.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
lto-section-out.c
lto-streamer-in.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
lto-streamer-out.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
lto-streamer.c
lto-streamer.h Change is-a.h to support typedefs of pointers 2014-04-23 19:06:40 +00:00
lto-wrapper.c common.opt (lto_partition_model): New enum. 2014-04-15 12:56:16 +00:00
machmode.def
machmode.h machmode.h (bitwise_mode_for_mode): Declare. 2014-04-22 12:46:07 +00:00
main.c
Makefile.in tree-pass.h (make_pass_ipa_comdats): New pass. 2014-05-19 00:58:43 +00:00
mcf.c
mkconfig.sh Merge in wide-int. 2014-05-06 16:25:05 +00:00
mode-classes.def
mode-switching.c target.def (mode_switching): New hook vector. 2014-05-13 10:50:51 +02:00
modulo-sched.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
omega.c
omega.h
omp-builtins.def
omp-low.c omp-low.c (expand_parallel_call): Remove shadow variable. 2014-05-14 15:38:57 +02:00
omp-low.h re PR middle-end/59917 (ICE in calc_dfs_tree, at dominance.c:401) 2014-01-29 12:02:46 +01:00
ONEWS
opt-functions.awk opts.h (CL_PCH_IGNORE): Define. 2014-03-03 21:51:58 +00:00
opt-gather.awk
opt-include.awk
opt-read.awk
optabs.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
optabs.def re PR rtl-optimization/60501 (LRA emits add patterns which might clobber cc) 2014-03-24 17:38:09 +00:00
optabs.h
optc-gen.awk re PR driver/61106 ([4.8/4.9] impliedness of -Wunused-parameter depends on -W option ordering) 2014-05-08 22:17:43 +00:00
optc-save-gen.awk
opth-gen.awk
opts-common.c
opts-diagnostic.h
opts-global.c
opts.c Change -g so that it will override -g1 but not -g3. 2014-05-14 14:48:47 -07:00
opts.h opts.h (CL_PCH_IGNORE): Define. 2014-03-03 21:51:58 +00:00
output.h output.h (output_constant): Delete. 2014-01-20 20:13:10 +00:00
params.c
params.def re PR rtl-optimization/60317 (find_hard_regno_for compile time hog in libvpx) 2014-02-25 20:34:44 +00:00
params.h re PR rtl-optimization/60317 (find_hard_regno_for compile time hog in libvpx) 2014-02-25 20:34:44 +00:00
pass_manager.h merge register_dump_files_1 into register_dump_files and remove more fiddling with properties 2014-04-17 12:36:41 +00:00
passes.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
passes.def tree-pass.h (make_pass_ipa_comdats): New pass. 2014-05-19 00:58:43 +00:00
plugin.c
plugin.def plugin.def: Improve comment for PLUGIN_INCLUDE_FILE. 2014-03-18 19:16:52 +00:00
plugin.h
pointer-set.c
pointer-set.h
postreload-gcse.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
postreload.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
predict.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
predict.def re PR ipa/58721 (The subroutine perdida is no longer inlined in fatigue.f90) 2014-03-18 12:31:04 +01:00
predict.h
prefix.c
prefix.h
pretty-print.c
pretty-print.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
print-rtl.c re PR debug/61188 (Many -fcompare-debug failures) 2014-05-14 15:53:11 +00:00
print-rtl.h
print-tree.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
print-tree.h
profile.c re PR tree-optimization/60003 (wrong code with __builtin_setjmp/__builtin_longjmp and inlining) 2014-02-01 09:40:31 +01:00
profile.h
read-md.c
read-md.h
read-rtl.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
README.Portability README.Portability: Fix typo. 2014-01-30 17:29:25 +00:00
real.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
real.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
realmpfr.c
realmpfr.h
recog.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
recog.h
ree.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
reg-notes.def -fuse-caller-save - Add new reg-note REG_CALL_DECL 2014-04-24 09:34:15 +00:00
reg-stack.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
regcprop.c regcprop.h: New file. 2014-05-15 06:54:48 +00:00
regcprop.h regcprop.h: New file. 2014-05-15 06:54:48 +00:00
reginfo.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
regrename.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
regrename.h
regs.h ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use optimize_function_for_size_p. 2014-05-16 23:01:26 +00:00
regset.h
regstat.c
reload1.c re PR target/57935 (ICE in rs6000_secondary_reload_inner:15181, type = load) 2014-02-27 08:27:40 +10:30
reload.c 014-01-16 Bernd Schmidt <bernds@codesourcery.com> 2014-01-16 13:51:24 -07:00
reload.h
reorg.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
resource.c
resource.h
rtl-error.c
rtl-error.h
rtl.c rm a bunch of _stat allocation functions 2014-05-17 23:06:33 +00:00
rtl.def rtl.def (SYMBOL_REF): Remove middle "0" field. 2014-05-13 10:39:16 +00:00
rtl.h use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
rtlanal.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
rtlhooks-def.h
rtlhooks.c
sanitizer.def re PR sanitizer/60275 ([UBSAN] Add -f[no-]sanitize-recover/-fsanitize-undefined-trap-on-error to make UBSAN's runtime errors fatal) 2014-04-23 10:20:12 +02:00
sbitmap.c
sbitmap.h
sched-deps.c re PR debug/52727 (internal compiler error at dwarf2cfi.c2:685) 2014-02-05 10:42:19 -08:00
sched-ebb.c
sched-int.h re PR rtl-optimization/58960 (ICE in bmp_iter_set_init) 2014-02-18 09:41:29 +04:00
sched-rgn.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
sched-vis.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
sdbout.c re PR rtl-optimization/56356 (DJGPP compiler crashing) 2014-03-18 21:02:54 +01:00
sdbout.h
sel-sched-dump.c
sel-sched-dump.h
sel-sched-ir.c re PR rtl-optimization/60866 (ICE: in get_seqno_for_a_jump, at sel-sched-ir.c:4068 with -fselective-scheduling -fno-if-conversion) 2014-05-14 16:09:02 +04:00
sel-sched-ir.h
sel-sched.c sel-sched.c (calculate_new_fences): New parameter ptime. 2014-02-25 10:41:08 +04:00
sel-sched.h
sese.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
sese.h
shrink-wrap.c regcprop.h: New file. 2014-05-15 06:54:48 +00:00
shrink-wrap.h shrink-wrap.h: Update comment. 2014-05-15 06:30:58 +00:00
signop.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
simplify-rtx.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
sparseset.c
sparseset.h sparseset.h (sparseset_pop): Fix the wrong index. 2014-02-24 18:35:54 +00:00
sreal.c
sreal.h
ssa-iterators.h
stab.def
stack-ptr-mod.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
statistics.c
statistics.h
stmt.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
stmt.h
stor-layout.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
stor-layout.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
store-motion.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
streamer-hooks.c
streamer-hooks.h
stringpool.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
stringpool.h
symtab.c ipa.c (symtab_remove_unreachable_nodes): Remove symbol from comdat group if its body was eliminated. 2014-05-19 01:01:12 +00:00
sync-builtins.def
system.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
target-def.h
target-globals.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
target-globals.h
target-hooks-macros.h Fix DEFHOOKPOD argument order in target-hooks-macros.h comment 2014-04-23 21:29:08 +00:00
target.def target.def (mode_switching): New hook vector. 2014-05-13 10:50:51 +02:00
target.h target.def (mode_switching): New hook vector. 2014-05-13 10:50:51 +02:00
targhooks.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
targhooks.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
timevar.c
timevar.def tree-pass.h (make_pass_ipa_comdats): New pass. 2014-05-19 00:58:43 +00:00
timevar.h
tlink.c
toplev.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
toplev.h
tracer.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
trans-mem.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
trans-mem.h
tree-affine.c tree-affine.c (tree_to_aff_combination): Handle MEM_REF for core part of address expressions. 2014-05-08 09:00:42 +00:00
tree-affine.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-browser.c
tree-browser.def
tree-call-cdce.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-cfg.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree-cfg.h passes.c (execute_function_todo): Move TODO_verify_stmts and TODO_verify_ssa under the TODO_verify_il umbrella. 2014-04-30 08:06:49 +00:00
tree-cfgcleanup.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-cfgcleanup.h
tree-chrec.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-chrec.h
tree-complex.c re PR middle-end/39246 (FAIL: gcc.dg/uninit-13.c) 2014-05-08 01:20:17 +00:00
tree-core.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-data-ref.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-data-ref.h use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree-dfa.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-dfa.h tree-dfa.h (get_addr_base_and_unit_offset_1): Update array index calculation to match get_ref_base_and_extent. 2014-05-13 13:51:20 +00:00
tree-diagnostic.c
tree-diagnostic.h
tree-dump.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-dump.h
tree-eh.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree-eh.h
tree-emutls.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-hasher.h
tree-if-conv.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-inline.c tree-ssa-sccvn.c: Include tree-cfg.h and domwalk.h. 2014-05-16 08:05:50 +00:00
tree-inline.h
tree-into-ssa.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-into-ssa.h
tree-iterator.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree-iterator.h
tree-loop-distribution.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-nested.c tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
tree-nested.h
tree-nrv.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
tree-object-size.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-object-size.h
tree-outof-ssa.c
tree-outof-ssa.h
tree-parloops.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-parloops.h
tree-pass.h tree-pass.h (make_pass_ipa_comdats): New pass. 2014-05-19 00:58:43 +00:00
tree-phinodes.c rm a bunch of _stat allocation functions 2014-05-17 23:06:33 +00:00
tree-phinodes.h
tree-predcom.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-pretty-print.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-pretty-print.h
tree-profile.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
tree-scalar-evolution.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree-scalar-evolution.h
tree-sra.c re PR tree-optimization/61090 (ICE in build_ref_for_offset) 2014-05-15 16:54:29 +02:00
tree-ssa-address.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-ssa-address.h
tree-ssa-alias.c re PR tree-optimization/61034 (Optimizing takes too many passes) 2014-05-07 14:19:14 +00:00
tree-ssa-alias.h re PR tree-optimization/61034 (Optimizing takes too many passes) 2014-05-07 14:19:14 +00:00
tree-ssa-ccp.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-ssa-coalesce.c re PR lto/60404 (wrong code by LTO on x86_64-linux-gnu) 2014-03-05 09:46:31 +01:00
tree-ssa-coalesce.h
tree-ssa-copy.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-copyrename.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-dce.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-dom.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-dom.h
tree-ssa-dse.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-forwprop.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-ssa-ifcombine.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-live.c re PR middle-end/60291 (slow compile times for any mode (-O0/-O1/-O2) on large .c source file (30MBs)) 2014-02-21 13:14:23 +00:00
tree-ssa-live.h
tree-ssa-loop-ch.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-loop-im.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-ssa-loop-ivcanon.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-ssa-loop-ivopts.c tree-ssa-loop-ivopts.c (contain_complex_addr_expr): New. 2014-05-13 10:09:54 +00:00
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.c passes.c (execute_function_todo): Move TODO_verify_stmts and TODO_verify_ssa under the TODO_verify_il umbrella. 2014-04-30 08:06:49 +00:00
tree-ssa-loop-manip.h
tree-ssa-loop-niter.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree-ssa-loop-niter.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-ssa-loop-prefetch.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
tree-ssa-loop-unswitch.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
tree-ssa-loop.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-loop.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-ssa-math-opts.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-ssa-operands.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree-ssa-operands.h use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree-ssa-phiopt.c re PR tree-optimization/61140 (wrong code at -O1 and above on x86_64-linux-gnu) 2014-05-17 12:37:58 +00:00
tree-ssa-phiprop.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-pre.c re PR tree-optimization/61034 (Optimizing takes too many passes) 2014-05-07 14:19:14 +00:00
tree-ssa-propagate.c Makefile.in (GTFILES): Remove tree-ssa-propagate.c. 2014-05-09 07:49:18 +00:00
tree-ssa-propagate.h
tree-ssa-reassoc.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-ssa-sccvn.c tree-ssa-sccvn.c: Include tree-cfg.h and domwalk.h. 2014-05-16 08:05:50 +00:00
tree-ssa-sccvn.h
tree-ssa-sink.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-strlen.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-structalias.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-ssa-tail-merge.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-ter.c tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P. 2014-04-16 10:50:58 +00:00
tree-ssa-ter.h
tree-ssa-threadedge.c re PR tree-optimization/61009 (Incorrect jump threading in dom) 2014-05-08 22:54:00 -06:00
tree-ssa-threadedge.h
tree-ssa-threadupdate.c re PR tree-optimization/60363 (logical_op_short_circuit, gcc.dg/tree-ssa/ssa-dom-thread-4.c scan-tree-dump-times dom1 "Threaded" 4) 2014-05-05 07:36:30 +00:00
tree-ssa-threadupdate.h
tree-ssa-uncprop.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-ssa-uninit.c re PR middle-end/39246 (FAIL: gcc.dg/uninit-13.c) 2014-05-08 01:20:17 +00:00
tree-ssa.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree-ssa.h passes.c (execute_function_todo): Move TODO_verify_stmts and TODO_verify_ssa under the TODO_verify_il umbrella. 2014-04-30 08:06:49 +00:00
tree-ssanames.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree-ssanames.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-stdarg.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
tree-stdarg.h
tree-streamer-in.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree-streamer-out.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-streamer.c tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member. 2014-04-03 14:27:02 +00:00
tree-streamer.h tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member. 2014-04-03 14:27:02 +00:00
tree-switch-conversion.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-tailcall.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-vect-data-refs.c re PR tree-optimization/52252 (An opportunity for x86 gcc vectorizer (gain up to 3 times)) 2014-05-07 12:10:22 +00:00
tree-vect-generic.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-vect-loop-manip.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-vect-loop.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree-vect-patterns.c re PR tree-optimization/61194 (vectorization failed with "bit-precision arithmetic not supported" even if conversion to int is requested) 2014-05-16 11:21:11 +00:00
tree-vect-slp.c re PR tree-optimization/60841 (gcc: internal compiler error: Killed (program cc1) out of memory) 2014-04-17 08:09:02 +00:00
tree-vect-stmts.c re PR tree-optimization/52252 (An opportunity for x86 gcc vectorizer (gain up to 3 times)) 2014-05-07 12:10:22 +00:00
tree-vectorizer.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tree-vectorizer.h re PR tree-optimization/60841 (gcc: internal compiler error: Killed (program cc1) out of memory) 2014-04-17 08:09:02 +00:00
tree-vrp.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
tree.def Merge in wide-int. 2014-05-06 16:25:05 +00:00
tree.h tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
treestruct.def
tsan.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
tsan.h
tsystem.h
typeclass.h
ubsan.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
ubsan.h ubsan.h (ubsan_create_data): Change second argument's type to const location_t *. 2014-03-26 20:33:40 +01:00
valtrack.c
valtrack.h
value-prof.c Merge in wide-int. 2014-05-06 16:25:05 +00:00
value-prof.h
var-tracking.c rtl.def (VAR_LOCATION): Remove "i" field. 2014-05-13 10:39:08 +00:00
varasm.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
varasm.h
varpool.c use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
vec.c vec.c (vec_prefix::calculate_allocation): Move as inline variant to vec.h. 2014-02-12 16:01:03 +00:00
vec.h rm a bunch of _stat allocation functions 2014-05-17 23:06:33 +00:00
version.c
version.h
vmsdbg.h
vmsdbgout.c
vtable-verify.c pass cfun to pass::execute 2014-04-17 12:37:34 +00:00
vtable-verify.h
web.c tree-pass.h (TODO_verify_ssa, [...]): Remove. 2014-05-06 13:35:40 +00:00
wide-int-print.cc Merge in wide-int. 2014-05-06 16:25:05 +00:00
wide-int-print.h Merge in wide-int. 2014-05-06 16:25:05 +00:00
wide-int.cc wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or __SIZEOF_INT128__ is defined. 2014-05-17 08:30:14 +00:00
wide-int.h re PR c/61136 (ice in tree_nop_conversion) 2014-05-11 20:21:55 +00:00
xcoff.h
xcoffout.c
xcoffout.h

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