------- 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 <[EMAIL PROTECTED]> * 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