CONST_MAX breaks gcc on fedora 20 with optimiztation