gcc/gcc
Teresa Johnson bfaa17c183 predict.c (probably_never_executed): Compare frequency-based count to number of training runs.
2013-10-18  Teresa Johnson  <tejohnson@google.com>

	* predict.c (probably_never_executed): Compare frequency-based
	count to number of training runs.
	* params.def (UNLIKELY_BB_COUNT_FRACTION): New parameter.

From-SVN: r203830
2013-10-18 17:25:44 +00:00
..
ada [multiple changes] 2013-10-17 16:09:14 +02:00
c tree-flow.h (struct omp_region): Move to omp-low.c. 2013-10-17 17:41:07 +00:00
c-family re PR target/57756 (Function target attribute is retaining state of previously seen function) 2013-10-15 21:43:21 +00:00
common arc, arc: New directories. 2013-10-01 18:03:46 +01:00
config arm.c (cortexa9_extra_costs): New table. 2013-10-18 17:20:49 +00:00
cp parser.c (cp_parser_lookup_name): Tidy. 2013-10-18 14:35:33 +00:00
doc re PR target/57756 (Function target attribute is retaining state of previously seen function) 2013-10-15 21:43:21 +00:00
fortran tree-flow.h (struct omp_region): Move to omp-low.c. 2013-10-17 17:41:07 +00:00
ginclude
go compiler: Rework handling of imported anonymous builtin types again. 2013-10-17 20:08:42 +00:00
java Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
lto tree-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +00:00
objc * Make-lang.in (START_HDRS, cc1obj-checksum.o, objc/objc-lang.o) 2013-09-25 16:21:42 +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 tree-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +00:00
ABOUT-GCC-NLS
BASE-VER
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog predict.c (probably_never_executed): Compare frequency-based count to number of training runs. 2013-10-18 17:25:44 +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 Fix non-ASCII characters in names. 2013-04-09 09:29:32 +02:00
ChangeLog.dataflow
ChangeLog.graphite
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
DATESTAMP Daily bump. 2013-10-18 00:16:56 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in Add --enable-host-shared configuration option 2013-10-15 20:33:55 +00:00
ONEWS
README.Portability
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 alias.h (component_uses_parent_alias_set): Rename to ... 2013-09-26 15:15:28 +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 basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
asan.h
attribs.c This patch is the main part of a consolodation of the hash_table patches to the... 2013-04-26 00:28:35 +00:00
auto-inc-dec.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
basic-block.h tree-flow.h: Remove some prototypes. 2013-10-02 17:57:54 +00:00
bb-reorder.c predict.c (probably_never_executed): New function. 2013-10-03 05:06:05 +00: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 target.c: New file. 2013-10-11 11:26:50 +02:00
builtins.c tree-flow.h: Move some prototypes to gimple.h. 2013-10-10 12:16:24 +00:00
builtins.def Merge ubsan into trunk. 2013-08-30 16:12:58 +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 re PR c++/19476 (Missed null checking elimination with new) 2013-10-03 16:13:54 +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 tree-flow.h: Remove some prototypes. 2013-10-02 17:57:54 +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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
cfgexpand.c params.def (PARAM_MIN_SIZE_FOR_STACK_SHARING): New param... 2013-10-09 21:07:54 +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 re PR tree-optimization/58697 (wrong code (segfaults) at -O3) 2013-10-16 15:48:47 +00:00
cfgloop.h re PR tree-optimization/58697 (wrong code (segfaults) at -O3) 2013-10-16 15:48:47 +00:00
cfgloopanal.c function.h (loops_for_fn): New inline function. 2013-04-30 08:14:09 +00:00
cfgloopmanip.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
cfgrtl.c re PR middle-end/58670 (asm goto miscompilation) 2013-10-10 18:29:50 +02:00
cgraph.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
cgraph.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
cgraphbuild.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
cgraphclones.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
cgraphunit.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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
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 re PR c++/19476 (Missed null checking elimination with new) 2013-10-03 16:13: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 Add A profile only multilib make file fragment. 2013-10-15 13:23:44 +00:00
config.host
config.in Makefile.in (OUTPUT_OPTION): Define as "-o $@". 2013-09-25 16:10:35 +00:00
configure Add --enable-host-shared configuration option 2013-10-15 20:33:55 +00:00
configure.ac Add --enable-host-shared configuration option 2013-10-15 20:33:55 +00: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 target.def (TARGET_LIBC_HAS_FUNCTION): New target hook. 2013-08-19 12:21:26 +00:00
convert.h
coretypes.h pretty-print.h (output_buffer::output_buffer): Declare. 2013-08-22 10:14:46 +00:00
coverage.c Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
coverage.h cgraph.h (cgraph_node): Add profile_id. 2013-08-09 18:23:23 +00:00
cppbuiltin.c Merge ubsan into trunk. 2013-08-30 16:12:58 +00: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 data-streamer-in.c (streamer_read_uhwi): Optimize single byte case... 2013-06-20 11:33:43 +00:00
data-streamer-out.c data-streamer.h (streamer_write_char_stream): CSE obs->current_pointer. 2013-06-12 11:09:50 +00:00
data-streamer.c
data-streamer.h data-streamer.h (streamer_write_char_stream): CSE obs->current_pointer. 2013-06-12 11:09:50 +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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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
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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00: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 opts.c: Include diagnostic-color.h. 2013-04-12 08:20:36 +02:00
diagnostic-core.h opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
diagnostic.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
diagnostic.def opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
double-int.h Fix typos. 2013-07-21 18:31:07 +00:00
dse.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
dwarf2out.c dwarf2out.c (dw_sra_loc_expr): Release addr_table entries when discarding a location list expression (or a... 2013-10-04 09:25:23 -07: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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
except.h
exec-tool.in
explow.c gcc/ 2013-09-09 13:07:02 +00:00
expmed.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
expmed.h
expr.c tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
expr.h expr.h (extract_bit_field): Remove packedp parameter. 2013-09-27 21:05:07 -04: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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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 vectorizer cost model enhancement 2013-09-27 16:48:15 +00:00
flags.h
fold-const.c re PR c/20318 (RFE: add attribute to specify that a function never returns NULL) 2013-10-09 13:03:13 +00:00
fp-test.c
function.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
function.h Makefile.in (omp-low.o): Depend on $(TARGET_H). 2013-08-27 18:38:00 +00: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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00: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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gcov-iov.c
gcov.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gcse.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gcse.h
gdbhooks.py Initial version of gdb hooks 2013-08-28 03:01:20 +00:00
gdbinit.in * gdbinit.in (__FUNCTION__): Add. 2013-06-05 16:36:00 +00: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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
genautomata.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00: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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00: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 gengtype: Ignore access-control keywords when parsing fields 2013-10-16 15:25:23 +00:00
gengtype-state.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
gengtype.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gengtype.h
genhooks.c
genmddeps.c
genmddump.c
genmodes.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
genmultilib
genopinit.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
genoutput.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
genpeep.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00: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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ggc.h Revert my last two changes, r201865 and r201864 2013-08-20 15:51:18 +00:00
gimple-builder.c gimple.c (gimple_replace_lhs): Move to tree-ssa.c and rename. 2013-09-26 13:23:31 +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-fold.c tree-flow.h: Move some prototypes to gimple.h. 2013-10-10 12:16:24 +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: New. 2013-09-12 13:03:18 +00:00
gimple-low.c target.c: New file. 2013-10-11 11:26:50 +02:00
gimple-low.h tree-flow.h: Include new .h files. 2013-10-02 13:19:29 +00:00
gimple-pretty-print.c tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
gimple-pretty-print.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
gimple-ssa-strength-reduction.c gimple-ssa-strength-reduction.c (backtrace_base_for_ref): Fix whitespace. 2013-10-02 11:58:27 +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: New. 2013-09-12 13:03:18 +00:00
gimple-streamer-out.c tree-ssa.h: New. 2013-09-12 13:03:18 +00:00
gimple-streamer.h
gimple.c tree-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +00:00
gimple.def target.c: New file. 2013-10-11 11:26:50 +02:00
gimple.h tree-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +00:00
gimplify.c tree-flow.h (struct omp_region): Move to omp-low.c. 2013-10-17 17:41:07 +00:00
glimits.h
godump.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
graph.c pretty-print.h (output_buffer::output_buffer): Declare. 2013-08-22 10:14:46 +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: New. 2013-09-12 13:03:18 +00:00
graphite-clast-to-gimple.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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 tree-ssa.h: New. 2013-09-12 13:03:18 +00: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: New. 2013-09-12 13:03:18 +00:00
graphite-optimize-isl.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
graphite-poly.c tree-ssa.h: New. 2013-09-12 13:03:18 +00:00
graphite-poly.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
graphite-scop-detection.c graphite-scop-detection.c: Include tree-ssa-propagate,h. 2013-10-02 19:41:14 +00:00
graphite-scop-detection.h
graphite-sese-to-poly.c graphite-scop-detection.c: Include tree-ssa-propagate,h. 2013-10-02 19:41:14 +00:00
graphite-sese-to-poly.h
graphite.c tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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 [Mid-end] Add TARGET_GIMPLE_FOLD_BUILTIN target hook. 2013-04-22 14:50:32 +00:00
hooks.h [Mid-end] Add TARGET_GIMPLE_FOLD_BUILTIN target hook. 2013-04-22 14:50:32 +00:00
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c
hw-doloop.h
hwint.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
hwint.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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
input.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
insn-addr.h
insn-notes.def
internal-fn.c Makefile.in (omp-low.o): Depend on $(TARGET_H). 2013-08-27 18:38:00 +00:00
internal-fn.def Makefile.in (omp-low.o): Depend on $(TARGET_H). 2013-08-27 18:38:00 +00: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 ipa-utils.h (ipa_edge_within_scc): Declare. 2013-10-15 16:15:07 +02:00
ipa-devirt.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ipa-inline-analysis.c ipa-inline-analysis.c (find_foldable_builtin_expect): Find the candidate of builtin_expect such that we should fix the size/time... 2013-10-03 17:15:56 +00:00
ipa-inline-transform.c tree-ssa.h: New. 2013-09-12 13:03:18 +00:00
ipa-inline.c ipa-inline.c:ipa_inline: Fix leak of "order" when optimizations are disabled. 2013-10-10 18:11:41 +00: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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ipa-prop.c tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
ipa-prop.h ipa-prop.h (ipa_pass_through_data): New field type_preserved. 2013-08-27 23:41:15 +02:00
ipa-pure-const.c tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
ipa-ref-inline.h
ipa-ref.c * ipa-ref.c (ipa_clear_stmts_in_references): Clear lto_stmt_uid, too. 2013-08-09 23:07:52 +00:00
ipa-ref.h cgraphbuild.c (cgraph_rebuild_references): Rebuild only non-speculative refs. 2013-08-09 15:23:19 +00:00
ipa-reference.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ipa-reference.h
ipa-split.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ipa-utils.c ipa-utils.h (ipa_edge_within_scc): Declare. 2013-10-15 16:15:07 +02:00
ipa-utils.h ipa-utils.h (ipa_edge_within_scc): Declare. 2013-10-15 16:15:07 +02:00
ipa.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ira-build.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ira-color.c This patch is the main part of a consolodation of the hash_table patches to the... 2013-04-26 00:28:35 +00:00
ira-conflicts.c
ira-costs.c This patch is the main part of a consolodation of the hash_table patches to the... 2013-04-26 00:28:35 +00:00
ira-emit.c function.h (loops_for_fn): New inline function. 2013-04-30 08:14:09 +00:00
ira-int.h
ira-lives.c
ira.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ira.h
is-a.h
jump.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
langhooks-def.h target.c: New file. 2013-10-11 11:26:50 +02:00
langhooks.c target.c: New file. 2013-10-11 11:26:50 +02:00
langhooks.h target.c: New file. 2013-10-11 11:26:50 +02:00
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 loop-doloop.c (doloop_modify, [...]): Use get_max_loop_iterations. 2013-10-09 15:35:46 +00:00
loop-init.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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 tree-optimization/58697 (wrong code (segfaults) at -O3) 2013-10-16 15:48:47 +00:00
loop-unroll.c re PR tree-optimization/58697 (wrong code (segfaults) at -O3) 2013-10-16 15:48:47 +00:00
loop-unswitch.c re PR tree-optimization/58697 (wrong code (segfaults) at -O3) 2013-10-16 15:48:47 +00:00
lower-subreg.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
lower-subreg.h
lra-assigns.c [multiple changes] 2013-07-18 17:04:10 +00:00
lra-coalesce.c [multiple changes] 2013-04-19 03:57:22 +00:00
lra-constraints.c lra-constraints.c (insert_move_for_subreg): New function extracted from simplify_operand_subreg. 2013-10-03 17:18:26 +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 rtl.h (struct rtx_def): Add comment for field jump. 2013-04-26 18:11:35 +00:00
lra.c lra.c (update_inc_notes): Remove all REG_DEAD and REG_UNUSED notes. 2013-09-25 18:35:02 +00:00
lra.h
lto-cgraph.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
lto-compress.c
lto-compress.h
lto-opts.c
lto-section-in.c tree-ssa.h: New. 2013-09-12 13:03:18 +00:00
lto-section-out.c tree-ssa.h: New. 2013-09-12 13:03:18 +00:00
lto-streamer-in.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
lto-streamer-out.c tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
lto-streamer.c tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
lto-streamer.h lto-streamer.h (lto_global_var_decls): Remove. 2013-09-06 09:06:25 +00:00
lto-wrapper.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
machmode.def
machmode.h basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
main.c
mcf.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
mkconfig.sh
mode-classes.def
mode-switching.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00: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 tree-flow.h (struct omp_region): Move to omp-low.c. 2013-10-17 17:41:07 +00:00
omp-low.h tree-flow.h (struct omp_region): Move to omp-low.c. 2013-10-17 17:41:07 +00:00
opt-functions.awk
opt-gather.awk
opt-include.awk
opt-read.awk
optabs.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00: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 Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
opts.c re PR target/57756 (Function target attribute is retaining state of previously seen function) 2013-10-15 21:43:21 +00: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 Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
passes.def re PR middle-end/58402 (FAIL: gcc.dg/tree-ssa/phi-opt-1.c scan-tree-dump-times optimized "if" 0) 2013-09-12 13:19:21 +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 (probably_never_executed): Compare frequency-based count to number of training runs. 2013-10-18 17:25:44 +00:00
predict.def predict.c (tree_predict_by_opcode): Get the probability for builtin_expect from param builtin_expect_probability. 2013-10-03 17:13:50 +00:00
predict.h predict.c (tree_estimate_probability): Add new parameter for estimate_bb_frequencies. 2013-10-10 20:30:08 +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 tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
profile.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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
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 basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
regmove.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00: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 Fix a miscompilation where a reload reg is reused after it has been clobbered. 2013-10-15 10:36:03 +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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
rtlanal.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
rtlhooks-def.h
rtlhooks.c
sanitizer.def Merge ubsan into trunk. 2013-08-30 16:12:58 +00:00
sbitmap.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
sbitmap.h
sched-deps.c Fix typos. 2013-07-21 18:18:04 +00:00
sched-ebb.c
sched-int.h sched-int.h (ds_t, dw_t): Make unsigned int. 2013-05-25 10:31:43 +00:00
sched-rgn.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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 tree-flow.h: Remove some prototypes. 2013-10-02 15:29:35 +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 PR middle-end/58670 (asm goto miscompilation) 2013-10-10 18:29:50 +02:00
stor-layout.c stor-layout.c (layout_type): Do not change TYPE_PRECISION or TYPE_UNSIGNED of integral types. 2013-10-18 08:36:28 +00:00
store-motion.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
streamer-hooks.c
streamer-hooks.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
stringpool.c
symtab.c re PR ipa/58329 (ld: Invalid symbol type for plabel (.libs/libstdc++.lax/libc++11convenience.a/system_error.o, std::error_category::default_error_condition(int) const [clone .localalias.9]).) 2013-09-17 16:07:21 +00:00
sync-builtins.def
system.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
target-def.h
target-globals.c
target-globals.h
target-hooks-macros.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
target.def re PR target/57756 (Function target attribute is retaining state of previously seen function) 2013-10-15 21:43:21 +00:00
target.h Improve cstore code generation on 64-bit sparc. 2013-04-10 12:41:57 -07:00
targhooks.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
targhooks.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
timevar.c * timevar.c (validate_phases): Add cast. 2013-08-22 15:25:53 +00:00
timevar.def devirt-11.C: Update template. 2013-09-08 16:42:21 +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 re PR target/57756 (Function target attribute is retaining state of previously seen function) 2013-10-15 21:43:21 +00:00
toplev.h Handwritten part of conversion of passes to C++ classes 2013-08-05 20:01:43 +00:00
tracer.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
trans-mem.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
trans-mem.h
tree-affine.c tree-affine.c (add_elt_to_tree): Fix association issue... 2013-09-03 10:02:56 +00:00
tree-affine.h
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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-cfg.c tree-flow.h (struct omp_region): Move to omp-low.c. 2013-10-17 17:41:07 +00:00
tree-cfg.h tree-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +00:00
tree-cfgcleanup.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
tree-cfgcleanup.h tree-flow.h: Include new .h files. 2013-10-02 13:19:29 +00:00
tree-chrec.c tree-flow.h: Include new .h files. 2013-10-02 13:19:29 +00:00
tree-chrec.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-complex.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
tree-core.h tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
tree-data-ref.c tree-flow.h: Include new .h files. 2013-10-02 13:19:29 +00:00
tree-data-ref.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-dfa.c tree-ssa.h: New. 2013-09-12 13:03:18 +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 tree-flow.h: Remove some prototypes. 2013-10-08 12:13:13 +00:00
tree-eh.h tree-flow.h: Remove some prototypes. 2013-10-08 12:13:13 +00:00
tree-emutls.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-inline.c target.c: New file. 2013-10-11 11:26:50 +02:00
tree-inline.h tree-inline.h (struct copy_body_data): Add transform_parameter. 2013-09-17 11:05:31 +00:00
tree-into-ssa.c tree-flow.h: Remove some prototypes. 2013-10-02 17:57:54 +00:00
tree-into-ssa.h tree-flow.h: Remove some prototypes. 2013-10-02 17:57:54 +00:00
tree-iterator.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-iterator.h
tree-loop-distribution.c tree-loop-distribution.c (build_empty_rdg): Inline into single user. 2013-10-15 10:21:32 +00:00
tree-mudflap.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-mudflap.h
tree-nested.c target.c: New file. 2013-10-11 11:26:50 +02:00
tree-nomudflap.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-nrv.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-object-size.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
tree-optimize.c tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-outof-ssa.c tree-ssa-live.h (find_replaceable_exprs, [...]): Move prototypes to... 2013-09-26 13:38:54 +00:00
tree-outof-ssa.h tree-ssa-live.h (coalesce_ssa_name): Move Prototype to... 2013-10-01 16:23:52 +00:00
tree-parloops.c tree-flow.h (struct omp_region): Move to omp-low.c. 2013-10-17 17:41:07 +00:00
tree-parloops.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-pass.h basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
tree-phinodes.c tree-ssa.h: New. 2013-09-12 13:03:18 +00:00
tree-phinodes.h tree-into-ssa.c (enum need_phi_state): Relocate from tree-flow.h. 2013-10-01 15:46:53 +00:00
tree-predcom.c tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-pretty-print.c tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
tree-pretty-print.h tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
tree-profile.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-scalar-evolution.c tree-flow.h: Remove some prototypes. 2013-10-02 15:29:35 +00:00
tree-scalar-evolution.h tree-flow.h: Move some protoypes. 2013-10-09 13:09:23 +00:00
tree-sra.c tree-flow.h (tm_restart_node, gimple_df): Move to gimple-ssa.h. 2013-10-09 13:42:17 +00:00
tree-ssa-address.c tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +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-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +00:00
tree-ssa-alias.h tree-flow.h (tm_restart_node, gimple_df): Move to gimple-ssa.h. 2013-10-09 13:42:17 +00:00
tree-ssa-ccp.c tree-flow.h: Remove some prototypes. 2013-10-02 15:29:35 +00:00
tree-ssa-coalesce.c tree-ssa-live.h (coalesce_ssa_name): Move Prototype to... 2013-10-01 16:23:52 +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-flow.h: Remove some prototypes. 2013-10-02 15:29:35 +00:00
tree-ssa-copyrename.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
tree-ssa-dce.c tree-flow.h: Remove some prototypes. 2013-10-02 17:57:54 +00:00
tree-ssa-dom.c tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
tree-ssa-dom.h tree-flow.h: Remove some prototypes. 2013-10-02 17:57:54 +00:00
tree-ssa-dse.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
tree-ssa-forwprop.c tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Restructure forwarding through conversions and copies to avoid performing... 2013-10-15 10:20:58 +00:00
tree-ssa-ifcombine.c tree-flow.h: Remove some prototypes. 2013-10-02 17:57:54 +00:00
tree-ssa-live.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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-flow.h: Move some protoypes. 2013-10-09 13:09:23 +00:00
tree-ssa-loop-im.c re PR tree-optimization/58143 (wrong code at -O3) 2013-10-17 09:59:47 +00:00
tree-ssa-loop-ivcanon.c tree-flow.h: Move some protoypes. 2013-10-09 13:09:23 +00:00
tree-ssa-loop-ivopts.c tree-flow.h: Move some protoypes. 2013-10-09 13:09:23 +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 tree-ssa.h: New. 2013-09-12 13:03:18 +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 re PR tree-optimization/58697 (wrong code (segfaults) at -O3) 2013-10-16 15:48:47 +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 tree-flow.h: Move some protoypes. 2013-10-09 13:09:23 +00:00
tree-ssa-loop-unswitch.c tree-flow.h: Move some protoypes. 2013-10-09 13:09:23 +00:00
tree-ssa-loop.c tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-ssa-loop.h tree-flow.h: Move some protoypes. 2013-10-09 13:09:23 +00:00
tree-ssa-math-opts.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-ssa-operands.c tree-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +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 tree-ssa-phiopts.c (rhs_is_fed_for_value_replacement): New function. 2013-10-09 12:57:14 -06:00
tree-ssa-phiprop.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-ssa-pre.c tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
tree-ssa-propagate.c tree-flow.h: Remove some prototypes. 2013-10-02 15:29:35 +00:00
tree-ssa-propagate.h tree-flow.h: Remove some prototypes. 2013-10-02 15:29:35 +00:00
tree-ssa-reassoc.c tree-ssa-reassoc.c: Include rtl.h and tm_p.h. 2013-10-15 11:48:44 -06:00
tree-ssa-sccvn.c tree-flow.h: Remove some prototypes. 2013-10-02 15:29:35 +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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-ssa-strlen.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-ssa-structalias.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-ssa-tail-merge.c tree-ssa-tail-merge.c (replace_block_by): Update edge weights during merging. 2013-10-18 14:36:53 +00:00
tree-ssa-ter.c tree-ssa-live.h (find_replaceable_exprs, [...]): Move prototypes to... 2013-09-26 13:38:54 +00:00
tree-ssa-ter.h tree-ssa-live.h (find_replaceable_exprs, [...]): Move prototypes to... 2013-09-26 13:38:54 +00:00
tree-ssa-threadedge.c tree-ssa-threadedge.c: Fix some trailing whitespace problems. 2013-10-04 14:36:27 -06: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: Do not include "tm.h" or "tm_p.h". 2013-10-18 09:50:04 -06:00
tree-ssa-threadupdate.h tree-ssa-threadedge.c (thread_across_edge): Make path a pointer to a vec. 2013-10-01 07:42:16 -06:00
tree-ssa-uncprop.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
tree-ssa-uninit.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
tree-ssa.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-ssa.h tree-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +00:00
tree-ssanames.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-ssanames.h gimple-pretty-print.c: Various whitespace tweaks. 2013-09-24 17:57:00 +02:00
tree-stdarg.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-stdarg.h
tree-streamer-in.c tree-ssa.h: New. 2013-09-12 13:03:18 +00:00
tree-streamer-out.c re PR lto/58285 (ICE in lto_output_tree, at lto-streamer-out.c:1318) 2013-09-03 09:48:27 +00:00
tree-streamer.c pointer-set.h (struct pointer_set_t): Move here from pointer-set.c. 2013-06-24 12:17:16 +00:00
tree-streamer.h pointer-set.h (struct pointer_set_t): Move here from pointer-set.c. 2013-06-24 12:17:16 +00:00
tree-switch-conversion.c tree-flow.h (tm_restart_node, gimple_df): Move to gimple-ssa.h. 2013-10-09 13:42:17 +00:00
tree-tailcall.c tree-tailcall.c (find_tail_calls): Don't use tail-call recursion for built-in functions. 2013-10-15 18:24:30 +00:00
tree-vect-data-refs.c tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
tree-vect-generic.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
tree-vect-loop-manip.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-vect-loop.c tree-vect-loop.c (vect_is_simple_reduction_1): Relax the requirement of the reduction pattern so that one operand of the ... 2013-10-15 13:17:43 -04:00
tree-vect-patterns.c tree-vect-patterns.c (vect_recog_dot_prod_pattern): Fix a bug when checking the dot production pattern. 2013-09-17 14:20:08 -04:00
tree-vect-slp.c vectorizer cost model enhancement 2013-09-27 16:48:15 +00:00
tree-vect-stmts.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
tree-vectorizer.c target.c: New file. 2013-10-11 11:26:50 +02:00
tree-vectorizer.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-vrp.c tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
tree.c tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
tree.def target.c: New file. 2013-10-11 11:26:50 +02:00
tree.h tree-flow.h (struct omp_region): Move to omp-low.c. 2013-10-17 17:41:07 +00:00
treestruct.def
tsan.c basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +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 tree-flow.h (tm_restart_node, gimple_df): Move to gimple-ssa.h. 2013-10-09 13:42:17 +00:00
value-prof.h cgraph.h (cgraph_node): Add profile_id. 2013-08-09 18:23:23 +00:00
var-tracking.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
varasm.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
varpool.c tree-ssa.h: New. 2013-09-12 13:03:18 +00:00
vec.c vec.h (vec_prefix, vec): Prefix member names with "m_". 2013-09-30 20:38:59 +00:00
vec.h vec.h (vec_prefix, vec): Prefix member names with "m_". 2013-09-30 20:38:59 +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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +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

README.Portability

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.