This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/38977] [4.4 Regression] bash no longer builds with profile-feedback



------- Comment #18 from rguenth at gcc dot gnu dot org  2009-02-05 15:31 -------
Some more details:

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

;; basic block 8, loop depth 0, count 1745
;; prev block 7, next block 9
;; pred:       7 [100.0%]  count:1745 (fallthru)
;; succ:       9 count:1625 (true) 12 count:120 (false)
<bb 8>:
default_buffered_input.139 = default_buffered_input;
if (default_buffered_input.139 != -1)
  goto <bb 9>;
else
  goto <bb 12>;

;; basic block 9, loop depth 0, count 1625
;; prev block 8, next block 10
;; pred:       8 count:1625 (true)
;; succ:       11 count:1606 (true) 10 count:19 (false)
<bb 9>:
if (async_p == 0)
  goto <bb 11>;
else
  goto <bb 10>;

;; basic block 10, loop depth 0, count 19
;; prev block 9, next block 11
;; pred:       9 count:19 (false)
;; succ:       11 count:-1726 (true) 12 count:1745 (false)
<bb 10>:
default_buffered_input.139 = default_buffered_input;
if (default_buffered_input.139 > 0)
  goto <bb 11>;
else
  goto <bb 12>;

;; basic block 11, loop depth 0, count -120
;; prev block 10, next block 12
;; pred:       9 count:1606 (true) 10 count:-1726 (true)
;; succ:       12 count:1625 (fallthru) EXIT count:-1745 (fake)
<bb 11>:
default_buffered_input.139 = default_buffered_input;
sync_buffered_stream (default_buffered_input.139);

;; basic block 12, loop depth 0, count 3490
;; prev block 11, next block 13
;; pred:       8 count:120 (false) 10 count:1745 (false) 11 count:1625
(fallthru)
;; succ:       13 (true) 18 count:3490 (false)
<bb 12>:
pid.140 = fork ();
pid = pid.140;
if (pid < 0)
  goto <bb 13>;
else
  goto <bb 18>;

;; basic block 13, loop depth 0, count 0
;; prev block 12, next block 14
;; pred:       12 (true)
;; succ:       14 [100.0%]  (fallthru) EXIT (fake)
<bb 13>:
sys_error (&"fork"[0]);

;; basic block 18, loop depth 0, count 3490
;; prev block 17, next block 19
;; pred:       12 count:3490 (false) 17 (fallthru)
;; succ:       19 count:1745 (true) 48 count:1745 (false)
<bb 18>:
if (pid == 0)
  goto <bb 19>;
else
  goto <bb 48>;


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]