This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: RFC: designated initializer vs. long long for i386 assembler


"H. J. Lu" <hjl@lucon.org> writes:

> On Tue, Feb 20, 2007 at 08:15:07PM +0100, Segher Boessenkool wrote:
> > >>>I need much more than 2 bits, which won't fit in the current
> > >>>32bit int.
> > >>
> > >>Then I suggest adding another field.  I don't think we can force
> > >>people to use a C99 compiler to build binutils.
> > >
> > >Adding another field will lead to massive changes to x86 assembler.
> > >I will use long long if C99 feature isn't desirable.
> > 
> > "long long" _is_ a C99 feature.  GCC had it before of course,
> > but not all the world builds binutils using GCC ;-)
> 
> long long is used by config/tc-d30v.c and config/tc-xtensa.c.

The difference is that those are only built as cross-tools.  We
decided a long time ago to permit requiring gcc when building a
cross-tool.  But as far as I know we haven't decided to permit
requiring gcc, or a C99 compiler, when building a native tool.

Ian


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