diff options
author | Jan Hubicka <jh@suse.cz> | 2006-02-01 21:31:29 +0100 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2006-02-01 20:31:29 +0000 |
commit | 46fd0f8c241a0afd36adf9c63b56839ace3a0210 (patch) | |
tree | ecd3a546850e19bf0c04f2e7dcfc4da28173a8ff /gcc/opts.c | |
parent | 3f9e6aeda669b07b8f9dd2b93deda2f4bcc3ce86 (diff) | |
download | gcc-46fd0f8c241a0afd36adf9c63b56839ace3a0210.zip gcc-46fd0f8c241a0afd36adf9c63b56839ace3a0210.tar.gz gcc-46fd0f8c241a0afd36adf9c63b56839ace3a0210.tar.bz2 |
opts.c (no_unit_at_a_time_default): New global variable.
2006-02-01 Jan Hubicka <jh@suse.cz>
* opts.c (no_unit_at_a_time_default): New global variable.
(decode_options): Use it.
* opts.h (no_unit_at_a_time_default): Declare.
java/
* decl.c (end_java_method): Kill hack disabling unit-at-a-time.
* lang.c (java_init_options): Set no_unit_at_a_time_default.
From-SVN: r110479
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -80,6 +80,11 @@ bool use_gnu_debug_info_extensions; /* The default visibility for all symbols (unless overridden) */ enum symbol_visibility default_visibility = VISIBILITY_DEFAULT; +/* Disable unit-at-a-time for frontends that might be still broken in this + respect. */ + +bool no_unit_at_a_time_default; + /* Global visibility options. */ struct visibility_flags visibility_options; @@ -538,7 +543,8 @@ decode_options (unsigned int argc, const char **argv) flag_tree_copy_prop = 1; flag_tree_sink = 1; flag_tree_salias = 1; - flag_unit_at_a_time = 1; + if (!no_unit_at_a_time_default) + flag_unit_at_a_time = 1; if (!optimize_size) { |