summaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-17 14:31:07 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-17 14:31:07 +0000
commitb8ba44e77a9fdde48ce0b7c6792736996704501e (patch)
tree0d20227504dcaf792fb3e2663879383129b47382 /gcc/lto
parentfc2596c8b958ac6626601b8dd7e5ba25fc64f006 (diff)
downloadgcc-b8ba44e77a9fdde48ce0b7c6792736996704501e.tar.gz
* doc/invoke.texi (-dy): Remove.
* langhooks-def.h (lhd_do_nothing_i): Don't declare. (LANG_HOOKS_PARSE_FILE): Define to lhd_do_nothing. * langhooks.c (lhd_do_nothing_i): Remove. * langhooks.h (lang_hooks.parse_file): Take no arguments. * toplev.c (set_yydebug): Remove. (compile_file): Update call to lang_hooks.parse_file. (decode_d_option): Don't handle -dy. ada: * gcc-interface/misc.c (gnat_parse_file): Take no arguments. c-family: * c-opts.c (c_common_parse_file): Take no arguments. * c-common.h (c_common_parse_file): Update prototype. fortran: * f95-lang.c (gfc_be_parse_file): Take no arguments. java: * jcf-parse.c (java_parse_file): Take no arguments. * java-tree.h (java_parse_file): Update prototype. lto: * lto.c (lto_main): Take no arguments. * lto.h (lto_main): Update prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166868 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog5
-rw-r--r--gcc/lto/lto.c2
-rw-r--r--gcc/lto/lto.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index c254da1a5fa..8b026724cb3 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * lto.c (lto_main): Take no arguments.
+ * lto.h (lto_main): Update prototype.
+
2010-11-16 Ian Lance Taylor <iant@google.com>
* lto-object.c (lto_obj_file_open): Call
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index d3b9228b6a8..44f866ad075 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -2437,7 +2437,7 @@ lto_process_name (void)
simply applies them. */
void
-lto_main (int debug_p ATTRIBUTE_UNUSED)
+lto_main (void)
{
lto_process_name ();
diff --git a/gcc/lto/lto.h b/gcc/lto/lto.h
index 47d9973b31f..8110ace2749 100644
--- a/gcc/lto/lto.h
+++ b/gcc/lto/lto.h
@@ -37,7 +37,7 @@ extern const char *resolution_file_name;
/* In lto.c */
extern tree lto_eh_personality (void);
-extern void lto_main (int);
+extern void lto_main (void);
extern void lto_read_all_file_options (void);
/* In lto-elf.c or lto-coff.c */