gcc/gcc
Paul Brook 5115f061bf arm.md (consttable_4): Handle (high ...).
2009-11-25  Paul Brook  <paul@codesourcery.com>

	gcc/
	* config/arm/arm.md (consttable_4): Handle (high ...).

From-SVN: r154648
2009-11-25 13:58:51 +00:00
..
ada sem_util.adb (Set_Debug_Info_Needed): For an E_Class_Wide_Subtype, also set the flag on the Equivalent_Type. 2009-11-24 20:25:58 +00:00
config arm.md (consttable_4): Handle (high ...). 2009-11-25 13:58:51 +00:00
cp re PR c++/42137 (error: expected constructor, destructor, or type conversion before ‘{’ token) 2009-11-24 15:55:24 -05:00
doc passes.texi: Document the Graphite infrastructure. 2009-11-25 05:08:37 +00:00
fortran re PR fortran/42008 (Wrongly rejected derived types with default initializers in PURE procedures) 2009-11-25 02:42:22 +00:00
ginclude
java
lto
objc
objcp
po
testsuite re PR ada/42170 (Ada testsuite regressions caused by 8MB stack limit) 2009-11-25 11:01:26 +00:00
ABOUT-GCC-NLS
acinclude.m4
aclocal.m4
addresses.h
alias.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
alias.h
alloc-pool.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
alloc-pool.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
attribs.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
auto-inc-dec.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
BASE-VER
basic-block.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
bb-reorder.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
bitmap.c
bitmap.h
bt-load.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
builtin-attrs.def
builtin-types.def
builtins.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
builtins.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-aux-info.c
c-common.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-common.def
c-common.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-config-lang.in
c-convert.c
c-cppbuiltin.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-decl.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-dump.c
c-errors.c
c-format.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-format.h
c-gimplify.c
c-lang.c
c-lang.h
c-lex.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-objc-common.c
c-objc-common.h
c-omp.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-opts.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-parser.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-pch.c
c-ppoutput.c
c-pragma.c
c-pragma.h
c-pretty-print.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-pretty-print.h
c-semantics.c
c-tree.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c-typeck.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
c.opt
caller-save.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
calls.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfg.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfganal.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfgbuild.c
cfgcleanup.c
cfgexpand.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfghooks.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfghooks.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfglayout.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfglayout.h
cfgloop.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfgloop.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfgloopanal.c
cfgloopmanip.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfgrtl.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cgraph.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cgraph.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cgraphbuild.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cgraphunit.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ChangeLog arm.md (consttable_4): Handle (high ...). 2009-11-25 13:58:51 +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.dataflow
ChangeLog.graphite Empty patch as it is a revert patch already applied. 2009-11-25 05:36:57 +00:00
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
cif-code.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
collect2-aix.c
collect2-aix.h
collect2.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
collect2.h
combine-stack-adj.c
combine.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
common.opt
conditions.h
config.build
config.gcc
config.host
config.in
configure
configure.ac
convert.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h
coverage.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
coverage.h
cppdefault.c
cppdefault.h
cppspec.c
crtstuff.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cse.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cselib.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cselib.h
cstamp-h.in
DATESTAMP Daily bump. 2009-11-25 00:16:44 +00:00
dbgcnt.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dbgcnt.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dbgcnt.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dbxout.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dbxout.h
dce.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dce.h
ddg.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ddg.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
debug.c
debug.h
defaults.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
DEV-PHASE
df-byte-scan.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
df-core.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
df-problems.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
df-scan.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
df.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dfp.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dfp.h
diagnostic.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
diagnostic.def
diagnostic.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dojump.c
dominance.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
domwalk.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
domwalk.h
double-int.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
double-int.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dse.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dse.h
dummy-checksum.c
dwarf2asm.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dwarf2asm.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dwarf2out.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dwarf2out.h
ebitmap.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ebitmap.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
emit-rtl.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
emit-rtl.h
emutls.c
errors.c
errors.h
et-forest.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
et-forest.h
except.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
except.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
exec-tool.in
explow.c
expmed.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
expr.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
expr.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
final.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
fixed-value.c
fixed-value.h
flags.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
fold-const.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
function.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
fwprop.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gbl-ctors.h
gcc-plugin.h
gcc.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gcc.h
gccbug.in
gccspec.c
gcov-dump.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gcov-io.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gcov-io.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gcov-iov.c
gcov.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gcse.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gdbinit.in
genattr.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genattrtab.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genautomata.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gencheck.c
genchecksum.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gencodes.c
genconditions.c
genconfig.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genconstants.c
genemit.c
genextract.c
genflags.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gengenrtl.c
gengtype-lex.l
gengtype-parse.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gengtype.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gengtype.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genmddeps.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genmodes.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genmultilib
genopinit.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genoutput.c
genpeep.c
genpreds.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genrecog.c
gensupport.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gensupport.h
ggc-common.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ggc-none.c
ggc-page.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ggc-zone.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ggc.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gimple-iterator.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gimple-low.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gimple-pretty-print.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gimple.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gimple.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gimple.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gimplify.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
glimits.h
graph.c
graph.h
graphds.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
graphds.h
graphite-blocking.c graphite-blocking.c (scop_do_block): New. 2009-11-25 05:31:07 +00:00
graphite-clast-to-gimple.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
graphite-clast-to-gimple.h graphite-clast-to-gimple.c (find_pbb_via_hash): Moved up. 2009-11-25 05:25:11 +00:00
graphite-dependences.c graphite-dependences.c (dependence_polyhedron_1): Remove unused gdim dimensions from the DDR polyhedron. 2009-11-25 05:16:42 +00:00
graphite-dependences.h graphite-dependences.c (dot_deps_stmt_1): New. 2009-11-25 04:59:39 +00:00
graphite-interchange.c graphite-interchange.c (memory_strides_in_loop_depth): New. 2009-11-25 05:31:36 +00:00
graphite-poly.c graphite-blocking.c (scop_do_block): New. 2009-11-25 05:31:07 +00:00
graphite-poly.h graphite-blocking.c (scop_do_block): New. 2009-11-25 05:31:07 +00:00
graphite-ppl.c graphite-ppl.c (ppl_min_for_le_polyhedron): New. 2009-11-25 05:13:03 +00:00
graphite-ppl.h graphite-ppl.c (ppl_min_for_le_polyhedron): New. 2009-11-25 05:13:03 +00:00
graphite-scop-detection.c graphite-scop-detection.c (limit_scops): Do not build poly_bbs. 2009-11-25 04:52:08 +00:00
graphite-scop-detection.h graphite-dependences.c (reduction_ddr): New. 2009-11-25 04:54:30 +00:00
graphite-sese-to-poly.c graphite-clast-to-gimple.c (gloog): Do not call sese_reset_aux_in_loops. 2009-11-25 05:25:43 +00:00
graphite-sese-to-poly.h graphite-sese-to-poly.c (free_data_refs_aux): Update to free the new structure. 2009-11-25 05:19:32 +00:00
graphite.c graphite-clast-to-gimple.c (find_pbb_via_hash): Moved up. 2009-11-25 05:25:11 +00:00
graphite.h
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 Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-posix95.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-posix.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-posix.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-rtems.h
gthr-single.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-solaris.h
gthr-tpf.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-vxworks.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-win32.h
gthr.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
haifa-sched.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
hard-reg-set.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
hooks.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
hooks.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
host-default.c
hosthooks-def.h
hosthooks.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
hwint.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ifcvt.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
incpath.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
incpath.h
init-regs.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
input.h
insn-addr.h
insn-notes.def
integrate.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
integrate.h
intl.c
intl.h
ipa-cp.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-inline.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-prop.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-prop.h
ipa-pure-const.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-reference.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-reference.h
ipa-struct-reorg.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-struct-reorg.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-type-escape.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-type-escape.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-utils.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-utils.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ira-build.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ira-color.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ira-conflicts.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ira-costs.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ira-emit.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ira-int.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ira-lives.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ira.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ira.h
jump.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lambda-code.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lambda-mat.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lambda-trans.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lambda.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
langhooks-def.h
langhooks.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
langhooks.h
LANGUAGES
lcm.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
libfuncs.h
libgcc2.c
libgcc2.h
libgcc-std.ver
libgcov.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
limitx.h
limity.h
lists.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
longlong.h
loop-doloop.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
loop-init.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
loop-invariant.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
loop-iv.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
loop-unroll.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
loop-unswitch.c
lower-subreg.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-cgraph.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-compress.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-compress.h
lto-opts.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-section-in.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-section-out.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-streamer-in.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-streamer-out.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-streamer.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-streamer.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-symtab.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-wpa-fixup.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
lto-wrapper.c lto-wrapper.c (lto_wrapper_exit): Don't try to delete files if being called recursively. 2009-11-24 15:00:15 +00:00
machmode.def
machmode.h
main.c
Makefile.in Makefile.in (PLUGIN_HEADERS): Added files... 2009-11-24 14:43:23 +00:00
matrix-reorg.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
mcf.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
mips-tdump.c
mips-tfile.c
mkconfig.sh
mkmap-flat.awk
mkmap-symver.awk
mode-classes.def Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
mode-switching.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
modulo-sched.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
omega.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
omega.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
omp-builtins.def
omp-low.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ONEWS
opt-functions.awk
opt-gather.awk
optabs.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
optabs.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
optc-gen.awk
opth-gen.awk
opts-common.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
opts.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
opts.h
output.h
params.c
params.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
params.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
passes.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
plugin.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
plugin.h
pointer-set.c
pointer-set.h
postreload-gcse.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
postreload.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
predict.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
predict.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
predict.h
prefix.c
prefix.h
pretty-print.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
pretty-print.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
print-rtl.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
print-tree.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
profile.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
profile.h
read-rtl.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
README.Portability
real.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
real.h
recog.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
recog.h
reg-notes.def
reg-stack.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
regcprop.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
reginfo.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
regmove.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
regrename.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
regs.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
regstat.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
reload1.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
reload.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
reload.h
reorg.c
resource.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
resource.h
rtl-error.c
rtl.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
rtl.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
rtl.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
rtlanal.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
rtlhooks-def.h
rtlhooks.c
sbitmap.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sbitmap.h
sched-deps.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sched-ebb.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sched-int.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sched-rgn.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sched-vis.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sdbout.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sdbout.h
sel-sched-dump.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sel-sched-dump.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sel-sched-ir.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sel-sched-ir.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sel-sched.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sel-sched.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sese.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sese.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
simplify-rtx.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sparseset.c
sparseset.h
sreal.c
sreal.h
ssaexpand.h
stab.def
stack-ptr-mod.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
statistics.c
statistics.h
stmt.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
stor-layout.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
store-motion.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
stringpool.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
stub-objc.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sync-builtins.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
system.h
target-def.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
target.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
targhooks.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
targhooks.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
timevar.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
timevar.def
timevar.h
tlink.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
toplev.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
toplev.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tracer.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-affine.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-affine.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-browser.c
tree-browser.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-call-cdce.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-cfg.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-cfgcleanup.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-chrec.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-chrec.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-complex.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-data-ref.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-data-ref.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-dfa.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-dump.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-dump.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-eh.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-flow-inline.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-flow.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-if-conv.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-inline.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-inline.h
tree-into-ssa.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-loop-linear.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-mudflap.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-mudflap.h
tree-nested.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-nomudflap.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-nrv.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-object-size.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-optimize.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-outof-ssa.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-parloops.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-pass.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-phinodes.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-predcom.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-pretty-print.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-profile.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-scalar-evolution.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-scalar-evolution.h
tree-sra.c re PR tree-optimization/42154 (Wrong code from (early) SRA) 2009-11-24 11:56:14 +01:00
tree-ssa-address.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-alias.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-alias.h
tree-ssa-ccp.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-coalesce.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-copy.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-copyrename.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-dce.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-dom.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-dse.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-forwprop.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-ifcombine.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-live.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-live.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-loop-ch.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-loop-im.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-loop-ivcanon.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-loop-ivopts.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-loop-manip.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-loop-niter.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-loop-prefetch.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-loop-unswitch.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-loop.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-math-opts.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-operands.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-operands.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-phiopt.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-phiprop.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-pre.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-propagate.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-propagate.h
tree-ssa-reassoc.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-sccvn.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-sccvn.h
tree-ssa-sink.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-structalias.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-ter.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-threadedge.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-threadupdate.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-uncprop.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssanames.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-stdarg.c
tree-stdarg.h
tree-switch-conversion.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-tailcall.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-vect-data-refs.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-vect-generic.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-vect-loop-manip.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-vect-loop.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-vect-patterns.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-vect-slp.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-vect-stmts.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-vectorizer.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-vectorizer.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-vrp.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
treestruct.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tsystem.h
typeclass.h
unwind-c.c
unwind-compat.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
unwind-compat.h
unwind-dw2-fde-compat.c
unwind-dw2-fde-darwin.c
unwind-dw2-fde-glibc.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
unwind-dw2-fde.c
unwind-dw2-fde.h
unwind-dw2.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
unwind-dw2.h
unwind-generic.h
unwind-pe.h
unwind-sjlj.c
unwind.inc
value-prof.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
value-prof.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
var-tracking.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
varasm.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
varpool.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
varray.c
varray.h
vec.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
vec.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
vecprim.h
version.c
version.h
vmsdbg.h
vmsdbgout.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
web.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
xcoff.h
xcoffout.c Remove trailing white spaces. 2009-11-25 02:55:54 -08: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.