This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[libgfortran,committed] Remove LIBGFOR_TARGET_ILP32
- From: FX Coudert <fxcoudert at gmail dot com>
- To: "fortran at gcc dot gnu dot org Fortran" <fortran at gcc dot gnu dot org>, gcc-patches list <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 20 Sep 2007 23:45:07 +0100
- Subject: [libgfortran,committed] Remove LIBGFOR_TARGET_ILP32
LIBGFOR_TARGET_ILP32 is unused since 2006, this patch removes it.
Bootstrapped and regtested on x86_64-linux, committed as rev. 128635.
Index: ChangeLog
===================================================================
--- ChangeLog (revision 128634)
+++ ChangeLog (working copy)
@@ -1,3 +1,10 @@
+2007-09-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * acinclude.m4 (LIBGFOR_TARGET_ILP32): Remove test.
+ * configure.ac: Don't call LIBGFOR_TARGET_ILP32.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
2007-09-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR libfortran/21185
Index: configure.ac
===================================================================
--- configure.ac (revision 128540)
+++ configure.ac (working copy)
@@ -404,10 +404,6 @@ AC_MSG_NOTICE([FPU dependent file will b
FPU_HOST_HEADER=config/${fpu_host}.h
AC_SUBST(FPU_HOST_HEADER)
-# Attempt to assert that the target is of common type in case we don't
-# have C99 integer types at all.
-LIBGFOR_TARGET_ILP32
-
# Check out attribute support.
LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY
LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT
Index: acinclude.m4
===================================================================
--- acinclude.m4 (revision 128540)
+++ acinclude.m4 (working copy)
@@ -27,26 +27,6 @@ AC_DEFUN([AC_LIBTOOL_DLOPEN])
AC_DEFUN([AC_PROG_LD])
])
-dnl Check whether the target is ILP32.
-AC_DEFUN([LIBGFOR_TARGET_ILP32], [
- AC_CACHE_CHECK([whether the target is ILP32], target_ilp32, [
- save_CFLAGS="$CFLAGS"
- CFLAGS="-O2"
- AC_TRY_LINK(,[
-if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
- ;
-else
- undefined_function ();
- ],
- target_ilp32=yes,
- target_ilp32=no)
- CFLAGS="$save_CFLAGS"])
- if test $target_ilp32 = yes; then
- AC_DEFINE(TARGET_ILP32, 1,
- [Define to 1 if the target is ILP32.])
- fi
- ])
-
dnl Check whether the target supports hidden visibility.
AC_DEFUN([LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY], [
AC_CACHE_CHECK([whether the target supports hidden visibility],