[patch][gcc47] Deprecate -fconserve-space
Steven Bosscher
stevenb.gcc@gmail.com
Mon Jun 4 20:30:00 GMT 2012
On Mon, Jun 4, 2012 at 9:45 PM, Jason Merrill <jason@redhat.com> wrote:
> In wwwdocs I would also mention that the flag has no effect on most targets.
How about this:
Index: htdocs/gcc-4.7/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v
retrieving revision 1.110
diff -u -r1.110 changes.html
--- htdocs/gcc-4.7/changes.html 1 Jun 2012 09:27:10 -0000 1.110
+++ htdocs/gcc-4.7/changes.html 4 Jun 2012 20:29:09 -0000
@@ -15,6 +15,14 @@
<h2>Caveats</h2>
<ul>
+ <li><p>The <code>-fconserve-space</code> flag has been
+ deprecated. The flag had no effect for most targets: only
+ targets without a global <code>.bss</code> section and without
+ support for switchable sections. Furthermore, the flag only
+ had an effect for G++, where it could result in wrong semantics
+ (please refer to the GCC manual for further details).
+ The flag will be removed in GCC 4.8</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.7. Unless there is activity to revive them, the
?
> In fact, I'm not sure it affects any targets that we still actually
> support; are there any a.out targets left?
There is still a file config/arm/aout.h, and there appears to be code
in config/cris/cris.c to support an unnamed non-ELF target that may be
a.out. But it's hard to tell what other targets are doing.
Ciao!
Steven
More information about the Gcc-patches
mailing list