99309f3bcb
mentions REGNO explicitly. From-SVN: r3929 |
||
---|---|---|
.. | ||
config | ||
ginclude | ||
objc | ||
assert.h | ||
basic-block.h | ||
build-make | ||
c-aux-info.c | ||
c-common.c | ||
c-convert.c | ||
c-decl.c | ||
c-iterate.c | ||
c-lang.c | ||
c-lex.c | ||
c-lex.h | ||
c-parse.gperf | ||
c-parse.in | ||
c-pragma.c | ||
c-tree.h | ||
c-typeck.c | ||
caller-save.c | ||
calls.c | ||
cccp.c | ||
cexp.y | ||
collect2.c | ||
combine.c | ||
conditions.h | ||
config.sub | ||
configure.bat | ||
convert.c | ||
convert.h | ||
cpp.1 | ||
cross-make | ||
crtstuff.c | ||
cse.c | ||
dbxout.c | ||
dbxstclass.h | ||
defaults.h | ||
dostage2 | ||
dostage3 | ||
dwarf.h | ||
dwarfout.c | ||
emit-rtl.c | ||
enquire.c | ||
explow.c | ||
expmed.c | ||
expr.c | ||
expr.h | ||
final.c | ||
fixcpp | ||
fixinc.sco | ||
fixinc.svr4 | ||
fixincludes | ||
flags.h | ||
flow.c | ||
fold-const.c | ||
function.c | ||
function.h | ||
gbl-ctors.h | ||
gcc.c | ||
genattr.c | ||
genattrtab.c | ||
gencodes.c | ||
genconfig.c | ||
genemit.c | ||
genextract.c | ||
genflags.c | ||
genopinit.c | ||
genoutput.c | ||
genpeep.c | ||
genrecog.c | ||
getpwd.c | ||
glimits.h | ||
global.c | ||
gsyms.h | ||
gsyslimits.h | ||
halfpic.c | ||
halfpic.h | ||
hard-reg-set.h | ||
input.h | ||
integrate.c | ||
integrate.h | ||
jump.c | ||
libgcc1.c | ||
libgcc2.c | ||
limitx.h | ||
limity.h | ||
local-alloc.c | ||
longlong.h | ||
loop.c | ||
loop.h | ||
machmode.def | ||
machmode.h | ||
make-cc1.com | ||
make-cccp.com | ||
make-gcc.com | ||
make-l2.com | ||
Makefile.in | ||
mips-tdump.c | ||
mips-tfile.c | ||
optabs.c | ||
output.h | ||
pcp.h | ||
print-rtl.c | ||
print-tree.c | ||
PROBLEMS | ||
PROJECTS | ||
protoize.c | ||
README-fixinc | ||
README.TRAD | ||
real.h | ||
recog.c | ||
recog.h | ||
reg-stack.c | ||
regclass.c | ||
regs.h | ||
reload1.c | ||
reload.c | ||
reload.h | ||
reorg.c | ||
rtl.c | ||
rtl.def | ||
rtl.h | ||
rtlanal.c | ||
sched.c | ||
sdbout.c | ||
sort-protos | ||
stack.h | ||
stmt.c | ||
stor-layout.c | ||
stupid.c | ||
sys-protos.h | ||
sys-types.h | ||
toplev.c | ||
tree.c | ||
tree.def | ||
tree.h | ||
typeclass.h | ||
unprotoize.c | ||
unroll.c | ||
varasm.c | ||
vmsconfig.com | ||
xcoffout.c | ||
xcoffout.h |
This is a partial list of how `gcc -traditional' disagrees with traditional C compilers (perhaps only some of them). Most of these differences are not bugs. --------------------------------------------------------------------------- K&R-1 (2.4.3) says: "If the character following a backslash is not one of those specified {in the table above}, the backslash is ignored." Up until recently, `gcc -traditional' complained about \x \a and \v appearing in a character or string literal. I believe however that this non-feature has been eliminated (recently). --------------------------------------------------------------------------- When in -traditional mode, gcc allows the following erroneous pair of declarations to appear together in a given scope: typedef int foo; typedef foo foo; --------------------------------------------------------------------------- K&R-1 (8.5) says: "No field may be wider than a word." Gcc however allows: struct S { int i:33; }; --------------------------------------------------------------------------- In K&R-1 there is no restriction against comments crossing include file boundaries. Gcc however doesn't allow this, even when in -traditional mode. --------------------------------------------------------------------------- Regarding the length of identifiers, K&R-1 (2.2) says: "No more than the first eight characters are significant, although more may be used." Gcc treats all characters of identifiers as significant, even when in -traditional mode. --------------------------------------------------------------------------- K&R-1 (2.2) says: "An identifier is a sequence of letters and digits; the first character must be a letter. The underscore _ counts as a letter." Gcc also allows dollar signs in identifiers. (This may also be an issue for the -pedantic option.) ---------------------------------------------------------------------------