aboutsummaryrefslogtreecommitdiff
path: root/gcc/auto-profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/auto-profile.c')
-rw-r--r--gcc/auto-profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/auto-profile.c b/gcc/auto-profile.c
index bfdd54a65ff..a08efc0846d 100644
--- a/gcc/auto-profile.c
+++ b/gcc/auto-profile.c
@@ -531,7 +531,7 @@ read_aux_modules (void)
"assembler statements", aux_entry->name);
continue;
}
- if (max_group != 0 && curr_module == max_group)
+ if (max_group != 0 && curr_module >= max_group)
{
if (flag_opt_info)
inform (0, "Not importing %s: maximum group size reached",