Bug#701138: clang-3.2: fatal error: error in backend: Cannot select: 0x2a4c890: i32 = fabs 0x2a51390

Ben Goodrich bg2382 at columbia.edu
Wed Apr 3 22:19:23 UTC 2013

I think I had the same problem on my machine: clang-3.2 had been  
working for months, then I upgraded to g++-4.8 from experimental when  
it was officially released (which pulled in some other libc stuff),  
and then I got the "error in backend":

fatal error: error in backend: Cannot select: 0x49635c0: i64 = fabs  
0x4ac4340 [ORD=483] [ID=31]
   0x4ac4340: i64 = zero_extend 0x4ac4740 [ID=30]
     0x4ac4740: i8 = X86ISD::SETCC 0x4d70a10, 0x4953530:1 [ID=28]
       0x4d70a10: i8 = Constant<9> [ID=15]
       0x4953530: i64,i32 = X86ISD::SUB 0x4953130, 0x4d70f10 [ID=26]
         0x4953130: i64 = add 0x4953430, 0x49631c0 [ORD=479] [ID=24]
           0x4953430: i64,ch = load 0x4953030, 0x4962ac0,  
0x49638c0<LD8[%149](tbaa=!"any pointer")> [ORD=478] [ID=22]
             0x4962ac0: i64 = FrameIndex<7> [ORD=473] [ID=1]
             0x49638c0: i64 = undef [ORD=477] [ID=7]
           0x49631c0: i64 = Constant<-24> [ORD=479] [ID=10]
         0x4d70f10: i64 = X86ISD::Wrapper 0x4d70b10 [ID=19]
           0x4d70b10: i64 = TargetGlobalAddress<[0 x i64]*  
@_ZNSs4_Rep20_S_empty_rep_storageE> 0 [ID=16]
In function:  
make: *** [test/gtest.o] Error 1

However, when I upgraded to clang...exp9, I could not reproduce this  
problem anymore, nor was there a problem with the original ladmin.cpp  


More information about the Pkg-llvm-team mailing list