gcc/gcc
Vladimir Makarov 8eb2533ac6 re PR other/58712 (issues found by --enable-checking=valgrind)
2013-11-12  Vladimir Makarov  <vmakarov@redhat.com>

	PR other/58712
	* ira-costs.c (record_operand_costs): Check operands number for
	the single set.

From-SVN: r204720
2013-11-12 21:33:06 +00:00
..
ada gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
c-family gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
common gcse.c (pre_delete): Remove references to regmove from comments. 2013-11-02 00:26:48 +00:00
config re PR target/59054 (Powerpc -O0 -mcpu=power7 generates sub-optimal code to load 0) 2013-11-12 20:55:58 +00:00
cp gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
doc tree.h (CONSTRUCTOR_NO_CLEARING): Define. 2013-11-11 16:55:29 +00:00
fortran gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
ginclude [multiple changes] 2013-11-08 22:15:09 +00:00
go gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
java gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
lto Time profiler introduced. 2013-11-11 23:21:02 +00:00
objc gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
objcp Make-lang.in (CXX_TREE_H, [...]): Remove. 2013-09-25 16:23:02 +00:00
po * fi.po: Update. 2013-07-11 22:47:04 +01:00
testsuite re PR target/59054 (Powerpc -O0 -mcpu=power7 generates sub-optimal code to load 0) 2013-11-12 20:55:58 +00:00
ABOUT-GCC-NLS
acinclude.m4 acinclude.m4 (gcc_GAS_FLAGS): Add more gcc_cv_as_flags overrides. 2013-10-11 12:41:22 +02:00
aclocal.m4 (clh 9) 2013-09-25 15:55:01 +00:00
addresses.h
alias.c re PR rtl-optimization/58831 (wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode) 2013-10-25 09:21:11 +00:00
alias.h alias.h (component_uses_parent_alias_set): Rename to ... 2013-09-26 15:15:28 +00:00
alloc-pool.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
alloc-pool.h
asan.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
asan.h libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
attribs.c Re-factor tree.h - Part 1. 2013-11-08 17:46:16 -05:00
auto-inc-dec.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
BASE-VER
basic-block.h gimple.h (block_in_transaction): Move to basic-block.h and rename. 2013-11-06 13:11:14 +00:00
bb-reorder.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
bb-reorder.h re PR c++/53743 (ICE when compiling firefox with PGO and LTO) 2013-06-06 16:30:07 +00:00
bitmap.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
bitmap.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
bt-load.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
builtin-attrs.def Merge ubsan into trunk. 2013-08-30 16:12:58 +00:00
builtin-types.def builtin-types.def (BT_FN_VOID_CONST_PTR): New. 2013-10-30 09:06:20 +00:00
builtins.c Re-factor tree.h - Part 1. 2013-11-08 17:46:16 -05:00
builtins.def builtins.def (ATTR_NOTHROWCALL_LEAF_LIST): Define. 2013-11-04 20:29:36 +00:00
builtins.h
caller-save.c alias.c (addr_side_effect_eval): Use gen_int_mode with the mode of the associated gen_rtx_* call. 2013-09-09 13:06:43 +00:00
calls.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
cfg-flags.def
cfg.c This patch sanitizes the partitioning to address issues such as edge weight insanities that sometimes occur due to upstream optimizations... 2013-08-31 01:43:33 +00:00
cfganal.c re PR rtl-optimization/57100 (ICE: in pre_and_rev_post_order_compute, at cfganal.c:869 with -fdump-rtl-pro_and_epilogue-graph) 2013-10-30 14:22:01 +00:00
cfgbuild.c rtl.texi (REG_NOTES): Say that int_list can also be used. 2013-09-23 17:41:02 +00:00
cfgcleanup.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
cfgexpand.c function.c (NAME__MAIN): Move to... 2013-11-09 20:12:59 +00:00
cfghooks.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
cfghooks.h cfghooks.c (copy_bbs): Add update_dominance argument. 2013-05-16 17:09:40 +00:00
cfgloop.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
cfgloop.h tree-ssa.h: Don't include gimple-low.h... 2013-10-18 19:35:40 +00:00
cfgloopanal.c function.h (loops_for_fn): New inline function. 2013-04-30 08:14:09 +00:00
cfgloopmanip.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
cfgrtl.c re PR middle-end/58670 (asm goto miscompilation) 2013-10-10 18:29:50 +02:00
cgraph.c Time profiler introduced. 2013-11-11 23:21:02 +00:00
cgraph.h Time profiler introduced. 2013-11-11 23:21:02 +00:00
cgraphbuild.c Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
cgraphclones.c Time profiler introduced. 2013-11-11 23:21:02 +00:00
cgraphunit.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
ChangeLog re PR other/58712 (issues found by --enable-checking=valgrind) 2013-11-12 21:33:06 +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 Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
ChangeLog-2010
ChangeLog-2011 Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
ChangeLog-2012 Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
ChangeLog.dataflow
ChangeLog.graphite
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
chkp-builtins.def tree-core.h (tree_index): Add TI_POINTER_BOUNDS_TYPE. 2013-10-30 09:09:44 +00:00
cif-code.def re PR ipa/58332 (error: inlined_to pointer is set but no predecessors found) 2013-09-17 17:45:00 +00:00
cilk-builtins.def Added _Cilk_spawn and _Cilk_sync (2 cilk keywords) for C. 2013-10-29 11:36:31 -07:00
cilk-common.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
cilk.h Added _Cilk_spawn and _Cilk_sync (2 cilk keywords) for C. 2013-10-29 11:36:31 -07:00
cilkplus.def Implemented Cilk Plus Array Notation for C Compiler. 2013-05-28 12:55:10 -07:00
collect2-aix.c
collect2-aix.h
collect2.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
collect2.h re PR driver/57652 (collect2 does not clean up temporary files) 2013-06-19 19:51:05 -04:00
combine-stack-adj.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
combine.c re PR rtl-optimization/58662 (wrong code at -O2 for dumb condition) 2013-10-13 13:29:28 +00:00
common.opt common.opt (fcheck-pointer-bounds): Move to ... 2013-11-08 10:57:54 +00:00
compare-elim.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
conditions.h
config.build
config.gcc cpp.texi (__GCC_IEC_559, [...]): Document macros. 2013-11-04 15:39:57 +00:00
config.host
config.in Makefile.in (OUTPUT_OPTION): Define as "-o $@". 2013-09-25 16:10:35 +00:00
configure re PR plugins/52872 (--enable-plugin; incorrect test for "exported symbols" and "-rdynamic" in gcc/configure.ac) 2013-11-10 20:24:43 +01:00
configure.ac re PR plugins/52872 (--enable-plugin; incorrect test for "exported symbols" and "-rdynamic" in gcc/configure.ac) 2013-11-10 20:24:43 +01:00
context.c Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
context.h Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
convert.c convert.c (convert_to_real): Guard those unsafe math function convertions with flag_unsafe_math_optimizations. 2013-10-24 14:10:38 -04:00
convert.h
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
coretypes.h tree-ssa.h: Don't include gimple-low.h... 2013-10-18 19:35:40 +00:00
coverage.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
coverage.h cgraph.h (cgraph_node): Add profile_id. 2013-08-09 18:23:23 +00:00
cppbuiltin.c Added _Cilk_spawn and _Cilk_sync (2 cilk keywords) for C. 2013-10-29 11:36:31 -07:00
cppbuiltin.h
cppdefault.c
cppdefault.h
cprop.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
cse.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
cselib.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
cselib.h
cstamp-h.in
data-streamer-in.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
data-streamer-out.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
data-streamer.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
data-streamer.h data-streamer.h (streamer_write_char_stream): CSE obs->current_pointer. 2013-06-12 11:09:50 +00:00
DATESTAMP Daily bump. 2013-11-12 00:17:00 +00:00
dbgcnt.c
dbgcnt.def tree-ssa-threadupdate.c: Do not include "tm.h" or "tm_p.h". 2013-10-18 09:50:04 -06:00
dbgcnt.h
dbxout.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
dbxout.h
dce.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
dce.h
ddg.c Fix typos. 2013-07-21 18:31:07 +00:00
ddg.h
debug.c
debug.h
defaults.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
DEV-PHASE
df-core.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
df-problems.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
df-scan.c df-scan.c (df_collection_rec): Adjust. 2013-10-28 14:03:46 -06:00
df.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
dfp.c
dfp.h
diagnostic-color.c Makefile.in (toplev.o): Depend on diagnostic-color.h. 2013-04-26 08:55:56 +02:00
diagnostic-color.h
diagnostic-core.h
diagnostic.c Revert "preprocessor/58580 - preprocessor goes OOM with warning for zero literals" 2013-11-06 23:51:36 +01:00
diagnostic.def
diagnostic.h pretty-print.h (pp_base): Remove. 2013-08-05 04:00:57 +00:00
dojump.c This patch fixes an issue where expansion of an ORIF expression arbitrarily... 2013-10-02 19:18:17 +00:00
dominance.c pointer-set.h (struct pointer_set_t): Move here from pointer-set.c. 2013-06-24 12:17:16 +00:00
domwalk.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
domwalk.h basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
double-int.c double-int.c (lshift_double, [...]): Remove SHIFT_COUNT_TRUNCATED handling. 2013-11-05 19:58:12 +00:00
double-int.h Fix typos. 2013-07-21 18:31:07 +00:00
dse.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
dumpfile.c Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
dumpfile.h Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
dwarf2asm.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
dwarf2asm.h
dwarf2cfi.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
dwarf2out.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
dwarf2out.h
emit-rtl.c tree-flow.h: Remove some prototypes. 2013-10-08 12:13:13 +00:00
emit-rtl.h
errors.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
errors.h
et-forest.c
et-forest.h
except.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
except.h
exec-tool.in
explow.c Re-factor tree.h - Part 1. 2013-11-08 17:46:16 -05:00
expmed.c re PR middle-end/59049 (Two VOIDmode constant in comparison passed to cstoresi4) 2013-11-11 18:57:25 +00:00
expmed.h
expr.c Re-factor tree.h - Part 1. 2013-11-08 17:46:16 -05:00
expr.h expr.h: Revert change and include tree-core.h. 2013-10-29 16:37:01 +00:00
file-find.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
file-find.h re PR driver/57651 (gcc-ar and gcc-nm don't find the lto plugin) 2013-06-19 21:01:06 +00:00
final.c final.c (update_alignments): Initialize label to NULL_RTX. 2013-11-12 17:56:48 +00:00
fixed-value.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
fixed-value.h
flag-types.h Implement -fsanitize=vla-bound. 2013-11-03 17:59:31 +00:00
flags.h
fold-const.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
function.h Added _Cilk_spawn and _Cilk_sync (2 cilk keywords) for C. 2013-10-29 11:36:31 -07:00
fwprop.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gcc-ar.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gcc-plugin.h
gcc.c Generally link to libgomp for -ftree-parallelize-loops=*. 2013-11-07 16:07:34 +01:00
gcc.h
gcov-dump.c
gcov-io.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gcov-io.h Time profiler introduced. 2013-11-11 23:21:02 +00:00
gcov-iov.c
gcov.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gcse.c gcse.c (pre_delete): Remove references to regmove from comments. 2013-11-02 00:26:48 +00:00
gcse.h
gdbhooks.py gdbhooks.py: update cgraph_node prettyprinter 2013-10-29 18:58:42 +00:00
gdbinit.in gdbinit.in: Disable strict type checking. 2013-11-06 13:28:03 -07:00
gen-pass-instances.awk gen-pass-instances.awk: Fix offset of substr(). 2013-07-31 09:34:04 +00:00
genattr-common.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
genattr.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
genattrtab.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
genautomata.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
gencheck.c
genchecksum.c
gencodes.c
genconditions.c
genconfig.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
genconstants.c
genemit.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
genenums.c
genextract.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
genflags.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gengenrtl.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gengtype-lex.l
gengtype-parse.c Support empty structs in gengtype 2013-11-05 18:55:22 +00:00
gengtype-state.c Make gengtype more robust against user error 2013-10-29 01:16:05 +00:00
gengtype.c Make gengtype more robust against user error 2013-10-29 01:16:05 +00:00
gengtype.h Make gengtype more robust against user error 2013-10-29 01:16:05 +00:00
genhooks.c
genmddeps.c
genmddump.c
genmodes.c machmode.def (PARTIAL_INT_MODE): Add precision and name. 2013-10-30 03:02:00 +00:00
genmultilib
genopinit.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
genoutput.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
genpeep.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
genpreds.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
genrecog.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gensupport.c re PR target/57377 (compiler cannot be built with RTL checking) 2013-10-10 12:01:23 +00:00
gensupport.h
ggc-common.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ggc-internal.h
ggc-none.c
ggc-page.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
ggc.h Revert my last two changes, r201865 and r201864 2013-08-20 15:51:18 +00:00
gimple-builder.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
gimple-builder.h gimple.c (gimple_replace_lhs): Move to tree-ssa.c and rename. 2013-09-26 13:23:31 +00:00
gimple-expr.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
gimple-expr.h gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
gimple-fold.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
gimple-fold.h tree-flow.h: Move some prototypes to gimple.h. 2013-10-10 12:16:24 +00:00
gimple-iterator.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
gimple-low.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
gimple-low.h tree-ssa.h: Don't include gimple-low.h... 2013-10-18 19:35:40 +00:00
gimple-pretty-print.c gimple-pretty-print.c (dump_ssaname_info): Print newline also in case of VR_VARYING. 2013-10-31 14:55:31 +01:00
gimple-pretty-print.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
gimple-ssa-isolate-paths.c gimple-ssa-isolate-paths.c (check_loadstore): New function. 2013-11-12 09:41:51 -07:00
gimple-ssa-strength-reduction.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
gimple-ssa.h tree-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +00:00
gimple-streamer-in.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
gimple-streamer-out.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
gimple-streamer.h
gimple.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
gimple.def target.c: New file. 2013-10-11 11:26:50 +02:00
gimple.h gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
gimplify.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
gimplify.h gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
glimits.h
godump.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
graph.c re PR rtl-optimization/57100 (ICE: in pre_and_rev_post_order_compute, at cfganal.c:869 with -fdump-rtl-pro_and_epilogue-graph) 2013-10-30 14:22:01 +00:00
graph.h
graphds.c graphds.h (struct graph): Add obstack member. 2013-05-02 13:59:38 +00:00
graphds.h graphds.h (struct graph): Add obstack member. 2013-05-02 13:59:38 +00:00
graphite-blocking.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
graphite-clast-to-gimple.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
graphite-clast-to-gimple.h This patch is the main part of a consolodation of the hash_table patches to the... 2013-04-26 00:28:35 +00:00
graphite-dependences.c Replace some heap vectors with stack vectors. 2013-11-01 16:31:32 -04:00
graphite-htab.h This patch is the main part of a consolodation of the hash_table patches to the... 2013-04-26 00:28:35 +00:00
graphite-interchange.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
graphite-optimize-isl.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
graphite-poly.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
graphite-poly.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
graphite-scop-detection.c Replace some heap vectors with stack vectors. 2013-11-01 16:31:32 -04:00
graphite-scop-detection.h
graphite-sese-to-poly.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
graphite-sese-to-poly.h
graphite.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def gtm-builtins.def (_ITM_free): Declare leaf. 2013-08-28 19:42:19 +02:00
haifa-sched.c tree-pass.h (make_pass_live_range_shrinkage): New external. 2013-11-06 19:46:39 +00:00
hard-reg-set.h
hash-table.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
hash-table.h basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
highlev-plugin-common.h
hooks.c target.def (can_use_doloop_p): New hook. 2013-11-09 11:42:16 +00:00
hooks.h target.def (can_use_doloop_p): New hook. 2013-11-09 11:42:16 +00:00
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c Replace some heap vectors with stack vectors. 2013-11-01 16:31:32 -04:00
hw-doloop.h
hwint.c system.h: Move hwint.h include further down. 2013-10-21 18:32:23 +00:00
hwint.h system.h: Move hwint.h include further down. 2013-10-21 18:32:23 +00:00
ifcvt.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
incpath.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
incpath.h
init-regs.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
input.c Revert "preprocessor/58580 - preprocessor goes OOM with warning for zero literals" 2013-11-06 23:51:36 +01:00
input.h Revert "preprocessor/58580 - preprocessor goes OOM with warning for zero literals" 2013-11-06 23:51:36 +01:00
insn-addr.h
insn-notes.def
internal-fn.c re PR other/33426 (Support of #pragma ivdep) 2013-10-24 18:25:44 +02:00
internal-fn.def re PR other/33426 (Support of #pragma ivdep) 2013-10-24 18:25:44 +02:00
internal-fn.h
intl.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
intl.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ipa-cp.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
ipa-devirt.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
ipa-inline-analysis.c Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
ipa-inline-transform.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
ipa-inline.c Added _Cilk_spawn and _Cilk_sync (2 cilk keywords) for C. 2013-10-29 11:36:31 -07:00
ipa-inline.h cgraph.c (cgraph_turn_edge_to_speculative): Return newly introduced edge; fix typo in sanity check. 2013-08-13 12:21:16 +00:00
ipa-profile.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
ipa-prop.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
ipa-prop.h tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
ipa-pure-const.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
ipa-ref-inline.h Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
ipa-ref.c Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
ipa-ref.h Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
ipa-reference.c Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
ipa-reference.h Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
ipa-split.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
ipa-utils.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
ipa-utils.h tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
ipa.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
ira-build.c regmove.c: Remove. 2013-10-30 14:27:25 +00:00
ira-color.c re PR bootstrap/58933 (IRA ICE in update_costs_from_allocno) 2013-10-31 03:14:07 +00:00
ira-conflicts.c regmove.c: Remove. 2013-10-30 14:27:25 +00:00
ira-costs.c re PR other/58712 (issues found by --enable-checking=valgrind) 2013-11-12 21:33:06 +00:00
ira-emit.c function.h (loops_for_fn): New inline function. 2013-04-30 08:14:09 +00:00
ira-int.h regmove.c: Remove. 2013-10-30 14:27:25 +00:00
ira-lives.c
ira.c re PR rtl-optimization/10474 (shrink wrapping for functions) 2013-11-12 13:53:53 +01:00
ira.h
is-a.h Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
jump.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
langhooks-def.h common.opt (fcheck-pointer-bounds): Move to ... 2013-11-08 10:57:54 +00:00
langhooks.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
langhooks.h common.opt (fcheck-pointer-bounds): Move to ... 2013-11-08 10:57:54 +00:00
LANGUAGES
lcm.c
libfuncs.h
limitx.h
limity.h
lists.c
lock-and-run.sh add quotes 2013-05-16 13:41:13 -04:00
loop-doloop.c target.def (can_use_doloop_p): New hook. 2013-11-09 11:42:16 +00:00
loop-init.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
loop-invariant.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
loop-iv.c re PR rtl-optimization/58997 (ICE on valid code at -O3 on x86_64-linux-gnu (affecting gcc trunk and 4.8.2)) 2013-11-05 20:37:51 +01:00
loop-unroll.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
loop-unswitch.c re PR rtl-optimization/58997 (ICE on valid code at -O3 on x86_64-linux-gnu (affecting gcc trunk and 4.8.2)) 2013-11-05 20:37:51 +01:00
lower-subreg.c lower-subreg.c (resolve_simple_move): Copy REG_INC note. 2013-10-31 06:20:20 +00:00
lower-subreg.h
lra-assigns.c [multiple changes] 2013-07-18 17:04:10 +00:00
lra-coalesce.c
lra-constraints.c lra-constraints (process_alt_operands): Use the result elimination register for operand when matching constraints. 2013-10-31 16:00:38 +00:00
lra-eliminations.c lra-constraints.c (process_alt_operand): Calculate scratch_p and use it. 2013-10-03 00:35:43 +00:00
lra-int.h re PR rtl-optimization/55342 ([LRA,x86] Non-optimal code for simple loop with LRA) 2013-07-05 20:56:13 +00:00
lra-lives.c lra-constraints.c (need_for_all_save_p): Use macro HARD_REGNO_CALL_PART_CLOBBERED. 2013-09-18 19:12:16 +00:00
lra-spills.c re PR rtl-optimization/58968 (Powerpc -mlra cannot compile ormas1.f in gamess Spec 2006 with -m32 -mcpu=power7 -O3 -mlra -w -ffast-math -funroll-loops) 2013-11-04 16:12:29 +00:00
lra.c re PR target/58784 ([ARM] LRA legitimate address issue with misalign neon_store) 2013-10-30 15:04:39 +00:00
lra.h
lto-cgraph.c Time profiler introduced. 2013-11-11 23:21:02 +00:00
lto-compress.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
lto-compress.h
lto-opts.c builtins.def (ATTR_NOTHROWCALL_LEAF_LIST): Define. 2013-11-04 20:29:36 +00:00
lto-section-in.c Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
lto-section-out.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
lto-streamer-in.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
lto-streamer-out.c Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
lto-streamer.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
lto-streamer.h Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
lto-wrapper.c builtins.def (ATTR_NOTHROWCALL_LEAF_LIST): Define. 2013-11-04 20:29:36 +00:00
machmode.def machmode.def (PARTIAL_INT_MODE): Add precision and name. 2013-10-30 03:02:00 +00:00
machmode.h mode-classes.def (MODE_POINTER_BOUNDS): New. 2013-10-25 05:36:14 +00:00
main.c
Makefile.in gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
mcf.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
mkconfig.sh
mode-classes.def mode-classes.def (MODE_POINTER_BOUNDS): New. 2013-10-25 05:36:14 +00:00
mode-switching.c mode-switching.c (optimize_mode_switching): Mark block as nontransparent, if last_mode at block exit is different from no_mode. 2013-11-10 19:38:36 +01:00
modulo-sched.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
omega.c df-problems.c (can_move_insns_across): Exit loop once we find a non-fixed, non-global register. 2013-07-22 09:20:11 -06:00
omega.h
omp-builtins.def target.c: New file. 2013-10-11 11:26:50 +02:00
omp-low.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
omp-low.h tree-flow.h (struct omp_region): Move to omp-low.c. 2013-10-17 17:41:07 +00:00
ONEWS
opt-functions.awk
opt-gather.awk
opt-include.awk
opt-read.awk
optabs.c optabs.c (expand_vec_perm): Revert one incorrect line from 2013-10-31 change. 2013-11-04 21:23:29 +01:00
optabs.def
optabs.h
optc-gen.awk
optc-save-gen.awk re PR target/57756 (Function target attribute is retaining state of previously seen function) 2013-10-15 21:43:21 +00:00
opth-gen.awk opth-gen.awk: Define target_flags_explicit. 2013-10-18 02:47:12 +00:00
opts-common.c
opts-diagnostic.h
opts-global.c re PR middle-end/58134 (-ftree-vectorizer-verbose=<n> shows vectorized loops only for N== 1 and N >2 but not for N==2) 2013-10-31 01:01:40 +00:00
opts.c Makefile.in (OBJS): Add gimple-ssa-isolate-paths.o 2013-11-05 12:47:44 -07:00
opts.h
output.h Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
params.c
params.def predict.c (probably_never_executed): Compare frequency-based count to number of training runs. 2013-10-18 17:25:44 +00:00
params.h
pass_manager.h basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
passes.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
passes.def tree-pass.h (make_pass_live_range_shrinkage): New external. 2013-11-06 19:46:39 +00:00
plugin.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
plugin.def
plugin.h
pointer-set.c pointer-set.h (struct pointer_set_t): Move here from pointer-set.c. 2013-06-24 12:17:16 +00:00
pointer-set.h pointer-set.h (struct pointer_set_t): Move here from pointer-set.c. 2013-06-24 12:17:16 +00:00
postreload-gcse.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
postreload.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
predict.c predict.c (drop_profile): New function. 2013-11-12 15:03:28 +00:00
predict.def predict.c (PRED_MUDFLAP): Remove. 2013-10-26 04:24:19 -06:00
predict.h predict.c (drop_profile): New function. 2013-11-12 15:03:28 +00:00
prefix.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
prefix.h
pretty-print.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
pretty-print.h diagnostic.c (diagnostic_set_caret_max_width): Use pp_buffer. 2013-08-23 23:58:55 +00:00
print-rtl.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
print-tree.c Re-factor tree.h - Part 1. 2013-11-08 17:46:16 -05:00
profile.c Time profiler introduced. 2013-11-11 23:21:02 +00:00
profile.h cgraph.h (cgraph_node): Add profile_id. 2013-08-09 18:23:23 +00:00
read-md.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
read-md.h
read-rtl.c read-rtl.c (validate_const_int): Once an invalid character is seen, quit the loop. 2013-07-18 10:07:37 -06:00
README.Portability
real.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
real.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
realmpfr.c
realmpfr.h
recog.c gcse.c (pre_delete): Remove references to regmove from comments. 2013-11-02 00:26:48 +00:00
recog.h re PR other/12081 (Gcc can't be compiled with -mregparm=3) 2013-08-05 22:09:45 +00:00
ree.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
reg-notes.def rtl.texi (REG_NOTES): Say that int_list can also be used. 2013-09-23 17:41:02 +00:00
reg-stack.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
regcprop.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
reginfo.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
regrename.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
regrename.h
regs.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
regset.h
regstat.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
reload.c reload.c (find_valid_class): Allow classes that do not include FIRST_PSEUDO_REGISTER - 1. 2013-08-26 16:32:55 +01:00
reload.h reload.h (struct reg_equivs): Rename to .. 2013-08-21 15:38:35 +01:00
reload1.c re PR rtl-optimization/58545 (error: unable to find a register to spill in class 'POINTER_REGS') 2013-10-30 23:55:46 +00:00
reorg.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
resource.c resource.c (mark_referenced_resources): Handle COND_EXEC. 2013-09-06 18:37:50 +01:00
resource.h resource.h (struct resources): Remove unch_memory member. 2013-05-14 17:21:43 +00:00
rtl-error.c
rtl-error.h
rtl.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
rtl.def rtl.texi (REG_NOTES): Say that int_list can also be used. 2013-09-23 17:41:02 +00:00
rtl.h expr.h: Revert change and include tree-core.h. 2013-10-29 16:37:01 +00:00
rtlanal.c rtlanal.c (tablejump_p): Expect a JUMP_TABLE_DATA to always follow immediately after a label for a... 2013-11-05 21:57:45 +00:00
rtlhooks-def.h
rtlhooks.c
sanitizer.def libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00:00
sbitmap.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
sbitmap.h
sched-deps.c tree-pass.h (make_pass_live_range_shrinkage): New external. 2013-11-06 19:46:39 +00:00
sched-ebb.c
sched-int.h tree-pass.h (make_pass_live_range_shrinkage): New external. 2013-11-06 19:46:39 +00:00
sched-rgn.c tree-pass.h (make_pass_live_range_shrinkage): New external. 2013-11-06 19:46:39 +00:00
sched-vis.c rtl.texi (REG_NOTES): Say that int_list can also be used. 2013-09-23 17:41:02 +00:00
sdbout.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
sdbout.h
sel-sched-dump.c
sel-sched-dump.h
sel-sched-ir.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
sel-sched-ir.h re PR rtl-optimization/56957 (ICE in add_insn_after, at emit-rtl.c:3783) 2013-04-30 14:55:52 +04:00
sel-sched.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
sel-sched.h
sese.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
sese.h This patch is the main part of a consolodation of the hash_table patches to the... 2013-04-26 00:28:35 +00:00
simplify-rtx.c simplify-rtx.c (simplify_unary_operation_1): Use simplify_gen_binary for (not (neg ...)) and (neg (not ...)) cases. 2013-09-11 17:40:56 +00:00
sparseset.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
sparseset.h
sreal.c
sreal.h
ssa-iterators.h tree-into-ssa.c (enum need_phi_state): Relocate from tree-flow.h. 2013-10-01 15:46:53 +00:00
stab.def
stack-ptr-mod.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
statistics.c Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
statistics.h
stmt.c Re-factor tree.h - Part 1. 2013-11-08 17:46:16 -05:00
stor-layout.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
store-motion.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
streamer-hooks.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
streamer-hooks.h tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
stringpool.c
symtab.c Re-factor tree.h - Part 1. 2013-11-08 17:46:16 -05:00
sync-builtins.def tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC. 2013-11-07 21:15:25 +00:00
system.h system.h: Move hwint.h include further down. 2013-10-21 18:32:23 +00:00
target-def.h
target-globals.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
target-globals.h
target-hooks-macros.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
target.def target.def (can_use_doloop_p): New hook. 2013-11-09 11:42:16 +00:00
target.h target.def (can_use_doloop_p): New hook. 2013-11-09 11:42:16 +00:00
targhooks.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
targhooks.h target.def (can_use_doloop_p): New hook. 2013-11-09 11:42:16 +00:00
timevar.c * timevar.c (validate_phases): Add cast. 2013-08-22 15:25:53 +00:00
timevar.def tree-pass.h (make_pass_live_range_shrinkage): New external. 2013-11-06 19:46:39 +00:00
timevar.h timevar.c (validate_phases): Use size_t for memory. 2013-08-22 14:58:17 +00:00
tlink.c Fix typos. 2013-07-21 18:18:04 +00:00
toplev.c toplev.c (toplev_main): Move PLUGIN_FINISH invocation before diagnostic_finish. 2013-11-11 14:54:14 +00:00
toplev.h Handwritten part of conversion of passes to C++ classes 2013-08-05 20:01:43 +00:00
tracer.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
trans-mem.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
trans-mem.h
tree-affine.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-affine.h tree-ssa-loop-ivopts.c (alloc_iv): Lower address expressions. 2013-11-07 08:12:34 +00:00
tree-browser.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-browser.def
tree-call-cdce.c Replace some heap vectors with stack vectors. 2013-11-01 16:31:32 -04:00
tree-cfg.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-cfg.h tree-cfg.c (assert_unreachable_fallthru_edge_p): New function. 2013-10-31 14:51:38 +01:00
tree-cfgcleanup.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-cfgcleanup.h tree-flow.h: Include new .h files. 2013-10-02 13:19:29 +00:00
tree-chrec.c tree-ssa-loop.h: Remove include files. 2013-10-23 18:55:46 +00:00
tree-chrec.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-complex.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-core.h tree.h (CONSTRUCTOR_NO_CLEARING): Define. 2013-11-11 16:55:29 +00:00
tree-data-ref.c df-scan.c (df_collection_rec): Adjust. 2013-10-28 14:03:46 -06:00
tree-data-ref.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-dfa.c tree-dfa.c (get_ref_base_and_extent): Fix casting. 2013-11-07 11:28:42 +00:00
tree-dfa.h tree-flow.h: Include new .h files. 2013-10-02 13:19:29 +00:00
tree-diagnostic.c
tree-diagnostic.h
tree-dump.c tree-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +00:00
tree-dump.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-eh.c Re-factor tree.h - Part 1. 2013-11-08 17:46:16 -05:00
tree-eh.h tree-flow.h: Remove some prototypes. 2013-10-08 12:13:13 +00:00
tree-emutls.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
tree-hasher.h tree-flow.h (tm_restart_node, gimple_df): Move to gimple-ssa.h. 2013-10-09 13:42:17 +00:00
tree-if-conv.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-inline.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-inline.h Added _Cilk_spawn and _Cilk_sync (2 cilk keywords) for C. 2013-10-29 11:36:31 -07:00
tree-into-ssa.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-into-ssa.h tree-flow.h: Remove some prototypes. 2013-10-02 17:57:54 +00:00
tree-iterator.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-iterator.h
tree-loop-distribution.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-nested.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-nrv.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-object-size.c Re-factor tree.h - Part 1. 2013-11-08 17:46:16 -05:00
tree-outof-ssa.c tree-outof-ssa.c (queue_phi_copy_p): Combine phi_ssa_name_p from gimple.h and the rest of the condition in... 2013-11-05 14:13:56 +00:00
tree-outof-ssa.h tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
tree-parloops.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-parloops.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-pass.h tree-pass.h (make_pass_live_range_shrinkage): New external. 2013-11-06 19:46:39 +00:00
tree-phinodes.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-phinodes.h tree-ssa.h: Don't include gimple-low.h... 2013-10-18 19:35:40 +00:00
tree-predcom.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-pretty-print.c tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC. 2013-11-07 21:15:25 +00:00
tree-pretty-print.h tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
tree-profile.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-scalar-evolution.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-scalar-evolution.h tree-flow.h: Move some protoypes. 2013-10-09 13:09:23 +00:00
tree-sra.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-address.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-address.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-ssa-alias.c tree-ssa-alias.c (stmt_kills_ref_p_1): Use ao_ref_init_from_ptr_and_size for builtins. 2013-11-11 20:56:19 +00:00
tree-ssa-alias.h tree-ssa-alias.h (ranges_overlap_p): Handle negative offsets. 2013-11-05 12:38:00 +00:00
tree-ssa-ccp.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-coalesce.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
tree-ssa-coalesce.h tree-ssa-live.h (coalesce_ssa_name): Move Prototype to... 2013-10-01 16:23:52 +00:00
tree-ssa-copy.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-ssa-copyrename.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-ssa-dce.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-dom.c Re-factor tree.h - Part 1. 2013-11-08 17:46:16 -05:00
tree-ssa-dom.h tree-ssa.h: Don't include gimple-low.h... 2013-10-18 19:35:40 +00:00
tree-ssa-dse.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-ssa-forwprop.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-ifcombine.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-live.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-ssa-live.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-ssa-loop-ch.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-ssa-loop-im.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-loop-ivcanon.c df-scan.c (df_collection_rec): Adjust. 2013-10-28 14:03:46 -06:00
tree-ssa-loop-ivopts.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-loop-ivopts.h tree-flow.h: Move some protoypes. 2013-10-09 13:09:23 +00:00
tree-ssa-loop-manip.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-loop-manip.h tree-flow.h: Move some protoypes. 2013-10-09 13:09:23 +00:00
tree-ssa-loop-niter.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-loop-niter.h re PR tree-optimization/58697 (wrong code (segfaults) at -O3) 2013-10-16 15:48:47 +00:00
tree-ssa-loop-prefetch.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-loop-unswitch.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-loop.c tree-ssa-loop.h: Remove include files. 2013-10-23 18:55:46 +00:00
tree-ssa-loop.h tree-ssa-loop.h: Remove include files. 2013-10-23 18:55:46 +00:00
tree-ssa-math-opts.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-operands.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-ssa-operands.h tree-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +00:00
tree-ssa-phiopt.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-phiprop.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-pre.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-propagate.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-propagate.h tree-flow.h: Remove some prototypes. 2013-10-02 15:29:35 +00:00
tree-ssa-reassoc.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-sccvn.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-sccvn.h This patch extracts approved portions of the hash_table patches to the... 2013-04-23 22:00:12 +00:00
tree-ssa-sink.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-ssa-strlen.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa-structalias.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
tree-ssa-tail-merge.c re PR ipa/58862 (LTO profiledbootstrap failure: lto1: ICE in edge_badness, at ipa-inline.c:1008) 2013-10-29 20:39:49 +00:00
tree-ssa-ter.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
tree-ssa-ter.h tree-ssa-ter.h: Remove duplicate copy of file contents. 2013-10-22 04:32:04 +00:00
tree-ssa-threadedge.c tree-ssa-threadupdate.h (delete_thread_path): Declare. 2013-11-08 09:24:06 -07:00
tree-ssa-threadedge.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-ssa-threadupdate.c tree-ssa-threadupdate.c (mark_threaded_blocks): Truncate jump threading paths first, then perform PHI node checks if applicable. 2013-11-10 20:04:57 -07:00
tree-ssa-threadupdate.h tree-ssa-threadupdate.h (delete_thread_path): Declare. 2013-11-08 09:24:06 -07:00
tree-ssa-uncprop.c Replace some heap vectors with stack vectors. 2013-11-01 16:31:32 -04:00
tree-ssa-uninit.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-ssa.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-ssa.h Makefile.in (OBJS): Add gimple-ssa-isolate-paths.o 2013-11-05 12:47:44 -07:00
tree-ssanames.c tree.c (tree_ctz): New function. 2013-10-31 14:57:05 +01:00
tree-ssanames.h tree.c (tree_ctz): New function. 2013-10-31 14:57:05 +01:00
tree-stdarg.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
tree-stdarg.h
tree-streamer-in.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
tree-streamer-out.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
tree-streamer.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
tree-streamer.h Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
tree-switch-conversion.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-tailcall.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-vect-data-refs.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-vect-generic.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-vect-loop-manip.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-vect-loop.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-vect-patterns.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-vect-slp.c df-scan.c (df_collection_rec): Adjust. 2013-10-28 14:03:46 -06:00
tree-vect-stmts.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tree-vectorizer.c Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +00:00
tree-vectorizer.h re PR tree-optimization/56764 (vect_prune_runtime_alias_test_list not smart enough) 2013-11-07 14:29:45 -05:00
tree-vrp.c Re-factor tree.h - Part 1. 2013-11-08 17:46:16 -05:00
tree.c Refactor implicit function template implementation and fix 58534, 58536, 58548, 58549 and 58637. 2013-11-12 20:17:33 +00:00
tree.def tree.h (CONSTRUCTOR_NO_CLEARING): Define. 2013-11-11 16:55:29 +00:00
tree.h gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
treestruct.def
tsan.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
tsan.h
tsystem.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
typeclass.h
ubsan.c re PR sanitizer/58420 (internal compiler error: in ubsan_type_descriptor, at ubsan.c:280) 2013-09-25 09:04:20 +00:00
ubsan.h Merge ubsan into trunk. 2013-08-30 16:12:58 +00:00
valtrack.c alias.c (addr_side_effect_eval): Use gen_int_mode with the mode of the associated gen_rtx_* call. 2013-09-09 13:06:43 +00:00
valtrack.h
value-prof.c gimple-expr.h (create_tmp_var_name, [...]): Relocate prototypes from gimple.h. 2013-11-12 20:26:43 +00:00
value-prof.h Time profiler introduced. 2013-11-11 23:21:02 +00:00
var-tracking.c df-scan.c (df_collection_rec): Adjust. 2013-10-28 14:03:46 -06:00
varasm.c re PR c++/58176 (ICE in output_constant, at varasm.c:4658) 2013-11-07 14:26:17 +00:00
varpool.c * varpool.c (ctor_for_folding): Fix typo in comment. 2013-11-07 12:26:25 -07:00
vec.c don't try and free what must be a null vector when reserving 0 elements 2013-11-05 13:51:32 +00:00
vec.h don't try and free what must be a null vector when reserving 0 elements 2013-11-05 13:51:32 +00:00
version.c
version.h
vmsdbg.h
vmsdbgout.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
vtable-verify.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
vtable-verify.h Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
web.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
xcoff.h
xcoffout.c
xcoffout.h

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