re PR libstdc++/35597 (libstdc++ -ffunction-sections -fdata-sections disabled on...
authorDavid Edelsohn <edelsohn@gnu.org>
Wed, 9 Apr 2008 14:41:07 +0000 (14:41 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 9 Apr 2008 14:41:07 +0000 (10:41 -0400)
        PR libstdc++/35597
        * toplev.c (process_options): Remove -ffunction-sections debugging
        warning.

From-SVN: r134143

gcc/ChangeLog
gcc/toplev.c

index 7a8132f4b4a9f579803bca3d94e5e420c53c591b..ce31ffd6d8764d647c1c27cbe5b5da74ec2bab40 100644 (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>
 
        PR middle-end/PR28690
index dca133940861c37dc21b74e29eaf1f42b0706776..65eb550777b9995c46d64e16d1476c07f771fba7 100644 (file)
@@ -1896,13 +1896,6 @@ process_options (void)
       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.  */
   if (flag_signaling_nans)
     flag_trapping_math = 1;