Re-installed 2001-01-09's patch:
* hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long if it's wider than long and the target's long is wider than the host's. From-SVN: r41785
This commit is contained in:
parent
5158d7eeb7
commit
4abe9f62d8
@ -1,3 +1,10 @@
|
||||
2001-05-03 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
Re-installed 2001-01-09's patch:
|
||||
* hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
|
||||
if it's wider than long and the target's long is wider than the
|
||||
host's.
|
||||
|
||||
2001-05-02 David O'Brien <obrien@FreeBSD.org>
|
||||
|
||||
* config.gcc, config/rs6000/aix51.h, config/rs6000/mach.h: Do not
|
||||
|
23
gcc/hwint.h
23
gcc/hwint.h
@ -27,6 +27,29 @@
|
||||
|
||||
/* Find the largest host integer type and set its size and type. */
|
||||
|
||||
/* Use long long on the host if the target has a wider long type than
|
||||
the host. */
|
||||
|
||||
#if ! defined HOST_BITS_PER_WIDE_INT \
|
||||
&& defined HOST_BITS_PER_LONGLONG \
|
||||
&& (HOST_BITS_PER_LONGLONG > HOST_BITS_PER_LONG) \
|
||||
&& (defined (LONG_LONG_MAX) || defined (LONGLONG_MAX) \
|
||||
|| defined (LLONG_MAX) || defined (__GNUC__))
|
||||
|
||||
# ifdef MAX_LONG_TYPE_SIZE
|
||||
# if MAX_LONG_TYPE_SIZE > HOST_BITS_PER_LONG
|
||||
# define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONGLONG
|
||||
# define HOST_WIDE_INT long long
|
||||
# endif
|
||||
# else
|
||||
# if LONG_TYPE_SIZE > HOST_BITS_PER_LONG
|
||||
# define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONGLONG
|
||||
# define HOST_WIDE_INT long long
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef HOST_BITS_PER_WIDE_INT
|
||||
|
||||
# if HOST_BITS_PER_LONG > HOST_BITS_PER_INT
|
||||
|
Loading…
Reference in New Issue
Block a user