This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cpp using cpplib fails to preprocess asm code


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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]