http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59545
--- Comment #7 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #6) > (In reply to Markus Trippelsdorf from comment #5) > > > gcc/cselib.c:1121:43: runtime error: signed integer overflow: 4224 + > > 9223372036854775806 cannot be represented in type 'long' > > gcc/cselib.c:1121:43: runtime error: signed integer overflow: 4224 + > > 9223372036854775807 cannot be represented in type 'long' > > gcc/expr.c:3986:17: runtime error: signed integer overflow: 0 - > > -9223372036854775808 cannot be represented in type 'long' > > I wonder why I haven't seen these with GCC (for clang I used some random svn > snapshot and the compiler was so terribly slow and occassionally hanging > that I gave up on it). What exact configuration you've used? You're right that clang is terribly slow (e.g. compiling insn-extract takes over 5 minutes on my machine). I'm using the LLVM 3.4 branch (they are close to release). Config: % CC="clang -fsanitize=undefined -fno-sanitize=bounds -w" CXX="clang++ -fsanitize=undefined -fno-sanitize=bounds -w" ../gcc/configure --disable-bootstrap --disable-werror --disable-multilib --enable-languages=c,c++,fortran