gcc/gcc
Richard Biener 783a3a0534 re PR middle-end/55882 (unaligned load/store : incorrect struct offset)
2013-01-15  Richard Biener  <rguenther@suse.de>

	PR middle-end/55882
	* emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
	account for bitpos when computing alignment.

	* gcc.dg/torture/pr55882.c: New testcase.

From-SVN: r195194
2013-01-15 12:48:13 +00:00
..
ada Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata. 2013-01-11 11:46:21 +00:00
c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
c-family Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
common Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
config i386-c.c (ix86_target_macros_internal): New case. 2013-01-15 10:07:08 +00:00
cp PR c++/55663 - constexpr function templ instantiation 2013-01-15 10:12:30 +01:00
doc Makefile.in (s-mlib): New argument MULTILIB_REUSE. 2013-01-13 10:12:07 +00:00
fortran re PR fortran/54286 (Accepts invalid proc-pointer assignments involving proc-ptr function result) 2013-01-15 05:29:01 +00:00
ginclude Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
go Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
java Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
objc Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
objcp Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
po Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
testsuite re PR middle-end/55882 (unaligned load/store : incorrect struct offset) 2013-01-15 12:48:13 +00:00
ABOUT-GCC-NLS Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
BASE-VER
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog re PR middle-end/55882 (unaligned load/store : incorrect struct offset) 2013-01-15 12:48:13 +00:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012 Fix ChangeLog entry for PR lto/55466 2013-01-03 08:53:54 -08:00
ChangeLog.dataflow Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.graphite
ChangeLog.lib Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.ptr Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.tree-ssa Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.tuples Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
DATESTAMP Daily bump. 2013-01-15 00:18:20 +00:00
DEV-PHASE
FSFChangeLog Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
FSFChangeLog.10 Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
FSFChangeLog.11 Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
LANGUAGES Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
Makefile.in Makefile.in (s-mlib): New argument MULTILIB_REUSE. 2013-01-13 10:12:07 +00:00
ONEWS Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
README.Portability Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
acinclude.m4 Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
aclocal.m4
addresses.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
alias.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
alias.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
alloc-pool.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
alloc-pool.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
asan.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
asan.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
attribs.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
auto-inc-dec.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
basic-block.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
bb-reorder.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
bb-reorder.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
bitmap.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
bitmap.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
bt-load.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
builtin-attrs.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
builtin-types.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
builtins.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
builtins.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
builtins.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
caller-save.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
calls.c re PR tree-optimization/55890 (calling a builtin func through a cast triggers an ICE) 2013-01-11 23:39:18 +00:00
cfg-flags.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfg.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfganal.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfgbuild.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfgcleanup.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfgexpand.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfghooks.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfghooks.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfgloop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfgloop.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfgloopanal.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfgloopmanip.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cfgrtl.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cgraph.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cgraph.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cgraphbuild.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cgraphclones.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cgraphunit.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cif-code.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
collect2-aix.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
collect2-aix.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
collect2.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
collect2.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
combine-stack-adj.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
combine.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
common.opt Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
compare-elim.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
conditions.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
config.build Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
config.gcc Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
config.host Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
config.in
configure Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata. 2013-01-11 11:46:21 +00:00
configure.ac Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata. 2013-01-11 11:46:21 +00:00
convert.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
convert.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
coretypes.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
coverage.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
coverage.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cppbuiltin.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cppbuiltin.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cppdefault.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cppdefault.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cprop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cse.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cselib.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cselib.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cstamp-h.in
data-streamer-in.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
data-streamer-out.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
data-streamer.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
data-streamer.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dbgcnt.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dbgcnt.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dbgcnt.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dbxout.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dbxout.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dce.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dce.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ddg.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ddg.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
debug.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
debug.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
defaults.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
df-core.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
df-problems.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
df-scan.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
df.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dfp.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dfp.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
diagnostic-core.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
diagnostic.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
diagnostic.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
diagnostic.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dojump.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dominance.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
domwalk.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
domwalk.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
double-int.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
double-int.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dse.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dumpfile.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dumpfile.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dwarf2asm.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dwarf2asm.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dwarf2cfi.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dwarf2out.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
dwarf2out.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
emit-rtl.c re PR middle-end/55882 (unaligned load/store : incorrect struct offset) 2013-01-15 12:48:13 +00:00
emit-rtl.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
errors.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
errors.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
et-forest.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
et-forest.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
except.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
except.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
exec-tool.in Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
explow.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
expmed.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
expmed.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
expr.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
expr.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
file-find.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
file-find.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
final.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
fixed-value.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
fixed-value.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
flag-types.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
flags.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
fold-const.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
fp-test.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
function.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
function.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
fwprop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcc-ar.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcc-plugin.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcc.c Makefile.in (s-mlib): New argument MULTILIB_REUSE. 2013-01-13 10:12:07 +00:00
gcc.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcov-dump.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcov-io.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcov-io.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcov-iov.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcov.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcse.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gcse.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gdbinit.in Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genattr-common.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genattr.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genattrtab.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genautomata.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gencheck.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genchecksum.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gencodes.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genconditions.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genconfig.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genconstants.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genemit.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genenums.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genextract.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genflags.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gengenrtl.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gengtype-lex.l Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gengtype-parse.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gengtype-state.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gengtype.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gengtype.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genhooks.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genmddeps.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genmddump.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genmodes.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genmultilib Makefile.in (s-mlib): New argument MULTILIB_REUSE. 2013-01-13 10:12:07 +00:00
genopinit.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genoutput.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genpeep.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genpreds.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
genrecog.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gensupport.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gensupport.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ggc-common.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ggc-internal.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ggc-none.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ggc-page.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ggc-zone.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ggc.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-fold.c re PR fortran/55935 ([OOP] Fortran fronted has ADDR_EXPRs of FUNCTION_DECLs with bogus BLOCK) 2013-01-13 13:33:43 +01:00
gimple-fold.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-iterator.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-low.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-pretty-print.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-pretty-print.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-ssa-strength-reduction.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-streamer-in.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-streamer-out.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple-streamer.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimple.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gimplify.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
glimits.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
godump.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graph.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graph.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphds.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphds.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-blocking.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-clast-to-gimple.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-clast-to-gimple.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-dependences.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-interchange.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-optimize-isl.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-poly.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-poly.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-scop-detection.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-scop-detection.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite-sese-to-poly.c tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated PHI argument. 2013-01-14 13:06:47 +00:00
graphite-sese-to-poly.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
graphite.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gsstruct.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gstab.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gsyms.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
gsyslimits.h
gtm-builtins.def
haifa-sched.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hard-reg-set.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hash-table.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hash-table.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
highlev-plugin-common.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hooks.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hooks.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
host-default.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hosthooks-def.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hosthooks.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hw-doloop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hw-doloop.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hwint.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
hwint.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ifcvt.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
incpath.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
incpath.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
init-regs.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
input.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
input.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
insn-addr.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
insn-notes.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
internal-fn.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
internal-fn.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
internal-fn.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
intl.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
intl.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-cp.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-inline-analysis.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-inline-transform.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-inline.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-inline.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-prop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-prop.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-pure-const.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-ref-inline.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-ref.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-ref.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-reference.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-reference.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-split.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-utils.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa-utils.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ipa.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ira-build.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ira-color.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ira-conflicts.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ira-costs.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ira-emit.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ira-int.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ira-lives.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ira.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ira.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
is-a.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
jump.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
langhooks-def.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
langhooks.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
langhooks.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lcm.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
libfuncs.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
limitx.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
limity.h
lists.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
loop-doloop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
loop-init.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
loop-invariant.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
loop-iv.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
loop-unroll.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
loop-unswitch.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lower-subreg.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lower-subreg.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lra-assigns.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lra-coalesce.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lra-constraints.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lra-eliminations.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lra-int.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lra-lives.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lra-spills.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lra.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lra.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-cgraph.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-compress.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-compress.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-opts.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-section-in.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-section-out.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-streamer-in.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-streamer-out.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-streamer.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-streamer.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-symtab.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
lto-wrapper.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
machmode.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
machmode.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
main.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
mcf.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
mkconfig.sh Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
mode-classes.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
mode-switching.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
modulo-sched.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
omega.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
omega.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
omp-builtins.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
omp-low.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opt-functions.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opt-gather.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opt-include.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opt-read.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
optabs.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
optabs.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
optabs.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
optc-gen.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
optc-save-gen.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opth-gen.awk Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opts-common.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opts-diagnostic.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opts-global.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opts.c re PR tree-optimization/48766 (Infinite recursion in fold_binary_loc()) 2013-01-15 09:16:56 +01:00
opts.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
output.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
params.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
params.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
params.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
passes.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
plugin.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
plugin.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
plugin.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
pointer-set.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
pointer-set.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
postreload-gcse.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
postreload.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
predict.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
predict.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
predict.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
prefix.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
prefix.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
pretty-print.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
pretty-print.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
print-rtl.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
print-tree.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
profile.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
profile.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
read-md.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
read-md.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
read-rtl.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
real.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
real.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
realmpfr.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
realmpfr.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
recog.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
recog.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ree.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
reg-notes.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
reg-stack.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
regcprop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
reginfo.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
regmove.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
regrename.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
regrename.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
regs.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
regset.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
regstat.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
reload.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
reload.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
reload1.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
reorg.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
resource.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
resource.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtl-error.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtl-error.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtl.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtl.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtl.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtlanal.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtlhooks-def.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
rtlhooks.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sanitizer.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sbitmap.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sbitmap.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sched-deps.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sched-ebb.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sched-int.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sched-rgn.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sched-vis.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sdbout.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sdbout.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sel-sched-dump.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sel-sched-dump.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sel-sched-ir.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sel-sched-ir.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sel-sched.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sel-sched.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sese.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sese.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
simplify-rtx.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sparseset.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sparseset.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sreal.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sreal.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ssaexpand.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
stab.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
stack-ptr-mod.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
statistics.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
statistics.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
stmt.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
stor-layout.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
store-motion.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
streamer-hooks.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
streamer-hooks.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
stringpool.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
symtab.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
sync-builtins.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
system.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
target-def.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
target-globals.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
target-globals.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
target-hooks-macros.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
target.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
target.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
targhooks.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
targhooks.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
timevar.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
timevar.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
timevar.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tlink.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
toplev.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
toplev.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tracer.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
trans-mem.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
trans-mem.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-affine.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-affine.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-browser.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-browser.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-call-cdce.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-cfg.c tree-cfg.c (verify_expr_location, [...]): New functions. 2013-01-14 14:59:20 +00:00
tree-cfgcleanup.c tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated PHI argument. 2013-01-14 13:06:47 +00:00
tree-chrec.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-chrec.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-complex.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-data-ref.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-data-ref.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-dfa.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-diagnostic.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-diagnostic.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-dump.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-dump.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-eh.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-emutls.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-flow-inline.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-flow.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-if-conv.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-inline.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-inline.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-into-ssa.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-iterator.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-iterator.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-loop-distribution.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-mudflap.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-mudflap.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-nested.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-nomudflap.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-nrv.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-object-size.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-optimize.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-outof-ssa.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-parloops.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-pass.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-phinodes.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-predcom.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-pretty-print.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-pretty-print.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-profile.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-scalar-evolution.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-scalar-evolution.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-sra.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-address.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-alias.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-alias.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-ccp.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-coalesce.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-copy.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-copyrename.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-dce.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-dom.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-dse.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-forwprop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-ifcombine.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-live.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-live.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop-ch.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop-im.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop-ivcanon.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop-ivopts.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop-manip.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop-niter.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop-prefetch.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop-unswitch.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-loop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-math-opts.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-operands.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-operands.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-phiopt.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-phiprop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-pre.c tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated PHI argument. 2013-01-14 13:06:47 +00:00
tree-ssa-propagate.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-propagate.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-reassoc.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-sccvn.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-sccvn.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-sink.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-strlen.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-structalias.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-tail-merge.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-ter.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-threadedge.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-threadupdate.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-uncprop.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa-uninit.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-ssa.c tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated PHI argument. 2013-01-14 13:06:47 +00:00
tree-ssanames.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-stdarg.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-stdarg.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-streamer-in.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-streamer-out.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-streamer.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-streamer.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-switch-conversion.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-tailcall.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-vect-data-refs.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-vect-generic.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-vect-loop-manip.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-vect-loop.c re PR tree-optimization/55955 (ICE in optab_for_tree_code, at optabs.c:402) 2013-01-15 10:31:28 +01:00
tree-vect-patterns.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-vect-slp.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-vect-stmts.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-vectorizer.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-vectorizer.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree-vrp.c re PR tree-optimization/44061 (Warns about out-of-bounds array access inside __builtin_constant_p guarded section) 2013-01-11 10:20:02 +00:00
tree.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tree.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
treestruct.def Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tsan.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tsan.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
tsystem.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
typeclass.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
valtrack.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
valtrack.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
value-prof.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
value-prof.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
var-tracking.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
varasm.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
varpool.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
vec.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
vec.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
version.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
version.h
vmsdbg.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
vmsdbgout.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
web.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
xcoff.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
xcoffout.c Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
xcoffout.h Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00

README.Portability

Copyright (C) 2000-2013 Free Software Foundation, Inc.

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

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

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

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


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

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

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

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

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


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

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

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

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

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

needs to be coded in some other way.


Avoid unnecessary test before free
----------------------------------

Since SunOS 4 stopped being a reasonable portability target,
(which happened around 2007) there has been no need to guard
against "free (NULL)".  Thus, any guard like the following
constitutes a redundant test:

  if (P)
    free (P);

It is better to avoid the test.[*]
Instead, simply free P, regardless of whether it is NULL.

[*] However, if your profiling exposes a test like this in a
performance-critical loop, say where P is nearly always NULL, and
the cost of calling free on a NULL pointer would be prohibitively
high, consider using __builtin_expect, e.g., like this:

  if (__builtin_expect (ptr != NULL, 0))
    free (ptr);



Trigraphs
---------

You weren't going to use them anyway, but some otherwise ISO C
compliant compilers do not accept trigraphs.


Suffixes on Integer Constants
-----------------------------

You should never use a 'l' suffix on integer constants ('L' is fine),
since it can easily be confused with the number '1'.


			Common Coding Pitfalls
			======================

errno
-----

errno might be declared as a macro.


Implicit int
------------

In C, the 'int' keyword can often be omitted from type declarations.
For instance, you can write

  unsigned variable;

as shorthand for

  unsigned int variable;

There are several places where this can cause trouble.  First, suppose
'variable' is a long; then you might think

  (unsigned) variable

would convert it to unsigned long.  It does not.  It converts to
unsigned int.  This mostly causes problems on 64-bit platforms, where
long and int are not the same size.

Second, if you write a function definition with no return type at
all:

  operate (int a, int b)
  {
    ...
  }

that function is expected to return int, *not* void.  GCC will warn
about this.

Implicit function declarations always have return type int.  So if you
correct the above definition to

  void
  operate (int a, int b)
  ...

but operate() is called above its definition, you will get an error
about a "type mismatch with previous implicit declaration".  The cure
is to prototype all functions at the top of the file, or in an
appropriate header.

Char vs unsigned char vs int
----------------------------

In C, unqualified 'char' may be either signed or unsigned; it is the
implementation's choice.  When you are processing 7-bit ASCII, it does
not matter.  But when your program must handle arbitrary binary data,
or fully 8-bit character sets, you have a problem.  The most obvious
issue is if you have a look-up table indexed by characters.

For instance, the character '\341' in ISO Latin 1 is SMALL LETTER A
WITH ACUTE ACCENT.  In the proper locale, isalpha('\341') will be
true.  But if you read '\341' from a file and store it in a plain
char, isalpha(c) may look up character 225, or it may look up
character -31.  And the ctype table has no entry at offset -31, so
your program will crash.  (If you're lucky.)

It is wise to use unsigned char everywhere you possibly can.  This
avoids all these problems.  Unfortunately, the routines in <string.h>
take plain char arguments, so you have to remember to cast them back
and forth - or avoid the use of strxxx() functions, which is probably
a good idea anyway.

Another common mistake is to use either char or unsigned char to
receive the result of getc() or related stdio functions.  They may
return EOF, which is outside the range of values representable by
char.  If you use char, some legal character value may be confused
with EOF, such as '\377' (SMALL LETTER Y WITH UMLAUT, in Latin-1).
The correct choice is int.

A more subtle version of the same mistake might look like this:

  unsigned char pushback[NPUSHBACK];
  int pbidx;
  #define unget(c) (assert(pbidx < NPUSHBACK), pushback[pbidx++] = (c))
  #define get(c) (pbidx ? pushback[--pbidx] : getchar())
  ...
  unget(EOF);

which will mysteriously turn a pushed-back EOF into a SMALL LETTER Y
WITH UMLAUT.


Other common pitfalls
---------------------

o Expecting 'plain' char to be either sign or unsigned extending.

o Shifting an item by a negative amount or by greater than or equal to
  the number of bits in a type (expecting shifts by 32 to be sensible
  has caused quite a number of bugs at least in the early days).

o Expecting ints shifted right to be sign extended.

o Modifying the same value twice within one sequence point.

o Host vs. target floating point representation, including emitting NaNs
  and Infinities in a form that the assembler handles.

o qsort being an unstable sort function (unstable in the sense that
  multiple items that sort the same may be sorted in different orders
  by different qsort functions).

o Passing incorrect types to fprintf and friends.

o Adding a function declaration for a module declared in another file to
  a .c file instead of to a .h file.