summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
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/toplev.c
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/toplev.c')
-rw-r--r--gcc/toplev.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 3f158a4426d..7c91b06bb7c 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -117,9 +117,6 @@ static void crash_signal (int) ATTRIBUTE_NORETURN;
static void setup_core_dumping (void);
static void compile_file (void);
-/* Nonzero to dump debug info whilst parsing (-dy option). */
-static int set_yydebug;
-
/* True if we don't need a backend (e.g. preprocessing only). */
static bool no_backend;
@@ -870,7 +867,7 @@ compile_file (void)
/* Call the parser, which parses the entire file (calling
rest_of_compilation for each function). */
- lang_hooks.parse_file (set_yydebug);
+ lang_hooks.parse_file ();
/* Compilation is now finished except for writing
what's left of the symbol table output. */
@@ -993,9 +990,6 @@ decode_d_option (const char *arg)
case 'x':
rtl_dump_and_exit = 1;
break;
- case 'y':
- set_yydebug = 1;
- break;
case 'D': /* These are handled by the preprocessor. */
case 'I':
case 'M':