summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-27 13:35:44 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-27 13:35:44 +0000
commita4da9516f57364e03ad1cac3012b58fc5febdfe0 (patch)
tree14fbf4c3e47e09dbd62753038e43ee96587f7610 /gcc/opts.c
parentcef4dcfd9c4c1a26835ad924f85ab1fbdd7b8b23 (diff)
downloadgcc-a4da9516f57364e03ad1cac3012b58fc5febdfe0.tar.gz
2004-10-27 Andreas Krebbel <krebbel@de.ibm.com>
patch originally created by Kelley Cook <kcook@gcc.gnu.org> PR middle-end/14684 * opts.c (OPT_fprofile_generate): Default to -funroll-loops to match -fprofile-use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89659 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index b88c5039a42..b44b28c7b1e 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -854,6 +854,8 @@ common_handle_option (size_t scode, const char *arg, int value)
flag_profile_values = value;
if (!flag_value_profile_transformations_set)
flag_value_profile_transformations = value;
+ if (!flag_unroll_loops_set)
+ flag_unroll_loops = value;
#ifdef HAVE_prefetch
if (0 && !flag_speculative_prefetching_set)
flag_speculative_prefetching = value;