I see

jobs.c: In function 'make_child':
jobs.c:4121: error: corrupted profile info: profile data is not flow-consistent
jobs.c:4121: error: corrupted profile info: number of executions for edge 10-11
thought to be -1726
jobs.c:4121: error: corrupted profile info: number of executions for edge 10-12
thought to be 1745
jobs.c:4121: error: corrupted profile info: number of iterations for basic
block 11 thought to be -120

this error did not exist in GCC 4.3.  In 4.4 -fprofile-correction was
introduced (not enabled by default) guarded with a new check in profile.c:

  /* Check for inconsistent basic block counts */
  inconsistent = is_inconsistent ();

  if (inconsistent)
   {
     if (flag_profile_correction)
       {
...
       }
     else
       error ("corrupted profile info: profile data is not flow-consistent");
   }

so we now unconditionally throw an error on something we ignored before.

IMHO we should either enable flag_profile_correction by default or
remove this error again.


-- 
           Summary: [4.4 Regression] bash no longer builds with profile-
                    feedback
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: major
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38977

Reply via email to