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]

Re: current CVS version 'miscompiles' Linux kernel modules [1/2]


* Martin v. Loewis (martin@loewis.home.cs.tu-berlin.de) [20000226 01:26]:

> Thanks for your bug report. I'm not certain this is a bug in gcc: It
> happens in the call
> 
>   isdn_net_find_icall(di, c->arg, i, c->parm.setup))

First of all thanks for the answer. With your info, I'll be able to track
down the other places that get the unwanted library reference.

> Apparently, there is no way of turning of the library call - that may
> be a bug.

Well, I'd say this is a bug. In places such as the kernel, library calls
mustn't happen. So IMO there should be a switch that would make gcc abort
when it encounters a situation where it would issue such a call. This would
help immensely tracking down the cause.
 
> OTOH, I think that the ISDN driver has by-value 64 byte parameters is
> also a bug.

Yes, I'd agree with you here that this isn't a very wise thing to do.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
SuSE GmbH, Deutschherrenstrasse 15-29, 90429 Nuremberg

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX for PDP 11, /usr/include/sys/param.h

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