summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2008-04-09 14:41:07 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2008-04-09 10:41:07 -0400
commitee8f0bd7ae408c95d36edc5b7032104670b10c46 (patch)
tree435ebc605a4cd049a159aced234f57a9e3f0fa9b /gcc/toplev.c
parentce4e59c46ba3989a420afca61ddcf9550e02ab7f (diff)
downloadgcc-ee8f0bd7ae408c95d36edc5b7032104670b10c46.tar.gz
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
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c7
1 files changed, 0 insertions, 7 deletions
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;