This patch fix the bug to honor max-lipo-group for AutoFDO.

Bootstrapped and passed regression test.

OK for google-4_8 branch?

Thanks,
Dehao

Index: gcc/auto-profile.c

===================================================================

--- gcc/auto-profile.c (revision 206135)
+++ gcc/auto-profile.c (working copy)

@@ -897,6 +897,7 @@ read_aux_modules (void)
  {
    if (flag_opt_info)
      inform (0, "Not importing %s: maximum group size reached", *iter);
+   continue;
  }
       if (incompatible_cl_args (module, aux_module))
  {

Reply via email to