[Bug middle-end/48819] [4.7 regression] 350 execution failures in 64-bit libjava testsuite on SPARC
ro at CeBiTec dot Uni-Bielefeld.DE
gcc-bugzilla@gcc.gnu.org
Fri Apr 29 10:40:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48819
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-04-29 10:40:14 UTC ---
> --- 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?
Yep, at least rebuilding jc1 with that patch and rebuilding
ArrayStore.exe fixes the testcase.
Thanks.
Rainer
More information about the Gcc-bugs
mailing list