This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/32717] New: def value is ignored
- From: "drazen dot zeman at kr dot htnet dot hr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2007 11:23:02 -0000
- Subject: [Bug preprocessor/32717] New: def value is ignored
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Appeared from July 6th:
For instance, if .S file has line:
cmpl $FFI_TYPE_INT,%ecx
and $FFI_TYPE_INT is included from ffi.h as
#define FFI_TYPE_INT 1
def value is ignored, and only name after dollar sign is recognized. Defines
for assembler are just a string after $.
As the result, linker throws undefined references:
libffi_convenience.a/win32.o:../../../gcc-4.3-July7th/libffi/src/x86/win32.S:77:
undefined reference to `FFI_TYPE_FLOAT'
and for all other defined values.
Snapshot from June 29th compiled fine.
Drazen
--
Summary: def value is ignored
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: drazen dot zeman at kr dot htnet dot hr
GCC build triplet: i386-pc-mingw32
GCC host triplet: i386-pc-mingw32
GCC target triplet: i386-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32717