This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
cpp using cpplib fails to preprocess asm code
- To: gcc-bugs at gcc dot gnu dot org
- Subject: cpp using cpplib fails to preprocess asm code
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Sun, 31 Oct 1999 06:52:00 +0100
I don't know if this is a known bug, but it seems, that a cpp that uses
cpplib doesn't relax syntax checking when processing .S files. A few
.S files (to be assembled by the ancient as86) in the Linux kernel contain
.lines like the following:
! bde - changed 0xff00 to 0x4000 to use debugger at 0x6400 up (bde). We
! wouldn't have to worry about this if we checked the top of memory. Also
mov ax, #0xe05 + 'A - 1
sub al, cl
int 0x10
For these, gcc gets passed -traditional. While a normal cpp will process
them, a cpplib using cpp stops with error because of unterminated string
constant.
gcc is 2.96, current CVS.
--
Philipp Thomas <pthomas@suse.de>
close the windows - the penguin is freezing