[Bug middle-end/48819] [4.7 regression] 350 execution failures in 64-bit libjava testsuite on SPARC

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 29 10:30:00 GMT 2011


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?



More information about the Gcc-bugs mailing list