https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81491

            Bug ID: 81491
           Summary: [8 Regression] PGO/LTO bootstrap: error: non-cold
                    basic block 6 dominated by a block in the cold
                    partition (15)
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: hubicka at ucw dot cz, marxin at gcc dot gnu.org
  Target Milestone: ---

Since r250358-r250360 I see during stagefeedback (PGO/LTO):

during IPA pass: inline                     
lto1: internal compiler error: in inline_small_functions, at ipa-inline.c:1903  
Please submit a full bug report,            
with preprocessed source if appropriate.    
See <https://gcc.gnu.org/bugs/> for instructions.                               
lto-wrapper: fatal error: /home/trippels/gcc_build_dir_/./prev-gcc/xg++
returned 1 exit status                                                          
compilation terminated.                     
/home/trippels/bin/ld: fatal error: lto-wrapper failed                          
collect2: error: ld returned 1 exit status  
../../gcc/gcc/fortran/Make-lang.in:97: recipe for target 'f951' failed          
make[3]: *** [f951] Error 1                 
make[3]: *** Waiting for unfinished jobs....                                    
../../gcc/gcc/ipa-fnsummary.c: In function ‘analyze_function_body’:             
../../gcc/gcc/ipa-fnsummary.c:1520:12: warning: ‘MEM[(struct predicate *)&p +
4B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]         
     return p;                              
            ^                               
../../gcc/gcc/ipa-fnsummary.c:1520:12: warning: ‘MEM[(struct predicate *)&p +
8B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]         
../../gcc/gcc/ipa-fnsummary.c:1520:12: warning: ‘MEM[(struct predicate *)&p +
12B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/ipa-fnsummary.c:1520:12: warning: ‘MEM[(struct predicate *)&p +
16B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/ipa-fnsummary.c:1520:12: warning: ‘MEM[(struct predicate *)&p +
20B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/ipa-fnsummary.c:1520:12: warning: ‘MEM[(struct predicate *)&p +
24B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/ipa-fnsummary.c:1520:12: warning: ‘MEM[(struct predicate *)&p +
28B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/ipa-fnsummary.c:1520:12: warning: ‘MEM[(struct predicate *)&p +
32B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/wide-int.cc: In function ‘lshift_large’:                          
../../gcc/gcc/wide-int.cc:1920:0: error: non-cold basic block 6 dominated by a
block in the cold partition (15)                                                
 }                                          

during RTL pass: bbpart                     
../../gcc/gcc/wide-int.cc:1920:0: internal compiler error: verify_flow_info
failed       
Please submit a full bug report,            
with preprocessed source if appropriate.    
See <https://gcc.gnu.org/bugs/> for instructions.                               
make[4]: *** [/home/trippels/tmp/ccwzcnke.ltrans2.ltrans.o] Error 1             
make[4]: *** Waiting for unfinished jobs....
../../gcc/gcc/tree.c: In function ‘type_hash_canon’:                            
../../gcc/gcc/tree.c:7208:1: error: non-cold basic block 146 dominated by a
block in the cold partition (145)                                               
 }                                          
 ^                                          
../../gcc/gcc/tree.c:7208:1: error: non-cold basic block 143 dominated by a
block in the cold partition (145)                                               
../../gcc/gcc/tree.c:7208:1: error: non-cold basic block 103 dominated by a
block in the cold partition (145)                                               
../../gcc/gcc/tree.c:7208:1: error: non-cold basic block 101 dominated by a
block in the cold partition (145)                                               
../../gcc/gcc/tree.c:7208:1: error: non-cold basic block 97 dominated by a
block in the cold partition (145)                                               
../../gcc/gcc/tree.c:7208:1: error: non-cold basic block 99 dominated by a
block in the cold partition (97)                                                
../../gcc/gcc/tree.c:7208:1: error: non-cold basic block 104 dominated by a
block in the cold partition (103)                                               
during RTL pass: bbpart                     
../../gcc/gcc/tree.c:7208:1: internal compiler error: verify_flow_info failed   
Please submit a full bug report,            
with preprocessed source if appropriate.    
See <https://gcc.gnu.org/bugs/> for instructions.                               
make[4]: *** [/home/trippels/tmp/ccwzcnke.ltrans0.ltrans.o] Error 1             
lto-wrapper: fatal error: make returned 2 exit status                           
compilation terminated.                     
/home/trippels/bin/ld: fatal error: lto-wrapper failed                          
collect2: error: ld returned 1 exit status  
../../gcc/gcc/c/Make-lang.in:85: recipe for target 'cc1' failed                 
make[3]: *** [cc1] Error 1                  
../../gcc/gcc/wide-int.cc: In function ‘lshift_large’:                          
../../gcc/gcc/wide-int.cc:1920:0: error: non-cold basic block 6 dominated by a
block in the cold partition (15)                                                
 }                                          

during RTL pass: bbpart                     
../../gcc/gcc/wide-int.cc:1920:0: internal compiler error: verify_flow_info
failed       
Please submit a full bug report,            
with preprocessed source if appropriate.    
See <https://gcc.gnu.org/bugs/> for instructions.                               
make[4]: *** [/home/trippels/tmp/cchulZpe.ltrans2.ltrans.o] Error 1             
make[4]: *** Waiting for unfinished jobs....                                    
lto-wrapper: fatal error: make returned 2 exit status                           
compilation terminated.                     
/home/trippels/bin/ld: fatal error: lto-wrapper failed                          
collect2: error: ld returned 1 exit status  
../../gcc/gcc/cp/Make-lang.in:120: recipe for target 'cc1plus' failed           
make[3]: *** [cc1plus] Error 1              
../../gcc/gcc/ipa-fnsummary.c: In function ‘analyze_function_body’:             
../../gcc/gcc/ipa-fnsummary.c:1520:0: warning: ‘MEM[(struct predicate *)&p +
4B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]         
     return p;                              

../../gcc/gcc/ipa-fnsummary.c:1520:0: warning: ‘MEM[(struct predicate *)&p +
8B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]         
../../gcc/gcc/ipa-fnsummary.c:1520:0: warning: ‘MEM[(struct predicate *)&p +
12B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/ipa-fnsummary.c:1520:0: warning: ‘MEM[(struct predicate *)&p +
16B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/ipa-fnsummary.c:1520:0: warning: ‘MEM[(struct predicate *)&p +
20B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/ipa-fnsummary.c:1520:0: warning: ‘MEM[(struct predicate *)&p +
24B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/ipa-fnsummary.c:1520:0: warning: ‘MEM[(struct predicate *)&p +
28B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/ipa-fnsummary.c:1520:0: warning: ‘MEM[(struct predicate *)&p +
32B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]        
../../gcc/gcc/wide-int.cc: In function ‘lshift_large’:                          
../../gcc/gcc/wide-int.cc:1920:1: error: non-cold basic block 6 dominated by a
block in the cold partition (15)                                                
 }                                          
 ^                                          
during RTL pass: bbpart                     
../../gcc/gcc/wide-int.cc:1920:1: internal compiler error: verify_flow_info
failed       
Please submit a full bug report,            
with preprocessed source if appropriate.    
See <https://gcc.gnu.org/bugs/> for instructions.                               
make[4]: *** [/home/trippels/tmp/cciV1Dh3.ltrans2.ltrans.o] Error 1             
make[4]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status                           
compilation terminated.                     
/home/trippels/bin/ld: fatal error: lto-wrapper failed                          
collect2: error: ld returned 1 exit status  
../../gcc/gcc/lto/Make-lang.in:81: recipe for target 'lto1' failed              
make[3]: *** [lto1] Error 1  

The ICE in inline_small_functions is PR81133, the other ones are new.

Reply via email to