summaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-28 06:18:10 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-28 06:18:10 +0000
commitf5d971c50ce6232747ea52c60f951b4d03f1c1ce (patch)
treeac5ad4358cf1509d02037b019f635c885b68d262 /gcc/toplev.h
parentc6365730b26a4a9cf838f04fc9f91f46d7dc37f2 (diff)
downloadgcc-f5d971c50ce6232747ea52c60f951b4d03f1c1ce.tar.gz
* Makefile.in: Update.
* opts.c: Include tm_p.h. (handle_options): Make static. (decode_options): Copied from toplev.c. * opts.h (decode_options): New. * toplev.c (parse_options_and_default_flags): Move most to opts.c, some to... (general_init): ...here. (toplev_main): Use decode_options instead. * toplev.h (save_argc, save_argv): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68629 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h
index 323cde99fda..16cfacd4c3e 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -102,6 +102,10 @@ extern const char *asm_file_name;
extern bool exit_after_options;
extern bool version_flag;
+/* Copy of arguments to toplev_main. */
+extern int save_argc;
+extern char **save_argv;
+
extern int target_flags_explicit;
/* See toplev.c. */