gcc/gcc
Iain Sandoe 62205bebb0 rs6000.c (macho_branch_islands): Adjust for changes to vec.h.
* config/rs6000/rs6000.c (macho_branch_islands): Adjust for changes
	to vec.h.

From-SVN: r190468
2012-08-17 07:30:24 +00:00
..
ada Add missing entry for merge from cxx-conversion branch. 2012-08-15 20:56:21 +00:00
c invoke.texi (-Wsizeof-pointer-memaccess): Document. 2012-08-17 09:17:56 +02:00
c-family invoke.texi (-Wsizeof-pointer-memaccess): Document. 2012-08-17 09:17:56 +02:00
common rs6000-common.c (rs6000_handle_option): Delete handling for -mno-powerpc and -mpowerpc. 2012-08-16 03:18:01 +02:00
config rs6000.c (macho_branch_islands): Adjust for changes to vec.h. 2012-08-17 07:30:24 +00:00
cp invoke.texi (-Wsizeof-pointer-memaccess): Document. 2012-08-17 09:17:56 +02:00
doc invoke.texi (-Wsizeof-pointer-memaccess): Document. 2012-08-17 09:17:56 +02:00
fortran invoke.texi (-Wsizeof-pointer-memaccess): Document. 2012-08-17 09:17:56 +02:00
ginclude
go compiler: Adjust for GCC always being built with C++. 2012-08-15 03:47:05 +00:00
java backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
lto tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +00:00
objc backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
objcp
po
testsuite invoke.texi (-Wsizeof-pointer-memaccess): Document. 2012-08-17 09:17:56 +02:00
ABOUT-GCC-NLS
acinclude.m4
aclocal.m4
addresses.h
alias.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
alias.h
alloc-pool.c
alloc-pool.h
attribs.c
auto-inc-dec.c
BASE-VER
basic-block.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
bb-reorder.c
bb-reorder.h
bitmap.c
bitmap.h
bt-load.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
builtin-attrs.def
builtin-types.def
builtins.c builtins.c (expand_builtin_atomic_compare_exchange): Pass old value operand as MEM to expand_atomic_compare_and_swap. 2012-08-08 18:03:37 +00:00
builtins.def
builtins.h
caller-save.c
calls.c calls.c (mem_overlaps_already_clobbered_arg_p): Use SBITMAP_SIZE instead of looking at sbitmap n_bits member directly. 2012-08-09 21:59:32 +00:00
cfg-flags.def
cfg.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
cfganal.c tree-ssa-pre.c (do_regular_insertion): Add FIXME markers at points of potentially huge memset overhead. 2012-08-13 21:02:19 +00:00
cfgbuild.c
cfgcleanup.c
cfgexpand.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
cfghooks.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
cfghooks.h
cfgloop.c graphite-scop-detection.c (create_sese_edges): Compute dominance info before trying to fix loop structure. 2012-08-14 16:01:10 +00:00
cfgloop.h re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
cfgloopanal.c
cfgloopmanip.c graphite-scop-detection.c (create_sese_edges): Compute dominance info before trying to fix loop structure. 2012-08-14 16:01:10 +00:00
cfgrtl.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
cgraph.c
cgraph.h cgraph.h (vector types for symtab_node): Add. 2012-08-11 03:04:35 +00:00
cgraphbuild.c
cgraphclones.c
cgraphunit.c cgraphunit.c (assemble_thunk): Add source line info. 2012-08-06 15:49:05 -07:00
ChangeLog rs6000.c (macho_branch_islands): Adjust for changes to vec.h. 2012-08-17 07:30:24 +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.dataflow
ChangeLog.graphite
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
cif-code.def
collect2-aix.c
collect2-aix.h
collect2.c
collect2.h
combine-stack-adj.c
combine.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
common.opt Makefile.in (OBJS): Remove matrix-reorg.o. 2012-08-10 14:19:09 +00:00
compare-elim.c
conditions.h
config.build
config.gcc Add a stub header file "feedback.h," needed to compile glibc and linux. 2012-08-16 19:54:59 +00:00
config.host
config.in backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
configure backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
configure.ac backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
convert.c
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
coverage.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
coverage.h
cppbuiltin.c
cppbuiltin.h
cppdefault.c
cppdefault.h
cprop.c
cse.c
cselib.c
cselib.h
cstamp-h.in
data-streamer-in.c
data-streamer-out.c
data-streamer.c
data-streamer.h
DATESTAMP Daily bump. 2012-08-17 00:18:22 +00:00
dbgcnt.c
dbgcnt.def
dbgcnt.h
dbxout.c
dbxout.h
dce.c
dce.h
ddg.c
ddg.h
debug.c
debug.h
defaults.h
DEV-PHASE
df-core.c
df-problems.c
df-scan.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
df.h
dfp.c
dfp.h
diagnostic-core.h
diagnostic.c cfg.c (debug_bb): Do not set TDF_BLOCKS. 2012-08-07 22:14:29 +00:00
diagnostic.def
diagnostic.h
dojump.c
dominance.c dominance.c (init_dom_info): Use gcc_checking_assert, not gcc_assert. 2012-08-14 15:59:41 +00:00
domwalk.c
domwalk.h
double-int.c double-int.h (double_int::from_unsigned): Rename to ... 2012-08-15 11:39:52 +00:00
double-int.h revert: re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) 2012-08-16 14:24:22 -04:00
dse.c
dumpfile.h
dwarf2asm.c
dwarf2asm.h
dwarf2cfi.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
dwarf2out.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
dwarf2out.h
ebitmap.c
ebitmap.h
emit-rtl.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
emit-rtl.h
errors.c
errors.h
et-forest.c
et-forest.h
except.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
except.h
exec-tool.in
explow.c
expmed.c
expmed.h
expr.c re PR c/53968 (integer undefined behaviors in GCC) 2012-08-13 14:39:54 +02:00
expr.h
final.c timevar.def (TV_VARPOOL, [...]): Remove. 2012-08-15 08:47:13 +00:00
fixed-value.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
fixed-value.h
flag-types.h
flags.h
fold-const.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c
function.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
fwprop.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gcc-ar.c
gcc-plugin.h
gcc.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gcc.h
gcov-dump.c
gcov-io.c
gcov-io.h
gcov-iov.c
gcov.c
gcse.c calls.c (mem_overlaps_already_clobbered_arg_p): Use SBITMAP_SIZE instead of looking at sbitmap n_bits member directly. 2012-08-09 21:59:32 +00:00
gcse.h
gdbinit.in backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
genattr-common.c
genattr.c
genattrtab.c
genautomata.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gencheck.c
genchecksum.c
gencodes.c
genconditions.c
genconfig.c
genconstants.c
genemit.c
genenums.c
genextract.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
genflags.c
gengenrtl.c
gengtype-lex.l backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gengtype-parse.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gengtype-state.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gengtype.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gengtype.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
genhooks.c
genmddeps.c
genmodes.c
genmultilib
genopinit.c
genoutput.c
genpeep.c
genpreds.c
genrecog.c
gensupport.c
gensupport.h
ggc-common.c
ggc-internal.h
ggc-none.c
ggc-page.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ggc-zone.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ggc.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gimple-fold.c
gimple-fold.h
gimple-iterator.c tree-into-ssa.c (rewrite_stmt): Remove clobbers for variables we rewrite into SSA form. 2012-08-07 12:11:43 +00:00
gimple-low.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gimple-pretty-print.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
gimple-pretty-print.h
gimple-ssa-strength-reduction.c re PR tree-optimization/54245 (incorrect optimisation) 2012-08-15 13:27:29 +00:00
gimple-streamer-in.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
gimple-streamer-out.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
gimple-streamer.h
gimple.c tree-ssa-operands.h (virtual_operand_p): Declare. 2012-08-08 14:51:26 +00:00
gimple.def
gimple.h gimple.h (gimple_phi_set_result): Adjust SSA_NAME_DEF_STMT. 2012-08-07 10:36:01 +00:00
gimplify.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
glimits.h
godump.c
graph.c
graph.h
graphds.c
graphds.h
graphite-blocking.c
graphite-clast-to-gimple.c
graphite-clast-to-gimple.h
graphite-dependences.c
graphite-interchange.c
graphite-optimize-isl.c
graphite-poly.c
graphite-poly.h
graphite-scop-detection.c graphite-scop-detection.c (create_sese_edges): Compute dominance info before trying to fix loop structure. 2012-08-14 16:01:10 +00:00
graphite-scop-detection.h
graphite-sese-to-poly.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
graphite-sese-to-poly.h
graphite.c
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.c
hard-reg-set.h
hash-table.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
hash-table.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
highlev-plugin-common.h
hooks.c
hooks.h
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
hw-doloop.h
hwint.c
hwint.h
ifcvt.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-08 06:28:10 +00:00
incpath.c
incpath.h
init-regs.c
input.c
input.h
insn-addr.h
insn-notes.def
internal-fn.c
internal-fn.def
internal-fn.h
intl.c
intl.h
ipa-cp.c tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +00:00
ipa-inline-analysis.c timevar.def (TV_VARPOOL, [...]): Remove. 2012-08-15 08:47:13 +00:00
ipa-inline-transform.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-10 07:52:23 +00:00
ipa-inline.c timevar.def (TV_VARPOOL, [...]): Remove. 2012-08-15 08:47:13 +00:00
ipa-inline.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ipa-prop.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ipa-prop.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ipa-pure-const.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
ipa-ref-inline.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ipa-ref.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ipa-ref.h
ipa-reference.c tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +00:00
ipa-reference.h
ipa-split.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ipa-utils.c
ipa-utils.h
ipa.c
ira-build.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
ira-color.c
ira-conflicts.c
ira-costs.c
ira-emit.c
ira-int.h
ira-lives.c
ira.c re PR middle-end/53411 (ICE in move_unallocated_pseudos) 2012-08-14 09:43:09 +02:00
ira.h
jump.c
langhooks-def.h
langhooks.c cfg.c (debug_bb): Do not set TDF_BLOCKS. 2012-08-07 22:14:29 +00:00
langhooks.h
LANGUAGES
lcm.c
libfuncs.h
limitx.h
limity.h
lists.c
loop-doloop.c
loop-init.c timevar.def (TV_VARPOOL, [...]): Remove. 2012-08-15 08:47:13 +00:00
loop-invariant.c
loop-iv.c
loop-unroll.c
loop-unswitch.c
lower-subreg.c
lower-subreg.h
lto-cgraph.c tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +00:00
lto-compress.c
lto-compress.h
lto-opts.c
lto-section-in.c lto-section-in.c (lto_section_name): Do not use "symtab" as part of symtab_node sectoin name; it confuses plugin. 2012-08-11 15:49:48 +00:00
lto-section-out.c lto-cgraph.c (output_cgraph): Rename to ... 2012-08-11 08:38:59 +00:00
lto-streamer-in.c
lto-streamer-out.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
lto-streamer.c
lto-streamer.h tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +00:00
lto-symtab.c
lto-wrapper.c
machmode.def
machmode.h
main.c
Makefile.in Add $(TARGET_H) dependency to tree-cfg.o 2012-08-15 09:59:04 -07:00
mcf.c
mkconfig.sh
mode-classes.def
mode-switching.c
modulo-sched.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
omega.c
omega.h
omp-builtins.def
omp-low.c gimple.h (gimple_phi_set_result): Adjust SSA_NAME_DEF_STMT. 2012-08-07 10:36:01 +00:00
ONEWS
opt-functions.awk
opt-gather.awk
opt-include.awk
opt-read.awk
optabs.c re PR middle-end/54261 (reverse sync/atomic operators when only sync_compare_and_swap_optab libfuncs implemented) 2012-08-17 00:18:35 +00:00
optabs.def
optabs.h
optc-gen.awk
optc-save-gen.awk
opth-gen.awk
opts-common.c
opts-diagnostic.h
opts-global.c
opts.c
opts.h
output.h
params.c
params.def
params.h
passes.c tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +00:00
plugin.c
plugin.def
plugin.h
pointer-set.c
pointer-set.h
postreload-gcse.c
postreload.c
predict.c
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c cfg.c (debug_bb): Do not set TDF_BLOCKS. 2012-08-07 22:14:29 +00:00
pretty-print.h cfg.c (debug_bb): Do not set TDF_BLOCKS. 2012-08-07 22:14:29 +00:00
print-rtl.c
print-tree.c
profile.c
profile.h
read-md.c
read-md.h
read-rtl.c
README.Portability
real.c
real.h
realmpfr.c
realmpfr.h revert: re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) 2012-08-16 14:24:22 -04:00
recog.c
recog.h
ree.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
reg-notes.def
reg-stack.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
regcprop.c
reginfo.c
regmove.c
regrename.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
regrename.h
regs.h
regset.h
regstat.c
reload1.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
reload.c reload.c (find_valid_class_1): New static function. 2012-08-09 13:18:05 +00:00
reload.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
reorg.c
resource.c
resource.h
rtl-error.c
rtl-error.h
rtl.c
rtl.def
rtl.h
rtlanal.c
rtlhooks-def.h
rtlhooks.c
sbitmap.c
sbitmap.h
sched-deps.c
sched-ebb.c
sched-int.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
sched-rgn.c calls.c (mem_overlaps_already_clobbered_arg_p): Use SBITMAP_SIZE instead of looking at sbitmap n_bits member directly. 2012-08-09 21:59:32 +00:00
sched-vis.c
sdbout.c
sdbout.h
sel-sched-dump.c
sel-sched-dump.h
sel-sched-ir.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
sel-sched-ir.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
sel-sched.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
sel-sched.h
sese.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
sese.h
simplify-rtx.c re PR c/53968 (integer undefined behaviors in GCC) 2012-08-13 14:39:54 +02:00
sparseset.c
sparseset.h
sreal.c
sreal.h
ssaexpand.h
stab.def
stack-ptr-mod.c
statistics.c
statistics.h
stmt.c
stor-layout.c re PR c/53968 (integer undefined behaviors in GCC) 2012-08-13 14:39:54 +02:00
store-motion.c
streamer-hooks.c
streamer-hooks.h
stringpool.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
symtab.c
sync-builtins.def
system.h revert: re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) 2012-08-16 14:24:22 -04:00
target-def.h
target-globals.c
target-globals.h
target-hooks-macros.h
target.def
target.h
targhooks.c
targhooks.h
timevar.c
timevar.def timevar.def (TV_VARPOOL, [...]): Remove. 2012-08-15 08:47:13 +00:00
timevar.h
tlink.c
toplev.c
toplev.h
tracer.c
trans-mem.c
trans-mem.h
tree-affine.c
tree-affine.h
tree-browser.c
tree-browser.def
tree-call-cdce.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-cfg.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-cfgcleanup.c graphite-scop-detection.c (create_sese_edges): Compute dominance info before trying to fix loop structure. 2012-08-14 16:01:10 +00:00
tree-chrec.c
tree-chrec.h
tree-complex.c tree.h (SSA_NAME_VAR): Return NULL_TREE if an IDENTIFIER_NODE is recorded as var. 2012-08-10 08:29:29 +00:00
tree-data-ref.c
tree-data-ref.h
tree-dfa.c tree-dfa.c (set_ssa_default_def): Clear the SSA_NAME_DEFAULT_DEF bit of the old name when we clear the slot. 2012-08-07 14:16:11 +00:00
tree-diagnostic.c
tree-diagnostic.h
tree-dump.c
tree-dump.h
tree-eh.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-emutls.c tree-emutls.c (new_emutls_decl): When a var_section is requested by the target... 2012-08-06 15:15:37 +00:00
tree-flow-inline.h tree.h (SSA_NAME_VAR): Return NULL_TREE if an IDENTIFIER_NODE is recorded as var. 2012-08-10 08:29:29 +00:00
tree-flow.h re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 10:52:14 +00:00
tree-if-conv.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-inline.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-inline.h
tree-into-ssa.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-mudflap.c
tree-mudflap.h
tree-nested.c tree-into-ssa.c (rewrite_stmt): Remove clobbers for variables we rewrite into SSA form. 2012-08-07 12:11:43 +00:00
tree-nomudflap.c
tree-nrv.c
tree-object-size.c tree.h (SSA_NAME_VAR): Return NULL_TREE if an IDENTIFIER_NODE is recorded as var. 2012-08-10 08:29:29 +00:00
tree-optimize.c
tree-outof-ssa.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-parloops.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-pass.h tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +00:00
tree-phinodes.c gimple.h (gimple_phi_set_result): Adjust SSA_NAME_DEF_STMT. 2012-08-07 10:36:01 +00:00
tree-predcom.c tree.h (SSA_NAME_VAR): Return NULL_TREE if an IDENTIFIER_NODE is recorded as var. 2012-08-10 08:29:29 +00:00
tree-pretty-print.c tree.h (SSA_NAME_VAR): Return NULL_TREE if an IDENTIFIER_NODE is recorded as var. 2012-08-10 08:29:29 +00:00
tree-pretty-print.h
tree-profile.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-scalar-evolution.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-scalar-evolution.h
tree-sra.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-ssa-address.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-ssa-alias.c
tree-ssa-alias.h
tree-ssa-ccp.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-ssa-coalesce.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-ssa-copy.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-copyrename.c re PR tree-optimization/54200 (copyrename generates wrong debuginfo) 2012-08-13 09:29:28 +00:00
tree-ssa-dce.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-dom.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-ssa-dse.c
tree-ssa-forwprop.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
tree-ssa-ifcombine.c re PR tree-optimization/51938 (missed optimization: 2 comparisons) 2012-08-06 16:38:48 +00:00
tree-ssa-live.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-live.h
tree-ssa-loop-ch.c
tree-ssa-loop-im.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
tree-ssa-loop-ivcanon.c
tree-ssa-loop-ivopts.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-ssa-loop-manip.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 10:52:14 +00:00
tree-ssa-loop-niter.c revert: re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) 2012-08-16 14:24:22 -04:00
tree-ssa-loop-prefetch.c
tree-ssa-loop-unswitch.c
tree-ssa-loop.c timevar.def (TV_VARPOOL, [...]): Remove. 2012-08-15 08:47:13 +00:00
tree-ssa-math-opts.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-operands.c tree.h (SSA_VAR_P): Simplify. 2012-08-09 11:00:11 +00:00
tree-ssa-operands.h tree-ssa-operands.h (virtual_operand_p): Declare. 2012-08-08 14:51:26 +00:00
tree-ssa-phiopt.c re PR tree-optimization/54240 (Routine hoist_adjacent_loads does not work properly after r189366) 2012-08-15 13:17:42 +00:00
tree-ssa-phiprop.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-ssa-pre.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-ssa-propagate.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-propagate.h
tree-ssa-reassoc.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-ssa-sccvn.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
tree-ssa-sccvn.h
tree-ssa-sink.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
tree-ssa-strlen.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-structalias.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
tree-ssa-tail-merge.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-ssa-ter.c tree.h (SSA_NAME_VAR): Return NULL_TREE if an IDENTIFIER_NODE is recorded as var. 2012-08-10 08:29:29 +00:00
tree-ssa-threadedge.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-threadupdate.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-ssa-uncprop.c tree.h (SSA_NAME_VAR): Return NULL_TREE if an IDENTIFIER_NODE is recorded as var. 2012-08-10 08:29:29 +00:00
tree-ssa-uninit.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssanames.c tree.h (SSA_NAME_VAR): Return NULL_TREE if an IDENTIFIER_NODE is recorded as var. 2012-08-10 08:29:29 +00:00
tree-stdarg.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-stdarg.h
tree-streamer-in.c
tree-streamer-out.c
tree-streamer.c
tree-streamer.h
tree-switch-conversion.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-tailcall.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-vect-data-refs.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-vect-generic.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-vect-loop-manip.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-vect-loop.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-vect-patterns.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-vect-slp.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-vect-stmts.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-vectorizer.c
tree-vectorizer.h
tree-vrp.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree.def
tree.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
treestruct.def
tsystem.h
typeclass.h
valtrack.c
valtrack.h
value-prof.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
value-prof.h
var-tracking.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
varasm.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
varpool.c
vec.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
vec.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
vecir.h
vecprim.h
version.c
version.h
vmsdbg.h
vmsdbgout.c
web.c
xcoff.h
xcoffout.c
xcoffout.h

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