8sa1-gcc/gcc
Jakub Jelinek ac0ff9f273 ubsan.c: Include tree-ssanames.h, asan.h and gimplify-me.h.
* ubsan.c: Include tree-ssanames.h, asan.h and gimplify-me.h.
	(ubsan_type_descriptor): Handle BOOLEAN_TYPE and ENUMERAL_TYPE
	like INTEGER_TYPE.
	(instrument_bool_enum_load): New function.
	(ubsan_pass): Call it.
	(gate_ubsan): Also enable for SANITIZE_BOOL or SANITIZE_ENUM.
	* asan.c (create_cond_insert_point): No longer static.
	* asan.h (create_cond_insert_point): Declare.
	* sanitizer.def (BUILT_IN_UBSAN_HANDLE_LOAD_INVALID_VALUE): New
	built-in.
	* opts.c (common_handle_option): Handle -fsanitize=bool and
	-fsanitize=enum.
	* builtins.c (fold_builtin_memory_op): When sanitizing bool
	and enum loads, don't use enum or bool types for memcpy folding.
	* flag-types.h (SANITIZE_BOOL, SANITIZE_ENUM): New.
	(SANITIZE_UNDEFINED): Or these in.

	* c-c++-common/ubsan/load-bool-enum.c: New test.

From-SVN: r206143
2013-12-20 10:05:04 +01: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 nds32.h (NDS32_MODE_TYPE_ALIGN): New macro. 2013-12-20 09:02:58 +00:00
cp Forgot to add a changelog entry for previous commit. Added here. 2013-12-18 11:04:04 -08:00
doc invoke.texi: (dump-rtl-ree): Fix typo and clarify ree handles both zero and sign extension. 2013-12-19 21:33:34 -07: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
testsuite ubsan.c: Include tree-ssanames.h, asan.h and gimplify-me.h. 2013-12-20 10:05:04 +01:00
ABOUT-GCC-NLS
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
BASE-VER
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
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
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
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
ChangeLog ubsan.c: Include tree-ssanames.h, asan.h and gimplify-me.h. 2013-12-20 10:05:04 +01: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
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
collect2-aix.c
collect2-aix.h
collect2.c Improve -fuse-ld=[bfd|gold] check 2013-12-19 10:11:42 -08:00
collect2.h
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.gcc Makefile.in (TEXI_GCC_FILES): Add arm-acle-intrinsics.texi. 2013-12-19 17:55:38 +00:00
config.host
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
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
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
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
DATESTAMP Daily bump. 2013-12-20 00:16:43 +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
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
DEV-PHASE
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
diagnostic-color.h
diagnostic-core.h
diagnostic.c Revert "preprocessor/58580 - preprocessor goes OOM with warning for zero literals" 2013-11-06 23:51:36 +01:00
diagnostic.def
diagnostic.h 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
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
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
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
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
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
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
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
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
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
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
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
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
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
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
LANGUAGES
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
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
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
Makefile.in Makefile.in (TEXI_GCC_FILES): Add arm-acle-intrinsics.texi. 2013-12-19 17:55:38 +00:00
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
omega.h
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
ONEWS
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
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
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
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
read-md.c alloc-pool.c, [...]: Add missing whitespace before "(". 2013-09-28 08:42:34 +00:00
read-md.h
read-rtl.c
README.Portability
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
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
reload1.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
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
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
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
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
sreal.c
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
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.def bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl. 2013-11-19 11:45:15 +00:00
timevar.h
tlink.c
toplev.c asan.c: Remove struct tags when referring to class varpool_node. 2013-12-06 10:40:53 +00:00
toplev.h
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
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 tree-vectorizer.h (struct _loop_vec_info): Add scalar_loop field. 2013-12-10 12:46:01 +01: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
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
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

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.