egcs-19981012 - parsing troubles in assembler
Michal Jaegermann
michal@ellpspace.math.ualberta.ca
Fri Oct 16 10:43:00 GMT 1998
egcs-19981012 on Linux/Alpha
Trying recompilation of a file from Linux kernel sources I get the
following (plus many more lines of errors):
/usr/src/linux-2.0.36/include/asm/byteorder.h: In function `__ntohl':
In file included from /usr/src/linux-2.0.36/include/linux/in.h:120,
from drivers/net/slhc.c:65:
/usr/src/linux-2.0.36/include/asm/byteorder.h:55: output operand constraint lacks `='
/usr/src/linux-2.0.36/include/asm/byteorder.h: In function `__ntohs':
/usr/src/linux-2.0.36/include/asm/byteorder.h:76: output operand constraint lacks `='
The fragment of a header file in question (from line 76 onwards) looks
like follows:
......
: "r="(res), "r="(t1) : "r"(x));
return res;
}
and the file itsels did not change from July 1, 1996.
This, indeed, prevents a bug I was reporting early (about problems
with inlined functions and -O2) from showing up - but likely because
optimizer was never reached. This price seem to be a bit excessive. :-)
Michal Jaegermann
michal@harddata.com
michal@ellspace.math.ualberta.ca
More information about the Gcc-bugs
mailing list