gcc/gcc
Joern Rennecke efdfdfa788 re PR go/47113 (go_field_alignment: field set but not used)
PR go/47113
	* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
	variable ‘field’ .

From-SVN: r168373
2010-12-31 12:24:12 +00:00
..
ada c-aux-info.c (gen_formal_list_for_type): Use prototype_p. 2010-12-22 19:45:58 +00:00
c-family In gcc/c-family/: 2010-12-29 Nicola Pero <nicola@nicola.brainstorm.co.uk> 2010-12-29 12:22:09 +00:00
config re PR target/47112 (mipstx39-*-elf*: Redefined target macros) 2010-12-31 11:48:03 +00:00
cp re PR c++/47068 ([C++0x] internal compiler error on decltype(~ expression)) 2010-12-28 21:17:47 -05:00
doc * doc/install.texi (Specific): Remove reference to interix.com. 2010-12-31 12:17:31 +00:00
fortran re PR fortran/47065 (Replace trim(a) by a(1:len_trim(a))) 2010-12-31 11:32:16 +00:00
ginclude
go re PR go/47113 (go_field_alignment: field set but not used) 2010-12-31 12:24:12 +00:00
java decl.c (java_init_decl_processing): Initialise integer_three_node. 2010-12-15 09:59:24 +00:00
lto c-aux-info.c (gen_formal_list_for_type): Use prototype_p. 2010-12-22 19:45:58 +00:00
objc Fixed typo in one of my last changelog entries 2010-12-30 22:03:02 +00:00
objcp In gcc/c-family/: 2010-12-29 Nicola Pero <nicola@nicola.brainstorm.co.uk> 2010-12-29 12:22:09 +00:00
po * ja.po: Update. 2010-12-31 11:57:00 +00:00
testsuite ieee.exp: Skip if pdp11. 2010-12-31 06:52:20 -05:00
ABOUT-GCC-NLS
acinclude.m4
aclocal.m4
addresses.h re PR rtl-optimization/44764 (ok_for_base_p_1: unused parameter regno) 2010-11-10 10:07:18 +00:00
alias.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
alias.h
alloc-pool.c
alloc-pool.h
attribs.c
auto-inc-dec.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
BASE-VER
basic-block.h re PR rtl-optimization/44374 (Hoist same instructions in different branches) 2010-12-14 00:23:40 +00:00
bb-reorder.c
bb-reorder.h
bitmap.c bitmap.c: Delete unnecessary includes. 2010-11-16 13:57:21 +00:00
bitmap.h
bt-load.c
builtin-attrs.def
builtin-types.def
builtins.c * builtins.c (SLOW_UNALIGNED_ACCESS): Remove. 2010-12-28 06:13:28 +00:00
builtins.def tree.c (build_common_builtin_nodes): Do not initialize BUILT_IN_PROFILE_FUNC_ENTER and BUILT_IN_PROFILE_FUNC_EXIT. 2010-12-01 16:45:36 +00:00
builtins.h
c-aux-info.c c-aux-info.c (gen_formal_list_for_type): Use prototype_p. 2010-12-22 19:45:58 +00:00
c-config-lang.in In gcc/: 2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com> 2010-12-06 00:56:06 +00:00
c-convert.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
c-decl.c re PR c/46889 (Missing diagnosis on duplicate struct member with anonymous union) 2010-12-30 18:24:03 +00:00
c-errors.c
c-lang.c
c-lang.h
c-objc-common.c
c-objc-common.h
c-parser.c In gcc/: 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com> 2010-12-18 20:28:07 +00:00
c-tree.h c-aux-info.c (gen_formal_list_for_type): Use prototype_p. 2010-12-22 19:45:58 +00:00
c-typeck.c c-typeck.c (readonly_error): Delete. 2010-12-10 14:20:26 +00:00
caller-save.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
calls.c builtins.c (std_gimplify_va_arg_expr): Use targetm.calls.function_arg_boundary. 2010-11-16 14:25:07 +00:00
cfg.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
cfganal.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
cfgbuild.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
cfgcleanup.c re PR rtl-optimization/44374 (Hoist same instructions in different branches) 2010-12-14 00:23:40 +00:00
cfgexpand.c re PR debug/46893 (ICE: in trunc_int_for_mode, at explow.c:56 with -O -g) 2010-12-16 18:14:30 +01:00
cfghooks.c
cfghooks.h
cfglayout.c re PR rtl-optimization/46777 (ICE: in rtl_verify_flow_info, at cfgrtl.c:2164 with -O -fgcse -fno-tree-dominator-opts -funroll-loops) 2010-12-06 20:28:09 +01:00
cfglayout.h
cfgloop.c cfgloop.c (verify_loop_structure): Use %' in diagnostics. 2010-11-10 23:23:15 +00:00
cfgloop.h
cfgloopanal.c
cfgloopmanip.c re PR tree-optimization/46107 (-ftree-loop-distribute-patterns caused verify_loop_structure problem) 2010-11-03 10:49:16 +01:00
cfgrtl.c mode-switching.c (optimize_mode_switching): Use FOR_BB_INSNS instead of open-coded for loop. 2010-11-19 19:56:01 +01:00
cgraph.c re PR tree-optimization/46053 (g++.dg/torture/pr45699.C FAILs with -fno-early-inlining) 2010-12-15 14:19:46 +01:00
cgraph.h re PR tree-optimization/46053 (g++.dg/torture/pr45699.C FAILs with -fno-early-inlining) 2010-12-15 14:19:46 +01:00
cgraphbuild.c gimple-fold.c (maybe_fold_reference): When canonicalizing MEM_REFs, preserve volatileness. 2010-11-22 13:18:48 +00:00
cgraphunit.c re PR tree-optimization/46053 (g++.dg/torture/pr45699.C FAILs with -fno-early-inlining) 2010-12-15 14:19:46 +01:00
ChangeLog * doc/install.texi (Specific): Remove reference to interix.com. 2010-12-31 12:17:31 +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.dataflow
ChangeLog.graphite Fix unused warnings. 2010-12-01 17:25:39 +00:00
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
cif-code.def
collect2-aix.c system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
collect2-aix.h
collect2.c Fix -fno-lto (PR lto/46905) 2010-12-19 19:36:25 +00:00
collect2.h
combine-stack-adj.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
combine.c hwint.c: New. 2010-11-30 16:36:19 +00:00
common.opt common.opt (N, [...]): New options. 2010-12-03 15:11:42 +00:00
conditions.h
config.build
config.gcc openbsd.opt: New. 2010-12-30 22:20:56 +00:00
config.host
config.in configure.ac (gcc_cv_ld_eh_frame_hdr): Only check GNU ld for --eh-frame-hdr. 2010-12-23 12:08:21 +00:00
configure configure.ac (gcc_cv_ld_eh_frame_hdr): Only check GNU ld for --eh-frame-hdr. 2010-12-23 12:08:21 +00:00
configure.ac configure.ac (gcc_cv_ld_eh_frame_hdr): Only check GNU ld for --eh-frame-hdr. 2010-12-23 12:08:21 +00:00
convert.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): New macro. 2010-11-23 16:06:37 +00:00
coverage.c
coverage.h
cppbuiltin.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
cppbuiltin.h
cppdefault.c system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
cppdefault.h
cppspec.c
crtstuff.c configure.ac (gcc_cv_ld_eh_frame_hdr): Only check GNU ld for --eh-frame-hdr. 2010-12-23 12:08:21 +00:00
cse.c
cselib.c basic-block.h (struct edge_prediction): Remove forward declaration. 2010-12-03 04:58:47 +00:00
cselib.h basic-block.h (struct edge_prediction): Remove forward declaration. 2010-12-03 04:58:47 +00:00
cstamp-h.in
DATESTAMP Daily bump. 2010-12-31 00:18:09 +00:00
dbgcnt.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
dbgcnt.def
dbgcnt.h
dbxout.c re PR debug/46724 (Wrong debug info: Invalid variable location) 2010-12-22 03:49:00 +00:00
dbxout.h
dce.c re PR rtl-optimization/46315 (-O2 -fno-strict-overflow causes wrong code generation) 2010-11-16 22:13:52 +00:00
dce.h
ddg.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
ddg.h
debug.c godump.c: New file. 2010-11-15 21:38:40 +00:00
debug.h godump.c: New file. 2010-11-15 21:38:40 +00:00
defaults.h system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
DEV-PHASE
df-core.c re PR rtl-optimization/44374 (Hoist same instructions in different branches) 2010-12-14 00:23:40 +00:00
df-problems.c re PR rtl-optimization/44374 (Hoist same instructions in different branches) 2010-12-14 00:23:40 +00:00
df-scan.c re PR bootstrap/44970 (Revision 162270 failed to bootstrap) 2010-11-22 16:20:16 +00:00
df.h re PR rtl-optimization/44374 (Hoist same instructions in different branches) 2010-12-14 00:23:40 +00:00
dfp.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
dfp.h
diagnostic-core.h diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
diagnostic.c re PR c/44782 (implement -ferror-limit=) 2010-11-12 03:38:15 +00:00
diagnostic.def
diagnostic.h re PR c/44782 (implement -ferror-limit=) 2010-11-12 03:38:15 +00:00
dojump.c
dominance.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
domwalk.c
domwalk.h
double-int.c hwint.c: New. 2010-11-30 16:36:19 +00:00
double-int.h Fix PR/46316 2010-11-09 02:01:06 +00:00
dse.c
dse.h
dwarf2asm.c dwarf2asm.c (dw2_output_indirect_constant_1): Set DECL_ASSEMBLER_NAME to prevent mangling with lto frontend. 2010-12-04 22:01:32 +00:00
dwarf2asm.h
dwarf2out.c c-aux-info.c (gen_formal_list_for_type): Use prototype_p. 2010-12-22 19:45:58 +00:00
dwarf2out.h
ebitmap.c bitmap.c: Delete unnecessary includes. 2010-11-16 13:57:21 +00:00
ebitmap.h
emit-rtl.c emit-rtl.c (set_mem_attributes_minus_bitpos): Explicitly derive default values from MEM mode if no memory attributes are present. 2010-12-30 13:28:05 +00:00
emit-rtl.h
emutls.c
errors.c
errors.h
et-forest.c bitmap.c: Delete unnecessary includes. 2010-11-16 13:57:21 +00:00
et-forest.h system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
except.c tree.h (struct call_expr_arg_iterator_d): Remove GTY tag. 2010-12-03 04:11:10 +00:00
except.h
exec-tool.in Check and export LT_RCU_$id instead of LT_RCU. 2010-11-29 14:18:35 -08:00
explow.c hwint.c: New. 2010-11-30 16:36:19 +00:00
expmed.c hwint.c: New. 2010-11-30 16:36:19 +00:00
expmed.h
expr.c re PR middle-end/45852 (volatile structs are broken!) 2010-12-21 09:35:16 +01:00
expr.h
final.c common.opt (main_input_filename, [...]): New Variable entries. 2010-12-01 13:46:36 +00:00
fixed-value.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
fixed-value.h
flag-types.h common.opt (user_vect_verbosity_level): New Variable entry. 2010-11-24 13:28:38 +00:00
flags.h common.opt (flag_stack_check): New Variable entry. 2010-12-01 13:58:52 +00:00
fold-const.c hwint.c: New. 2010-11-30 16:36:19 +00:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c re PR debug/46724 (Wrong debug info: Invalid variable location) 2010-12-22 03:49:00 +00:00
function.h tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): New macro. 2010-11-23 16:06:37 +00:00
fwprop.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
gbl-ctors.h
gcc-plugin.h Include coretypes.h in gcc-plugin.h & Add hard-reg-set.h in FUNCTION_H. 2010-11-30 07:13:29 +00:00
gcc.c common.opt (N, [...]): New options. 2010-12-03 15:11:42 +00:00
gcc.h
gccspec.c
gcov-dump.c
gcov-io.c
gcov-io.h
gcov-iov.c
gcov.c
gcse.c re PR rtl-optimization/46571 (bootstrap comparison failure in fortran/trans-openmp.c) 2010-11-21 09:19:37 -08:00
gcse.h
gdbinit.in
genattr.c
genattrtab.c hwint.c: New. 2010-11-30 16:36:19 +00:00
genautomata.c
gencheck.c
genchecksum.c
gencodes.c
genconditions.c hwint.c: New. 2010-11-30 16:36:19 +00:00
genconfig.c
genconstants.c
genemit.c hwint.c: New. 2010-11-30 16:36:19 +00:00
genenums.c
genextract.c hwint.c: New. 2010-11-30 16:36:19 +00:00
genflags.c
gengenrtl.c
gengtype-lex.l gengtype.c (get_output_file_name): Declaration moved to gengtype.h. 2010-11-09 07:36:26 +00:00
gengtype-parse.c gengtype.c (enum typekind, [...]): Move to gengtype.h. 2010-11-23 15:13:12 +00:00
gengtype-state.c gengtype-state.c (read_state_structures): Initialize "previous". 2010-11-25 22:50:53 +01:00
gengtype.c gentype-state.c: Add new file. 2010-11-25 19:03:27 +00:00
gengtype.h gentype-state.c: Add new file. 2010-11-25 19:03:27 +00:00
genhooks.c system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
genmddeps.c
genmodes.c
genmultilib
genopinit.c re PR bootstrap/44756 ([meta-bug] --enable-werror-always issues) 2010-11-04 20:51:43 +00:00
genoutput.c hwint.c: New. 2010-11-30 16:36:19 +00:00
genpeep.c hwint.c: New. 2010-11-30 16:36:19 +00:00
genpreds.c hwint.c: New. 2010-11-30 16:36:19 +00:00
genrecog.c hwint.c: New. 2010-11-30 16:36:19 +00:00
gensupport.c gensupport.c (MNEMONIC_ATTR_NAME, [...]): New macros. 2010-11-16 15:33:53 +00:00
gensupport.h
ggc-common.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
ggc-internal.h
ggc-none.c ggc-zone.c (ggc_pch_read): Fix conditional compilation. 2010-11-30 04:12:56 +00:00
ggc-page.c hwint.c: New. 2010-11-30 16:36:19 +00:00
ggc-zone.c hwint.c: New. 2010-11-30 16:36:19 +00:00
ggc.h
gimple-fold.c re PR tree-optimization/47074 (tree check fail in create_access_replacement) 2010-12-29 22:49:37 +01:00
gimple-iterator.c
gimple-low.c common.opt (main_input_filename, [...]): New Variable entries. 2010-12-01 13:46:36 +00:00
gimple-pretty-print.c gimple-pretty-print.c (dump_bb_header): Add check for cfun. 2010-11-22 19:01:20 +00:00
gimple-pretty-print.h
gimple.c re PR c++/44871 (Invalid type mismatches while merging C and C++ sources) 2010-12-02 12:24:46 +00:00
gimple.def
gimple.h re PR tree-optimization/45934 (g++.old-deja/g++.other/dtor5.C FAILs with -finline-small-functions) 2010-12-22 13:56:54 +01:00
gimplify.c gimplify.c (gimple_tree_eq): Assert hashes are equal only when checking is enabled. 2010-12-08 16:14:29 +00:00
glimits.h
godump.c godump.c: New file. 2010-11-15 21:38:40 +00:00
graph.c system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
graph.h
graphds.c
graphds.h
graphite-blocking.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
graphite-clast-to-gimple.c Use diagnostic-core.h instead of diagnostic.h. 2010-12-29 05:26:17 +00:00
graphite-clast-to-gimple.h
graphite-cloog-compat.h
graphite-cloog-util.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
graphite-cloog-util.h
graphite-dependences.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
graphite-dependences.h
graphite-flattening.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
graphite-interchange.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
graphite-poly.c Use diagnostic-core.h instead of diagnostic.h. 2010-12-29 05:26:17 +00:00
graphite-poly.h Postpone the rewrite out of SSA to the end of the translation to polyhedral representation. 2010-12-01 17:25:10 +00:00
graphite-ppl.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
graphite-ppl.h
graphite-scop-detection.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
graphite-scop-detection.h
graphite-sese-to-poly.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
graphite-sese-to-poly.h Postpone the rewrite out of SSA to the end of the translation to polyhedral representation. 2010-12-01 17:25:10 +00:00
graphite.c Use diagnostic-core.h instead of diagnostic.h. 2010-12-29 05:26:17 +00:00
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gthr-aix.h
gthr-dce.h
gthr-gnat.c
gthr-gnat.h
gthr-lynx.h
gthr-mipssde.h
gthr-nks.h
gthr-posix95.h
gthr-posix.c
gthr-posix.h
gthr-rtems.h
gthr-single.h
gthr-solaris.h
gthr-tpf.h
gthr-vxworks.h
gthr-win32.h
gthr.h
haifa-sched.c re PR target/43603 (gcc-4.4.3 ICE on ia64 with -O3) 2010-12-08 16:55:57 +03:00
hard-reg-set.h
highlev-plugin-common.h
hooks.c target.def (supports_split_stack, [...]): Take gcc_options parameters. 2010-11-25 13:16:03 +00:00
hooks.h target.def (supports_split_stack, [...]): Take gcc_options parameters. 2010-11-25 13:16:03 +00:00
host-default.c
hosthooks-def.h
hosthooks.h
hwint.c hwint.c: New. 2010-11-30 16:36:19 +00:00
hwint.h hwint.c: New. 2010-11-30 16:36:19 +00:00
ifcvt.c re PR rtl-optimization/44374 (Hoist same instructions in different branches) 2010-12-14 00:23:40 +00:00
implicit-zee.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
incpath.c system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
incpath.h
init-regs.c
input.c
input.h tree.h (struct call_expr_arg_iterator_d): Remove GTY tag. 2010-12-03 04:11:10 +00:00
insn-addr.h
insn-notes.def
integrate.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
integrate.h
intl.c intl.c: Don't include tm.h. 2010-12-01 17:29:12 +00:00
intl.h
ipa-cp.c re PR tree-optimization/45934 (g++.old-deja/g++.other/dtor5.C FAILs with -finline-small-functions) 2010-12-22 13:56:54 +01:00
ipa-inline.c re PR ipa/44563 (GCC uses a lot of RAM when compiling a large numbers of functions) 2010-12-17 00:08:02 +00:00
ipa-prop.c re PR tree-optimization/45934 (g++.old-deja/g++.other/dtor5.C FAILs with -finline-small-functions) 2010-12-22 13:56:54 +01:00
ipa-prop.h re PR tree-optimization/46053 (g++.dg/torture/pr45699.C FAILs with -fno-early-inlining) 2010-12-15 14:19:46 +01:00
ipa-pure-const.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
ipa-ref-inline.h
ipa-ref.c
ipa-ref.h
ipa-reference.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
ipa-reference.h
ipa-split.c invoke.texi (-fwhopr): Merge into -flto section. 2010-11-11 22:54:53 +00:00
ipa-struct-reorg.c hwint.c: New. 2010-11-30 16:36:19 +00:00
ipa-struct-reorg.h
ipa-type-escape.c c-aux-info.c (gen_formal_list_for_type): Use prototype_p. 2010-12-22 19:45:58 +00:00
ipa-type-escape.h
ipa-utils.c
ipa-utils.h
ipa.c ipa.c (cgraph_remove_unreachable_nodes): Update former_clone_of even when not checking. 2010-12-23 17:12:07 +01:00
ira-build.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
ira-color.c hwint.c: New. 2010-11-30 16:36:19 +00:00
ira-conflicts.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
ira-costs.c rtl.h (invalid_mode_change_p): Adjust prototype. 2010-12-09 10:00:25 +00:00
ira-emit.c
ira-int.h
ira-lives.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
ira.c re PR rtl-optimization/46755 (ICE: in calc_dfs_tree, at dominance.c:395 with -O) 2010-12-21 14:55:41 +00:00
ira.h
jump.c re PR debug/46756 (-fcompare-debug failure (length) with ASSIGN) 2010-12-13 03:08:24 +00:00
lambda-code.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
lambda-mat.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
lambda-trans.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
lambda.h builtins.c (fold_builtin_signbit): Use build_zero_cst instead of fold_convert. 2010-11-03 00:49:00 +00:00
langhooks-def.h invoke.texi (-dy): Remove. 2010-11-17 14:31:07 +00:00
langhooks.c invoke.texi (-dy): Remove. 2010-11-17 14:31:07 +00:00
langhooks.h invoke.texi (-dy): Remove. 2010-11-17 14:31:07 +00:00
LANGUAGES
lcm.c
libfuncs.h
libgcc2.c
libgcc2.h
libgcc-libsystem.ver
libgcc-std.ver
libgcov.c defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): Move under ifdef GCC_INSN_FLAGS_H. 2010-11-01 20:38:40 +00:00
limitx.h
limity.h
lists.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
longlong.h
loop-doloop.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
loop-init.c
loop-invariant.c
loop-iv.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
loop-unroll.c loop-unroll.c (analyze_insn_to_expand_var): Accept 2010-11-15 15:20:13 -08:00
loop-unswitch.c
lower-subreg.c re PR middle-end/46292 (FAIL: gcc.c-torture/execute/vector-shift2.c compilation, -O3 -g) 2010-11-04 17:06:45 +01:00
lto-cgraph.c Makefile.in (LTO_STREAMER_H): Add GCOV_IO_H. 2010-12-04 22:00:12 +00:00
lto-compress.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
lto-compress.h
lto-opts.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
lto-section-in.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
lto-section-out.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
lto-streamer-in.c * lto-streamer-in.c (input_cfg): Fix pasto. 2010-12-05 01:22:12 +00:00
lto-streamer-out.c re PR lto/46879 (ICE: in separate_decls_in_region_debug_bind, at tree-parloops.c:778 with -flto -ftree-parallelize-loops -gdwarf-3) 2010-12-13 18:37:20 +01:00
lto-streamer.c
lto-streamer.h re PR driver/46760 (LTO bootstrap doesn't work with FDO) 2010-12-04 19:35:23 +00:00
lto-symtab.c re PR lto/46940 (asm aliases with linker plugin segfaults) 2010-12-14 23:22:23 +00:00
lto-wrapper.c system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
machmode.def
machmode.h
main.c
Makefile.in Use diagnostic-core.h instead of diagnostic.h. 2010-12-29 05:26:17 +00:00
matrix-reorg.c hwint.c: New. 2010-11-30 16:36:19 +00:00
mcf.c
mips-tdump.c
mips-tfile.c system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
mkconfig.sh
mkmap-flat.awk
mkmap-symver.awk
mode-classes.def
mode-switching.c mode-switching.c (optimize_mode_switching): Use FOR_BB_INSNS instead of open-coded for loop. 2010-11-19 19:56:01 +01:00
modulo-sched.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
omega.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
omega.h
omp-builtins.def
omp-low.c hwint.c: New. 2010-11-30 16:36:19 +00:00
ONEWS
opt-functions.awk options.texi (Enum, EnumValue): Document new record types. 2010-11-26 23:18:28 +00:00
opt-gather.awk
opt-include.awk Add PowerPC target attribute/pragma support 2010-11-19 17:27:18 +00:00
optabs.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
optabs.h tree.def (FMA_EXPR): New tree code. 2010-11-04 10:56:22 +00:00
optc-gen.awk options.texi (Enum, EnumValue): Document new record types. 2010-11-26 23:18:28 +00:00
opth-gen.awk options.texi (Enum, EnumValue): Document new record types. 2010-11-26 23:18:28 +00:00
opts-common.c options.texi (Enum, EnumValue): Document new record types. 2010-11-26 23:18:28 +00:00
opts-diagnostic.h
opts-global.c common.opt (main_input_filename, [...]): New Variable entries. 2010-12-01 13:46:36 +00:00
opts.c re PR middle-end/46916 (gcc.dg/torture/stackalign/non-local-goto-[1,2].c ICEs compiler due to r167727) 2010-12-20 10:14:36 +00:00
opts.h options.texi (Enum, EnumValue): Document new record types. 2010-11-26 23:18:28 +00:00
output.h common.opt (main_input_filename, [...]): New Variable entries. 2010-12-01 13:46:36 +00:00
params.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
params.def re PR c++/45330 (Suggest likely nested-name-specifiers for undeclared identifiers.) 2010-12-07 13:46:29 +00:00
params.h
passes.c system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
plugin.c common.opt (main_input_filename, [...]): New Variable entries. 2010-12-01 13:46:36 +00:00
plugin.def
plugin.h
pointer-set.c
pointer-set.h
postreload-gcse.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
postreload.c re PR rtl-optimization/47008 (gfortran.dg/extends_{23}.f03 FAIL with -Os -fschedule-insns) 2010-12-21 15:51:42 +01:00
predict.c re PR tree-optimization/46939 (http://blog.regehr.org/archives/320 example 6) 2010-12-16 01:27:23 +00:00
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c
pretty-print.h
print-rtl.c
print-tree.c
profile.c value-prof.c (value_prof_hooks): Remove. 2010-12-21 22:58:57 +00:00
profile.h
read-md.c
read-md.h
read-rtl.c
README.Portability
real.c hwint.c: New. 2010-11-30 16:36:19 +00:00
real.h
realmpfr.c
realmpfr.h
recog.c hwint.c: New. 2010-11-30 16:36:19 +00:00
recog.h
reg-notes.def
reg-stack.c
regcprop.c Continue searching in find_oldest_value_reg on class match failure. 2010-12-17 14:51:25 -08:00
reginfo.c reginfo.c (struct subregs_of_mode_node): Remove. 2010-12-09 10:01:18 +00:00
regmove.c re PR rtl-optimization/46804 (gfortran.dg/char_cshift_2.f90 FAILs with -fregmove) 2010-12-10 17:40:51 +01:00
regrename.c re PR middle-end/46844 (regrename.c:312:22: error: unused parameter 'reg') 2010-12-08 17:43:14 +01:00
regs.h
regset.h
regstat.c
reload1.c re PR target/44606 (Wrong SPE floating point during computation) 2010-12-30 15:47:43 +00:00
reload.c hwint.c: New. 2010-11-30 16:36:19 +00:00
reload.h
reorg.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
resource.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
resource.h Fix typo in the comment. 2010-11-19 01:51:07 +00:00
rtl-error.c
rtl-error.h
rtl.c re PR rtl-optimization/46865 (Using -save-temps (or ccache, distcc) produces different results with multiline macros containing asm code) 2010-12-10 13:43:45 +01:00
rtl.def
rtl.h rtl.h (invalid_mode_change_p): Adjust prototype. 2010-12-09 10:00:25 +00:00
rtlanal.c hwint.c: New. 2010-11-30 16:36:19 +00:00
rtlhooks-def.h
rtlhooks.c
sbitmap.c
sbitmap.h
sched-deps.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
sched-ebb.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
sched-int.h Model decoder of Core 2/i7 for multipass scheduling. 2010-11-02 16:02:09 +00:00
sched-rgn.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
sched-vis.c re PR rtl-optimization/46875 (ICE: verify_flow_info failed: too many outgoing branch edges from bb 3 with -Os -fselective-scheduling2) 2010-12-14 15:43:47 +03:00
sdbout.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
sdbout.h
sel-sched-dump.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
sel-sched-dump.h
sel-sched-ir.c re PR rtl-optimization/47036 (ICE: in move_cond_jump, at sel-sched.c:4901 with -fschedule-insns -fselective-scheduling -fno-dce) 2010-12-24 17:19:23 +03:00
sel-sched-ir.h re PR rtl-optimization/45354 (ICE with -fselective-scheduling and -freorder-blocks-and-partition) 2010-12-03 15:04:16 +03:00
sel-sched.c re PR rtl-optimization/47036 (ICE: in move_cond_jump, at sel-sched.c:4901 with -fschedule-insns -fselective-scheduling -fno-dce) 2010-12-24 17:19:23 +03:00
sel-sched.h
sese.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
sese.h Fix PR47019: parameters of a SCoP are SCEV analyzable. 2010-12-22 21:19:34 +00:00
simplify-rtx.c hwint.c: New. 2010-11-30 16:36:19 +00:00
sparseset.c
sparseset.h system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
sreal.c bitmap.c: Delete unnecessary includes. 2010-11-16 13:57:21 +00:00
sreal.h
ssaexpand.h
stab.def
stack-ptr-mod.c
statistics.c bitmap.c: Delete unnecessary includes. 2010-11-16 13:57:21 +00:00
statistics.h
stmt.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
stor-layout.c hwint.c: New. 2010-11-30 16:36:19 +00:00
store-motion.c
stringpool.c bitmap.c: Delete unnecessary includes. 2010-11-16 13:57:21 +00:00
sync-builtins.def
system.h svr4.h: Remove. 2010-12-22 12:06:01 +00:00
target-def.h
target-globals.c
target-globals.h
target.def re PR middle-end/46674 (Weak alias is mistakenly optimized away) 2010-12-10 14:28:58 +00:00
target.h
targhooks.c re PR middle-end/46674 (Weak alias is mistakenly optimized away) 2010-12-10 14:28:58 +00:00
targhooks.h re PR middle-end/46674 (Weak alias is mistakenly optimized away) 2010-12-10 14:28:58 +00:00
timevar.c system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
timevar.def timevar.def (TV_IPA_OPT, [...]): New. 2010-11-17 15:18:08 +00:00
timevar.h
tlink.c system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
toplev.c common.opt (flag_stack_check): New Variable entry. 2010-12-01 13:58:52 +00:00
toplev.h common.opt (main_input_filename, [...]): New Variable entries. 2010-12-01 13:46:36 +00:00
tracer.c
tree-affine.c re PR lto/46664 (Failed to build 481.wrf in SPEC CPU 2006 with LTO) 2010-11-26 12:42:41 +00:00
tree-affine.h
tree-browser.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
tree-browser.def
tree-call-cdce.c
tree-cfg.c common.opt (main_input_filename, [...]): New Variable entries. 2010-12-01 13:46:36 +00:00
tree-cfgcleanup.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-chrec.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
tree-chrec.h
tree-complex.c
tree-data-ref.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
tree-data-ref.h Fix PR47002: memory leaks. 2010-12-23 16:25:52 +00:00
tree-dfa.c hwint.c: New. 2010-11-30 16:36:19 +00:00
tree-diagnostic.c
tree-diagnostic.h
tree-dump.c common.opt (main_input_filename, [...]): New Variable entries. 2010-12-01 13:46:36 +00:00
tree-dump.h
tree-eh.c re PR middle-end/45172 (internal compiler error: verify_flow_info failed) 2010-11-16 11:42:50 +00:00
tree-emutls.c re PR middle-end/46510 (r166812 breaks bootstrap on x86_64-apple-darwin10) 2010-11-21 23:02:15 +00:00
tree-flow-inline.h
tree-flow.h basic-block.h (struct edge_prediction): Remove forward declaration. 2010-12-03 04:58:47 +00:00
tree-if-conv.c Fix PR47002: memory leaks. 2010-12-23 16:25:52 +00:00
tree-inline.c re PR target/47000 (Failure to inline SSE intrinsics) 2010-12-21 10:30:33 +00:00
tree-inline.h re PR tree-optimization/40436 (0.5% code size regression caused by r147852) 2010-11-10 02:35:19 +00:00
tree-into-ssa.c timevar.def (TV_IPA_OPT, [...]): New. 2010-11-17 15:18:08 +00:00
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
tree-loop-linear.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
tree-mudflap.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-mudflap.h
tree-nested.c bootstrap-lto.mk (BOOT_ADAFLAGS): Delete. 2010-11-27 15:53:23 +00:00
tree-nomudflap.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-nrv.c
tree-object-size.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-optimize.c timevar.def (TV_IPA_OPT, [...]): New. 2010-11-17 15:18:08 +00:00
tree-outof-ssa.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-parloops.c re PR tree-optimization/47060 (ICE: SIGSEGV in reduction_phi (tree-parloops.c:212) with -O -ffast-math -ftree-parallelize-loops=2 -fno-tree-dce) 2010-12-30 09:24:58 +01:00
tree-pass.h
tree-phinodes.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-predcom.c Fix PR47002: memory leaks. 2010-12-23 16:25:52 +00:00
tree-pretty-print.c re PR debug/46307 (ICE with FMA_EXPR in DEBUG stmts) 2010-11-05 10:00:50 +01:00
tree-pretty-print.h
tree-profile.c value-prof.c (value_prof_hooks): Remove. 2010-12-21 22:58:57 +00:00
tree-scalar-evolution.c Do not include unnecessary .h files. 2010-12-28 17:09:16 +00:00
tree-scalar-evolution.h
tree-sra.c ipa-prop.h (struct ipa_parm_adjustment): New field alias_ptr_type. 2010-12-09 16:16:22 +01:00
tree-ssa-address.c
tree-ssa-alias.c hwint.c: New. 2010-11-30 16:36:19 +00:00
tree-ssa-alias.h
tree-ssa-ccp.c re PR tree-optimization/46053 (g++.dg/torture/pr45699.C FAILs with -fno-early-inlining) 2010-12-15 14:19:46 +01:00
tree-ssa-coalesce.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-ssa-copy.c Fix PR45230, PR45231, and PR45370: fold_stmt_inplace after replace_exp. 2010-12-08 23:01:40 +00:00
tree-ssa-copyrename.c re PR tree-optimization/46806 (-O3 implies 0 <= 8 <= 7) 2010-12-06 12:53:38 +00:00
tree-ssa-dce.c re PR tree-optimization/46498 (ICE: in eliminate_unnecessary_stmts, at tree-ssa-dce.c:1112 with -O -funsafe-math-optimizations -fno-tree-dominator-opts -fno-tree-reassoc) 2010-11-17 10:43:21 +00:00
tree-ssa-dom.c
tree-ssa-dse.c
tree-ssa-forwprop.c re PR tree-optimization/46461 (ICE: invalid argument to gimple call at -O with __builtin_memset()) 2010-11-15 23:30:15 +01:00
tree-ssa-ifcombine.c
tree-ssa-live.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-ssa-live.h
tree-ssa-loop-ch.c
tree-ssa-loop-im.c re PR tree-optimization/46864 (ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions) 2010-12-10 13:42:12 +01:00
tree-ssa-loop-ivcanon.c
tree-ssa-loop-ivopts.c re PR debug/46150 (-fcompare-debug failure (length) with -fPIC -O2) 2010-11-11 09:09:46 +01:00
tree-ssa-loop-manip.c re PR middle-end/46885 (ICE: in gsi_insert_seq_nodes_after, at gimple-iterator.c:251 with -ftree-parallelize-loops -g) 2010-12-14 15:11:16 +01:00
tree-ssa-loop-niter.c hwint.c: New. 2010-11-30 16:36:19 +00:00
tree-ssa-loop-prefetch.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-ssa-loop-unswitch.c
tree-ssa-loop.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-ssa-math-opts.c re PR tree-optimization/46832 (internal compiler error: Segmentation fault) 2010-12-07 12:36:40 +00:00
tree-ssa-operands.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-ssa-operands.h
tree-ssa-phiopt.c re PR tree-optimization/46009 (?: vectorized, very similar if is not) 2010-11-03 16:18:50 +01:00
tree-ssa-phiprop.c re PR middle-end/45310 (ICE: verify_stmts failed: Dead STMT in EH table with -O1 -fnon-call-exceptions) 2010-12-21 15:02:02 +00:00
tree-ssa-pre.c re PR tree-optimization/46165 (ICE: verify_flow_info failed when casting-out attribute noreturn with -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce) 2010-11-03 11:34:34 +01:00
tree-ssa-propagate.c re PR middle-end/46360 (ICE in release_defs, at tree-ssanames.c:313) 2010-11-09 12:54:32 +01:00
tree-ssa-propagate.h
tree-ssa-reassoc.c re PR tree-optimization/44545 (internal compiler error: in remove_unreachable_handlers, at tree-eh) 2010-11-16 14:15:55 +00:00
tree-ssa-sccvn.c tree-ssa-sccvn.c (vn_reference_lookup_3): Always punt if the call to get_ref_base_and_extent returns -1 as the max size. 2010-12-16 22:35:35 +00:00
tree-ssa-sccvn.h
tree-ssa-sink.c
tree-ssa-structalias.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-ssa-ter.c re PR tree-optimization/43655 (-ftree-ter causes FAIL: g++.old-deja/g++.law/temps5.C execution test) 2010-12-16 22:44:02 +01:00
tree-ssa-threadedge.c
tree-ssa-threadupdate.c
tree-ssa-uncprop.c
tree-ssa-uninit.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
tree-ssa.c c-aux-info.c (gen_formal_list_for_type): Use prototype_p. 2010-12-22 19:45:58 +00:00
tree-ssanames.c timevar.def (TV_IPA_OPT, [...]): New. 2010-11-17 15:18:08 +00:00
tree-stdarg.c
tree-stdarg.h
tree-switch-conversion.c system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. 2010-11-29 14:09:41 +00:00
tree-tailcall.c target.def (supports_split_stack, [...]): Take gcc_options parameters. 2010-11-25 13:16:03 +00:00
tree-vect-data-refs.c Fix PR47002: memory leaks. 2010-12-23 16:25:52 +00:00
tree-vect-generic.c passes.c (init_optimization_passes): Move veclower after SSA. 2010-11-04 10:54:33 +00:00
tree-vect-loop-manip.c re PR debug/46931 (Subversion id 167184 breaks building perlbench on power7 with debug) 2010-12-28 20:20:29 +00:00
tree-vect-loop.c Fix PR47002: memory leaks. 2010-12-23 16:25:52 +00:00
tree-vect-patterns.c re PR tree-optimization/46663 (ICE: SIGSEGV in vect_recog_pow_pattern (gimple.h:2055) with -O -fexceptions -ftree-vectorize) 2010-12-02 11:47:12 +00:00
tree-vect-slp.c Fix PR47002: memory leaks. 2010-12-23 16:25:52 +00:00
tree-vect-stmts.c re PR tree-optimization/46723 (internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431) 2010-12-02 16:23:20 +00:00
tree-vectorizer.c common.opt (user_vect_verbosity_level): New Variable entry. 2010-11-24 13:28:38 +00:00
tree-vectorizer.h Fix PR47002: memory leaks. 2010-12-23 16:25:52 +00:00
tree-vrp.c hwint.c: New. 2010-11-30 16:36:19 +00:00
tree.c tree.c (get_binfo_at_offset): Use BINFO_TYPE instead of TREE_TYPE, compare TYPE_MAIN_VARIANTs of types. 2010-12-26 22:01:11 +01:00
tree.def tree.def (FMA_EXPR): New tree code. 2010-11-04 10:56:22 +00:00
tree.h re PR debug/46724 (Wrong debug info: Invalid variable location) 2010-12-22 03:49:00 +00:00
treestruct.def
tsystem.h
typeclass.h
unwind-c.c
unwind-compat.c
unwind-compat.h
unwind-dw2-fde-compat.c
unwind-dw2-fde-darwin.c
unwind-dw2-fde-glibc.c configure.ac (gcc_cv_ld_eh_frame_hdr): Only check GNU ld for --eh-frame-hdr. 2010-12-23 12:08:21 +00:00
unwind-dw2-fde.c
unwind-dw2-fde.h
unwind-dw2.c
unwind-dw2.h
unwind-generic.h
unwind-pe.h
unwind-sjlj.c
unwind.inc
value-prof.c value-prof.c (value_prof_hooks): Remove. 2010-12-21 22:58:57 +00:00
value-prof.h value-prof.c (value_prof_hooks): Remove. 2010-12-21 22:58:57 +00:00
var-tracking.c re PR debug/46724 (Wrong debug info: Invalid variable location) 2010-12-22 03:49:00 +00:00
varasm.c re PR middle-end/46674 (Weak alias is mistakenly optimized away) 2010-12-19 11:14:19 +00:00
varpool.c cgraph.c (ld_plugin_symbol_resolution_names): New. 2010-11-20 21:10:46 +00:00
vec.c
vec.h
vecir.h
vecprim.h
version.c
version.h
vmsdbg.h
vmsdbgout.c re PR target/47101 (ia64-hp-vms: main_input_filename clash) 2010-12-30 14:19:06 +00:00
web.c diagnostic-core.h: Include bversion.h. 2010-11-30 11:41:24 +00:00
xcoff.h
xcoffout.c common.opt (main_input_filename, [...]): New Variable entries. 2010-12-01 13:46:36 +00:00
xcoffout.h

Copyright (C) 2000, 2003 Free Software Foundation, Inc.

This file is intended to contain a few notes about writing C code
within GCC so that it compiles without error on the full range of
compilers GCC needs to be able to compile on.

The problem is that many ISO-standard constructs are not accepted by
either old or buggy compilers, and we keep getting bitten by them.
This knowledge until know has been sparsely spread around, so I
thought I'd collect it in one useful place.  Please add and correct
any problems as you come across them.

I'm going to start from a base of the ISO C90 standard, since that is
probably what most people code to naturally.  Obviously using
constructs introduced after that is not a good idea.

For the complete coding style conventions used in GCC, please read
http://gcc.gnu.org/codingconventions.html


String literals
---------------

Irix6 "cc -n32" and OSF4 "cc" have problems with constant string
initializers with parens around it, e.g.

const char string[] = ("A string");

This is unfortunate since this is what the GNU gettext macro N_
produces.  You need to find a different way to code it.

Some compilers like MSVC++ have fairly low limits on the maximum
length of a string literal; 509 is the lowest we've come across.  You
may need to break up a long printf statement into many smaller ones.


Empty macro arguments
---------------------

ISO C (6.8.3 in the 1990 standard) specifies the following:

If (before argument substitution) any argument consists of no
preprocessing tokens, the behavior is undefined.

This was relaxed by ISO C99, but some older compilers emit an error,
so code like

#define foo(x, y) x y
foo (bar, )

needs to be coded in some other way.


free and realloc
----------------

Some implementations crash upon attempts to free or realloc the null
pointer.  Thus if mem might be null, you need to write

  if (mem)
    free (mem);


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.