mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 21:31:19 +08:00
alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
gcc: * alloc-pool.c: Don't check HAVE_LONG_DOUBLE. * fixinc/gnu-regex.c: Don't define `volatile'. * ggc-page.c: Don't check HAVE_LONG_DOUBLE. * ggc-simple.c: Likewise. * system.h: Don't define `volatile'. * aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete. * configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't call these macros. * config.in, configure: Regenerated. include: * ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support. From-SVN: r68085
This commit is contained in:
parent
99657762e9
commit
a54928c932
@ -1,3 +1,16 @@
|
||||
2003-06-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
|
||||
* fixinc/gnu-regex.c: Don't define `volatile'.
|
||||
* ggc-page.c: Don't check HAVE_LONG_DOUBLE.
|
||||
* ggc-simple.c: Likewise.
|
||||
* system.h: Don't define `volatile'.
|
||||
|
||||
* aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete.
|
||||
* configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't
|
||||
call these macros.
|
||||
* config.in, configure: Regenerated.
|
||||
|
||||
2003-06-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
|
||||
|
30
gcc/aclocal.m4
vendored
30
gcc/aclocal.m4
vendored
@ -163,36 +163,6 @@ fi
|
||||
AC_SUBST(LN)dnl
|
||||
])
|
||||
|
||||
dnl See whether the stage1 host compiler accepts the volatile keyword.
|
||||
AC_DEFUN(gcc_AC_C_VOLATILE,
|
||||
[AC_CACHE_CHECK([for volatile], gcc_cv_c_volatile,
|
||||
[AC_TRY_COMPILE(, [volatile int foo;],
|
||||
gcc_cv_c_volatile=yes, gcc_cv_c_volatile=no)])
|
||||
if test $gcc_cv_c_volatile = yes ; then
|
||||
AC_DEFINE(HAVE_VOLATILE, 1, [Define if your compiler understands volatile.])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl Check whether long double is supported. This differs from the
|
||||
dnl built-in autoconf test in that it works for cross compiles.
|
||||
AC_DEFUN(gcc_AC_C_LONG_DOUBLE,
|
||||
[AC_CACHE_CHECK(for long double, gcc_cv_c_long_double,
|
||||
[if test "$GCC" = yes; then
|
||||
gcc_cv_c_long_double=yes
|
||||
else
|
||||
AC_TRY_COMPILE(,
|
||||
[/* The Stardent Vistra knows sizeof(long double), but does not support it. */
|
||||
long double foo = 0.0;
|
||||
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
|
||||
switch (0) case 0: case (sizeof(long double) >= sizeof(double)):;],
|
||||
gcc_cv_c_long_double=yes, gcc_cv_c_long_double=no)
|
||||
fi])
|
||||
if test $gcc_cv_c_long_double = yes; then
|
||||
AC_DEFINE(HAVE_LONG_DOUBLE, 1,
|
||||
[Define if your compiler supports the \`long double' type.])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl Check whether _Bool is built-in.
|
||||
AC_DEFUN(gcc_AC_C__BOOL,
|
||||
[AC_CACHE_CHECK(for built-in _Bool, gcc_cv_c__bool,
|
||||
|
@ -54,11 +54,8 @@ typedef struct allocation_object_def
|
||||
the following elements are here. They are never accessed so
|
||||
the allocated object may be even smaller than this structure. */
|
||||
char *align_p;
|
||||
double align_d;
|
||||
HOST_WIDEST_INT align_i;
|
||||
#ifdef HAVE_LONG_DOUBLE
|
||||
long double align_ld;
|
||||
#endif
|
||||
} u;
|
||||
} allocation_object;
|
||||
|
||||
|
@ -297,12 +297,6 @@
|
||||
/* Define to enable the use of a default assembler. */
|
||||
#undef DEFAULT_ASSEMBLER
|
||||
|
||||
/* Define if your compiler understands volatile. */
|
||||
#undef HAVE_VOLATILE
|
||||
|
||||
/* Define if your compiler supports the `long double' type. */
|
||||
#undef HAVE_LONG_DOUBLE
|
||||
|
||||
/* Define if your compiler supports the `long long' type. */
|
||||
#undef HAVE_LONG_LONG
|
||||
|
||||
|
661
gcc/configure
vendored
661
gcc/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -244,9 +244,7 @@ CFLAGS="$save_CFLAGS"])
|
||||
|
||||
AC_PROG_CPP
|
||||
AC_C_INLINE
|
||||
gcc_AC_C_VOLATILE
|
||||
|
||||
gcc_AC_C_LONG_DOUBLE
|
||||
gcc_AC_C_LONG_LONG
|
||||
gcc_AC_C__BOOL
|
||||
|
||||
|
@ -78,10 +78,6 @@
|
||||
# define gettext_noop(String) String
|
||||
#endif
|
||||
|
||||
# if !defined(volatile) && !defined(HAVE_VOLATILE)
|
||||
# define volatile
|
||||
# endif
|
||||
|
||||
/* If we are not linking with Emacs proper,
|
||||
we can't use the relocating allocator
|
||||
even if config.h says that we can. */
|
||||
|
@ -200,11 +200,7 @@ struct max_alignment {
|
||||
char c;
|
||||
union {
|
||||
HOST_WIDEST_INT i;
|
||||
#ifdef HAVE_LONG_DOUBLE
|
||||
long double d;
|
||||
#else
|
||||
double d;
|
||||
#endif
|
||||
} u;
|
||||
};
|
||||
|
||||
|
@ -86,11 +86,7 @@ struct ggc_mem
|
||||
/* Make sure the data is reasonably aligned. */
|
||||
union {
|
||||
HOST_WIDEST_INT i;
|
||||
#ifdef HAVE_LONG_DOUBLE
|
||||
long double d;
|
||||
#else
|
||||
double d;
|
||||
#endif
|
||||
} u;
|
||||
};
|
||||
|
||||
|
@ -357,12 +357,6 @@ extern int setrlimit (int, const struct rlimit *);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* HAVE_VOLATILE only refers to the stage1 compiler. We also check
|
||||
__STDC__ and assume gcc sets it and has volatile in stage >=2. */
|
||||
#if !defined(HAVE_VOLATILE) && !defined(__STDC__) && !defined(volatile)
|
||||
#define volatile
|
||||
#endif
|
||||
|
||||
#if defined (HAVE_DECL_ABORT) && !HAVE_DECL_ABORT
|
||||
extern void abort (void);
|
||||
#endif
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-06-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support.
|
||||
|
||||
2003-05-15 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* libiberty.h (hex_value): Make the value an unsigned int, to
|
||||
|
@ -312,15 +312,4 @@ So instead we use the macro below and test it against specific values. */
|
||||
#define __extension__
|
||||
#endif
|
||||
|
||||
/* Bootstrap support: Adjust certain macros defined by Autoconf,
|
||||
which are only valid for the stage1 compiler. If we detect
|
||||
a modern version of GCC, we are probably in stage2 or beyond,
|
||||
so unconditionally reset the values. Note that const, inline,
|
||||
etc. have been dealt with above. */
|
||||
#if (GCC_VERSION >= 2007)
|
||||
# ifndef HAVE_LONG_DOUBLE
|
||||
# define HAVE_LONG_DOUBLE 1
|
||||
# endif
|
||||
#endif /* GCC >= 2.7 */
|
||||
|
||||
#endif /* ansidecl.h */
|
||||
|
Loading…
x
Reference in New Issue
Block a user