[Bug libstdc++/35597] libstdc++ -ffunction-sections -fdata-sections disabled on AIX

dje at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Mar 15 13:33:00 GMT 2008



------- Comment #2 from dje at gcc dot gnu dot org  2008-03-15 13:32 -------
The change was applied to libstdc++.  The patch affects building libstdc++.

The warning was added in 1996 for all targets and debugging formats:

Mon Apr 15 03:43:11 1996  Jeffrey A. Law  <law@cygnus.com>
        * toplev.c (compile_file): Add warnings when -ffunction-sections is
        used with -g, or profiling.

The warning was disabled for ELF in 1999 and later for MACH-O.  If we disable
the warning for all object file formats, what's the point of the warning?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35597



More information about the Gcc-bugs mailing list