gcc/gcc
Kaveh R. Ghazi ece3f6639d arith.c (hollerith2representation): Fix for -Wc++-compat.
* arith.c (hollerith2representation): Fix for -Wc++-compat.
	* array.c (gfc_get_constructor): Likewise.
	* decl.c (gfc_get_data_variable, gfc_get_data_value, gfc_get_data,
	create_enum_history, gfc_match_final_decl): Likewise.
	* error.c (error_char): Likewise.
	* expr.c (gfc_get_expr, gfc_copy_expr): Likewise.
	* gfortran.h (gfc_get_charlen, gfc_get_array_spec,
	gfc_get_component, gfc_get_formal_arglist, gfc_get_actual_arglist,
	gfc_get_namelist, gfc_get_omp_clauses, gfc_get_interface,
	gfc_get_common_head, gfc_get_dt_list, gfc_get_array_ref,
	gfc_get_ref, gfc_get_equiv, gfc_get_case, gfc_get_iterator,
	gfc_get_alloc, gfc_get_wide_string): Likewise.
	* interface.c (count_types_test): Likewise.
	* intrinsic.c (add_char_conversions, gfc_intrinsic_init_1):
	Likewise.
	* io.c (gfc_match_open, gfc_match_close, match_filepos, match_io,
	gfc_match_inquire, gfc_match_wait): Likewise.
	* match.c (gfc_match, match_forall_iterator): Likewise.
	* module.c (gfc_get_pointer_info, gfc_get_use_rename, add_fixup,
	add_true_name, parse_string, write_atom, quote_string,
	mio_symtree_ref, mio_gmp_real, write_common_0): Likewise.
	* options.c (gfc_post_options): Likewise.
	* primary.c (match_integer_constant, match_hollerith_constant,
	match_boz_constant, match_real_constant,
	gfc_get_structure_ctor_component, gfc_match_structure_constructor): Likewise.
	* scanner.c (gfc_widechar_to_char, add_path_to_list,
	add_file_change, load_line, get_file, preprocessor_line,
	load_file, unescape_filename, gfc_read_orig_filename): Likewise.
	* simplify.c (gfc_simplify_ibits, gfc_simplify_ishft,
	gfc_simplify_ishftc): Likewise.
	* symbol.c (gfc_get_st_label, gfc_get_namespace, gfc_new_symtree,
	gfc_get_uop, gfc_new_symbol, save_symbol_data, gfc_get_gsymbol):
	Likewise.
	* target-memory.c (gfc_target_interpret_expr): Likewise.
	* trans-const.c (gfc_build_wide_string_const): Likewise.
	* trans-expr.c (gfc_add_interface_mapping): Likewise.
	* trans-intrinsic.c (gfc_conv_intrinsic_conversion,
	gfc_conv_intrinsic_int, gfc_conv_intrinsic_lib_function,
	gfc_conv_intrinsic_cmplx, gfc_conv_intrinsic_ctime,
	gfc_conv_intrinsic_fdate, gfc_conv_intrinsic_ttynam,
	gfc_conv_intrinsic_minmax, gfc_conv_intrinsic_minmax_char,
	gfc_conv_intrinsic_ishftc, gfc_conv_intrinsic_index_scan_verify,
	gfc_conv_intrinsic_merge, gfc_conv_intrinsic_trim): Likewise.
	* trans.c (gfc_get_backend_locus): Likewise.
	* trans.h (gfc_get_ss): Likewise.

From-SVN: r136982
2008-06-20 06:03:16 +00:00
..
ada re PR ada/36573 (s-intman.adb:232:50: "SA_ONSTACK" is undefined) 2008-06-20 05:06:24 +00:00
config i386.md (*jcc_fused_1): Use ASM_COMMENT_START instead of "#" in insn asm template. 2008-06-19 19:28:42 +02:00
cp cgraph.c (cgraph_add_new_function): When in expansion state, do lowering. 2008-06-18 13:39:43 +00:00
doc rtl.texi: Updated subreg section. 2008-06-20 03:26:10 +00:00
fortran arith.c (hollerith2representation): Fix for -Wc++-compat. 2008-06-20 06:03:16 +00:00
ginclude
java collect2.c (main, [...]): Fix for -Wc++-compat. 2008-06-20 03:46:09 +00:00
objc collect2.c (main, [...]): Fix for -Wc++-compat. 2008-06-20 03:46:09 +00:00
objcp
po
testsuite fmt_l.f90: Fix end of line test pattern. 2008-06-20 03:40:43 +00:00
ABOUT-GCC-NLS
acinclude.m4 configure.ac: Drop unneeded backslash ending up in config.in. 2008-06-02 19:37:45 +00:00
aclocal.m4
addresses.h
alias.c alias.c (get_alias_set): Use the element alias-set for arrays. 2008-06-11 18:19:28 +00:00
alias.h
alloc-pool.c
alloc-pool.h
attribs.c
auto-inc-dec.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
BASE-VER
basic-block.h predict.c (maybe_hot_frequency_p): Break out of... 2008-06-02 16:36:49 +00:00
bb-reorder.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
bitmap.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
bitmap.h
bt-load.c
builtin-attrs.def
builtin-types.def targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
builtins.c builtins.c (expand_builtin_nonlocal_goto): Stabilize r_sp before clobbering framepointer. 2008-06-19 18:00:12 +00:00
builtins.def targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
c-aux-info.c
c-common.c targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
c-common.def
c-common.h c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
c-config-lang.in
c-convert.c
c-cppbuiltin.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
c-decl.c cgraph.h (cgraph_mark_if_needed): New function. 2008-06-18 13:42:36 +00:00
c-dump.c
c-errors.c
c-format.c
c-format.h
c-gimplify.c
c-lang.c
c-lex.c c-lex.c (fe_file_change): Pass SOURCE_LINE to start_source_file debug hook. 2008-06-11 00:18:49 +00:00
c-objc-common.c
c-objc-common.h
c-omp.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
c-opts.c c-opts.c (c_common_post_options): PCH is not compatible with no-unit-at-a-time. 2008-06-18 19:07:51 +00:00
c-parser.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
c-pch.c
c-ppoutput.c
c-pragma.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
c-pragma.h c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
c-pretty-print.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
c-pretty-print.h
c-semantics.c
c-tree.h c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
c-typeck.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
c.opt omp-low.c (extract_omp_for_data): Fix comment typo. 2008-06-15 09:55:56 +00:00
caller-save.c
calls.c
cfg.c
cfganal.c
cfgbuild.c rtl.h (emit_clobber, [...]): Declare. 2008-06-01 09:47:28 +00:00
cfgcleanup.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
cfgexpand.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
cfghooks.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
cfghooks.h
cfglayout.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
cfglayout.h
cfgloop.c
cfgloop.h
cfgloopanal.c
cfgloopmanip.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
cfgrtl.c rtl.h (emit_clobber, [...]): Declare. 2008-06-01 09:47:28 +00:00
cgraph.c cgraph.c (cgraph_add_new_function): When in expansion state, do lowering. 2008-06-18 13:39:43 +00:00
cgraph.h cgraph.h (cgraph_mark_if_needed): New function. 2008-06-18 13:42:36 +00:00
cgraphbuild.c re PR c++/36523 (OpenMP task construct fails to instantiate copy constructor) 2008-06-20 04:18:07 +02:00
cgraphunit.c re PR c++/36523 (OpenMP task construct fails to instantiate copy constructor) 2008-06-20 04:18:07 +02:00
ChangeLog collect2.c (main, [...]): Fix for -Wc++-compat. 2008-06-20 03:46:09 +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.dataflow
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
collect2.c collect2.c (main, [...]): Fix for -Wc++-compat. 2008-06-20 03:46:09 +00:00
collect2.h
combine-stack-adj.c
combine.c Remove libcall notes. 2008-06-17 05:57:04 +00:00
common.opt tree-call-cdce.c: New file. 2008-06-04 21:49:45 +00:00
conditions.h
config.build
config.gcc config.gcc (mips64el-st-linux-gnu): Use mips/st.h and mips/t-st. 2008-06-18 08:28:07 +00:00
config.host config.gcc (mips64el-st-linux-gnu): Use mips/st.h and mips/t-st. 2008-06-18 08:28:07 +00:00
config.in configure.ac: Drop unneeded backslash ending up in config.in. 2008-06-02 19:37:45 +00:00
configure Makefile.tpl ($(srcdir)/configure): Update dependencies. 2008-06-17 23:13:35 +00:00
configure.ac configure.ac: Update gthr-default.h lazily, to avoid unneeded library rebuilds. 2008-06-14 09:53:00 +00:00
convert.c
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h
coverage.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
coverage.h
cppdefault.c
cppdefault.h
cppspec.c
crtstuff.c
cse.c Remove libcall notes. 2008-06-17 05:57:04 +00:00
cselib.c Remove libcall notes. 2008-06-17 05:57:04 +00:00
cselib.h Remove libcall notes. 2008-06-17 05:57:04 +00:00
cstamp-h.in
DATESTAMP Daily bump. 2008-06-20 00:17:08 +00:00
dbgcnt.c
dbgcnt.def
dbgcnt.h
dbxout.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
dbxout.h
dce.c df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
dce.h
ddg.c df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
ddg.h
debug.c
debug.h
defaults.h
DEV-PHASE
df-byte-scan.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
df-core.c df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
df-problems.c df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
df-scan.c df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
df.h df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
dfp.c dfp.h, [...]: Remove references to IEEE 754R. 2008-06-19 11:13:53 +10:00
dfp.h dfp.h, [...]: Remove references to IEEE 754R. 2008-06-19 11:13:53 +10:00
diagnostic.c
diagnostic.def
diagnostic.h
dojump.c
dominance.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
domwalk.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
domwalk.h
double-int.c
double-int.h
dse.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
dse.h
dummy-checksum.c
dwarf2.h
dwarf2asm.c
dwarf2asm.h
dwarf2out.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
dwarf2out.h
dwarf.h
ebitmap.c
ebitmap.h
emit-rtl.c Remove libcall notes. 2008-06-17 05:57:04 +00:00
emit-rtl.h
emutls.c
errors.c
errors.h
et-forest.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
et-forest.h
except.c targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
except.h * except.h: Correct checks for when SJLJ exceptions must be used. 2008-06-08 19:06:49 +00:00
exec-tool.in exec-tool.in: Use an environment variable (private) instead of a file (shared) as a semaphore... 2008-05-30 15:19:45 -04:00
explow.c rtl.h (emit_clobber, [...]): Declare. 2008-06-01 09:47:28 +00:00
expmed.c rtl.h (emit_clobber, [...]): Declare. 2008-06-01 09:47:28 +00:00
expr.c expr.c (store_field): Do a block copy from BLKmode to BLKmode-like. 2008-06-12 11:36:34 +00:00
expr.h
final.c
fix-header.c
fixed-value.c
fixed-value.h
fixproto
flags.h
fold-const.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
function.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
fwprop.c df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
gbl-ctors.h
gcc.c collect2.c (main, [...]): Fix for -Wc++-compat. 2008-06-20 03:46:09 +00:00
gcc.h
gccbug.in
gccspec.c
gcov-dump.c
gcov-io.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
gcov-io.h
gcov-iov.c
gcov.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
gcse.c Remove libcall notes. 2008-06-17 05:57:04 +00:00
gdbinit.in
gen-protos.c
genattr.c
genattrtab.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
genautomata.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
gencheck.c
genchecksum.c
gencodes.c
genconditions.c
genconfig.c
genconstants.c
genemit.c
genextract.c
genflags.c
gengenrtl.c
gengtype-lex.l
gengtype-parse.c
gengtype.c
gengtype.h
genmddeps.c
genmodes.c
genmultilib
genopinit.c
genoutput.c
genpeep.c
genpreds.c
genrecog.c
gensupport.c
gensupport.h
ggc-common.c
ggc-none.c
ggc-page.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ggc-zone.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ggc.h
gimple-low.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
gimplify.c re PR target/36362 (ICE in simplify_subreg) 2008-06-06 15:23:04 +02:00
glimits.h
global.c
graph.c
graph.h
graphds.c
graphds.h
gstab.h
gsyms.h
gsyslimits.h
gthr-aix.h
gthr-dce.h
gthr-gnat.c
gthr-gnat.h
gthr-lynx.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
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 cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
hard-reg-set.h
hooks.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
hooks.h c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
host-default.c
hosthooks-def.h
hosthooks.h
hwint.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ifcvt.c
incpath.c cpplib.h (struct cpp_dir): Add new field, canonical_name. 2008-05-30 00:57:56 +00:00
incpath.h
init-regs.c
input.h
insn-addr.h
insn-notes.def
integrate.c
integrate.h
intl.c
intl.h
ipa-cp.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ipa-inline.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ipa-prop.c
ipa-prop.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ipa-pure-const.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ipa-reference.c
ipa-reference.h
ipa-struct-reorg.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
ipa-struct-reorg.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ipa-type-escape.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ipa-type-escape.h
ipa-utils.c
ipa-utils.h
ipa.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
jump.c re PR rtl-optimization/35604 (Label references are not updated after edge insertion) 2008-06-18 19:16:05 +02:00
lambda-code.c
lambda-mat.c
lambda-trans.c
lambda.h
langhooks-def.h c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
langhooks.c
langhooks.h c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
LANGUAGES
lcm.c
libada-mk.in
libfuncs.h
libgcc2.c MAINTAINERS (mt port): Remove. 2008-06-07 19:00:15 +01:00
libgcc2.h
libgcc-std.ver
libgcov.c
limitx.h
limity.h
lists.c
local-alloc.c
longlong.h longlong.h (__arm__): Define count_leading_zeros. 2008-06-12 17:29:47 +00:00
loop-doloop.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
loop-init.c
loop-invariant.c df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
loop-iv.c
loop-unroll.c
loop-unswitch.c
lower-subreg.c Remove libcall notes. 2008-06-17 05:57:04 +00:00
machmode.def
machmode.h
main.c
Makefile.in Makefile.in (FLAGS_TO_PASS): Add $(datarootdir). 2008-06-16 17:58:14 +00:00
matrix-reorg.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
mips-tdump.c
mips-tfile.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
mkconfig.sh
mkmap-flat.awk cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
mkmap-symver.awk cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
mode-classes.def
mode-switching.c
modulo-sched.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
omega.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
omega.h
omp-builtins.def c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
omp-low.c re PR c++/36523 (OpenMP task construct fails to instantiate copy constructor) 2008-06-20 04:18:07 +02:00
ONEWS
opt-functions.awk
opt-gather.awk
optabs.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
optabs.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
optc-gen.awk
opth-gen.awk
opts-common.c
opts.c c-opts.c (c_common_post_options): PCH is not compatible with no-unit-at-a-time. 2008-06-18 19:07:51 +00:00
opts.h
output.h
params.c
params.def
params.h
passes.c * passes.c (execute_ipa_pass_list): Do not regenerate summaries. 2008-06-06 09:35:19 +00:00
pointer-set.c
pointer-set.h
postreload-gcse.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
postreload.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
predict.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c
pretty-print.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
print-rtl.c
print-tree.c
profile.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
protoize.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ra-conflict.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ra.h
read-rtl.c
README.Portability
real.c dfp.h, [...]: Remove references to IEEE 754R. 2008-06-19 11:13:53 +10:00
real.h dfp.h, [...]: Remove references to IEEE 754R. 2008-06-19 11:13:53 +10:00
recog.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
recog.h
reg-notes.def Remove libcall notes. 2008-06-17 05:57:04 +00:00
reg-stack.c
regclass.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
regmove.c
regrename.c
regs.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
regstat.c
reload1.c Remove libcall notes. 2008-06-17 05:57:04 +00:00
reload.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
reload.h
reorg.c
resource.c
resource.h
rtl-error.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
rtl-factoring.c
rtl.c
rtl.def
rtl.h rtl.h (emit_clobber, [...]): Declare. 2008-06-01 09:47:28 +00:00
rtlanal.c Remove libcall notes. 2008-06-17 05:57:04 +00:00
rtlhooks-def.h
rtlhooks.c
sbitmap.c
sbitmap.h
scan-decls.c
scan-types.sh
scan.c
scan.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
sched-deps.c Remove libcall notes. 2008-06-17 05:57:04 +00:00
sched-ebb.c
sched-int.h Remove libcall notes. 2008-06-17 05:57:04 +00:00
sched-rgn.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
sched-vis.c
sdbout.c
sdbout.h
see.c Remove libcall notes. 2008-06-17 05:57:04 +00:00
simplify-rtx.c re PR middle-end/36447 (simplify_subreg ICE with right shift more than length type AVR) 2008-06-09 22:38:34 +00:00
sort-protos
sparseset.c
sparseset.h
sreal.c
sreal.h
stab.def
stack-ptr-mod.c
statistics.c
statistics.h
stmt.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
stor-layout.c
stringpool.c
stub-objc.c
sync-builtins.def
sys-protos.h
sys-types.h
system.h system.h (-Wc++-compat): Activate as a warning, no an error. 2008-06-19 17:03:46 +00:00
target-def.h targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
target.h targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
targhooks.c targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
targhooks.h targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
timevar.c
timevar.def tree-call-cdce.c: New file. 2008-06-04 21:49:45 +00:00
timevar.h
tlink.c collect2.c (main, [...]): Fix for -Wc++-compat. 2008-06-20 03:46:09 +00:00
toplev.c
toplev.h
tracer.c
tree-affine.c
tree-affine.h
tree-browser.c
tree-browser.def
tree-call-cdce.c tree-call-cdce.c: New file. 2008-06-04 21:49:45 +00:00
tree-cfg.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
tree-cfgcleanup.c
tree-chrec.c
tree-chrec.h
tree-complex.c
tree-data-ref.c
tree-data-ref.h
tree-dfa.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-dump.c
tree-dump.h
tree-eh.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-flow-inline.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-flow.h re PR tree-optimization/36345 (TBAA-pruning of points-to sets ineffective) 2008-06-12 10:21:45 +00:00
tree-gimple.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
tree-gimple.h
tree-if-conv.c
tree-inline.c tree-inline.c (copy_body_r): Copy TREE_SIDE_EFFECTS along with TREE_THIS_VOLATILE on INDIRECT_REF nodes. 2008-06-12 12:10:06 +00:00
tree-inline.h
tree-into-ssa.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-loop-linear.c
tree-mudflap.c
tree-mudflap.h
tree-nested.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
tree-nomudflap.c
tree-nrv.c
tree-object-size.c
tree-optimize.c tree-optimize.c (execute_early_local_optimizations): Set cgraph_state only at first invocation. 2008-06-19 17:48:14 +00:00
tree-outof-ssa.c * tree-outof-ssa.c (pass_out_of_ssa): Do not depend on PROP_alias. 2008-06-18 13:37:45 +00:00
tree-parloops.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
tree-pass.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-phinodes.c
tree-predcom.c
tree-pretty-print.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
tree-profile.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-scalar-evolution.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-scalar-evolution.h re PR tree-optimization/34244 (VRP/SCEV miscompiles Firefox) 2008-05-31 13:01:10 +00:00
tree-sra.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-address.c re PR tree-optimization/36245 (internal compiler error: in build2_stat, at tree.c:3116) 2008-05-27 13:10:18 +00:00
tree-ssa-alias-warnings.c re PR tree-optimization/36345 (TBAA-pruning of points-to sets ineffective) 2008-06-12 10:21:45 +00:00
tree-ssa-alias.c re PR tree-optimization/36345 (TBAA-pruning of points-to sets ineffective) 2008-06-12 10:21:45 +00:00
tree-ssa-ccp.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-coalesce.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-copy.c
tree-ssa-copyrename.c
tree-ssa-dce.c
tree-ssa-dom.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-dse.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-forwprop.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-ifcombine.c tree-ssa-ifcombine.c (get_name_for_bit_test): Use CONVERT_EXPR_P. 2008-06-02 11:45:27 +02:00
tree-ssa-live.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-live.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-loop-ch.c
tree-ssa-loop-im.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-loop-ivcanon.c
tree-ssa-loop-ivopts.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-loop-manip.c
tree-ssa-loop-niter.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-loop-prefetch.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-loop-unswitch.c
tree-ssa-loop.c
tree-ssa-math-opts.c
tree-ssa-operands.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
tree-ssa-operands.h
tree-ssa-phiopt.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-phiprop.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-pre.c
tree-ssa-propagate.c tree-ssa-propagate.c (set_rhs): Preserve the histogram and the eh region information. 2008-05-28 20:15:10 +00:00
tree-ssa-propagate.h
tree-ssa-reassoc.c
tree-ssa-sccvn.c tree-ssa-sccvn.c: Fix format of comments. 2008-06-17 17:41:19 +02:00
tree-ssa-sccvn.h
tree-ssa-sink.c tree-flow.h (may_point_to_global_var): Declare. 2008-06-11 09:22:27 +00:00
tree-ssa-structalias.c re PR tree-optimization/36345 (TBAA-pruning of points-to sets ineffective) 2008-06-12 10:21:45 +00:00
tree-ssa-structalias.h
tree-ssa-ter.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-threadedge.c
tree-ssa-threadupdate.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-ssa-uncprop.c
tree-ssa.c re PR tree-optimization/36345 (TBAA-pruning of points-to sets ineffective) 2008-06-12 10:21:45 +00:00
tree-ssanames.c
tree-stdarg.c
tree-stdarg.h
tree-tailcall.c re PR middle-end/36326 (gimplification of aggregate copies introduces extra aggregate copy) 2008-05-27 14:28:02 +00:00
tree-vect-analyze.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-vect-generic.c
tree-vect-patterns.c
tree-vect-transform.c re PR tree-optimization/36493 (vectorizer aliasing bug) 2008-06-16 10:39:07 +00:00
tree-vectorizer.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree-vectorizer.h
tree-vn.c tree-vn.c: Fix typo in comment. 2008-06-18 21:35:15 +02:00
tree-vrp.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
tree.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
tree.def c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
tree.h c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02: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
unwind-dw2-fde.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
unwind-dw2-fde.h
unwind-dw2.c
unwind-dw2.h
unwind-generic.h targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
unwind-pe.h
unwind-sjlj.c
unwind.inc cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
value-prof.c value_prob.c (tree_divmod_fixed_value_transform): Use gcov_type. 2008-06-10 20:21:24 +00:00
value-prof.h tree-ssa-propagate.c (set_rhs): Preserve the histogram and the eh region information. 2008-05-28 20:15:10 +00:00
var-tracking.c
varasm.c
varpool.c
varray.c
varray.h
vec.c
vec.h
vecprim.h
version.c
version.h
vmsdbg.h
vmsdbgout.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
web.c df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
xcoff.h
xcoffout.c
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.