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

Re: [3.4-BIB]: Add attribute support for MS bitfields


Hmm, shouldn't declarations in header files always get the native
attribute, unless specified otherwise?

Come to think of it, such a mechanism for function declarations could also
help with the reg-struct-return conundrum on svr4 targets.  Gnu/Linux elf
binaries that use a lot of return value passing of small unions loose out
against Linux a.out binaries because they pass the results in memory rather
than in a register.  If we could use -freg-struct-return without affecting
the interface to system library calls, that would be quite helpful.

-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658


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