This is the mail archive of the 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]
Other format: [Raw text]

RE: [Patch: mingw/cygwin] Don't strip '@' dangles from stdcall/fastcall dllimport references

 Kai Tietz  
 Sunday, 15 July 2007 8:31 p.m.
> Danny Smith <xxxxxxxxxxxxxx> wrote on 14.07.2007 08:24:23:
> > 
> > Well after all the noise about needing to strip '@' if TARGET_64BIT,
> > it turns out that  fastcall and stdcall are just ignored on 
> > TARGET_64BIT (see ix86_handle_cconv_attribute in i386.c) so there is
> > no '@' to strip.  Thanks to Ross Ridge for the reality check.
> Yes, that's right and sorry about the noise.
> > The original patch is all that's needed.
> Maybe it would at least clarify make this if checking, 
> because this macro 
> is defined in "target-def.h" in gcc. It seems to be used 
> nowhere beside in 
> the target specific parts, but maybe this 'if'-clause 
> simplifies reading 
> of this macro for i386 target ?

I'm sorry. I don't know what you mean.  AFAICT  default_strip_name_encoding should work on 64 bit as well as 32 bit Windows targets.  Where would you simplify the reading with an 'if-clause'? 


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