search for: __builtin_abort

Displaying 3 results from an estimated 3 matches for "__builtin_abort".

2017 Apr 19
2
Default R-3.4.0 RC CXXFLAGS without -O2 on x86_64-linux-gnu with g++-5.4.0 causes WARNING from stl_list.h
...ound ?abort?,? possibly from ?abort? (C)" in packages xcms/mzR. The abort() call is not coming from XCMS, but rather? from the C++ code in the STL: [...] # 1770 "/usr/include/c++/5/bits/stl_list.h" void _M_check_equal_allocators(list& __x) { ?if (_M_get_Node_allocator()) ???__builtin_abort(); } If we compile with -O2 optimisation, this getting rid of? the abort() symbol, as shown? in https://github.com/sneumann/xcms/issues/150#issuecomment-293545521 Martin Morgan created a minimum example that shows that? the symbol is indeed deep down in the STL (see below and in: https://stat.et...
2017 Apr 20
0
Default R-3.4.0 RC CXXFLAGS without -O2 on x86_64-linux-gnu with g++-5.4.0 causes WARNING from stl_list.h
..." in packages xcms/mzR. > The abort() call is not coming from XCMS, but rather? > from the C++ code in the STL: > > [...] > # 1770 "/usr/include/c++/5/bits/stl_list.h" > void _M_check_equal_allocators(list& __x) { > ?if (_M_get_Node_allocator()) > ???__builtin_abort(); > } > > If we compile with -O2 optimisation, this getting rid of? > the abort() symbol, as shown? > in https://github.com/sneumann/xcms/issues/150#issuecomment-293545521 > > Martin Morgan created a minimum example that shows that? > the symbol is indeed deep down in th...
2015 Dec 22
2
Question about TargetLowering::SimplifyDemandedBits with AND
...Here is a example as following: /* C source code */ struct A { unsigned int a; unsigned char c1, c2; bool b1 : 1; bool b2 : 1; bool b3 : 1; }; int main () { struct A x[1]; x[0].b1 = false; int s = 0; s = x[0].b1 ? 1 : 0; <--- Here is problem. if (s != 0) __builtin_abort (); return 0; } /* IR of "s = x[0].b1 ? 1 : 0;" */ ... %b12 = getelementptr inbounds %struct.A, %struct.A* %arrayidx1, i32 0, i32 3 %bf.load3 = load i8, i8* %b12, align 2 %bf.clear4 = and i8 %bf.load3, 1 %bf.cast = trunc i8 %bf.clear4 to i1 %cond = select i1 %bf.cast,...