public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* 4.4 deprecation patches
@ 2008-07-03 19:38 Joseph S. Myers
  2008-07-08 18:35 ` Ian Lance Taylor
  0 siblings, 1 reply; 6+ messages in thread
From: Joseph S. Myers @ 2008-07-03 19:38 UTC (permalink / raw)
  To: gcc-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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 4.4 deprecation patches
  2008-07-03 19:38 4.4 deprecation patches Joseph S. Myers
@ 2008-07-08 18:35 ` Ian Lance Taylor
  2008-07-08 19:22   ` Jeff Law
  2008-07-09  1:27   ` Mark Mitchell
  0 siblings, 2 replies; 6+ messages in thread
From: Ian Lance Taylor @ 2008-07-08 18:35 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: gcc-patches

"Joseph S. Myers" <joseph@codesourcery.com> writes:

> 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?

I don't know whether this counts as an "algorithmic" change or not.
I'm approve it in case it does not.

Thanks.

Ian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 4.4 deprecation patches
  2008-07-08 18:35 ` Ian Lance Taylor
@ 2008-07-08 19:22   ` Jeff Law
  2008-07-08 21:56     ` Joseph S. Myers
  2008-07-09  1:27   ` Mark Mitchell
  1 sibling, 1 reply; 6+ messages in thread
From: Jeff Law @ 2008-07-08 19:22 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: Joseph S. Myers, gcc-patches

Ian Lance Taylor wrote:
> "Joseph S. Myers" <joseph@codesourcery.com> writes:
> 
>> 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?
> 
> I don't know whether this counts as an "algorithmic" change or not.
> I'm approve it in case it does not.

I'd like to ask the H8 not be deprecated -- we still occasionally get 
submissions for the H8 port.  I'll volunteer for the IRA conversion of 
the H8.

jeff

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 4.4 deprecation patches
  2008-07-08 19:22   ` Jeff Law
@ 2008-07-08 21:56     ` Joseph S. Myers
  2008-07-10 17:08       ` Jeff Law
  0 siblings, 1 reply; 6+ messages in thread
From: Joseph S. Myers @ 2008-07-08 21:56 UTC (permalink / raw)
  To: Jeff Law; +Cc: Ian Lance Taylor, gcc-patches

On Tue, 8 Jul 2008, Jeff Law wrote:

> Ian Lance Taylor wrote:
> > "Joseph S. Myers" <joseph@codesourcery.com> writes:
> > 
> > > 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?
> > 
> > I don't know whether this counts as an "algorithmic" change or not.
> > I'm approve it in case it does not.
> 
> I'd like to ask the H8 not be deprecated -- we still occasionally get
> submissions for the H8 port.  I'll volunteer for the IRA conversion of the H8.

The only H8 deprecation proposed (as long as it's converted to IRA) is the 
generic COFF target, which is all target triplets matching h8300-*-* that 
don't match h8300-*-rtems* or h8300-*-elf*.  Do you have a continued use 
for this COFF target?

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 4.4 deprecation patches
  2008-07-08 18:35 ` Ian Lance Taylor
  2008-07-08 19:22   ` Jeff Law
@ 2008-07-09  1:27   ` Mark Mitchell
  1 sibling, 0 replies; 6+ messages in thread
From: Mark Mitchell @ 2008-07-09  1:27 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: Joseph S. Myers, gcc-patches

Ian Lance Taylor wrote:
> "Joseph S. Myers" <joseph@codesourcery.com> writes:
> 
>> 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?
> 
> I don't know whether this counts as an "algorithmic" change or not.
> I'm approve it in case it does not.

For avoidance of doubt, I approve the patch.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 4.4 deprecation patches
  2008-07-08 21:56     ` Joseph S. Myers
@ 2008-07-10 17:08       ` Jeff Law
  0 siblings, 0 replies; 6+ messages in thread
From: Jeff Law @ 2008-07-10 17:08 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: Ian Lance Taylor, gcc-patches

Joseph S. Myers wrote:
> On Tue, 8 Jul 2008, Jeff Law wrote:
> 
>> Ian Lance Taylor wrote:
>>> "Joseph S. Myers" <joseph@codesourcery.com> writes:
>>>
>>>> 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?
>>> I don't know whether this counts as an "algorithmic" change or not.
>>> I'm approve it in case it does not.
>> I'd like to ask the H8 not be deprecated -- we still occasionally get
>> submissions for the H8 port.  I'll volunteer for the IRA conversion of the H8.
> 
> The only H8 deprecation proposed (as long as it's converted to IRA) is the 
> generic COFF target, which is all target triplets matching h8300-*-* that 
> don't match h8300-*-rtems* or h8300-*-elf*.  Do you have a continued use 
> for this COFF target?
> 
My bad.  I missed the fact that it was just the coff targets.  I can't 
recall the last time anyone used h8300-coff or h8300-hms.

Jeff

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-10 16:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-03 19:38 4.4 deprecation patches Joseph S. Myers
2008-07-08 18:35 ` Ian Lance Taylor
2008-07-08 19:22   ` Jeff Law
2008-07-08 21:56     ` Joseph S. Myers
2008-07-10 17:08       ` Jeff Law
2008-07-09  1:27   ` Mark Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).