re PR libstdc++/35597 (libstdc++ -ffunction-sections -fdata-sections disabled on AIX)

PR libstdc++/35597
        * toplev.c (process_options): Remove -ffunction-sections debugging
        warning.

From-SVN: r134143
This commit is contained in:
David Edelsohn 2008-04-09 14:41:07 +00:00 committed by David Edelsohn
parent ce4e59c46b
commit ee8f0bd7ae
2 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2008-04-09 David Edelsohn <edelsohn@gnu.org>
PR libstdc++/35597
* toplev.c (process_options): Remove -ffunction-sections debugging
warning.
2008-04-09 Peter Bergner <bergner@vnet.ibm.com> 2008-04-09 Peter Bergner <bergner@vnet.ibm.com>
PR middle-end/PR28690 PR middle-end/PR28690

View File

@ -1896,13 +1896,6 @@ process_options (void)
flag_prefetch_loop_arrays = 0; flag_prefetch_loop_arrays = 0;
} }
#ifndef OBJECT_FORMAT_ELF
#ifndef OBJECT_FORMAT_MACHO
if (flag_function_sections && write_symbols != NO_DEBUG)
warning (0, "-ffunction-sections may affect debugging on some targets");
#endif
#endif
/* The presence of IEEE signaling NaNs, implies all math can trap. */ /* The presence of IEEE signaling NaNs, implies all math can trap. */
if (flag_signaling_nans) if (flag_signaling_nans)
flag_trapping_math = 1; flag_trapping_math = 1;