target_requires_64bit_host_wide_in unused

Andreas Jaeger aj@suse.de
Sat Jul 13 06:49:00 GMT 2002


Looking at SH I noticed that it has these lines in config.gcc:

		# Not strictly necessary to check this, but a good idea anyway.
		if test $machine = $target; then
			target_requires_64bit_host_wide_int=yes
		fi
		;;

But target_requires_64bit_host_wide_int is totally unused in GCC and
the sourceware SRC repository.

This got introduced with this ChangeLog entry:

2002-02-09  Alexandre Oliva  <aoliva@redhat.com>

        [...]
	2001-01-10  Alexandre Oliva  <aoliva@redhat.com>
	* config.gcc (sh64): Set target_requires_64bit_host_wide_int.

Alexandre, do we really need this - and is this correct?

I propose to remove the lines.  Checked with crossbuilding from
i686-linux-gnu to sh64-elf.

Ok to commit?

Andreas

2002-07-13  Andreas Jaeger  <aj@suse.de>

	* config.gcc (sh64): Remove unused
	target_requires_64bit_host_wide_int.

============================================================
Index: gcc/config.gcc
--- gcc/config.gcc	11 Jul 2002 18:56:55 -0000	1.223
+++ gcc/config.gcc	13 Jul 2002 09:36:35 -0000
@@ -2232,10 +2232,6 @@ sh-*-elf* | sh[2346l]*-*-elf*)
 		tmake_file="${tmake_file} sh/t-sh64"
 		tm_file="${tm_file} sh/sh64.h"
 		extra_headers="shmedia.h ushmedia.h sshmedia.h"
-		# Not strictly necessary to check this, but a good idea anyway.
-		if test $machine = $target; then
-			target_requires_64bit_host_wide_int=yes
-		fi
 		;;
 	sh4_single*)  target_cpu_default="SELECT_SH4_SINGLE" ;;
 	sh4*)  target_cpu_default="SELECT_SH4" ;;
@@ -2285,10 +2281,6 @@ sh-*-linux* | sh[2346lbe]*-*-linux*)
 		tmake_file="${tmake_file} sh/t-sh64"
 		tm_file="${tm_file} sh/sh64.h"
 		extra_headers="shmedia.h ushmedia.h sshmedia.h"
-		# Not strictly necessary to check this, but a good idea anyway.
-		if test $machine = $target; then
-			target_requires_64bit_host_wide_int=yes
-		fi
 		;;
 	sh4_single*) target_cpu_default="SELECT_SH4_SINGLE" ;;
 	sh4*) target_cpu_default="SELECT_SH4" ;;

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-patches mailing list