gcc/gcc
2008-09-02 18:10:54 +00:00
..
ada Make-lang.in: Allow s-oscons.{o,ali} to be built even without a separate libada directory. 2008-08-30 08:51:53 +00:00
config arm.c (arm_tune_cortex_a9): Define. 2008-09-02 15:01:52 +00:00
cp tree.c (protected_set_expr_location): New. 2008-09-01 15:02:27 +00:00
doc backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
fortran re PR fortran/37228 (F2008: Support g0.<d> edit descriptor) 2008-09-02 10:50:13 +02:00
ginclude
java
objc tree.c (protected_set_expr_location): New. 2008-09-01 15:02:27 +00:00
objcp
po * fi.po: New. 2008-08-30 23:21:56 +01:00
testsuite backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
ABOUT-GCC-NLS
acinclude.m4
aclocal.m4
addresses.h
alias.c [multiple changes] 2008-08-26 12:39:58 +00:00
alias.h
alloc-pool.c
alloc-pool.h
attribs.c Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} 2008-08-30 23:50:40 +00:00
auto-inc-dec.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
BASE-VER
basic-block.h postreload-gcse.c (eliminate_partially_redundant_loads): Use optimize_bb_for_size_p. 2008-08-31 12:52:07 +00:00
bb-reorder.c parse.c (parse_interface): Silence uninitialized var warning. 2008-08-30 10:38:55 +00:00
bitmap.c
bitmap.h
bt-load.c
builtin-attrs.def
builtin-types.def
builtins.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
builtins.def
c-aux-info.c
c-common.c tree.c (protected_set_expr_location): New. 2008-09-01 15:02:27 +00:00
c-common.def
c-common.h tree.c (protected_set_expr_location): New. 2008-09-01 15:02:27 +00:00
c-config-lang.in
c-convert.c
c-cppbuiltin.c
c-decl.c Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} 2008-08-30 23:50:40 +00:00
c-dump.c
c-errors.c
c-format.c
c-format.h
c-gimplify.c
c-lang.c
c-lex.c
c-objc-common.c
c-objc-common.h Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} 2008-08-30 23:50:40 +00:00
c-omp.c tree.c (protected_set_expr_location): New. 2008-09-01 15:02:27 +00:00
c-opts.c
c-parser.c tree.c (protected_set_expr_location): New. 2008-09-01 15:02:27 +00:00
c-pch.c
c-ppoutput.c * c-ppoutput.c (init_pp_output): Initialize src_line to 1. 2008-08-22 08:51:32 +00:00
c-pragma.c Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} 2008-08-30 23:50:40 +00:00
c-pragma.h
c-pretty-print.c
c-pretty-print.h
c-semantics.c
c-tree.h tree.c (protected_set_expr_location): New. 2008-09-01 15:02:27 +00:00
c-typeck.c tree.c (protected_set_expr_location): New. 2008-09-01 15:02:27 +00:00
c.opt
caller-save.c [multiple changes] 2008-08-26 12:39:58 +00:00
calls.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
cfg.c
cfganal.c
cfgbuild.c
cfgcleanup.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
cfgexpand.c
cfghooks.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
cfghooks.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
cfglayout.c
cfglayout.h
cfgloop.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
cfgloop.h backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
cfgloopanal.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
cfgloopmanip.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
cfgrtl.c
cgraph.c re PR tree-optimization/37095 (Trouble with covariant return) 2008-09-02 12:33:46 +02:00
cgraph.h cgraph.c (cgraph_remove_node): Do not remove nested nodes. 2008-08-29 16:41:35 +00:00
cgraphbuild.c
cgraphunit.c tree.c (build_function_type_skip_args, [...]): New functions. 2008-08-29 11:31:40 +00:00
ChangeLog * predict.c (pass_strip_predict_hints): Avoid bugs dump file. 2008-09-02 18:10:54 +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
ChangeLog.tuples
collect2.c
collect2.h
combine-stack-adj.c
combine.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
common.opt backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
conditions.h
config.build
config.gcc [multiple changes] 2008-08-28 12:18:44 -07:00
config.host
config.in backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
configure backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
configure.ac backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
convert.c
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h
coverage.c
coverage.h
cppdefault.c
cppdefault.h
cppspec.c
crtstuff.c
cse.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
cselib.c
cselib.h
cstamp-h.in
DATESTAMP Daily bump. 2008-09-02 00:16:42 +00:00
dbgcnt.c
dbgcnt.def sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
dbgcnt.h
dbxout.c re PR fortran/29635 (debug info of modules) 2008-08-29 20:41:19 +02:00
dbxout.h
dce.c
dce.h
ddg.c
ddg.h
debug.c re PR fortran/29635 (debug info of modules) 2008-08-29 20:41:19 +02:00
debug.h re PR fortran/29635 (debug info of modules) 2008-08-29 20:41:19 +02:00
defaults.h
DEV-PHASE
df-byte-scan.c
df-core.c
df-problems.c
df-scan.c
df.h
dfp.c
dfp.h
diagnostic.c
diagnostic.def
diagnostic.h
dojump.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
dominance.c
domwalk.c
domwalk.h
double-int.c
double-int.h
dse.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
dse.h
dummy-checksum.c
dwarf2.h
dwarf2asm.c
dwarf2asm.h
dwarf2out.c re PR debug/37287 (ICE (segfault) with new debugging patch) 2008-08-31 13:23:04 +02:00
dwarf2out.h
dwarf.h
ebitmap.c
ebitmap.h
emit-rtl.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
emit-rtl.h
emutls.c
errors.c
errors.h
et-forest.c
et-forest.h
except.c
except.h
exec-tool.in
explow.c
expmed.c * expmed.c (expand_divmod): Fix test of smod_pow2_cheap and sdiv_pow2_cheap 2008-09-02 18:09:05 +00:00
expr.c expr.c (emit_group_store): Don't assert stack temp mode size. 2008-09-02 09:36:49 -07:00
expr.h expr.c (MOVE_BY_PIECES_P, [...]): Pass speed operand. 2008-09-01 09:27:39 +00:00
final.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
fix-header.c
fixed-value.c
fixed-value.h
fixproto
flags.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
fold-const.c re PR middle-end/37289 (ICE after non-trivial conversion at assignment) 2008-08-31 13:39:26 +00:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c
function.h
fwprop.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
gbl-ctors.h
gcc.c
gcc.h
gccbug.in
gccspec.c
gcov-dump.c
gcov-io.c
gcov-io.h
gcov-iov.c
gcov.c gcov.c (main): Call expandargv. 2008-08-29 10:07:23 +00:00
gcse.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
gdbinit.in backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
gen-protos.c
genattr.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
genattrtab.c
genautomata.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04: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
ggc-zone.c
ggc.h
gimple-iterator.c
gimple-low.c rtlanal.c: Fix uses of "it's" with "its" where appropriate. 2008-08-26 23:27:31 +10:00
gimple-pretty-print.c
gimple.c tree.c (build_function_type_skip_args, [...]): New functions. 2008-08-29 11:31:40 +00:00
gimple.def
gimple.h backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
gimplify.c tree.c (protected_set_expr_location): New. 2008-09-01 15:02:27 +00:00
glimits.h
global.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
graph.c
graph.h
graphds.c
graphds.h
graphite.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
graphite.h backport: configure: Regenerate. 2008-09-02 16:31:04 +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 gtrh-posix.h: Fix uses of _POSIX_TIMEOUTS per the normal Posix rule that a symbolic constant... 2008-08-28 22:00:46 +00:00
gthr-posix.h gtrh-posix.h: Fix uses of _POSIX_TIMEOUTS per the normal Posix rule that a symbolic constant... 2008-08-28 22:00:46 +00:00
gthr-rtems.h
gthr-single.h
gthr-solaris.h
gthr-tpf.h
gthr-vxworks.h
gthr-win32.h gthr-win32.h (__gthread_setspecific): Use CONST_CAST2. 2008-08-31 12:26:48 -06:00
gthr.h gthr-posix.h (__gthread_create, [...]): New functions. 2008-08-28 09:20:57 +00:00
haifa-sched.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
hard-reg-set.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
hooks.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
hooks.h fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
host-default.c
hosthooks-def.h
hosthooks.h
hwint.h
ifcvt.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
incpath.c
incpath.h
init-regs.c
input.h
insn-addr.h
insn-notes.def
integrate.c
integrate.h
intl.c
intl.h
ipa-cp.c ipa-cp.c (ipcp_need_original_clone_p): Remove. 2008-08-31 16:45:05 +00:00
ipa-inline.c ipa-inline.c (cgraph_estimate_growth): Discover self recursive functions. 2008-08-30 09:46:19 +00:00
ipa-prop.c cgraph.c (cgraph_remove_node): Do not remove nested nodes. 2008-08-29 16:41:35 +00:00
ipa-prop.h cgraph.c (cgraph_remove_node): Do not remove nested nodes. 2008-08-29 16:41:35 +00:00
ipa-pure-const.c
ipa-reference.c
ipa-reference.h
ipa-struct-reorg.c
ipa-struct-reorg.h
ipa-type-escape.c
ipa-type-escape.h
ipa-utils.c
ipa-utils.h
ipa.c
ira-build.c [multiple changes] 2008-08-26 12:39:58 +00:00
ira-color.c re PR rtl-optimization/37251 (ICE with ira: delete_allocno_from_bucket) 2008-08-29 16:18:11 +00:00
ira-conflicts.c [multiple changes] 2008-08-26 12:39:58 +00:00
ira-costs.c [multiple changes] 2008-08-26 12:39:58 +00:00
ira-emit.c [multiple changes] 2008-08-26 12:39:58 +00:00
ira-int.h [multiple changes] 2008-08-26 12:39:58 +00:00
ira-lives.c [multiple changes] 2008-08-26 12:39:58 +00:00
ira.c ira.c (setup_eliminable_regset): Only declare i if ELIMINABLE_REGS is defined. 2008-09-01 17:53:43 +00:00
ira.h [multiple changes] 2008-08-26 12:39:58 +00:00
jump.c rtlanal.c: Fix uses of "it's" with "its" where appropriate. 2008-08-26 23:27:31 +10:00
lambda-code.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
lambda-mat.c
lambda-trans.c
lambda.h backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
langhooks-def.h Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} 2008-08-30 23:50:40 +00:00
langhooks.c Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} 2008-08-30 23:50:40 +00:00
langhooks.h Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} 2008-08-30 23:50:40 +00:00
LANGUAGES
lcm.c
libfuncs.h
libgcc2.c
libgcc2.h
libgcc-std.ver
libgcov.c
limitx.h
limity.h
lists.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
local-alloc.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
longlong.h
loop-doloop.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
loop-init.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
loop-invariant.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
loop-iv.c
loop-unroll.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
loop-unswitch.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
lower-subreg.c
machmode.def
machmode.h
main.c
Makefile.in backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
matrix-reorg.c see.c (see_merge_one_def_extension): Silence used uninitialized warning. 2008-08-29 21:32:41 +00:00
mcf.c
mips-tdump.c
mips-tfile.c
mkconfig.sh
mkmap-flat.awk configure.ac (RPATH_ENVVAR): Use PATH on Windows. 2008-08-31 12:14:25 -06:00
mkmap-symver.awk
mode-classes.def
mode-switching.c
modulo-sched.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
omega.c
omega.h
omp-builtins.def
omp-low.c
ONEWS
opt-functions.awk Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} 2008-08-30 23:50:40 +00:00
opt-gather.awk
optabs.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
optabs.h
optc-gen.awk
opth-gen.awk
opts-common.c
opts.c re PR target/37283 (Cannot build crtbegin.o for ARM) 2008-09-02 16:23:29 +00:00
opts.h Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} 2008-08-30 23:50:40 +00:00
output.h fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
params.c
params.def sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
params.h [multiple changes] 2008-08-26 12:39:58 +00:00
passes.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
pointer-set.c
pointer-set.h
postreload-gcse.c postreload-gcse.c (eliminate_partially_redundant_loads): Use optimize_bb_for_size_p. 2008-08-31 12:52:07 +00:00
postreload.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
predict.c * predict.c (pass_strip_predict_hints): Avoid bugs dump file. 2008-09-02 18:10:54 +00:00
predict.def cold-attribute-1.c: New testcase. 2008-08-31 11:40:11 +00:00
predict.h
prefix.c
prefix.h
pretty-print.c
pretty-print.h
print-rtl.c
print-tree.c
profile.c predict.c (maybe_hot_count_p, [...]): When profile is present, use only counts; when guessed use only frequencies. 2008-09-01 16:28:06 +00:00
profile.h
protoize.c
ra-conflict.c
ra.h
read-rtl.c
README.Portability
real.c
real.h
recog.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
recog.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
reg-notes.def
reg-stack.c
regclass.c [multiple changes] 2008-08-26 12:39:58 +00:00
regmove.c [multiple changes] 2008-08-26 12:39:58 +00:00
regrename.c
regs.h [multiple changes] 2008-08-26 12:39:58 +00:00
regstat.c
reload1.c [multiple changes] 2008-08-26 12:39:58 +00:00
reload.c rtl.h (simplify_subreg_regno): Declare. 2008-08-28 20:02:54 +00:00
reload.h [multiple changes] 2008-08-26 12:39:58 +00:00
reorg.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
resource.c
resource.h
rtl-error.c
rtl-factoring.c
rtl.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
rtl.def
rtl.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
rtlanal.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
rtlhooks-def.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
rtlhooks.c
sbitmap.c
sbitmap.h
scan-decls.c
scan-types.sh
scan.c
scan.h
sched-deps.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
sched-ebb.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
sched-int.h sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING. 2008-09-01 16:38:44 +04:00
sched-rgn.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
sched-vis.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
sdbout.c re PR fortran/29635 (debug info of modules) 2008-08-29 20:41:19 +02:00
sdbout.h
see.c see.c (see_merge_one_def_extension): Silence used uninitialized warning. 2008-08-29 21:32:41 +00:00
sel-sched-dump.c sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING. 2008-09-01 16:38:44 +04:00
sel-sched-dump.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
sel-sched-ir.c sel-sched-ir.c (cmp_v_in_regset_pool): Surround with #ifdef ENABLE_CHECKING. 2008-09-01 16:40:32 +04:00
sel-sched-ir.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
sel-sched.c sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
sel-sched.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
simplify-rtx.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
sort-protos
sparseset.c
sparseset.h
sreal.c
sreal.h
stab.def
stack-ptr-mod.c
statistics.c
statistics.h
stmt.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
stor-layout.c
stringpool.c
stub-objc.c
sync-builtins.def
sys-protos.h
sys-types.h
system.h
target-def.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
target.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
targhooks.c Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} 2008-08-30 23:50:40 +00:00
targhooks.h Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} 2008-08-30 23:50:40 +00:00
timevar.c
timevar.def backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
timevar.h
tlink.c
toplev.c [multiple changes] 2008-08-26 12:39:58 +00:00
toplev.h [multiple changes] 2008-08-26 12:39:58 +00:00
tracer.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
tree-affine.c
tree-affine.h
tree-browser.c
tree-browser.def
tree-call-cdce.c parse.c (parse_interface): Silence uninitialized var warning. 2008-08-30 10:38:55 +00:00
tree-cfg.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-cfgcleanup.c
tree-chrec.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-chrec.h backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-complex.c
tree-data-ref.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-data-ref.h backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-dfa.c
tree-dump.c
tree-dump.h
tree-eh.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
tree-flow-inline.h
tree-flow.h backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-if-conv.c
tree-inline.c expr.c (MOVE_BY_PIECES_P, [...]): Pass speed operand. 2008-09-01 09:27:39 +00:00
tree-inline.h tree.c (build_function_type_skip_args, [...]): New functions. 2008-08-29 11:31:40 +00:00
tree-into-ssa.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-loop-linear.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-mudflap.c
tree-mudflap.h
tree-nested.c
tree-nomudflap.c
tree-nrv.c
tree-object-size.c
tree-optimize.c
tree-outof-ssa.c
tree-parloops.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
tree-pass.h backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-phinodes.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-predcom.c parse.c (parse_interface): Silence uninitialized var warning. 2008-08-30 10:38:55 +00:00
tree-pretty-print.c
tree-profile.c
tree-scalar-evolution.c
tree-scalar-evolution.h
tree-sra.c expr.c (MOVE_BY_PIECES_P, [...]): Pass speed operand. 2008-09-01 09:27:39 +00:00
tree-ssa-address.c fwprop.c (should_replace_address): Add speed attribute. 2008-08-31 09:44:25 +00:00
tree-ssa-alias-warnings.c
tree-ssa-alias.c
tree-ssa-ccp.c re PR tree-optimization/37305 (ice in set_value_range, at tree-vrp.c:397) 2008-09-01 13:39:42 +00:00
tree-ssa-coalesce.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
tree-ssa-copy.c common.opt (ftree-store-ccp): Mark as preserved for backward compatibility. 2008-08-29 11:43:22 +00:00
tree-ssa-copyrename.c
tree-ssa-dce.c
tree-ssa-dom.c
tree-ssa-dse.c
tree-ssa-forwprop.c
tree-ssa-ifcombine.c re PR tree-optimization/37207 (ice at tree-ssa-ifcombine.c:222 for -Os) 2008-08-28 15:26:13 +00:00
tree-ssa-live.c
tree-ssa-live.h
tree-ssa-loop-ch.c tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Check that loop is not cold. 2008-08-29 08:58:52 +00:00
tree-ssa-loop-im.c
tree-ssa-loop-ivcanon.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
tree-ssa-loop-ivopts.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-ssa-loop-manip.c
tree-ssa-loop-niter.c
tree-ssa-loop-prefetch.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
tree-ssa-loop-unswitch.c tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Check that loop is optimized for speed. 2008-08-31 15:54:54 +00:00
tree-ssa-loop.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-ssa-math-opts.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
tree-ssa-operands.c re PR middle-end/37236 (ICE: in mark_operand_necessary, at tree-ssa-dce.c:242) 2008-08-29 11:40:47 +00:00
tree-ssa-operands.h
tree-ssa-phiopt.c
tree-ssa-phiprop.c
tree-ssa-pre.c parse.c (parse_interface): Silence uninitialized var warning. 2008-08-30 10:38:55 +00:00
tree-ssa-propagate.c common.opt (ftree-store-ccp): Mark as preserved for backward compatibility. 2008-08-29 11:43:22 +00:00
tree-ssa-propagate.h common.opt (ftree-store-ccp): Mark as preserved for backward compatibility. 2008-08-29 11:43:22 +00:00
tree-ssa-reassoc.c
tree-ssa-sccvn.c
tree-ssa-sccvn.h
tree-ssa-sink.c
tree-ssa-structalias.c tree-ssa-structalias.c (create_variable_info_for): Do not create fields for heap vars or vars with a noalias state. 2008-08-29 11:47:01 +00:00
tree-ssa-structalias.h
tree-ssa-ter.c
tree-ssa-threadedge.c
tree-ssa-threadupdate.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
tree-ssa-uncprop.c
tree-ssa.c
tree-ssanames.c
tree-stdarg.c
tree-stdarg.h
tree-switch-conversion.c
tree-tailcall.c
tree-vect-analyze.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
tree-vect-generic.c
tree-vect-patterns.c
tree-vect-transform.c target.h (struct vectorize): Add new target builtin. 2008-08-28 11:11:14 +00:00
tree-vectorizer.c backport: configure: Regenerate. 2008-09-02 16:31:04 +00:00
tree-vectorizer.h target.h (struct vectorize): Add new target builtin. 2008-08-28 11:11:14 +00:00
tree-vrp.c re PR tree-optimization/37327 (another ice in set_value_range, at tree-vrp.c:397) 2008-09-02 13:48:11 +00:00
tree.c tree.c (protected_set_expr_location): New. 2008-09-01 15:02:27 +00:00
tree.def
tree.h tree.c (protected_set_expr_location): New. 2008-09-01 15:02:27 +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
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 loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
value-prof.h
var-tracking.c
varasm.c parse.c (parse_interface): Silence uninitialized var warning. 2008-08-30 10:38:55 +00:00
varpool.c
varray.c
varray.h
vec.c
vec.h
vecprim.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
version.c
version.h
vmsdbg.h
vmsdbgout.c re PR fortran/29635 (debug info of modules) 2008-08-29 20:41:19 +02:00
web.c
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.