This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
current CVS version 'miscompiles' Linux kernel modules [1/2]
- To: gcc-bugs at gcc dot gnu dot org
- Subject: current CVS version 'miscompiles' Linux kernel modules [1/2]
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Fri, 25 Feb 2000 13:01:14 +0100
If I compile the modules for 2.3.47, I get unresolved external references to
memcpy in some of them. This shouldn't happen, as the files in question do
include linux/string.h and thus get inline versions of __memcpy and suitable
defines. I've singled out one of the files. If I compile this with egcs
1.1.2 or gcc 2.95.2 everything is OK, compiled with current CVS
'nm --undefined-only' shows memcpy as external reference.
The preprocessed versions done by egcs 1.1.2 is attached here, the one
preprocessed by 2.96 follows in the next messages.
Could someone please have a look as to what the reason might be? I can only
guess that it's because of the string ops optimizations added lately.
Philipp
--
Philipp Thomas <pthomas@suse.de>
SuSE GmbH, Deutschherrenstrasse 15-29, 90429 Nuremberg
The only difference between a bug and a feature is you can turn a feature off.
isdn_common.egcs.i.bz2