freebsd-nq/contrib/gcc
2006-09-21 07:55:28 +00:00
..
config Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
cp Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
doc Updated manpages for 3.4.6 release. 2006-09-21 07:45:37 +00:00
f Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
ginclude Stock files. 2005-06-03 03:50:42 +00:00
objc Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
aclocal.m4 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
alias.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
alloc-pool.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
alloc-pool.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ansidecl.h Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
attribs.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
basic-block.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
bb-reorder.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
bitmap.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
bitmap.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
bt-load.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
builtin-attrs.def Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
builtin-types.def Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
builtins.c Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
builtins.def Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-aux-info.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-common.c Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
c-common.def Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-common.h Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
c-config-lang.in Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
c-convert.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-cppbuiltin.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-decl.c Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
c-dump.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-errors.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-format.c Merge conflicts for GCC 3.4.4. 2005-06-03 04:02:20 +00:00
c-incpath.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-incpath.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-lang.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-lex.c Use stock GCC versions on these files. 2004-07-28 03:36:15 +00:00
c-objc-common.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
c-opts.c Merge conflicts for GCC 3.4.4. 2005-06-03 04:02:20 +00:00
c-parse.in Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
c-pch.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
c-ppoutput.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
c-pragma.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-pragma.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-pretty-print.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-pretty-print.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
c-semantics.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
c-tree.h Use stock GCC versions on these files. 2004-07-28 03:36:15 +00:00
c-typeck.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
c.opt Merge conflicts for GCC 3.4.4. 2005-06-03 04:02:20 +00:00
caller-save.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
calls.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
cfg.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cfganal.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cfgbuild.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cfgcleanup.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
cfghooks.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cfghooks.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cfglayout.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
cfglayout.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cfgloop.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cfgloop.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cfgloopanal.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cfgloopmanip.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cfgrtl.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
cgraph.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cgraph.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cgraphunit.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ChangeLog Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
ChangeLog.0 Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
ChangeLog.1 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ChangeLog.2 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ChangeLog.3 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ChangeLog.4 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ChangeLog.5 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ChangeLog.6 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ChangeLog.7 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ChangeLog.8 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ChangeLog.9 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ChangeLog.10 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ChangeLog.lib
choose-temp.c
collect2.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
collect2.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
combine.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
common.opt Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
concat.c
conditions.h
config.build Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
config.gcc Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
config.host Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
config.in Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
configure Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
configure.ac Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
conflict.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
convert.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
convert.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
COPYING
COPYING.LIB
coretypes.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
coverage.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
coverage.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cp-demangle.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
cp-demangle.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cp-demint.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cplus-dem.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cppcharset.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cppdefault.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cppdefault.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cpperror.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cppexp.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cppfiles.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
cpphash.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cpphash.h Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
cppinit.c Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
cpplex.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cpplib.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
cpplib.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cppmacro.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
cpppch.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cppspec.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cpptrad.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cppucnid.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cppucnid.pl Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
cppucnid.tab Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
crtstuff.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
cse.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
cselib.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
cselib.h Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
cstamp-h.in
dbxout.c Stock files. 2005-06-03 03:50:42 +00:00
dbxout.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
debug.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
debug.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
defaults.h Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
demangle.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
df.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
df.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
diagnostic.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
diagnostic.def Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
diagnostic.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
dojump.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
doloop.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
dominance.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
dummy-conditions.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
dwarf2.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
dwarf2asm.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
dwarf2asm.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
dwarf2out.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
dwarf2out.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
dwarf.h
dwarfout.c Remove files that are not part of GCC 3.4.x from the vendor branch. 2004-08-12 16:41:42 +00:00
dyn-string.c
dyn-string.h
emit-rtl.c Stock files. 2005-06-03 03:50:42 +00:00
errors.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
errors.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
et-forest.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
et-forest.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
except.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
except.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
explow.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
expmed.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
expr.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
expr.h Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
fibheap.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
fibheap.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
filenames.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
final.c Use stock GCC versions on these files. 2004-07-28 03:36:15 +00:00
fix-header.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
fixproto Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
flags.h Use stock GCC versions on these files. 2004-07-28 03:36:15 +00:00
flow.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
fold-const.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
fp-test.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
FREEBSD-deletelist Remove unneeded files 2004-02-17 03:22:35 +00:00
FREEBSD-libiberty
FREEBSD-upgrade
FREEBSD-Xlist Remove unneeded files 2004-02-17 03:22:35 +00:00
FSFChangeLog
FSFChangeLog.10 Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
FSFChangeLog.11 Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
function.c Merge conflicts for GCC 3.4.4. 2005-06-03 04:02:20 +00:00
function.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gbl-ctors.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gcc.c Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
gcc.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gccbug.in Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gccspec.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gcov-dump.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
gcov-io.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gcov-io.h Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
gcov-iov.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gcov.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
gcse.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
gdbinit.in Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gen-protos.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genattr.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genattrtab.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genattrtab.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genautomata.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gencheck.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gencodes.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genconditions.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genconfig.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genconstants.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genemit.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genextract.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genflags.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gengenrtl.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gengtype-lex.l Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gengtype-yacc.y Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gengtype.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gengtype.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genmodes.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genmultilib Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genopinit.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genoutput.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genpeep.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genpreds.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
genrecog.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gensupport.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gensupport.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
getpwd.c
getruntime.c Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
ggc-common.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
ggc-none.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ggc-page.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ggc-simple.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ggc-zone.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ggc.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
glimits.h Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
global.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
gmon.c
graph.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
graph.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gstab.h
gsyms.h
gsyslimits.h
gthr-aix.h
gthr-dce.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gthr-gnat.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gthr-gnat.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gthr-posix.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gthr-posix.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gthr-rtems.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gthr-single.h Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
gthr-solaris.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gthr-vxworks.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
gthr-win32.h Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
gthr.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
haifa-sched.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
hard-reg-set.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
hashtab.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
hashtab.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
hashtable.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
hashtable.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
hex.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
hooks.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
hooks.h Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
host-default.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
hosthooks-def.h Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
hosthooks.h Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
hwint.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ifcvt.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
input.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
insn-addr.h Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
integrate.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
integrate.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
intl.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
intl.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
jump.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
langhooks-def.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
langhooks.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
langhooks.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
LANGUAGES Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
lbasename.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
lcm.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
libfuncs.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
libgcc2.c Stock files. 2005-06-03 03:50:42 +00:00
libgcc2.h Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
libgcc-darwin.ver Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
libgcc-std.ver Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
libgcov.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
libiberty.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
limitx.h
limity.h
line-map.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
line-map.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
lists.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
local-alloc.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
longlong.h Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
loop-init.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
loop-unroll.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
loop-unswitch.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
loop.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
loop.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
machmode.def Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
machmode.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
main.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
make-temp-file.c
Makefile.in Stock files. 2005-06-03 03:50:42 +00:00
md5.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
md5.h Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
mips-tdump.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
mips-tfile.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
mkconfig.sh Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
mkdeps.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
mkdeps.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
mkheaders.in Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
mklibgcc.in Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
mkmap-flat.awk
mkmap-symver.awk Gcc 3.3.3 20031106. 2003-11-07 02:43:04 +00:00
mode-classes.def Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
move-if-change Gcc 3.2.1 release virgin vendor import. (19-Nov-2002) 2002-12-04 15:42:16 +00:00
obstack.c
obstack.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ONEWS Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
optabs.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
optabs.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
opts.c -O0 -O1 should optimize alignment for time, not size. Moved from toplev.c. 2004-07-28 04:23:38 +00:00
opts.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
opts.sh Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
output.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
params.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
params.def Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
params.h Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
partition.c
partition.h Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
pex-common.h Import one more file for Gcc 3.4.2 20040728. 2004-08-12 02:21:58 +00:00
pex-unix.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
pexecute.c Remove files that are not part of GCC 3.4.x from the vendor branch. 2004-08-12 16:41:42 +00:00
physmem.c Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
postreload.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
predict.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
predict.def Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
predict.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
prefix.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
prefix.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
pretty-print.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
pretty-print.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
print-rtl.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
print-tree.c Use stock GCC versions on these files. 2004-07-28 03:36:15 +00:00
profile.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
protoize.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ra-build.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ra-colorize.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ra-debug.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ra-rewrite.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ra.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
ra.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
read-rtl.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
README-fixinc
README.Portability Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
real.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
real.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
recog.c Use stock GCC versions on these files. 2004-07-28 03:36:15 +00:00
recog.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
reg-stack.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
regclass.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
regmove.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
regrename.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
regs.h Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
reload1.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
reload.c Stock files. 2005-06-03 03:50:42 +00:00
reload.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
reorg.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
resource.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
resource.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
rtl-error.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
rtl.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
rtl.def Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
rtl.h Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
rtlanal.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
sbitmap.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
sbitmap.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
scan-decls.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
scan-types.sh
scan.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
scan.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
sched-deps.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
sched-ebb.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
sched-int.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
sched-rgn.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
sched-vis.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
sdbout.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
sdbout.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
SERVICE
sibcall.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
simplify-rtx.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
sort-protos
splay-tree.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
splay-tree.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
sreal.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
sreal.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
stab.def Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
stack.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
stmt.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
stor-layout.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
stringpool.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
stub-objc.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
symcat.h
sys-protos.h
sys-types.h
system.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
target-def.h Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
target.h Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
targhooks.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
targhooks.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
timevar.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
timevar.def Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
timevar.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
tlink.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
toplev.c Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
toplev.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
tracer.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
tree-dump.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
tree-dump.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
tree-inline.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
tree-inline.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
tree-optimize.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
tree.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
tree.def Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
tree.h Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
tsystem.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
typeclass.h
unroll.c Gcc 3.4.6 as of 2006/08/25 #116475. 2006-08-26 21:29:10 +00:00
unwind-c.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
unwind-compat.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
unwind-compat.h Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
unwind-dw2-fde-compat.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
unwind-dw2-fde-darwin.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
unwind-dw2-fde-glibc.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
unwind-dw2-fde.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
unwind-dw2-fde.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
unwind-dw2.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
unwind-pe.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
unwind-sjlj.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
unwind.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
unwind.inc Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
value-prof.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
value-prof.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
varasm.c Gcc 3.4.4 release. 2005-06-03 03:28:44 +00:00
varray.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
varray.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
version.c Resolve conflicts after GCC 3.4.6 20060825 import. 2006-08-26 21:37:21 +00:00
version.h Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
vmsdbg.h Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
vmsdbgout.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
web.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
xcoff.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
xcoffout.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
xcoffout.h Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
xexit.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
xmalloc.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
xmemdup.c Gcc 3.3.1-pre as of 2003-07-11. 2003-07-11 03:40:53 +00:00
xstrdup.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
xstrerror.c Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00

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.