some background information: ----- Forwarded message from Richard Sandiford <[EMAIL PROTECTED]> -----
From: Richard Sandiford <[EMAIL PROTECTED]> Subject: [PATCH] Re: Documentating the removal of -fshared-data Date: Mon, 05 Jun 2006 09:40:15 +0100 To: Martin Michlmayr <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Martin Michlmayr <[EMAIL PROTECTED]> writes: > The -fshared-data option has been removed in GCC 4.2, but as far as I > can tell this is not documented anywhere. Would it be possible to > mention this at http://gcc.gnu.org/gcc-4.2/changes.html, and possibly > in a section of the GCC manual? I don't think a manual entry is appropriate. A release notes entry is definitely appropriate though; thanks for the nudge. Here's a patch to changes.html. OK to apply? I deliberately kept the changes.html short. For the record, in gcc 2.95, the only targets that supported -fshared-data appear to have been: a29k-*-bsd* a29k-*-sym1* i?86-sequent-bsd* i?86-sequent-ptx[12]* i?86-sequent-sysv3* There was also some -fshared-data code in config/n32k, but the n32k configury had been removed by this stage, so config/n32k was unused. The situation remained like this for 3.0, 3.1 and 3.2. However, all of the targets above were declared obselete in 3.1 and were removed in 3.3. That wasn't the end of the story though. The i370 port was also added in 3.3, and its TARGET_HLASM code supported -fshared-data. So in 3.3, the only targets to support -fshared-data were: i370-*-opened* i370-*-mvs* The i370 port was declared obselete in 3.4 (!) and removed before 4.0, at which point the option became truly dead. Richard Index: htdocs/gcc-4.2/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.2/changes.html,v retrieving revision 1.9 diff -u -r1.9 changes.html --- htdocs/gcc-4.2/changes.html 11 Apr 2006 22:28:43 -0000 1.9 +++ htdocs/gcc-4.2/changes.html 5 Jun 2006 08:19:33 -0000 @@ -13,6 +13,12 @@ <h2>Caveats</h2> +<ul> + <li>GCC no longer accepts the <code>-fshared-data</code> option. + This option has had no effect in any GCC 4 release; the targets + to which the option used to apply had been removed before GCC 4.0.</li> +</ul> + <h2>General Optimizer Improvements</h2> <h2>New Languages and Language specific improvements</h2> ----- End forwarded message ----- -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]