summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-09 14:41:07 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-09 14:41:07 +0000
commitf3b662a5364372df384862ea043c1b608471d65f (patch)
tree435ebc605a4cd049a159aced234f57a9e3f0fa9b /gcc
parentbb66f6b859a369e128c5df4a8e1a02476d4678ee (diff)
downloadgcc-f3b662a5364372df384862ea043c1b608471d65f.tar.gz
PR libstdc++/35597
* toplev.c (process_options): Remove -ffunction-sections debugging warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134143 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/toplev.c7
2 files changed, 6 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7a8132f4b4a..ce31ffd6d87 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/toplev.c b/gcc/toplev.c
index dca13394086..65eb550777b 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -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;