diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-07 22:10:18 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-07 22:10:18 +0000 |
commit | 77e1a5df62f18d8c32d767ea0f7de218b4622c74 (patch) | |
tree | 3e569be0339cedb2fa3b07094857f01594bed4f5 /gcc/java | |
parent | 3c4bc54e3190f6a465fc51653e682d01e3bd17b3 (diff) | |
download | gcc-77e1a5df62f18d8c32d767ea0f7de218b4622c74.tar.gz |
* c-common.c (c_common_post_options): Update prototype;
don't init backends if preprocessing only.
* langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.h (struct lang_hooks): Update post_options to
return a boolean.
* toplev.c (parse_options_and_default_flags, do_compile,
lang_independent_init): Update prototypes. Allow the
front end to specify that there is no need to initialize
the back end.
(general_init): Move call to hex_init here...
(toplev_main): ...from here. Pass flag for back end init
suppression.
java:
* lang.c (java_post_options): Update prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55306 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/lang.c | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index d93b34641b6..3863b14b0df 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2002-07-07 Neil Booth <neil@daikokuya.co.uk> + + * lang.c (java_post_options): Update prototype. + 2002-07-05 Roger Sayle <roger@eyesopen.com> * java/builtins.c (initialize_builtins): Ignore the additional diff --git a/gcc/java/lang.c b/gcc/java/lang.c index 60dc67b5054..60f1a1c5931 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -51,7 +51,7 @@ struct string_option static const char *java_init PARAMS ((const char *)); static void java_finish PARAMS ((void)); static void java_init_options PARAMS ((void)); -static void java_post_options PARAMS ((void)); +static bool java_post_options PARAMS ((void)); static int java_decode_option PARAMS ((int, char **)); static void put_decl_string PARAMS ((const char *, int)); @@ -780,7 +780,7 @@ java_init_options () } /* Post-switch processing. */ -static void +static bool java_post_options () { /* Turn off RTL inliner unless -finline-functions was really specified. */ @@ -789,6 +789,9 @@ java_post_options () flag_no_inline = 1; flag_inline_functions = 0; } + + /* Initialize the compiler back end. */ + return false; } #include "gt-java-lang.h" |