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]

Re: libgcc2.h:99: no data type for mode `TI'


      > 	* config/sparc/xm-sp64.h (HOST_WIDE_INT): Define if compiling
      > 	with 32bit compiler for 64bit target.
      > 	(HOST_BITS_PER_WIDE_INT): Likewise.

    I don't know the state of this problem, but I do know that Alex Oliva
    has a patch which auto-detects cases when we need to use long long for
    HOST_WIDE_INT.  That's probably a cleaner solution than hacking up the
    xm files to do this.

I don't like that patch either, for essentially the same reason as you, but
also because using long long for HOST_WIDE_INT is sometimes problematical
and I'm leery about it happening as automatic as the above way. If we
auto-detect we can, theoretically at least, do enough testing to verify
that it actually works.

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