public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/32717]  New: def value is ignored
@ 2007-07-10 11:23 drazen dot zeman at kr dot htnet dot hr
  2007-07-10 11:59 ` [Bug preprocessor/32717] " schwab at suse dot de
  0 siblings, 1 reply; 2+ messages in thread
From: drazen dot zeman at kr dot htnet dot hr @ 2007-07-10 11:23 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug preprocessor/32717] def value is ignored
  2007-07-10 11:23 [Bug preprocessor/32717] New: def value is ignored drazen dot zeman at kr dot htnet dot hr
@ 2007-07-10 11:59 ` schwab at suse dot de
  0 siblings, 0 replies; 2+ messages in thread
From: schwab at suse dot de @ 2007-07-10 11:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from schwab at suse dot de  2007-07-10 11:58 -------


*** This bug has been marked as a duplicate of 32670 ***


-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32717


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-10 11:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-10 11:23 [Bug preprocessor/32717] New: def value is ignored drazen dot zeman at kr dot htnet dot hr
2007-07-10 11:59 ` [Bug preprocessor/32717] " schwab at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).