http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48819
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-29 10:30:33 UTC --- Can you check if Index: tree.c =================================================================== --- tree.c (revision 173151) +++ tree.c (working copy) @@ -1019,7 +1019,7 @@ build_int_cst (tree type, HOST_WIDE_INT { /* Support legacy code. */ if (!type) - type = integer_type_node; + return build_int_cst_wide (integer_type_node, low, low < 0 ? -1 : 0); return double_int_to_tree (type, shwi_to_double_int (low)); } fixes it?