id summary reporter owner description type status milestone component version severity resolution keywords cc 12404 undefined behaviour in interval container library Hannu Rummukainen Joachim Faulhaber The file boost/icl/interval_bounds.hpp (line 45) contains the expression ((~_bits<<1) & _left) which invokes undefined behaviour by left shifting a negative signed integer. It can be fixed by replacing the expression with (((bound_type)~_bits<<1) & _left). This issue was detected by GCC 6.1.0 with -fsanitize=undefined. Bugs closed To Be Determined ICL Boost 1.61.0 Problem fixed Joachim Faulhaber