gcc/gcc
Richard Earnshaw 8f1c326dea re PR target/59216 (ARM negdi*extendsidi regression)
PR target/59216

gcc/
	* arm.md (negdi_extendsidi): Fix invalid split.

gcc/testsuite/
	* gcc.target/arm/negdi-4.c: Delete invalid test.
	* gcc.dg/torture/pr59216.c: New test.

From-SVN: r205271
2013-11-22 15:43:11 +00:00
..
ada Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
c Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
c-family Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
common i386-common.c: Enable -freorder-blocks-and-partition at -O2 and up for x86. 2013-11-19 22:13:49 +00:00
config re PR target/59216 (ARM negdi*extendsidi regression) 2013-11-22 15:43:11 +00:00
cp Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
doc Enable PTA_POPCNT for Silvermont 2013-11-22 04:57:14 -08:00
fortran Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
ginclude extend.texi (Statement Exprs, Typeof): Discuss __auto_type. 2013-11-13 00:38:49 +00:00
go Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
java Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
lto Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
objc Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
objcp Make-lang.in (CXX_TREE_H, [...]): Remove. 2013-09-25 16:23:02 +00:00
po * fi.po: Update. 2013-07-11 22:47:04 +01:00
testsuite re PR target/59216 (ARM negdi*extendsidi regression) 2013-11-22 15:43:11 +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 re PR target/59216 (ARM negdi*extendsidi regression) 2013-11-22 15:43:11 +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-11-22 00:17:08 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +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 cuintp.c (UI_From_gnu): Use tree_to_shwi. 2013-11-20 11:57:27 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
asan.h libsanitizer merge from upstream r191666 2013-11-04 21:33:31 +00: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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
basic-block.h Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
bb-reorder.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
bb-reorder.h re PR c++/53743 (ICE when compiling firefox with PGO and LTO) 2013-06-06 16:30:07 +00:00
bitmap.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
bitmap.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
bt-load.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
builtin-attrs.def Merge ubsan into trunk. 2013-08-30 16:12:58 +00:00
builtin-types.def builtin-types.def (BT_FN_PTR_CONST_PTR_VAR): New. 2013-11-18 12:30:52 +00:00
builtins.c Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
builtins.def builtins.def (ATTR_NOTHROWCALL_LEAF_LIST): Define. 2013-11-04 20:29:36 +00:00
builtins.h gimple.h: Reorder prototypes to match .c declaration order... 2013-11-17 16:14:46 +00:00
caller-save.c alias.c (addr_side_effect_eval): Use gen_int_mode with the mode of the associated gen_rtx_* call. 2013-09-09 13:06:43 +00:00
calls.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
calls.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
cfg-flags.def
cfg.c Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-21 01:28:11 +00:00
cfganal.c add auto_vec 2013-11-22 05:45:37 +00:00
cfgbuild.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
cfgcleanup.c re PR target/59233 (C++ failures after revision 205058 on *-apple-darwin* with -m32) 2013-11-22 04:16:47 +00:00
cfgexpand.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
cfgexpand.h gimple.h: Reorder prototypes to match .c declaration order... 2013-11-17 16:14:46 +00:00
cfghooks.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
cfghooks.h cfghooks.c (copy_bbs): Add update_dominance argument. 2013-05-16 17:09:40 +00:00
cfgloop.c add auto_vec 2013-11-22 05:45:37 +00:00
cfgloop.h cfgloop.h (struct loop_iterator): C++-ify, add constructor and destructor and make fel_next a member function. 2013-11-19 15:19:09 +00:00
cfgloopanal.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
cfgloopmanip.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
cfgrtl.c Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-21 01:28:11 +00:00
cgraph.c Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-21 01:28:11 +00:00
cgraph.h cgraph.h (varpool_node): Add need_bounds_init field. 2013-11-20 13:50:44 +00:00
cgraphbuild.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
cgraphclones.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
cgraphunit.c add auto_vec 2013-11-22 05:45:37 +00:00
chkp-builtins.def builtin-types.def (BT_FN_PTR_CONST_PTR_VAR): New. 2013-11-18 12:30:52 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
cilk.h Added _Cilk_spawn and _Cilk_sync (2 cilk keywords) for C. 2013-10-29 11:36:31 -07:00
cilkplus.def Implemented Cilk Plus Array Notation for C Compiler. 2013-05-28 12:55:10 -07:00
collect2-aix.c
collect2-aix.h
collect2.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
collect2.h re PR driver/57652 (collect2 does not clean up temporary files) 2013-06-19 19:51:05 -04:00
combine-stack-adj.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
combine.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
common.opt opts.c (finish_options): Imply -ffat-lto-objects with -fno-use-linker-plugin. 2013-11-20 13:11:08 +00:00
compare-elim.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
conditions.h
config.build config.build: Add support for cygwin x64 target. 2013-03-27 22:54:50 +01:00
config.gcc re PR target/53976 ([SH] Unnecessary clrt/sett after bt/bf) 2013-11-21 08:19:38 +00:00
config.host config.build: Add support for cygwin x64 target. 2013-03-27 22:54:50 +01:00
config.in Makefile.in (OUTPUT_OPTION): Define as "-o $@". 2013-09-25 16:10:35 +00:00
configure picflag.m4 (m68k-*-*): Use default PIC flag. 2013-11-15 17:49:36 +00:00
configure.ac acinclude.m4 (GCC_GLIBC_VERSION_GTE_IFELSE): New configure macro. 2013-11-15 12:34:28 +00:00
context.c Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
context.h Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
convert.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
convert.h
coretypes.h Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +00:00
coverage.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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 ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
cse.c Fixup whitespace. 2013-11-20 18:04:41 +00:00
cselib.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
cselib.h
cstamp-h.in
data-streamer-in.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
data-streamer-out.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
data-streamer.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
data-streamer.h data-streamer.h (streamer_write_char_stream): CSE obs->current_pointer. 2013-06-12 11:09:50 +00:00
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 dbxout.c (dbxout_type): Ignore POINTER_BOUNDS_TYPE. 2013-11-20 12:28:29 +00:00
dbxout.h
dce.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
dce.h
ddg.c Fix typos. 2013-07-21 18:31:07 +00:00
ddg.h
debug.c
debug.h
defaults.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
df-core.c Eliminate n_edges macro 2013-11-19 16:50:04 +00:00
df-problems.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
df-scan.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
df.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
dfp.c
dfp.h
diagnostic-color.c Makefile.in (toplev.o): Depend on diagnostic-color.h. 2013-04-26 08:55:56 +02:00
diagnostic-color.h opts.c: Include diagnostic-color.h. 2013-04-12 08:20:36 +02:00
diagnostic-core.h opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
diagnostic.c 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 pretty-print.h (pp_base): Remove. 2013-08-05 04:00:57 +00:00
dojump.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
dominance.c Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-21 01:28:11 +00:00
domwalk.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
domwalk.h basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
double-int.c double-int.c (lshift_double, [...]): Remove SHIFT_COUNT_TRUNCATED handling. 2013-11-05 19:58:12 +00:00
double-int.h Fix typos. 2013-07-21 18:31:07 +00:00
dse.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
dwarf2out.c add auto_vec 2013-11-22 05:45:37 +00:00
dwarf2out.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
emit-rtl.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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 ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
except.h
exec-tool.in
explow.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
expmed.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
expmed.h
expr.c expr.c (store_constructor): Allow CONSTRUCTOR with VECTOR_TYPE (same sized) elements even if... 2013-11-22 14:22:51 +01:00
expr.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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 Emit a label for the split cold function part. 2013-11-19 22:12:21 +00:00
fixed-value.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
fixed-value.h
flag-types.h bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. 2013-11-19 11:45:15 +00:00
flags.h
fold-const.c cuintp.c (UI_From_gnu): Use tree_to_shwi. 2013-11-20 11:57:27 +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 add auto_vec 2013-11-22 05:45:37 +00:00
function.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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 Generally link to libgomp for -ftree-parallelize-loops=*. 2013-11-07 16:07:34 +01: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 The patch re-factors libgcov.c to make it better modulelized. 2013-11-13 00:24:49 +00:00
gcov-iov.c
gcov.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gcse.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
gcse.h
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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
genautomata.c add auto_vec 2013-11-22 05:45:37 +00:00
gencheck.c
genchecksum.c
gencodes.c
genconditions.c
genconfig.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
genconstants.c
genemit.c 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 Make gengtype more robust against user error 2013-10-29 01:16:05 +00:00
gengtype.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
gengtype.h Make gengtype more robust against user error 2013-10-29 01:16:05 +00:00
genhooks.c
genmddeps.c
genmddump.c
genmodes.c machmode.def (PARTIAL_INT_MODE): Add precision and name. 2013-10-30 03:02:00 +00:00
genmultilib
genopinit.c 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 alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
gensupport.c re PR target/57377 (compiler cannot be built with RTL checking) 2013-10-10 12:01:23 +00:00
gensupport.h
ggc-common.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ggc-internal.h
ggc-none.c
ggc-page.c tree-ssa.h: Remove all #include's 2013-10-23 12:16:58 +00:00
ggc.h Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +00:00
gimple-builder.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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 gimplify.h (gimplify_hasher : typed_free_remove, [...]): Move to gimplify.c. 2013-11-21 00:06:23 +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 ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
gimple-iterator.h Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +00:00
gimple-low.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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 Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
gimple-ssa-strength-reduction.c cuintp.c (UI_From_gnu): Use tree_to_shwi. 2013-11-20 11:57:27 +00:00
gimple-ssa.h Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +00:00
gimple-streamer-in.c Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +00:00
gimple-streamer-out.c Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +00:00
gimple-streamer.h
gimple-walk.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
gimple-walk.h gimple-walk.h: New File. 2013-11-13 23:54:17 +00:00
gimple.c add auto_vec 2013-11-22 05:45:37 +00:00
gimple.def target.c: New file. 2013-10-11 11:26:50 +02:00
gimple.h Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +00:00
gimplify-me.c gimplify.h (gimplify_hasher : typed_free_remove, [...]): Move to gimplify.c. 2013-11-21 00:06:23 +00:00
gimplify-me.h gimplify-be.h: New file. 2013-11-14 19:39:38 +00:00
gimplify.c Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
gimplify.h gimplify.h (gimplify_hasher : typed_free_remove, [...]): Move to gimplify.c. 2013-11-21 00:06:23 +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 ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +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-walk.h: New File. 2013-11-13 23:54:17 +00:00
graphite-clast-to-gimple.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
graphite-clast-to-gimple.h This patch is the main part of a consolodation of the hash_table patches to the... 2013-04-26 00:28:35 +00:00
graphite-dependences.c gimple-walk.h: New File. 2013-11-13 23:54:17 +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-walk.h: New File. 2013-11-13 23:54:17 +00:00
graphite-optimize-isl.c gimple-walk.h: New File. 2013-11-13 23:54:17 +00:00
graphite-poly.c gimple-walk.h: New File. 2013-11-13 23:54:17 +00:00
graphite-poly.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
graphite-scop-detection.c Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-21 01:28:11 +00:00
graphite-scop-detection.h
graphite-sese-to-poly.c cfgloop.h (struct loop_iterator): C++-ify, add constructor and destructor and make fel_next a member function. 2013-11-19 15:19:09 +00:00
graphite-sese-to-poly.h
graphite.c Eliminate n_basic_blocks macro 2013-11-19 01:13:23 +00:00
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def gtm-builtins.def (_ITM_free): Declare leaf. 2013-08-28 19:42:19 +02:00
haifa-sched.c add auto_vec 2013-11-22 05:45:37 +00:00
hard-reg-set.h
hash-table.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
hash-table.h basic-block.h (edge_list): Prefix member names with "m_". 2013-09-30 20:35:40 +00:00
highlev-plugin-common.h
hooks.c target.def (can_use_doloop_p): New hook. 2013-11-09 11:42:16 +00:00
hooks.h target.def (can_use_doloop_p): New hook. 2013-11-09 11:42:16 +00:00
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +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 Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
incpath.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
incpath.h
init-regs.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
input.c Revert "preprocessor/58580 - preprocessor goes OOM with warning for zero literals" 2013-11-06 23:51:36 +01:00
input.h Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
insn-addr.h
insn-notes.def
internal-fn.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
internal-fn.def bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. 2013-11-19 11:45:15 +00:00
internal-fn.h
intl.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
intl.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
ipa-cp.c decl.c, [...]: Replace tree_low_cst (..., 1) with tree_to_uhwi throughout. 2013-11-18 14:52:19 +00:00
ipa-devirt.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
ipa-inline-analysis.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +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 add auto_vec 2013-11-22 05:45:37 +00:00
ipa-inline.h cgraph.c (cgraph_turn_edge_to_speculative): Return newly introduced edge; fix typo in sanity check. 2013-08-13 12:21:16 +00:00
ipa-profile.c remove nolonger needed {cgraph,varpool}_node_{,asm_}name () functions 2013-11-18 12:18:12 +00:00
ipa-prop.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
ipa-prop.h tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
ipa-pure-const.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
ipa-ref-inline.h Autogenerated fixes of "->symbol." to "->" 2013-10-29 18:30:00 +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 Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
ipa-reference.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
ipa-reference.h Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
ipa-split.c Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-21 01:28:11 +00:00
ipa-utils.c Eliminate n_basic_blocks macro 2013-11-19 01:13:23 +00:00
ipa-utils.h cgraph.c (cgraph_create_indirect_edge): Use get_polymorphic_call_info. 2013-11-19 10:05:54 +00:00
ipa.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
ira-build.c add auto_vec 2013-11-22 05:45:37 +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 re PR other/58712 (issues found by --enable-checking=valgrind) 2013-11-12 21:33:06 +00:00
ira-emit.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
ira-int.h Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
ira-lives.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
ira.c re PR rtl-optimization/59099 (Erroneous register allocation on 32-bit x86 using regparm) 2013-11-19 23:53:06 +01:00
ira.h
is-a.h Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
jump.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
langhooks-def.h common.opt (fcheck-pointer-bounds): Move to ... 2013-11-08 10:57:54 +00:00
langhooks.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
langhooks.h common.opt (fcheck-pointer-bounds): Move to ... 2013-11-08 10:57:54 +00:00
lcm.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +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 cfgloop.h (struct loop_iterator): C++-ify, add constructor and destructor and make fel_next a member function. 2013-11-19 15:19:09 +00:00
loop-invariant.c cfgloop.h (struct loop_iterator): C++-ify, add constructor and destructor and make fel_next a member function. 2013-11-19 15:19:09 +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 add auto_vec 2013-11-22 05:45:37 +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 lower-subreg.c (resolve_simple_move): Copy REG_INC note. 2013-10-31 06:20:20 +00:00
lower-subreg.h
lra-assigns.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
lra-coalesce.c [multiple changes] 2013-04-19 03:57:22 +00:00
lra-constraints.c re PR rtl-optimization/59133 (ICE after r204219 on SPEC2006 435.gromacs.) 2013-11-20 20:32:57 +00:00
lra-eliminations.c lra-constraints.c (process_alt_operand): Calculate scratch_p and use it. 2013-10-03 00:35:43 +00:00
lra-int.h re PR rtl-optimization/59133 (ICE after r204219 on SPEC2006 435.gromacs.) 2013-11-20 20:32:57 +00:00
lra-lives.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
lra-spills.c re PR rtl-optimization/58968 (Powerpc -mlra cannot compile ormas1.f in gamess Spec 2006 with -m32 -mcpu=power7 -O3 -mlra -w -ffast-math -funroll-loops) 2013-11-04 16:12:29 +00:00
lra.c re PR rtl-optimization/59133 (ICE after r204219 on SPEC2006 435.gromacs.) 2013-11-20 20:32:57 +00:00
lra.h
lto-cgraph.c cgraph.h (varpool_node): Add need_bounds_init field. 2013-11-20 13:50:44 +00:00
lto-compress.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
lto-compress.h
lto-opts.c 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
lto-section-in.c Automated part of renaming of symtab_node_base to symtab_node. 2013-10-31 21:26:14 +00:00
lto-section-out.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
lto-streamer-in.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
lto-streamer-out.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
lto-streamer.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
lto-streamer.h Remove all_lto_gen_passes, replace with plain function calls 2013-11-18 22:16:37 +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 mode-classes.def (MODE_POINTER_BOUNDS): New. 2013-10-25 05:36:14 +00:00
main.c
mcf.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
mkconfig.sh
mode-classes.def mode-classes.def (MODE_POINTER_BOUNDS): New. 2013-10-25 05:36:14 +00:00
mode-switching.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
modulo-sched.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +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 add auto_vec 2013-11-22 05:45:37 +00:00
omp-low.h tree-flow.h (struct omp_region): Move to omp-low.c. 2013-10-17 17:41:07 +00:00
opt-functions.awk
opt-gather.awk
opt-include.awk
opt-read.awk
optabs.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
optabs.def
optabs.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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-diagnostic.h
opts-global.c re PR middle-end/58134 (-ftree-vectorizer-verbose=<n> shows vectorized loops only for N== 1 and N >2 but not for N==2) 2013-10-31 01:01:40 +00:00
opts.c Add minimal line tables at -g1. 2013-11-21 15:08:27 -08:00
opts.h
output.h Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
params.c
params.def predict.c (probably_never_executed): Compare frequency-based count to number of training runs. 2013-10-18 17:25:44 +00:00
params.h
pass_manager.h Remove all_lto_gen_passes, replace with plain function calls 2013-11-18 22:16:37 +00:00
passes.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
passes.def bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. 2013-11-19 11:45:15 +00: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 ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
postreload.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
predict.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
predict.def predict.c (PRED_MUDFLAP): Remove. 2013-10-26 04:24:19 -06:00
predict.h predict.c (drop_profile): New function. 2013-11-12 15:03:28 +00:00
prefix.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
prefix.h
pretty-print.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
pretty-print.h diagnostic.c (diagnostic_set_caret_max_width): Use pp_buffer. 2013-08-23 23:58:55 +00:00
print-rtl.c * 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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
print-tree.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
profile.c Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-21 01:28:11 +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 lra.c (lra): Set lra_in_progress before check_rtl call. 2013-11-20 11:17:49 -07: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 add auto_vec 2013-11-22 05:45:37 +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 ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
regcprop.c re PR rtl-optimization/54300 (regcprop incorrectly looks through parallel register swap operation) 2013-11-20 13:55:04 +00:00
reginfo.c Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
regrename.c Eliminate n_basic_blocks macro 2013-11-19 01:13:23 +00:00
regrename.h
regs.h Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
regset.h
regstat.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
reload.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
reload.h reload.h (struct reg_equivs): Rename to .. 2013-08-21 15:38:35 +01:00
reload1.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
reorg.c Eliminate n_basic_blocks macro 2013-11-19 01:13:23 +00:00
resource.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +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 rtl.texi (REG_NOTES): Say that int_list can also be used. 2013-09-23 17:41:02 +00:00
rtl.h builtin-types.def (BT_FN_PTR_CONST_PTR_VAR): New. 2013-11-18 12:30:52 +00:00
rtlanal.c c-common.c, [...]: Replace tree_low_cst (..., 0) with tree_to_shwi throughout. 2013-11-18 14:52:03 +00:00
rtlhooks-def.h
rtlhooks.c
sanitizer.def bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. 2013-11-19 11:45:15 +00:00
sbitmap.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
sbitmap.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
sched-deps.c Eliminate n_basic_blocks macro 2013-11-19 01:13:23 +00:00
sched-ebb.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
sched-int.h Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-21 01:28:11 +00:00
sched-rgn.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
sched-vis.c rtl.texi (REG_NOTES): Say that int_list can also be used. 2013-09-23 17:41:02 +00:00
sdbout.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
sdbout.h
sel-sched-dump.c Add uniform debug dump function names. 2013-03-29 03:42:21 +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 ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
sel-sched-ir.h Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
sel-sched.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
sel-sched.h
sese.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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 rtl-optimization/55950 (Invalid sqrt constant propagation with -frounding-mode) 2013-11-21 16:20:28 +00:00
sparseset.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
sparseset.h
sreal.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
sreal.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
ssa-iterators.h tree-into-ssa.c (enum need_phi_state): Relocate from tree-flow.h. 2013-10-01 15:46:53 +00:00
stab.def
stack-ptr-mod.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
statistics.c Introduce gcc::dump_manager class 2013-10-14 16:15:38 +00:00
statistics.h
stmt.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
stmt.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
stor-layout.c 2013-11-22 zadeck@naturalbridge.com 2013-11-22 13:55:53 +00:00
stor-layout.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
store-motion.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
sync-builtins.def tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC. 2013-11-07 21:15:25 +00:00
system.h 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
target-hooks-macros.h alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
target.def target.def (can_use_doloop_p): New hook. 2013-11-09 11:42:16 +00:00
target.h target.def (can_use_doloop_p): New hook. 2013-11-09 11:42:16 +00:00
targhooks.c Normalize whitespace. 2013-11-20 18:42:08 +00:00
targhooks.h target.def (can_use_doloop_p): New hook. 2013-11-09 11:42:16 +00:00
timevar.c * timevar.c (validate_phases): Add cast. 2013-08-22 15:25:53 +00:00
timevar.def 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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
toplev.h Handwritten part of conversion of passes to C++ classes 2013-08-05 20:01:43 +00:00
tracer.c Eliminate n_basic_blocks macro 2013-11-19 01:13:23 +00:00
trans-mem.c add auto_vec 2013-11-22 05:45:37 +00:00
trans-mem.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-affine.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-affine.h tree-ssa-loop-ivopts.c (alloc_iv): Lower address expressions. 2013-11-07 08:12:34 +00:00
tree-browser.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-browser.def
tree-call-cdce.c add auto_vec 2013-11-22 05:45:37 +00:00
tree-cfg.c cuintp.c (UI_From_gnu): Use tree_to_shwi. 2013-11-20 11:57:27 +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 Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-21 01:28:11 +00:00
tree-cfgcleanup.h tree-flow.h: Include new .h files. 2013-10-02 13:19:29 +00:00
tree-chrec.c tree-ssa-loop.h: Remove include files. 2013-10-23 18:55:46 +00:00
tree-chrec.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-complex.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-core.h tree.h (CONSTRUCTOR_NO_CLEARING): Define. 2013-11-11 16:55:29 +00:00
tree-data-ref.c cfgloop.h (struct loop_iterator): C++-ify, add constructor and destructor and make fel_next a member function. 2013-11-19 15:19:09 +00:00
tree-data-ref.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-dfa.c cuintp.c (UI_From_gnu): Use tree_to_shwi. 2013-11-20 11:57:27 +00:00
tree-dfa.h tree-flow.h: Include new .h files. 2013-10-02 13:19:29 +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 add auto_vec 2013-11-22 05:45:37 +00:00
tree-eh.h tree-flow.h: Remove some prototypes. 2013-10-08 12:13:13 +00:00
tree-emutls.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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 add auto_vec 2013-11-22 05:45:37 +00:00
tree-inline.c Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-21 01:28:11 +00:00
tree-inline.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-into-ssa.c add auto_vec 2013-11-22 05:45:37 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-loop-distribution.c add auto_vec 2013-11-22 05:45:37 +00:00
tree-nested.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-nested.h gimple.h: Reorder prototypes to match .c declaration order... 2013-11-17 16:14:46 +00:00
tree-nrv.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-object-size.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05: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 ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-outof-ssa.h tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
tree-parloops.c tree-vectorizer.h (LOC, [...]): Remove wrappers and fix all users. 2013-11-21 13:57:40 +00:00
tree-parloops.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-pass.h bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. 2013-11-19 11:45:15 +00:00
tree-phinodes.c Convert gimple types from a union to C++ inheritance 2013-11-19 15:50:46 +00:00
tree-phinodes.h gimple-walk.h: New File. 2013-11-13 23:54:17 +00:00
tree-predcom.c add auto_vec 2013-11-22 05:45:37 +00:00
tree-pretty-print.c cuintp.c (UI_From_gnu): Use tree_to_shwi. 2013-11-20 11:57:27 +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 ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-scalar-evolution.c re PR tree-optimization/59058 (wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)) 2013-11-21 14:09:15 +00:00
tree-scalar-evolution.h re PR tree-optimization/59058 (wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)) 2013-11-21 14:09:15 +00:00
tree-sra.c add auto_vec 2013-11-22 05:45:37 +00:00
tree-ssa-address.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-ssa-address.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-ssa-alias.c tree-ssa-alias.c (ao_ref_init_from_ptr_and_size): Avoid signed overflow. 2013-11-20 11:57:06 +00:00
tree-ssa-alias.h re PR middle-end/50262 (PTA doesn't disambiguate locally allocated heap objects from pointed to by arguments) 2013-11-15 14:48:22 +00:00
tree-ssa-ccp.c cuintp.c (UI_From_gnu): Use tree_to_shwi. 2013-11-20 11:57:27 +00:00
tree-ssa-coalesce.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-ssa-copyrename.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-ssa-dce.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-ssa-dom.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-ssa-forwprop.c add auto_vec 2013-11-22 05:45:37 +00:00
tree-ssa-ifcombine.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-ssa-live.c Add minimal line tables at -g1. 2013-11-21 15:08:27 -08: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 revert: tree-ssa-loop-ch.c (copy_loop_headers): Decrement nb_iterations_upper_bound by one. 2013-11-22 13:17:41 +00:00
tree-ssa-loop-im.c cfgloop.h (struct loop_iterator): C++-ify, add constructor and destructor and make fel_next a member function. 2013-11-19 15:19:09 +00:00
tree-ssa-loop-ivcanon.c cfgloop.h (struct loop_iterator): C++-ify, add constructor and destructor and make fel_next a member function. 2013-11-19 15:19:09 +00:00
tree-ssa-loop-ivopts.c cuintp.c (UI_From_gnu): Use tree_to_shwi. 2013-11-20 11:57:27 +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 add auto_vec 2013-11-22 05:45:37 +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 Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-ssa-loop-niter.h re PR tree-optimization/58697 (wrong code (segfaults) at -O3) 2013-10-16 15:48:47 +00:00
tree-ssa-loop-prefetch.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-ssa-loop-unswitch.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-ssa-loop.c gimple-walk.h: New File. 2013-11-13 23:54:17 +00:00
tree-ssa-loop.h tree-ssa-loop.h: Remove include files. 2013-10-23 18:55:46 +00:00
tree-ssa-math-opts.c cuintp.c (UI_From_gnu): Use tree_to_shwi. 2013-11-20 11:57:27 +00:00
tree-ssa-operands.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-ssa-operands.h tree-cfg.h: Rename from tree-flow.h. 2013-10-18 12:39:34 +00:00
tree-ssa-phiopt.c cuintp.c (UI_From_gnu): Use tree_to_shwi. 2013-11-20 11:57:27 +00:00
tree-ssa-phiprop.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-ssa-pre.c add auto_vec 2013-11-22 05:45:37 +00:00
tree-ssa-propagate.c Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-21 01:28:11 +00:00
tree-ssa-propagate.h tree-flow.h: Remove some prototypes. 2013-10-02 15:29:35 +00:00
tree-ssa-reassoc.c add auto_vec 2013-11-22 05:45:37 +00:00
tree-ssa-sccvn.c add auto_vec 2013-11-22 05:45:37 +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 ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-ssa-strlen.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-ssa-structalias.c add auto_vec 2013-11-22 05:45:37 +00:00
tree-ssa-tail-merge.c tree-ssa-tail-merge.c (stmt_local_def): Return false if the statement could throw. 2013-11-21 09:12:43 +00:00
tree-ssa-ter.c re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) 2013-11-19 13:28:35 +00:00
tree-ssa-ter.h tree-ssa-ter.h: Remove duplicate copy of file contents. 2013-10-22 04:32:04 +00:00
tree-ssa-threadedge.c tree-ssa-threadedge.c (thread_across_edge): Mark the start of the jump thread path properly. 2013-11-22 00:36:12 -07:00
tree-ssa-threadedge.h tree-flow.h: Remove all remaining prototypes... 2013-10-09 14:11:30 +00:00
tree-ssa-threadupdate.c tree-ssa-threadupdate.c: Include tree-cfg.h and tree-pass.h 2013-11-22 00:48:21 -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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-ssa-uninit.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-ssa.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-ssa.h Makefile.in (OBJS): Add gimple-ssa-isolate-paths.o 2013-11-05 12:47:44 -07:00
tree-ssanames.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-ssanames.h tree.c (tree_ctz): New function. 2013-10-31 14:57:05 +01:00
tree-stdarg.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-stdarg.h
tree-streamer-in.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-streamer-out.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-streamer.c tree-outof-ssa.h: Remove include files. 2013-10-29 12:55:50 +00:00
tree-streamer.h Re-factor inclusion of tree.h. 2013-10-21 15:36:37 -04:00
tree-switch-conversion.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-tailcall.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
tree-vect-data-refs.c re PR tree-optimization/59058 (wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)) 2013-11-21 14:09:15 +00:00
tree-vect-generic.c tree-vect-generic.c (optimize_vector_constructor): New function. 2013-11-22 01:41:38 +01:00
tree-vect-loop-manip.c re PR tree-optimization/59058 (wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)) 2013-11-21 14:09:15 +00:00
tree-vect-loop.c add auto_vec 2013-11-22 05:45:37 +00:00
tree-vect-patterns.c Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
tree-vect-slp.c tree-vectorizer.h (LOC, [...]): Remove wrappers and fix all users. 2013-11-21 13:57:40 +00:00
tree-vect-stmts.c add auto_vec 2013-11-22 05:45:37 +00:00
tree-vectorizer.c tree-vectorizer.h (LOC, [...]): Remove wrappers and fix all users. 2013-11-21 13:57:40 +00:00
tree-vectorizer.h re PR tree-optimization/59058 (wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)) 2013-11-21 14:09:15 +00:00
tree-vrp.c cfgloop.h (struct loop_iterator): C++-ify, add constructor and destructor and make fel_next a member function. 2013-11-19 15:19:09 +00:00
tree.c Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
tree.def Makefile.in (C_COMMON_OBJS): Depend on c-cilkplus.o. 2013-11-15 21:43:59 +00:00
tree.h Remove macros that implicitly use input_location 2013-11-22 14:18:13 +00:00
treestruct.def
tsan.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
ubsan.h bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. 2013-11-19 11:45:15 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
value-prof.h Time profiler introduced. 2013-11-11 23:21:02 +00:00
var-tracking.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
varasm.c Eliminate ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros 2013-11-19 21:57:13 +00:00
varasm.h Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
varpool.c cgraph.h (varpool_node): Add need_bounds_init field. 2013-11-20 13:50:44 +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 Factor unrelated declarations out of tree.h. 2013-11-19 07:31:09 -05:00
vtable-verify.h Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
web.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
xcoff.h
xcoffout.c 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.