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]
Other format: [Raw text]

4.4 deprecation patches


These patches implement the deprecations discussed at 
<http://gcc.gnu.org/ml/gcc/2008-06/msg00324.html> of various targets and 
the protoize and unprotoize utilities.  OK to commit?

Of the targets listed there as still using fixproto, hppa[12]*-*-hpux10* 
has had its fixproto use removed so it is not on the deprecation list.  I 
encourage anyone using GCC for IRIX, 2BSD or AIX 4.1 and 4.2 to stop those 
targets from using fixproto (possibly just removing the use_fixproto 
setting, possibly adding new fixes to fixincludes to replace any important 
changes fixproto made) and to remove the deprecations at the same time.  
(Please also send your test results to gcc-testresults if you are using 
one of those targets.)

Deprecation of targets not converted to IRA will wait until after IRA is 
on trunk and the old allocator is removed.

2008-07-03  Joseph Myers  <joseph@codesourcery.com>

	* config.gcc (arm-*-coff*, armel-*-coff*, h8300-*-*,
	i[34567]86-*-aout*, i[34567]86-*-coff*, m68k-*-aout*,
	m68k-*-coff*, sh-*-*, mips-sgi-irix[56]*, pdp11-*-bsd,
	rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Deprecate targets,
	excluding more specific h8300-*-* and sh-*-* targets.

Index: config.gcc
===================================================================
--- config.gcc	(revision 137412)
+++ config.gcc	(working copy)
@@ -204,16 +204,32 @@
 md_file=
 
 # Obsolete configurations.
-#case ${target} in
-# )
-#    if test "x$enable_obsolete" != xyes; then
-#      echo "*** Configuration ${target} is obsolete." >&2
-#      echo "*** Specify --enable-obsolete to build it anyway." >&2
-#      echo "*** Support will be REMOVED in the next major release of GCC," >&2
-#      echo "*** unless a maintainer comes forward." >&2
-#      exit 1
-#    fi;;
-#esac
+case ${target} in
+# Avoid generic cases below matching.
+   h8300-*-rtems* | h8300-*-elf* \
+ | sh-*-elf* | sh-*-symbianelf* | sh-*-linux* | sh-*-netbsdelf* \
+ | sh-*-rtems* | sh-wrs-vxworks) ;;
+   arm-*-coff*		\
+ | armel-*-coff*	\
+ | h8300-*-*		\
+ | i[34567]86-*-aout*	\
+ | i[34567]86-*-coff*	\
+ | m68k-*-aout*		\
+ | m68k-*-coff*		\
+ | sh-*-*		\
+ | mips-sgi-irix[56]*	\
+ | pdp11-*-bsd		\
+ | rs6000-ibm-aix4.[12]* \
+ | powerpc-ibm-aix4.[12]* \
+ )
+    if test "x$enable_obsolete" != xyes; then
+      echo "*** Configuration ${target} is obsolete." >&2
+      echo "*** Specify --enable-obsolete to build it anyway." >&2
+      echo "*** Support will be REMOVED in the next major release of GCC," >&2
+      echo "*** unless a maintainer comes forward." >&2
+      exit 1
+    fi;;
+esac
 
 # Unsupported targets list.  Do not put an entry in this list unless
 # it would otherwise be caught by a more permissive pattern.  The list


Index: gcc-4.4/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.4/changes.html,v
retrieving revision 1.15
diff -u -r1.15 changes.html
--- gcc-4.4/changes.html	19 Jun 2008 17:38:47 -0000	1.15
+++ gcc-4.4/changes.html	3 Jul 2008 19:16:53 -0000
@@ -50,6 +50,39 @@
     the compiler can schedule the runtime multiplication
     better than it can schedule an <code>asm</code> statement.</p>
     </li>
+
+    <li><p>Support for a number of older systems and recently
+    unmaintained or untested target ports of GCC has been declared
+    obsolete in GCC 4.4.  Unless there is activity to revive them, the
+    next release of GCC will have their sources permanently
+    <strong>removed</strong>.</p>
+
+    <p>The following ports for individual systems on particular
+    architectures have been obsoleted:</p>
+
+    <ul>
+      <li>Generic a.out on IA32 and m68k (i[34567]86-*-aout*,
+        m68k-*-aout*)</li>
+      <li>Generic COFF on ARM, H8300, IA32, m68k and SH (arm-*-coff*,
+        armel-*-coff*, h8300-*-*, i[34567]86-*-coff*, m68k-*-coff*,
+        sh-*-*).  This does not affect other more specific targets
+        using the COFF object format on those architectures, or the
+        more specific H8300 and SH targets (h8300-*-rtems*,
+        h8300-*-elf*, sh-*-elf*, sh-*-symbianelf*, sh-*-linux*,
+        sh-*-netbsdelf*, sh-*-rtems*, sh-wrs-vxworks).</li>
+      <li>IRIX on MIPS (mips-sgi-irix[56]*)</li>
+      <li>2BSD on PDP-11 (pdp11-*-bsd)</li>
+      <li>AIX 4.1 and 4.2 on PowerPC (rs6000-ibm-aix4.[12]*,
+        powerpc-ibm-aix4.[12]*)</li>
+    </ul>
+
+    </li>
+
+    <li>The <code>protoize</code> and <code>unprotoize</code>
+    utilities have been obsoleted and will be removed in GCC 4.5.
+    These utilities have not been installed by default since GCC
+    3.0.</li>
+
  </ul>
 
 <h2>General Optimizer Improvements</h2>

-- 
Joseph S. Myers
joseph@codesourcery.com


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