gcc/gcc
Ed Schonberg 57f4c2887e s-rident.ads: Add various missing Ada 2012 restrictions...
2013-04-12  Ed Schonberg  <schonberg@adacore.com>

	* s-rident.ads: Add various missing Ada 2012 restrictions:
	No_Access_Parameter_Allocators, No_Coextensions,
	No_Use_Of_Attribute, No_Use_Of_Pragma.
	* snames.ads-tmpl: Add corresponding names.
	* restrict.ads restrict.adb: Subprograms and data structures to
	handle aspects No_Use_Of_Attribute and No_Use_Of_Pragma.
	* sem_ch4.adb: Correct name of restrictions is
	No_Standard_Allocators_After_Elaboration.
	* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Check
	violation of restriction No_Use_Of_Attribute.
	* sem_prag.adb (Process_Restrictions_Or_Restriction_Warnings):
	Set restrictions No_Use_Of_Pragma and No_Use_Of_Attribute.
	(Analyze_Pragma): Check violation of restriction No_Use_Of_Pragma.
	* sem_res.adb: Check restrictions No_Access_Parameter_Allocators
	and No_Coextensions.
	* bcheck.adb: Correct name of restrictions is
	No_Standard_Allocators_After_Elaboration.
	* gnatbind.adb: Correct name of restrictions is
	No_Standard_Allocators_After_Elaboration.

From-SVN: r197907
2013-04-12 15:12:02 +02:00
..
ada s-rident.ads: Add various missing Ada 2012 restrictions... 2013-04-12 15:12:02 +02:00
c re PR c/19449 (__builtin_constant_p cannot resolve to const when optimizing) 2013-04-03 11:17:44 +02:00
c-family opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
common Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
config tree-pass.h (TODO_do_not_ggc_collect): New. 2013-04-12 09:50:28 +00:00
cp opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
doc opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
fortran re PR fortran/56845 ([OOP] _vptr not set to declared type for CLASS + SAVE) 2013-04-12 10:54:15 +02:00
ginclude Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
go compiler, libgo: Permit testing package when test imports it circularly. 2013-02-10 06:02:38 +00:00
java expr.c (build_java_binop): Pass a type to build_int_cst. 2013-04-09 10:48:59 +00:00
lto re PR middle-end/56231 (warning traces have bogus line information when using LTO) 2013-02-08 12:55:13 +00:00
objc Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
objcp Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
po * de.po: Update. 2013-04-02 23:47:43 +01:00
testsuite tree-pass.h (TODO_do_not_ggc_collect): New. 2013-04-12 09:50:28 +00:00
ABOUT-GCC-NLS Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
BASE-VER * BASE-VER: Set to 4.9.0. 2013-03-16 08:09:59 +01:00
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog tree-pass.h (TODO_do_not_ggc_collect): New. 2013-04-12 09:50:28 +00:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012 Fix non-ASCII characters in names. 2013-04-09 09:29:32 +02:00
ChangeLog.dataflow Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.graphite
ChangeLog.lib Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.ptr Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.tree-ssa Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.tuples Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
DATESTAMP Daily bump. 2013-04-12 00:16:45 +00:00
DEV-PHASE
FSFChangeLog Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
FSFChangeLog.10 Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
FSFChangeLog.11 Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
LANGUAGES Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
Makefile.in opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
ONEWS Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
README.Portability Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
acinclude.m4 Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
aclocal.m4
addresses.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
alias.c alias.c (find_base_term): Fix thinko in previous change. 2013-04-08 09:50:48 +00:00
alias.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
alloc-pool.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
alloc-pool.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
asan.c re PR c++/34949 (Dead code in empty destructors.) 2013-04-02 20:25:36 +02:00
asan.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
attribs.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
auto-inc-dec.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
basic-block.h First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
bb-reorder.c bb-reorder.c (fix_crossing_unconditional_branches): Remove a set-but-unused variable. 2013-04-05 19:23:17 +00:00
bb-reorder.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
bitmap.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
bitmap.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
bt-load.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
builtin-attrs.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
builtin-types.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
builtins.c re PR c/19449 (__builtin_constant_p cannot resolve to const when optimizing) 2013-04-03 11:17:44 +02:00
builtins.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
builtins.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
caller-save.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
calls.c re PR rtl-optimization/56434 (document that __attribute__((__malloc__)) assumes returned pointer has BIGGEST_ALIGNMENT) 2013-03-25 09:39:52 +00:00
cfg-flags.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfg.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
cfganal.c sparseset.h (sparseset_bit_p): Use gcc_checking_assert. 2013-01-30 15:42:49 +00:00
cfgbuild.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
cfgcleanup.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
cfgexpand.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
cfghooks.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
cfghooks.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfgloop.c cfgloop.c (verify_loop_structure): Streamline and avoid ICEing on corrupt loop tree. 2013-03-20 09:03:06 +00:00
cfgloop.h re PR tree-optimization/53265 (Warn when undefined behavior implies smaller iteration count) 2013-03-14 10:13:36 +01:00
cfgloopanal.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfgloopmanip.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
cfgrtl.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
cgraph.c bb-reorder.c (fix_crossing_unconditional_branches): Remove a set-but-unused variable. 2013-04-05 19:23:17 +00:00
cgraph.h ipa.c (cgraph_externally_visible_p, [...]): Drop aliased parameter. 2013-04-09 22:45:38 +00:00
cgraphbuild.c cgraph.h (cgraph_get_create_real_symbol_node): Declare. 2013-03-17 15:43:13 +00:00
cgraphclones.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
cgraphunit.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cif-code.def cif-code.def (OVERWRITABLE): Correct the comment for overwritable function. 2013-04-10 09:22:04 +00:00
collect2-aix.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
collect2-aix.h * collect2-aix.h: Define F_LOADONLY. 2013-02-14 20:40:55 +00:00
collect2.c collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable if -bnortl. 2013-02-06 21:53:13 -05:00
collect2.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
combine-stack-adj.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
combine.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
common.opt opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
compare-elim.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
conditions.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
config.build config.build: Add support for cygwin x64 target. 2013-03-27 22:54:50 +01:00
config.gcc config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android. 2013-04-02 14:32:37 +00:00
config.host config.build: Add support for cygwin x64 target. 2013-03-27 22:54:50 +01:00
config.in Default to DWARF 4 on Solaris if linker supports CIEv3 2013-03-21 11:57:35 +00:00
configure config.build: Add support for cygwin x64 target. 2013-03-27 22:54:50 +01:00
configure.ac config.build: Add support for cygwin x64 target. 2013-03-27 22:54:50 +01:00
convert.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
convert.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
coretypes.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
coverage.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
coverage.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cppbuiltin.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cppbuiltin.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cppdefault.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cppdefault.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cprop.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
cse.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
cselib.c combine.c (try_combine): Removed useless assert. 2013-03-28 14:09:46 +00:00
cselib.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cstamp-h.in
data-streamer-in.c data-streamer-in.c (streamer_read_gcov_count): New function. 2013-03-28 15:29:40 +00:00
data-streamer-out.c data-streamer-in.c (streamer_read_gcov_count): New function. 2013-03-28 15:29:40 +00:00
data-streamer.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
data-streamer.h data-streamer-in.c (streamer_read_gcov_count): New function. 2013-03-28 15:29:40 +00:00
dbgcnt.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dbgcnt.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dbgcnt.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dbxout.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dbxout.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dce.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
dce.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ddg.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ddg.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
debug.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
debug.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
defaults.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
df-core.c df-core.c (rest_of_handle_df_initialize): Use XCNEWVEC instead of XNEWVEC followed by memset. 2013-03-23 21:40:20 +00:00
df-problems.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
df-scan.c re PR middle-end/56729 (ICE in df_insn_delete) 2013-04-04 16:40:16 +00:00
df.h df.h (df_insn_delete): Adjust prototype. 2013-03-22 16:37:00 +00:00
dfp.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dfp.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
diagnostic-color.c opts.c: Include diagnostic-color.h. 2013-04-12 08:20:36 +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 opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
diagnostic.def opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
diagnostic.h re PR middle-end/48087 (-Wall -Werror adds warnings over and above those generated by -Wall) 2013-03-21 18:36:47 +01:00
dojump.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dominance.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
domwalk.c re PR c/56113 (out of memory when compiling a function with many goto labels (50k > )) 2013-03-18 08:46:44 +00:00
domwalk.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
double-int.c re PR tree-optimization/56064 (Optimize VIEW_CONVERT_EXPR with FIXED_CST) 2013-01-30 11:04:30 +00:00
double-int.h re PR tree-optimization/56064 (Optimize VIEW_CONVERT_EXPR with FIXED_CST) 2013-01-30 11:04:30 +00:00
dse.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
dumpfile.c re PR middle-end/56074 (ICE compiling gcc.dg/vect/pr49093.c) 2013-01-22 18:03:33 +01:00
dumpfile.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
dwarf2asm.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dwarf2asm.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dwarf2cfi.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dwarf2out.c opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
dwarf2out.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
emit-rtl.c cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. 2013-03-30 14:26:42 +00:00
emit-rtl.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
errors.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
errors.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
et-forest.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
et-forest.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
except.c re PR c++/55135 (Segfault of gcc on a big file) 2013-03-05 14:45:23 +00:00
except.h re PR c++/55135 (Segfault of gcc on a big file) 2013-03-05 14:45:23 +00:00
exec-tool.in Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
explow.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
expmed.c Improve cstore code generation on 64-bit sparc. 2013-04-10 12:41:57 -07:00
expmed.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
expr.c re PR middle-end/56548 (ICE in emit_move_insn, at expr.c:3486 with -march=pentium{pro,2,3} -O3) 2013-03-06 18:18:46 +01:00
expr.h re PR target/52555 (ICE unrecognizable insn with -ffast-math and __attribute__((optimize(xx)))) 2013-02-19 00:04:49 +00:00
file-find.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
file-find.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
final.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
fixed-value.c re PR tree-optimization/56064 (Optimize VIEW_CONVERT_EXPR with FIXED_CST) 2013-02-08 13:23:34 +00:00
fixed-value.h re PR tree-optimization/56064 (Optimize VIEW_CONVERT_EXPR with FIXED_CST) 2013-02-08 13:23:34 +00:00
flag-types.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
flags.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
fold-const.c re PR tree-optimization/56918 (incorrect auto-vectorization of array initialization) 2013-04-12 10:18:59 +02:00
fp-test.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
function.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
function.h re PR middle-end/56524 (Compiler ICE when compiling with -mips16) 2013-03-09 07:54:02 +00:00
fwprop.c re PR rtl-optimization/56178 (Miscompilation of Ada front-end with profiled bootstrap) 2013-02-07 08:07:04 +00:00
gcc-ar.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcc-plugin.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcc.c common.opt: Add -gdwarf. 2013-04-10 10:47:55 -04:00
gcc.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
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 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.h 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-iov.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcov.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcse.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
gcse.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gdbinit.in * gdbinit.in (pbb): Use debug fn. 2013-04-02 17:09:52 -04:00
genattr-common.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genattr.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genattrtab.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genautomata.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gencheck.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genchecksum.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gencodes.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genconditions.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genconfig.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genconstants.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genemit.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genenums.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genextract.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genflags.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gengenrtl.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gengtype-lex.l Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gengtype-parse.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gengtype-state.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gengtype.c cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. 2013-03-30 14:26:42 +00:00
gengtype.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genhooks.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genmddeps.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genmddump.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genmodes.c genmodes.c (emit_max_int): New function. 2013-03-28 14:46:31 +00:00
genmultilib t-aarch64-linux (MULTARCH_DIRNAME): Remove. 2013-03-14 09:52:13 +01:00
genopinit.c re PR target/52555 (ICE unrecognizable insn with -ffast-math and __attribute__((optimize(xx)))) 2013-02-19 00:04:49 +00:00
genoutput.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genpeep.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genpreds.c genpreds.c (write_lookup_constraint): Do not compare first letter of the constraint again. 2013-02-20 09:04:29 +00:00
genrecog.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gensupport.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gensupport.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ggc-common.c re PR middle-end/56461 (GCC is leaking lots of memory) 2013-03-05 16:51:48 +01:00
ggc-internal.h Remove zone allocator. 2013-01-24 10:13:46 -05:00
ggc-none.c Remove zone allocator. 2013-01-24 10:13:46 -05:00
ggc-page.c re PR bootstrap/56227 (Bootstrap failure on MinGW building ggc-page.c) 2013-02-07 19:01:40 +01:00
ggc.h Remove zone allocator. 2013-01-24 10:13:46 -05:00
gimple-fold.c re PR fortran/55935 ([OOP] Fortran fronted has ADDR_EXPRs of FUNCTION_DECLs with bogus BLOCK) 2013-01-13 13:33:43 +01:00
gimple-fold.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-iterator.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-low.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-pretty-print.c gimple-pretty-print.c (debug_gimple_stmt): Do not print extra newline. 2013-04-08 12:35:26 +00:00
gimple-pretty-print.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
gimple-ssa-strength-reduction.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-streamer-in.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
gimple-streamer-out.c data-streamer-in.c (streamer_read_gcov_count): New function. 2013-03-28 15:29:40 +00:00
gimple-streamer.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple.c gimple.c (is_gimple_constant): Vector CONSTRUCTORs should not be considered a gimple constant. 2013-04-12 07:59:58 +00:00
gimple.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple.h re PR middle-end/56483 (LTO issue with expanding GIMPLE_COND) 2013-03-18 10:29:43 +00:00
gimplify.c re PR c++/34949 (Dead code in empty destructors.) 2013-04-02 20:25:36 +02:00
glimits.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
godump.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graph.c cfgloop.c (verify_loop_structure): Streamline and avoid ICEing on corrupt loop tree. 2013-03-20 09:03:06 +00:00
graph.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphds.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphds.h Remove various unused items. 2013-03-29 07:09:33 +00:00
graphite-blocking.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-clast-to-gimple.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-clast-to-gimple.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-dependences.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-interchange.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-optimize-isl.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-poly.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-poly.h Remove various unused items. 2013-03-29 07:09:33 +00:00
graphite-scop-detection.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-scop-detection.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-sese-to-poly.c tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated PHI argument. 2013-01-14 13:06:47 +00:00
graphite-sese-to-poly.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gsstruct.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gstab.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gsyms.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gsyslimits.h
gtm-builtins.def
haifa-sched.c re PR rtl-optimization/56023 ([alpha] -fcompare-debug failure due to sched1 pass) 2013-01-21 18:51:23 +01:00
hard-reg-set.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hash-table.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hash-table.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
highlev-plugin-common.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hooks.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hooks.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
host-default.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hosthooks-def.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hosthooks.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hw-doloop.c avr.c, [...]: Where applicable... 2013-03-23 12:11:10 +00:00
hw-doloop.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hwint.c hwint.c (sext_hwi, zext_hwi): New functions. 2013-04-03 20:24:07 +00:00
hwint.h hwint.c (sext_hwi, zext_hwi): New functions. 2013-04-03 20:24:07 +00:00
ifcvt.c ifcvt.c (end_ifcvt_sequence): Mark a and b for unsharing as well. 2013-04-12 05:38:27 +00:00
incpath.c incpath.c (add_standard_paths): Use reconcat instead of concat where appropriate and avoid leaking memory. 2013-02-27 08:28:48 +01:00
incpath.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
init-regs.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
input.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
input.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
insn-addr.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
insn-notes.def re PR rtl-optimization/56131 (gcc.dg/pr56035.c ICEs gcc on sparc-linux) 2013-02-25 11:50:25 +00:00
internal-fn.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
internal-fn.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
internal-fn.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
intl.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
intl.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-cp.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
ipa-inline-analysis.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
ipa-inline-transform.c re PR tree-optimization/55264 (ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak) 2013-01-17 12:43:14 +01:00
ipa-inline.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
ipa-inline.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-prop.c ipa-prop.c (ipa_write_jump_function): Stream simple and aritmetic pass-through jump functions differently. 2013-03-25 17:50:02 +01:00
ipa-prop.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-pure-const.c re PR middle-end/56461 (GCC is leaking lots of memory) 2013-02-27 22:35:53 +01:00
ipa-ref-inline.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-ref.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-ref.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-reference.c re PR middle-end/56461 (GCC is leaking lots of memory) 2013-02-27 22:33:20 +01:00
ipa-reference.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-split.c re PR tree-optimization/56424 (ICE at tree-inline.c:2833 on a-nllcef.ads at -O2) 2013-03-04 17:41:32 +00:00
ipa-utils.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-utils.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
ira-build.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
ira-color.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ira-conflicts.c re PR debug/53948 (Assignment line missing for -O0 -g) 2013-02-08 13:03:52 -07:00
ira-costs.c re PR rtl-optimization/56124 (Redundant reload for loading from memory) 2013-04-11 03:55:14 +00:00
ira-emit.c cfgloop.c (verify_loop_structure): Properly handle a loop exiting to another loop header. 2013-02-08 09:09:38 +00:00
ira-int.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
ira-lives.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
ira.c tree-pass.h (TODO_do_not_ggc_collect): New. 2013-04-12 09:50:28 +00:00
ira.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
is-a.h is-a.h (as_a): Use gcc_checking_assert. 2013-03-22 13:01:42 +00:00
jump.c cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. 2013-03-30 14:26:42 +00:00
langhooks-def.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
langhooks.c opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
langhooks.h re PR debug/49090 (provide a way to recognize defaulted template parameters) 2013-03-16 22:33:50 -04:00
lcm.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
libfuncs.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
limitx.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
limity.h
lists.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
loop-doloop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
loop-init.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
loop-invariant.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
loop-iv.c re PR rtl-optimization/56605 (Redundant branch introduced during loop2 phases) 2013-03-20 13:24:12 +00:00
loop-unroll.c re PR rtl-optimization/56466 (ICE in verify_loop_structure, at cfgloop.c:1629 (loop with header n not in loop tree !)) 2013-02-28 10:13:48 +00:00
loop-unswitch.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
lower-subreg.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
lower-subreg.h re PR rtl-optimization/50339 (suboptimal register allocation for abs(__int128_t)) 2013-02-21 22:28:03 +01:00
lra-assigns.c re PR rtl-optimization/56348 (internal compiler error in assign_by_spills with -m32 -fPIC -msse2) 2013-02-15 19:17:02 +00:00
lra-coalesce.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lra-constraints.c re PR inline-asm/56148 (inline asm matching constraint with different mode) 2013-02-22 16:30:22 +00:00
lra-eliminations.c cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. 2013-03-30 14:26:42 +00:00
lra-int.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
lra-lives.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
lra-spills.c re PR middle-end/56461 (GCC is leaking lots of memory) 2013-02-26 22:13:27 +01:00
lra.c cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. 2013-03-30 14:26:42 +00:00
lra.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-cgraph.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
lto-compress.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-compress.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-opts.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-section-in.c lto-cgraph.c (output_profile_summary, [...]): Use gcov streaming; stream hot bb threshold to ltrans. 2013-03-29 18:07:34 +00:00
lto-section-out.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-streamer-in.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
lto-streamer-out.c data-streamer-in.c (streamer_read_gcov_count): New function. 2013-03-28 15:29:40 +00:00
lto-streamer.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-streamer.h lto-cgraph.c (output_profile_summary, [...]): Use gcov streaming; stream hot bb threshold to ltrans. 2013-03-29 18:07:34 +00:00
lto-symtab.c re PR lto/56168 (GCC seems to disregard -fno-builtin when compiling with LTO) 2013-02-04 12:19:25 +00:00
lto-wrapper.c opts.h: Include obstack.h. 2013-02-27 08:28:09 +01:00
machmode.def genmodes.c (emit_max_int): New function. 2013-03-28 14:46:31 +00:00
machmode.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
main.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
mcf.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
mkconfig.sh Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
mode-classes.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
mode-switching.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
modulo-sched.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
omega.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
omega.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
omp-builtins.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
omp-low.c re PR middle-end/56883 (error openmp parallel for order) 2013-04-09 15:25:58 +02:00
opt-functions.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opt-gather.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opt-include.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opt-read.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
optabs.c re PR middle-end/56524 (Compiler ICE when compiling with -mips16) 2013-03-09 07:54:02 +00:00
optabs.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
optabs.h re PR target/52555 (ICE unrecognizable insn with -ffast-math and __attribute__((optimize(xx)))) 2013-02-19 00:04:49 +00:00
optc-gen.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
optc-save-gen.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opth-gen.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opts-common.c re PR bootstrap/56509 (gnattools build failure) 2013-03-05 07:01:13 +01:00
opts-diagnostic.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opts-global.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opts.c opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
opts.h opts.h: Include obstack.h. 2013-02-27 08:28:09 +01:00
output.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
params.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
params.def re PR tree-optimization/48184 (ICE: SIGFPE (division by zero) in compute_alignments () at final.c:731 with --param align-threshold=0 on basic code) 2013-04-11 16:20:26 +00:00
params.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
passes.c tree-pass.h (TODO_do_not_ggc_collect): New. 2013-04-12 09:50:28 +00:00
plugin.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
plugin.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
plugin.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
pointer-set.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
pointer-set.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
postreload-gcse.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
postreload.c * postreload.c (reload_combine): Fix code detecting returns. 2013-03-25 11:25:28 +00:00
predict.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
predict.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
predict.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
prefix.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
prefix.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
pretty-print.c opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
pretty-print.h opts.c: Include diagnostic-color.h. 2013-04-12 08:19:58 +02:00
print-rtl.c cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. 2013-03-30 14:26:42 +00:00
print-tree.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
profile.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
profile.h 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
read-md.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
read-md.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
read-rtl.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
real.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
real.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
realmpfr.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
realmpfr.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
recog.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
recog.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ree.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
reg-notes.def rtl.texi (sequence): Rewrite documentation to match the current use of SEQUENCE rtl objects. 2013-04-08 19:59:57 +00:00
reg-stack.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
regcprop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
reginfo.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
regmove.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
regrename.c re PR rtl-optimization/52573 (regrename creates overlapping register allocations for output operands) 2013-01-18 00:54:47 -07:00
regrename.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
regs.h re PR debug/53948 (Assignment line missing for -O0 -g) 2013-02-08 13:03:52 -07:00
regset.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
regstat.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
reload.c * gcc/reload.c (subst_reloads): Fix DEBUG_RELOAD build issue. 2013-02-04 09:23:38 -07:00
reload.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
reload1.c cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. 2013-03-30 14:26:42 +00:00
reorg.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
resource.c avr.c, [...]: Where applicable... 2013-03-23 12:11:10 +00:00
resource.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtl-error.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtl-error.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtl.c re PR rtl-optimization/56571 (ICE in copyprop_hardreg_forward_1, at regcprop.c (insn does not satisfy its constraints !)) 2013-03-12 12:13:33 +00:00
rtl.def rtl.texi (sequence): Rewrite documentation to match the current use of SEQUENCE rtl objects. 2013-04-08 19:59:57 +00:00
rtl.h * rtl.h (AUTO_INC_DEC): Fix typo of HAVE_POST_MODIFY_DISP. 2013-04-03 10:25:08 +00:00
rtlanal.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtlhooks-def.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtlhooks.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sanitizer.def libsanitizer merge from upstream r175049 2013-02-13 10:46:01 +00:00
sbitmap.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
sbitmap.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
sched-deps.c re PR middle-end/56461 (GCC is leaking lots of memory) 2013-03-05 16:49:43 +01:00
sched-ebb.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sched-int.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sched-rgn.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
sched-vis.c sched-vis.c (print_pattern): Print SEQUENCE of insns as insns. 2013-04-09 15:02:41 +00:00
sdbout.c sdbout.c (sdbout_one_type): Switch to current function's section supporting cold/hot. 2013-03-05 18:59:38 +01:00
sdbout.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
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 re PR middle-end/56461 (GCC is leaking lots of memory) 2013-03-05 07:02:36 +01:00
sel-sched-ir.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
sel-sched.c re PR middle-end/55889 (ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling) 2013-02-19 17:50:50 +04:00
sel-sched.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sese.c Remove unused symbols related to ivtype_map. 2013-04-02 20:13:46 +00:00
sese.h Remove unused symbols related to ivtype_map. 2013-04-02 20:13:46 +00:00
simplify-rtx.c simplify-rtx.c (simplify_binary_operation_1): Handle VEC_MERGE. 2013-04-03 09:44:28 +00:00
sparseset.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sparseset.h sparseset.h (sparseset_bit_p): Use gcc_checking_assert. 2013-01-30 15:42:49 +00:00
sreal.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
sreal.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
ssaexpand.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
stab.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
stack-ptr-mod.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
statistics.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
statistics.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
stmt.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
stor-layout.c stor-layout.c (skip_simple_constant_arithmetic): Move to... 2013-04-11 16:15:25 +00:00
store-motion.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
streamer-hooks.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
streamer-hooks.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
stringpool.c Remove zone allocator. 2013-01-24 10:13:46 -05:00
symtab.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sync-builtins.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
system.h re PR bootstrap/55961 (system.h includes gmp.h but system.h is included for build and not just target) 2013-01-15 15:54:05 +00:00
target-def.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
target-globals.c re PR target/52555 (ICE unrecognizable insn with -ffast-math and __attribute__((optimize(xx)))) 2013-02-24 19:54:37 +01:00
target-globals.h re PR target/52555 (ICE unrecognizable insn with -ffast-math and __attribute__((optimize(xx)))) 2013-02-19 00:04:49 +00:00
target-hooks-macros.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
target.def Improve cstore code generation on 64-bit sparc. 2013-04-10 12:41:57 -07:00
target.h Improve cstore code generation on 64-bit sparc. 2013-04-10 12:41:57 -07:00
targhooks.c Improve cstore code generation on 64-bit sparc. 2013-04-10 12:41:57 -07:00
targhooks.h Improve cstore code generation on 64-bit sparc. 2013-04-10 12:41:57 -07:00
timevar.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
timevar.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
timevar.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tlink.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
toplev.c toplev.c (process_options): Do not disable -fomit-frame-pointer on a general basis if... 2013-03-28 08:29:10 +00:00
toplev.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tracer.c tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP instead of calling fix_loop_structure. 2013-02-06 13:16:35 +00:00
trans-mem.c trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE if GTMA_HAS_NO_INSTRUMENTATION. 2013-03-08 22:26:37 +00:00
trans-mem.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-affine.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-affine.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-browser.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-browser.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-call-cdce.c tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. 2013-02-20 15:19:13 +00:00
tree-cfg.c re PR c++/34949 (Dead code in empty destructors.) 2013-04-02 20:25:36 +02:00
tree-cfgcleanup.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-chrec.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-chrec.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-complex.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-data-ref.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
tree-data-ref.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
tree-dfa.c tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in all appropriate places. 2013-03-04 19:49:59 +01:00
tree-diagnostic.c tree.h (DECL_DEBUG_EXPR_IS_FROM): Rename to ... 2013-03-21 11:53:39 +00:00
tree-diagnostic.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-dump.c Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
tree-dump.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-eh.c re PR c++/34949 (Dead code in empty destructors.) 2013-04-08 15:46:00 +02:00
tree-emutls.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-flow-inline.h tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle BIT_FIELD_REF. 2013-04-03 12:54:50 +00:00
tree-flow.h re PR tree-optimization/56878 (Issue with candidate choice in vect_gen_niters_for_prolog_loop.) 2013-04-11 11:21:18 +00:00
tree-if-conv.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-inline.c tree.h (unsave_expr_now): Remove. 2013-04-09 08:26:45 +00:00
tree-inline.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-into-ssa.c re PR tree-optimization/56294 (BOOT_CFLAGS='-O2 -g -fno-ipa-sra' leads to bootstrap comparison failure) 2013-03-06 11:24:07 +00:00
tree-iterator.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-iterator.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-loop-distribution.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-mudflap.c re PR libmudflap/53359 (undefined reference to `__gnu_cxx::__numeric_traits_integer<int>::__min') 2013-01-18 10:57:58 +00:00
tree-mudflap.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-nested.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-nomudflap.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-nrv.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-object-size.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-optimize.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
tree-outof-ssa.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-parloops.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-pass.h tree-pass.h (TODO_do_not_ggc_collect): New. 2013-04-12 09:50:28 +00:00
tree-phinodes.c Remove zone allocator. 2013-01-24 10:13:46 -05:00
tree-predcom.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-pretty-print.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-pretty-print.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-profile.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-scalar-evolution.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-scalar-evolution.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-sra.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-address.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-alias.c re PR c++/34949 (Dead code in empty destructors.) 2013-04-02 20:27:45 +02:00
tree-ssa-alias.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
tree-ssa-ccp.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-coalesce.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-copy.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-copyrename.c tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. 2013-02-20 15:19:13 +00:00
tree-ssa-dce.c tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. 2013-02-20 15:19:13 +00:00
tree-ssa-dom.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-dse.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-forwprop.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-ifcombine.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-live.c re PR c++/34949 (Dead code in empty destructors.) 2013-04-02 20:25:36 +02:00
tree-ssa-live.h Add uniform debug dump function names. 2013-03-29 03:42:21 +00:00
tree-ssa-loop-ch.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop-im.c tree-ssa-loop-im.c (struct mem_ref): Use bitmap_head instead of bitmap. 2013-03-25 12:53:57 +00:00
tree-ssa-loop-ivcanon.c re PR tree-optimization/56817 (ICE in hide_evolution_in_other_loops_than_loop) 2013-04-03 13:41:13 +00:00
tree-ssa-loop-ivopts.c re PR tree-optimization/56878 (Issue with candidate choice in vect_gen_niters_for_prolog_loop.) 2013-04-11 11:21:18 +00:00
tree-ssa-loop-manip.c expr.c (build_java_binop): Pass a type to build_int_cst. 2013-04-09 10:48:59 +00:00
tree-ssa-loop-niter.c re PR tree-optimization/53265 (Warn when undefined behavior implies smaller iteration count) 2013-03-14 10:13:36 +01:00
tree-ssa-loop-prefetch.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop-unswitch.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-math-opts.c re PR tree-optimization/55524 (If fnma exists but not fms, convert_mult_to_fma should prefer to former over the latter.) 2013-04-10 10:54:25 +01:00
tree-ssa-operands.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-operands.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-phiopt.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-phiprop.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-pre.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-propagate.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-propagate.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-reassoc.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-sccvn.c re PR tree-optimization/56661 (Incorrect code with -O1 -ftree-pre) 2013-03-20 13:26:19 +00:00
tree-ssa-sccvn.h re PR tree-optimization/56384 (ICE in fold_binary_loc, at fold-const.c:10422) 2013-02-19 12:10:48 +00:00
tree-ssa-sink.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-strlen.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-ssa-structalias.c re PR target/56716 (during gcc 4.8.0 build on Cygwin: bid128_fma.c:4460:1: internal compiler error: Segmentation fault) 2013-03-27 15:10:50 +00:00
tree-ssa-tail-merge.c re PR tree-optimization/56150 (ICE segfault in do_pre / tail_merge_optimize) 2013-01-31 08:52:56 +00:00
tree-ssa-ter.c tree-ssa-ter.c (is_replaceable_p): Do not TER across location or block changes with -Og. 2013-03-08 08:45:29 +00:00
tree-ssa-threadedge.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-threadupdate.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-uncprop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-uninit.c PR/56490 2013-03-02 18:42:26 +00:00
tree-ssa.c re PR middle-end/56461 (GCC is leaking lots of memory) 2013-02-27 15:01:08 +01:00
tree-ssanames.c tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. 2013-02-20 15:19:13 +00:00
tree-stdarg.c re PR tree-optimization/56205 (stdarg pass confused by jump threading) 2013-02-05 16:54:39 +01:00
tree-stdarg.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-streamer-in.c tree.h (DECL_DEBUG_EXPR_IS_FROM): Rename to ... 2013-03-21 11:53:39 +00:00
tree-streamer-out.c tree.h (DECL_DEBUG_EXPR_IS_FROM): Rename to ... 2013-03-21 11:53:39 +00:00
tree-streamer.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-streamer.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-switch-conversion.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-tailcall.c re PR tree-optimization/56539 (ICE: verify_ssa failed: caused by -foptimize-sibling-calls) 2013-03-07 00:26:42 +01:00
tree-vect-data-refs.c re PR tree-optimization/56878 (Issue with candidate choice in vect_gen_niters_for_prolog_loop.) 2013-04-11 11:21:18 +00:00
tree-vect-generic.c tree-pass.h (PROP_gimple_lvec): New. 2013-03-21 21:11:56 +00:00
tree-vect-loop-manip.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
tree-vect-loop.c tree-vect-loop.c (get_initial_def_for_induction): Properly generate vector constants. 2013-04-11 14:03:09 +00:00
tree-vect-patterns.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-vect-slp.c tree-vectorizer.h (struct _slp_oprnd_info): Remove first_const_oprnd field, rename first_def_type to first_op_type. 2013-04-10 10:40:33 +00:00
tree-vect-stmts.c gimple-pretty-print.c (debug_gimple_stmt): Do not print extra newline. 2013-04-08 12:35:26 +00:00
tree-vectorizer.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree-vectorizer.h tree-vectorizer.h (struct _slp_oprnd_info): Remove first_const_oprnd field, rename first_def_type to first_op_type. 2013-04-10 10:40:33 +00:00
tree-vrp.c passes.c (execute_todo): Do not call ggc_collect conditional here. 2013-04-10 11:33:31 +00:00
tree.c stor-layout.c (skip_simple_constant_arithmetic): Move to... 2013-04-11 16:15:25 +00:00
tree.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree.h stor-layout.c (skip_simple_constant_arithmetic): Move to... 2013-04-11 16:15:25 +00:00
treestruct.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tsan.c re PR sanitizer/55702 (ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return()) 2013-04-03 16:01:38 +00:00
tsan.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tsystem.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
typeclass.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
valtrack.c re PR rtl-optimization/56571 (ICE in copyprop_hardreg_forward_1, at regcprop.c (insn does not satisfy its constraints !)) 2013-03-12 12:13:33 +00:00
valtrack.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
value-prof.c First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... 2013-04-08 17:39:10 +00:00
value-prof.h data-streamer-in.c (streamer_read_gcov_count): New function. 2013-03-28 15:29:40 +00:00
var-tracking.c tree.h (DECL_DEBUG_EXPR_IS_FROM): Rename to ... 2013-03-21 11:53:39 +00:00
varasm.c target.def (TARGET_HAS_IFUNC_P): New target hook. 2013-03-27 09:55:19 +00:00
varpool.c ipa.c (cgraph_externally_visible_p, [...]): Drop aliased parameter. 2013-04-09 22:45:38 +00:00
vec.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
vec.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
version.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
version.h
vmsdbg.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
vmsdbgout.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
web.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
xcoff.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
xcoffout.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
xcoffout.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00

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.