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

            Bug ID: 58186
           Summary: LTO profiledbootstrap fails in stage feedback for
                    fortran/frontend-passes.c with "edge ... has no
                    corresponding call_stmt"
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com

LTO profiled bootstrap of gcc, configured --with-build-config=bootstrap-lto
--enable-languages=c,c++,fortran fails with:


/home/uros/gcc-svn/trunk/gcc/fortran/frontend-passes.c:2149:1: error: edge
gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int
(*)(gfc_expr**, int*, void*), void*)->doloop_code(gfc_code**, int*, void*) has
no corresponding call_stmt
 }
 ^
# .MEM_35 = VDEF <.MEM_32>
result_36 = codefn_33(D) (c_1, &walk_subtrees, data_34(D));
_Z15gfc_code_walkerPP8gfc_codePFiS1_PiPvEPFiPP8gfc_exprS2_S3_ES3_/155
(gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int
(*)(gfc_expr**, int*, void*), void*)) @0x7f4e4cf0aab0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: _ZL16in_omp_workshare/116 (read)_ZL12doloop_level/120
(read)_ZL12doloop_level/120 (write)_ZL12forall_level/115
(read)_ZL12forall_level/115 (write)_ZL16in_omp_workshare/116
(write)_ZL16in_omp_workshare/116 (write)_ZL12forall_level/115
(read)_ZL12forall_level/115 (write)_ZL12doloop_level/120
(read)_ZL12doloop_level/120 (write)_ZL16in_omp_workshare/116
(write)_ZL11doloop_codePP8gfc_codePiPv/151 (addr) (speculative)
  Referring: 
  Availability: available
  Profile id: 839983705
  Function flags: executed 100x body
  Called by: _Z14gfc_run_passesP13gfc_namespace/122 (100x) (1.00 per call)
_ZL18optimize_namespaceP13gfc_namespace/136 (1.00 per call)
_ZL18optimize_namespaceP13gfc_namespace/136 (1.00 per call)
_ZL18optimize_namespaceP13gfc_namespace/136 (1.00 per call)
_ZL18optimize_namespaceP13gfc_namespace/136 (1.00 per call)
_ZL18optimize_reductionP13gfc_namespace/137 (1.00 per call)
_Z15gfc_code_walkerPP8gfc_codePFiS1_PiPvEPFiPP8gfc_exprS2_S3_ES3_/155
_Z15gfc_code_walkerPP8gfc_codePFiS1_PiPvEPFiPP8gfc_exprS2_S3_ES3_/155
_Z15gfc_code_walkerPP8gfc_codePFiS1_PiPvEPFiPP8gfc_exprS2_S3_ES3_/155 
  Calls: _ZL11doloop_codePP8gfc_codePiPv/151 (speculative) (26x) (0.26 per
call) _Z15gfc_code_walkerPP8gfc_codePFiS1_PiPvEPFiPP8gfc_exprS2_S3_ES3_/155
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154 (26x) (0.26 per call)
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154 (26x) (0.26 per call)
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154 (26x) (0.26 per call)
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154 (26x) (0.26 per call)
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_code_walkerPP8gfc_codePFiS1_PiPvEPFiPP8gfc_exprS2_S3_ES3_/155
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_expr_walkerPP8gfc_exprPFiS1_PiPvES3_/154
_Z15gfc_code_walkerPP8gfc_codePFiS1_PiPvEPFiPP8gfc_exprS2_S3_ES3_/155 
  Has 1 outgoing edges for indirect calls.
/home/uros/gcc-svn/trunk/gcc/fortran/frontend-passes.c:2149:1: internal
compiler error: verify_cgraph_node failed
0xa0a9d5 verify_cgraph_node(cgraph_node*)
    /home/uros/gcc-svn/trunk/gcc/cgraph.c:2933
0xa000c6 verify_symtab_node
    /home/uros/gcc-svn/trunk/gcc/symtab.c:763
0xa000c6 verify_symtab()
    /home/uros/gcc-svn/trunk/gcc/symtab.c:780
0xd0b667 symtab_remove_unreachable_nodes(bool, _IO_FILE*)
    /home/uros/gcc-svn/trunk/gcc/ipa.c:224
0xe2a406 execute_todo
    /home/uros/gcc-svn/trunk/gcc/passes.c:1858
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [fortran/frontend-passes.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
rm gcov.pod fsf-funding.pod cpp.pod gfdl.pod gcc.pod gfortran.pod
gmake[3]: Leaving directory `/ssd/uros/gcc-build-profiled/gcc'
gmake[2]: *** [all-stagefeedback-gcc] Error 2
gmake[2]: Leaving directory `/ssd/uros/gcc-build-profiled'
gmake[1]: *** [stagefeedback-bubble] Error 2
gmake[1]: Leaving directory `/ssd/uros/gcc-build-profiled'
gmake: *** [profiledbootstrap] Error 2

The failure is similar to [1] in cp/pt.c.

[1] http://gcc.gnu.org/ml/gcc-regression/2013-08/msg00273.html

Reply via email to