gcc/gcc
Eric Botcazou ede34dfceb arm.c (arm_expand_prologue): In a nested APCS frame with arguments to push onto the stack and no varargs...
* config/arm/arm.c (arm_expand_prologue): In a nested APCS frame with
	arguments to push onto the stack and no varargs, save ip into the last
	stack slot if r3 isn't available on entry.

From-SVN: r206154
2013-12-20 16:46:37 +00:00
..
ada * gcc-interface/Makefile.in (ARM linux, GNU eabi): Tweak regexp. 2013-12-12 22:59:35 +00:00
c Added support for Cilk Plus SIMD-enabled function for C. 2013-12-18 11:00:21 -08:00
c-family Added support for Cilk Plus SIMD-enabled function for C. 2013-12-18 11:00:21 -08:00
common nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS): Consider TARGET_CPU_DEFAULT settings. 2013-12-19 08:32:20 +00:00
config arm.c (arm_expand_prologue): In a nested APCS frame with arguments to push onto the stack and no varargs... 2013-12-20 16:46:37 +00:00
cp Forgot to add a changelog entry for previous commit. Added here. 2013-12-18 11:04:04 -08:00
doc neon.ml (crypto_intrinsics): Add vceq_64 and vtst_p64. 2013-12-20 16:10:43 +00:00
fortran re PR fortran/59493 ([OOP] ICE: Segfault on Class(*) pointer association) 2013-12-18 23:00:53 +01:00
ginclude extend.texi (Statement Exprs, Typeof): Discuss __auto_type. 2013-11-13 00:38:49 +00:00
go compiler: Use backend interface for runtime errors. 2013-12-17 20:27:52 +00:00
java re PR other/59545 (Signed integer overflow issues) 2013-12-19 22:27:51 +01:00
lto Time profile-based function reordering (phase 2). 2013-12-17 22:20:12 +00:00
objc re PR c/52023 ([C11] _Alignof (double) yields wrong value on x86) 2013-12-04 22:57:20 +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 arm.c (arm_expand_prologue): In a nested APCS frame with arguments to push onto the stack and no varargs... 2013-12-20 16:46:37 +00:00
ABOUT-GCC-NLS
BASE-VER * BASE-VER: Set to 4.9.0. 2013-03-16 08:09:59 +01:00
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog arm.c (arm_expand_prologue): In a nested APCS frame with arguments to push onto the stack and no varargs... 2013-12-20 16:46:37 +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
DATESTAMP Daily bump. 2013-12-20 00:16:43 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in Makefile.in (TEXI_GCC_FILES): Add arm-acle-intrinsics.texi. 2013-12-19 17:55:38 +00:00
ONEWS
README.Portability
acinclude.m4 acinclude.m4 (GCC_GLIBC_VERSION_GTE_IFELSE): New configure macro. 2013-11-15 12:34:28 +00:00
aclocal.m4 (clh 9) 2013-09-25 15:55:01 +00:00
addresses.h
alias.c Eliminate BASIC_BLOCK macro. 2013-12-09 20:09:29 +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 ubsan.c: Include tree-ssanames.h, asan.h and gimplify-me.h. 2013-12-20 10:05:04 +01:00
asan.h ubsan.c: Include tree-ssanames.h, asan.h and gimplify-me.h. 2013-12-20 10:05:04 +01:00
attribs.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
attribs.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
auto-inc-dec.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
basic-block.h Put back typedef for gcov_working_set_t/gcov_bucket_type 2013-12-10 09:48:42 -08:00
bb-reorder.c re PR gcov-profile/59542 (ICE: verify_flow_info failed during Firefox build with 'gold') 2013-12-19 22:11:25 +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 cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
bitmap.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
bt-load.c Eliminate last_basic_block macro. 2013-12-09 20:44:49 +00:00
builtin-attrs.def Merge ubsan into trunk. 2013-08-30 16:12:58 +00:00
builtin-types.def revert: cgraph.h (varpool_node): Add need_bounds_init field. 2013-11-29 12:12:39 +00:00
builtins.c ubsan.c: Include tree-ssanames.h, asan.h and gimplify-me.h. 2013-12-20 10:05:04 +01:00
builtins.def revert: cgraph.h (varpool_node): Add need_bounds_init field. 2013-11-29 12:12:39 +00:00
builtins.h gimple.h: Reorder prototypes to match .c declaration order... 2013-11-17 16:14:46 +00:00
caller-save.c Eliminate BASIC_BLOCK macro. 2013-12-09 20:09:29 +00:00
calls.c Fix REG_PARM_STACK_SPACE usage in expand_call 2013-12-14 08:06:22 +00:00
calls.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
cfg-flags.def
cfg.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
cfganal.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
cfgbuild.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
cfgcleanup.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
cfgexpand.c re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) 2013-12-16 09:09:05 +01:00
cfgexpand.h gimple.h: Reorder prototypes to match .c declaration order... 2013-11-17 16:14:46 +00:00
cfghooks.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
cfghooks.h cfghooks.c (copy_bbs): Add update_dominance argument. 2013-05-16 17:09:40 +00:00
cfgloop.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
cfgloop.h tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
cfgloopanal.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
cfgloopmanip.c Eliminate last_basic_block macro. 2013-12-09 20:44:49 +00:00
cfgrtl.c re PR gcov-profile/59527 (ICE: in fixup_reorder_chain, at cfgrtl.c:3739 during PGO Firefox build) 2013-12-17 22:35:38 +00:00
cgraph.c re PR middle-end/59208 (ice in initialize_flags_in_bb) 2013-11-29 14:37:07 +00:00
cgraph.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
cgraphbuild.c re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) 2013-12-16 09:09:05 +01:00
cgraphclones.c re PR c++/58477 (ice in cgraph_speculative_call_info) 2013-12-14 18:28:22 +00:00
cgraphunit.c Time profile-based function reordering (phase 2). 2013-12-17 22:20:12 +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 * cilk-common.c (expand_builtin_cilk_detach): Dereference worker. 2013-11-23 16:44:02 +00:00
cilk.h Added Compiler Support for _Cilk_spawn and _Cilk_sync for C++. 2013-12-11 10:23:27 -08: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-aix.h: Define F_LOADONLY. 2013-02-14 20:40:55 +00:00
collect2.c Improve -fuse-ld=[bfd|gold] check 2013-12-19 10:11:42 -08: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 Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
combine.c re PR other/59545 (Signed integer overflow issues) 2013-12-19 22:27:51 +01:00
common.opt Improve -fuse-ld=[bfd|gold] check 2013-12-19 10:11:42 -08:00
compare-elim.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
conditions.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
config.build config.build: Add support for cygwin x64 target. 2013-03-27 22:54:50 +01:00
config.gcc config.gcc: Support march=broadwell. 2013-12-20 09:11:48 +00:00
config.host config.build: Add support for cygwin x64 target. 2013-03-27 22:54:50 +01:00
config.in Regenerate gcc/configure and gcc/config.in 2013-12-11 14:13:43 +01:00
configure Regenerate gcc/configure and gcc/config.in 2013-12-11 14:13:43 +01:00
configure.ac configure.ac: Add check for aarch64 assembler -mabi support. 2013-12-11 13:57:08 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
convert.h
coretypes.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
coverage.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
coverage.h cgraph.h (cgraph_node): Add profile_id. 2013-08-09 18:23:23 +00:00
cppbuiltin.c decl.c, [...]: Replace tree_low_cst (..., 1) with tree_to_uhwi throughout. 2013-11-18 14:52:19 +00:00
cppbuiltin.h
cppdefault.c
cppdefault.h
cprop.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
cse.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
cselib.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
cselib.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
cstamp-h.in
data-streamer-in.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
data-streamer-out.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
data-streamer.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
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 asan.c: Remove struct tags when referring to class varpool_node. 2013-12-06 10:40:53 +00:00
dbxout.h
dce.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
dce.h
ddg.c Fix typos. 2013-07-21 18:31:07 +00:00
ddg.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
debug.c
debug.h
defaults.h arc.h (BITS_PER_UNIT): Removed. 2013-12-13 16:38:53 +00:00
df-core.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
df-problems.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
df-scan.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
df.h Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +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 Revert "preprocessor/58580 - preprocessor goes OOM with warning for zero literals" 2013-11-06 23:51:36 +01:00
diagnostic.def opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
diagnostic.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
dojump.c re PR target/58864 (ICE in connect_traces, at dwarf2cfi.c:NNNN) 2013-12-03 08:29:20 +01:00
dominance.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
domwalk.c Eliminate last_basic_block macro. 2013-12-09 20:44:49 +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 re PR other/59545 (Signed integer overflow issues) 2013-12-19 22:27:51 +01:00
double-int.h Fix typos. 2013-07-21 18:31:07 +00:00
dse.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
dwarf2asm.h
dwarf2cfi.c re PR debug/59418 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2221) 2013-12-18 10:34:00 +00:00
dwarf2out.c cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
dwarf2out.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
emit-rtl.c re PR rtl-optimization/59466 (Slow code generation by LRA for memory addresses on PPC) 2013-12-16 18:24:54 +00:00
emit-rtl.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
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 Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
except.h re PR c++/55135 (Segfault of gcc on a big file) 2013-03-05 14:45:23 +00:00
exec-tool.in Add -fuse-ld=bfd/-fuse-ld=gold support to exec-tool.in 2013-11-26 05:31:25 -08:00
explow.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
expmed.c expmed.c (lowpart_bit_field_p): Fix comment. 2013-12-17 12:11:40 +00:00
expmed.h
expr.c expr.c (convert_modes): For SUBREG_PROMOTED_VAR_P use SUBREG_REG (x) instead of x as last gen_lowpart... 2013-12-17 09:46:16 +01:00
expr.h re PR target/58864 (ICE in connect_traces, at dwarf2cfi.c:NNNN) 2013-12-03 08:29:20 +01: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 Eliminate FOR_EACH_BB_REVERSE macro. 2013-12-09 21:16:25 +00:00
fixed-value.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
fixed-value.h re PR tree-optimization/56064 (Optimize VIEW_CONVERT_EXPR with FIXED_CST) 2013-02-08 13:23:34 +00:00
flag-types.h ubsan.c: Include tree-ssanames.h, asan.h and gimplify-me.h. 2013-12-20 10:05:04 +01:00
flags.h
fold-const.c Implement -fsanitize=signed-integer-overflow. 2013-12-04 22:47:11 +00:00
fold-const.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
fp-test.c
function.c Eliminate FOR_EACH_BB_REVERSE macro. 2013-12-09 21:16:25 +00:00
function.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
fwprop.c Eliminate n_basic_blocks macro 2013-11-19 01:13:23 +00:00
gcc-ar.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gcc-plugin.h
gcc-symtab.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
gcc.c Improve -fuse-ld=[bfd|gold] check 2013-12-19 10:11:42 -08:00
gcc.h
gcov-dump.c This patch enables the gcov-dump tool to optionally compute and dump the working set information from the counter histogram... 2013-04-03 20:51:28 +00:00
gcov-io.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gcov-io.h Put back typedef for gcov_working_set_t/gcov_bucket_type 2013-12-10 09:48:42 -08:00
gcov-iov.c
gcov.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gcse.c Eliminate FOR_EACH_BB_REVERSE macro. 2013-12-09 21:16:25 +00:00
gcse.h
gdbasan.in Put a breakpoint on __asan_report_error for ASAN 2013-12-04 06:53:36 -08:00
gdbhooks.py gdbhooks.py: fix prettyprinting of NULL vec<>* 2013-11-20 20:00:33 +00:00
gdbinit.in * gdbinit.in: Add pmz to print out mpz values. 2013-11-20 00:50:47 +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 re PR other/59545 (Signed integer overflow issues) 2013-12-19 22:27:51 +01:00
genautomata.c re PR other/59545 (Signed integer overflow issues) 2013-12-19 22:27:51 +01: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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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 re PR other/59545 (Signed integer overflow issues) 2013-12-19 22:27:51 +01:00
gengtype.c Fix checking of gimple types 2013-11-27 02:26:25 +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 genmodes.c (emit_max_int): Fixed missing parens. 2013-12-13 19:04:14 +00:00
genmultilib t-aarch64-linux (MULTARCH_DIRNAME): Remove. 2013-03-14 09:52:13 +01:00
genopinit.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
genoutput.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
genpeep.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
genpreds.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
genrecog.c genrecog.c (validate_pattern): Treat all messages except missing modes as errors. 2013-12-10 18:28:51 +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 cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
ggc-none.c
ggc-page.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
ggc.h cgraph.h (enum cgraph_simd_clone_arg_type): New. 2013-11-27 12:20:06 +01:00
gimple-builder.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +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.h: Remove all includes. 2013-11-22 15:58:51 +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 re PR middle-end/35545 (tracer pass is run too late) 2013-12-17 23:43:22 +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 Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
gimple-iterator.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
gimple-low.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +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 re PR middle-end/59208 (ice in initialize_flags_in_bb) 2013-11-29 14:37:07 +00:00
gimple-pretty-print.h Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +00:00
gimple-ssa-isolate-paths.c re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) 2013-12-16 09:09:05 +01:00
gimple-ssa-strength-reduction.c gimple-ssa-strength-reduction.c (find_basis_for_candidate): Guard the get_alternative_base call with flag_expensive_optimizations. 2013-12-05 17:28:08 +00:00
gimple-ssa.h re PR middle-end/59208 (ice in initialize_flags_in_bb) 2013-11-29 14:37:07 +00:00
gimple-streamer-in.c Rename macros (basic_block_info_for_function, BASIC_BLOCK_FOR_FUNCTION, 2013-12-09 19:28:00 +00:00
gimple-streamer-out.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
gimple-streamer.h
gimple-walk.c re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) 2013-12-16 09:09:05 +01:00
gimple-walk.h re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) 2013-12-16 09:09:05 +01:00
gimple.c re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) 2013-12-16 09:09:05 +01:00
gimple.def Fix checking of gimple types 2013-11-27 02:26:25 +00:00
gimple.h tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
gimplify-me.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
gimplify-me.h gimplify-be.h: New file. 2013-11-14 19:39:38 +00:00
gimplify.c re PR libgomp/59467 (copyprivate in the fortran testsuite) 2013-12-12 09:52:06 +01:00
gimplify.h gimplify.h (recalculate_side_effects): Delete. 2013-11-23 10:23:02 +00:00
glimits.h
godump.c c-common.c (convert_vector_to_pointer_for_subscript): Remove cast to unsigned type. 2013-11-18 14:52:56 +00:00
graph.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +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 gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
graphite-clast-to-gimple.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
graphite-clast-to-gimple.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
graphite-dependences.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +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 gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
graphite-optimize-isl.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
graphite-poly.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
graphite-poly.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
graphite-scop-detection.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
graphite-scop-detection.h
graphite-sese-to-poly.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
graphite-sese-to-poly.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
graphite.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
gsstruct.def Fix checking of gimple types 2013-11-27 02:26:25 +00:00
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 Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
hard-reg-set.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
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 hooks.h (hook_uint_mode_0): Add Prototype. 2013-11-22 16:19:21 +00:00
hooks.h hooks.h (hook_uint_mode_0): Add Prototype. 2013-11-22 16:19:21 +00:00
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00: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 re PR other/59545 (Signed integer overflow issues) 2013-12-19 22:27:51 +01:00
incpath.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
incpath.h
init-regs.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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 Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
insn-addr.h
insn-notes.def re PR rtl-optimization/56131 (gcc.dg/pr56035.c ICEs gcc on sparc-linux) 2013-02-25 11:50:25 +00:00
internal-fn.c predict.h (PROB_LIKELY): Fix the value. 2013-12-16 19:46:49 +01:00
internal-fn.def tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01: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 cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
ipa-devirt.c ipa-devirt.c (get_polymorphic_call_info): Fix offset calculatoin in contains_type_p query. 2013-12-17 16:08:42 +00:00
ipa-inline-analysis.c cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
ipa-inline-transform.c remove nolonger needed {cgraph,varpool}_node_{,asm_}name () functions 2013-11-18 12:18:12 +00:00
ipa-inline.c ipa-inline.c (gate_ipa_inline): Remove. 2013-12-17 20:18:28 +00:00
ipa-inline.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
ipa-profile.c re PR ipa/59265 (Segmentation fault in ipa_note_param_call for -fprofile-use in SPEC CPU2006) 2013-12-16 13:37:43 +00:00
ipa-prop.c re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) 2013-12-16 09:09:05 +01:00
ipa-prop.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
ipa-pure-const.c re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) 2013-12-16 09:09:05 +01:00
ipa-ref-inline.h asan.c: Remove struct tags when referring to class varpool_node. 2013-12-06 10:40:53 +00:00
ipa-ref.c remove nolonger needed {cgraph,varpool}_node_{,asm_}name () functions 2013-11-18 12:18:12 +00:00
ipa-ref.h asan.c: Remove struct tags when referring to class varpool_node. 2013-12-06 10:40:53 +00:00
ipa-reference.c asan.c: Remove struct tags when referring to class varpool_node. 2013-12-06 10:40:53 +00:00
ipa-reference.h Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
ipa-split.c re PR other/59545 (Signed integer overflow issues) 2013-12-19 22:27:51 +01:00
ipa-utils.c Time profile-based function reordering (phase 2). 2013-12-17 22:20:12 +00:00
ipa-utils.h devirt-13.C: Update template. 2013-12-17 10:26:59 +00:00
ipa.c asan.c: Remove struct tags when referring to class varpool_node. 2013-12-06 10:40:53 +00:00
ira-build.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
ira-color.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
ira-conflicts.c regmove.c: Remove. 2013-10-30 14:27:25 +00:00
ira-costs.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
ira-emit.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
ira-int.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
ira-lives.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
ira.c ira.h (struct ira_reg_equiv): Rename to ira_reg_equiv_s. 2013-12-13 20:47:19 +00:00
ira.h ira.h (struct ira_reg_equiv): Rename to ira_reg_equiv_s. 2013-12-13 20:47:19 +00:00
is-a.h Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
jump.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
langhooks-def.h Added Compiler Support for _Cilk_spawn and _Cilk_sync for C++. 2013-12-11 10:23:27 -08:00
langhooks.c Added Compiler Support for _Cilk_spawn and _Cilk_sync for C++. 2013-12-11 10:23:27 -08:00
langhooks.h Added Compiler Support for _Cilk_spawn and _Cilk_sync for C++. 2013-12-11 10:23:27 -08:00
lcm.c Eliminate FOR_EACH_BB_REVERSE macro. 2013-12-09 21:16:25 +00:00
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_optimize_loops): Remove unused loop iterator argument from FOR_EACH_LOOP. 2013-11-19 10:21:32 -06:00
loop-init.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
loop-invariant.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
loop-iv.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
loop-unroll.c Eliminate last_basic_block macro. 2013-12-09 20:44:49 +00:00
loop-unswitch.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
lower-subreg.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
lower-subreg.h re PR rtl-optimization/50339 (suboptimal register allocation for abs(__int128_t)) 2013-02-21 22:28:03 +01:00
lra-assigns.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
lra-coalesce.c re PR middle-end/59470 (libstdc++ miscompilation after r205709) 2013-12-12 15:51:49 +00:00
lra-constraints.c ira.h (struct ira_reg_equiv): Rename to ira_reg_equiv_s. 2013-12-13 20:47:19 +00:00
lra-eliminations.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
lra-int.h ira.h (struct ira_reg_equiv): Rename to ira_reg_equiv_s. 2013-12-13 20:47:19 +00:00
lra-lives.c Eliminate last_basic_block macro. 2013-12-09 20:44:49 +00:00
lra-spills.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
lra.c re PR rtl-optimization/59466 (Slow code generation by LRA for memory addresses on PPC) 2013-12-16 18:24:54 +00:00
lra.h re PR target/57293 (not needed frame pointers on IA-32 (performance regression?)) 2013-11-28 21:45:21 +00:00
lto-cgraph.c cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
lto-compress.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
lto-compress.h
lto-opts.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
lto-section-in.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
lto-section-out.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
lto-streamer-in.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
lto-streamer-out.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
lto-streamer.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
lto-streamer.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
lto-wrapper.c re PR target/59035 (FAIL: gcc.dg/torture/c99-contract-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test) 2013-11-20 10:31:24 +00:00
machmode.def machmode.def (PARTIAL_INT_MODE): Add precision and name. 2013-10-30 03:02:00 +00:00
machmode.h revert: cgraph.h (varpool_node): Add need_bounds_init field. 2013-11-29 12:12:39 +00:00
main.c
mcf.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
mkconfig.sh arc.h (BITS_PER_UNIT): Removed. 2013-12-13 16:38:53 +00:00
mode-classes.def revert: cgraph.h (varpool_node): Add need_bounds_init field. 2013-11-29 12:12:39 +00:00
mode-switching.c Eliminate FOR_EACH_BB_REVERSE macro. 2013-12-09 21:16:25 +00:00
modulo-sched.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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 Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
omp-builtins.def target.c: New file. 2013-10-11 11:26:50 +02:00
omp-low.c Added support for Cilk Plus SIMD-enabled function for C. 2013-12-18 11:00:21 -08: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 tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
optabs.def tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
optabs.h tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
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-common.c (integral_argument): Add support for hexadecimal command option integer arguments. 2013-12-16 04:28:24 +00:00
opts-diagnostic.h
opts-global.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
opts.c ubsan.c: Include tree-ssanames.h, asan.h and gimplify-me.h. 2013-12-20 10:05:04 +01:00
opts.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
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 cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
pass_manager.h cgraphunit.c: Remove struct tags when referring to class ipa_opt_pass_d or class opt_pass. 2013-12-06 10:27:20 +00:00
passes.c passes.c (execute_function_dump): Set graph_dump_initialized appropriately. 2013-12-18 17:38:07 +00:00
passes.def tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
plugin.c plugin.def: Add comment about register_callback and invoke_plugin_callbacks_full. 2013-11-20 16:42:04 +00:00
plugin.def plugin.def: Add comment about register_callback and invoke_plugin_callbacks_full. 2013-11-20 16:42:04 +00:00
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 Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
postreload.c re PR other/59545 (Signed integer overflow issues) 2013-12-19 22:27:51 +01:00
predict.c Time profile-based function reordering (phase 2). 2013-12-17 22:20:12 +00:00
predict.def predict.c (PRED_MUDFLAP): Remove. 2013-10-26 04:24:19 -06:00
predict.h predict.h (PROB_LIKELY): Fix the value. 2013-12-16 19:46:49 +01:00
prefix.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
prefix.h
pretty-print.c pretty-print.c (output_buffer::~output_buffer): Really free the obstacks. 2013-11-26 08:45:18 +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 * print-rtl.c (print_rtx) <case MEM>: Output a space if no MEM_EXPR. 2013-11-22 11:22:51 +00:00
print-rtl.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
print-tree.c print-tree.c (print_node): Print no_force_blk_flag for all types. 2013-12-19 09:13:13 +00:00
print-tree.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
profile.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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 re PR rtl-optimization/55950 (Invalid sqrt constant propagation with -frounding-mode) 2013-11-21 16:20:28 +00:00
real.h re PR rtl-optimization/55950 (Invalid sqrt constant propagation with -frounding-mode) 2013-11-21 16:20:28 +00:00
realmpfr.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
realmpfr.h
recog.c re PR rtl-optimization/59466 (Slow code generation by LRA for memory addresses on PPC) 2013-12-16 18:24:54 +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 Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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 Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
regcprop.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
reginfo.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
regrename.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
regrename.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
regs.h Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
regset.h
regstat.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
reload.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
reload.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
reload1.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
reorg.c Eliminate n_basic_blocks macro 2013-11-19 01:13:23 +00:00
resource.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00: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 cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
rtl.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
rtlanal.c Eliminate redundant vec_select moves. 2013-12-05 17:24:52 +00:00
rtlhooks-def.h
rtlhooks.c
sanitizer.def ubsan.c: Include tree-ssanames.h, asan.h and gimplify-me.h. 2013-12-20 10:05:04 +01:00
sbitmap.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
sbitmap.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
sched-deps.c re PR rtl-optimization/59020 (internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:933) 2013-12-03 18:35:24 +00:00
sched-ebb.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
sched-int.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
sched-rgn.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
sched-vis.c Eliminate BASIC_BLOCK macro. 2013-12-09 20:09:29 +00:00
sdbout.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
sdbout.h
sel-sched-dump.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
sel-sched-dump.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
sel-sched-ir.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
sel-sched-ir.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
sel-sched.c Eliminate BASIC_BLOCK macro. 2013-12-09 20:09:29 +00:00
sel-sched.h
sese.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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 re PR other/59545 (Signed integer overflow issues) 2013-12-19 22:27:51 +01:00
sparseset.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
sparseset.h sparseset.h (sparseset_bit_p): Use gcc_checking_assert. 2013-01-30 15:42:49 +00:00
sreal.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
sreal.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
ssa-iterators.h tree-ssa.texi (SSA Operands): Remove reference to SSA_OP_VMAYUSE. 2013-12-18 17:32:07 +00:00
stab.def
stack-ptr-mod.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
statistics.c Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
statistics.h
stmt.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
stmt.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
stor-layout.c re PR other/59545 (Signed integer overflow issues) 2013-12-19 22:27:51 +01:00
stor-layout.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
store-motion.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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
stringpool.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
symtab.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
sync-builtins.def tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC. 2013-11-07 21:15:25 +00:00
system.h Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +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 re PR target/52555 (ICE unrecognizable insn with -ffast-math and __attribute__((optimize(xx)))) 2013-02-19 00:04:49 +00:00
target-hooks-macros.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
target.def cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
target.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
targhooks.c revert: cgraph.h (varpool_node): Add need_bounds_init field. 2013-11-29 12:12:39 +00:00
targhooks.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
timevar.c * timevar.c (validate_phases): Add cast. 2013-08-22 15:25:53 +00:00
timevar.def bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. 2013-11-19 11:45:15 +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 asan.c: Remove struct tags when referring to class varpool_node. 2013-12-06 10:40:53 +00:00
toplev.h Handwritten part of conversion of passes to C++ classes 2013-08-05 20:01:43 +00:00
tracer.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
trans-mem.c re PR tree-optimization/59149 (diagnose_tm_1 calls flags_from_decl_or_type on an ADDR_EXPR) 2013-12-13 17:50:18 +00:00
trans-mem.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-affine.c 2013-11-27 Bernd Edlinger <bernd.edlinger@hotmail.de> 2013-11-27 16:33:01 +00:00
tree-affine.h re PR tree-optimization/58296 (ivopts is unable to handle some loops altered by the loop header copying pass) 2013-12-13 11:36:22 +00:00
tree-browser.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-browser.def
tree-call-cdce.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-cfg.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +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 Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-cfgcleanup.h tree-flow.h: Include new .h files. 2013-10-02 13:19:29 +00:00
tree-chrec.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-chrec.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-complex.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-core.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
tree-data-ref.c tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
tree-data-ref.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
tree-dfa.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
tree-dfa.h re PR tree-optimization/59356 (ACATS C52102A and C52102C failures) 2013-12-02 11:20:14 +00:00
tree-diagnostic.c Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
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 Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-eh.h tree-flow.h: Remove some prototypes. 2013-10-08 12:13:13 +00:00
tree-emutls.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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 tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
tree-inline.c re PR tree-optimization/59386 (ICE on valid code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode) 2013-12-11 10:18:33 +01:00
tree-inline.h ipa-inline.c (gate_ipa_inline): Remove. 2013-12-17 20:18:28 +00:00
tree-into-ssa.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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 cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
tree-loop-distribution.c tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
tree-nested.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-nested.h gimple.h: Reorder prototypes to match .c declaration order... 2013-11-17 16:14:46 +00:00
tree-nrv.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-object-size.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-object-size.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-outof-ssa.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-parloops.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-pass.h passes.c (execute_function_dump): Set graph_dump_initialized appropriately. 2013-12-18 17:38:07 +00:00
tree-phinodes.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-phinodes.h gimple-walk.h: New File. 2013-11-13 23:54:17 +00:00
tree-predcom.c tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
tree-pretty-print.c revert: cgraph.h (varpool_node): Add need_bounds_init field. 2013-11-29 12:12:39 +00:00
tree-pretty-print.h tree-core.h (tree_code_name): Remove. 2013-10-16 12:09:17 +02:00
tree-profile.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-scalar-evolution.c re PR tree-optimization/58296 (ivopts is unable to handle some loops altered by the loop header copying pass) 2013-12-13 11:36:22 +00:00
tree-scalar-evolution.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
tree-sra.c re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) 2013-12-16 09:09:05 +01:00
tree-ssa-address.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-ssa-address.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
tree-ssa-alias.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-ssa-alias.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
tree-ssa-ccp.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-ssa-coalesce.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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 re PR tree-optimization/59417 (ICE in determine_value_range, at tree-ssa-loop-niter.c:176) 2013-12-11 10:19:41 +01:00
tree-ssa-copyrename.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-ssa-dce.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-ssa-dom.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00: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 gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-ssa-forwprop.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-ssa-ifcombine.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-ssa-live.c Eliminate FOR_EACH_BB_REVERSE macro. 2013-12-09 21:16:25 +00:00
tree-ssa-live.h Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-ssa-loop-ch.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-ssa-loop-im.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-ssa-loop-ivcanon.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-ssa-loop-ivopts.c re PR tree-optimization/58296 (ivopts is unable to handle some loops altered by the loop header copying pass) 2013-12-13 11:36:22 +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 Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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/59417 (ICE in determine_value_range, at tree-ssa-loop-niter.c:176) 2013-12-11 10:19:41 +01: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.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-ssa-loop-unswitch.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-ssa-loop.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-ssa-loop.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
tree-ssa-math-opts.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-ssa-operands.c tree-ssa-operands.c (opf_implicit): Remove. 2013-12-02 15:13:52 +00:00
tree-ssa-operands.h cgraph.h (cgraph_node_set_iterator, [...]): Remove typedef. 2013-12-10 16:48:44 +00:00
tree-ssa-phiopt.c re PR tree-optimization/45685 (missed conditional move opportunity in loop) 2013-12-13 09:34:39 -07:00
tree-ssa-phiprop.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-ssa-pre.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
tree-ssa-propagate.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
tree-ssa-propagate.h tree-flow.h: Remove some prototypes. 2013-10-02 15:29:35 +00:00
tree-ssa-reassoc.c Eliminate last_basic_block macro. 2013-12-09 20:44:49 +00:00
tree-ssa-sccvn.c Eliminate last_basic_block macro. 2013-12-09 20:44:49 +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 Eliminate BASIC_BLOCK macro. 2013-12-09 20:09:29 +00:00
tree-ssa-strlen.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-ssa-structalias.c re PR middle-end/38474 (compile time explosion in dataflow_set_preserve_mem_locs at -O3) 2013-12-10 12:31:39 +00:00
tree-ssa-tail-merge.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-ssa-ter.c re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) 2013-12-16 09:09:05 +01: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-threadedge.c (record_temporary_equivalence): Handle NULL for RHS, which we used to invalidate equivalences. 2013-11-22 11:52:23 -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 re PR rtl-optimization/59446 (loop2_doloop creates constant comparison and dead jump) 2013-12-11 15:15:14 -07:00
tree-ssa-threadupdate.h tree-ssa-threadupdate.c: Fix trailing whitespace. 2013-11-19 18:41:36 -07:00
tree-ssa-uncprop.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-ssa-uninit.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-ssa.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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 re PR middle-end/59208 (ice in initialize_flags_in_bb) 2013-11-29 14:37:07 +00:00
tree-ssanames.h re PR middle-end/59208 (ice in initialize_flags_in_bb) 2013-11-29 14:37:07 +00:00
tree-stdarg.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-stdarg.h
tree-streamer-in.c re PR lto/59326 (FAIL: gcc.dg/vect/vect-simd-clone-*.c) 2013-11-29 11:36:10 +01:00
tree-streamer-out.c re PR lto/59326 (FAIL: gcc.dg/vect/vect-simd-clone-*.c) 2013-11-29 11:36:10 +01:00
tree-streamer.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-streamer.h Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
tree-switch-conversion.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-tailcall.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-vect-data-refs.c tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
tree-vect-generic.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
tree-vect-loop-manip.c tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
tree-vect-loop.c tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
tree-vect-patterns.c gimple.h: Remove all includes. 2013-11-22 15:58:51 +00:00
tree-vect-slp.c common.opt: Introduced a new option -fsimd-cost-model. 2013-11-28 07:54:58 +00:00
tree-vect-stmts.c re PR tree-optimization/59544 (Vectorizing store with negative step) 2013-12-20 13:46:01 +00:00
tree-vectorizer.c re PR tree-optimization/59523 (r205856 caused internal compiler error: verify_ssa failed) 2013-12-17 22:36:21 +01:00
tree-vectorizer.h tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01:00
tree-vrp.c re PR middle-end/35545 (tracer pass is run too late) 2013-12-17 23:41:41 +00:00
tree.c asan.c: Remove struct tags when referring to class varpool_node. 2013-12-06 10:40:53 +00:00
tree.def re PR debug/37132 (Debug: No DW_TAG_namelist emitted for NAMELISTS) 2013-12-04 20:59:42 +01:00
tree.h re PR debug/37132 (Debug: No DW_TAG_namelist emitted for NAMELISTS) 2013-12-04 20:59:42 +01:00
treestruct.def
tsan.c Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +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 ubsan.c: Include tree-ssanames.h, asan.h and gimplify-me.h. 2013-12-20 10:05:04 +01:00
ubsan.h re PR sanitizer/59333 (ICE with long long and -m32 -fsanitize=undefined) 2013-12-05 18:03:44 +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 Eliminate FOR_EACH_BB macro. 2013-12-09 21:06:06 +00:00
value-prof.h Time profiler introduced. 2013-11-11 23:21:02 +00:00
var-tracking.c * var-tracking.c (add_stores): Fix oversight in latest commit. 2013-12-14 15:24:58 +00:00
varasm.c Time profile-based function reordering (phase 2). 2013-12-17 22:20:12 +00:00
varasm.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
varpool.c asan.c: Remove struct tags when referring to class varpool_node. 2013-12-06 10:40:53 +00: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 add auto_vec 2013-11-22 05:45:37 +00:00
version.c
version.h
vmsdbg.h
vmsdbgout.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
vtable-verify.c re PR sanitizer/59437 (ICE in for g++ -S -fvtable-verify=std -fsanitize=null) 2013-12-10 10:49:39 +00:00
vtable-verify.h Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
web.c Eliminate FOR_ALL_BB macro. 2013-12-09 21:29:15 +00:00
xcoff.h
xcoffout.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
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.