diff options
author | Richard Guenther <rguenther@suse.de> | 2011-04-29 19:36:12 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2011-04-29 19:36:12 +0000 |
commit | fdf390e6c61f928da9e2b6a7af63c277e2d3b0eb (patch) | |
tree | 6de20d9a8e8a4bd707f8ab308cea9754612b8f78 /gcc/java/constants.c | |
parent | 99e5f0cee127e4feeb4b6dbeea08725e4a94a39a (diff) | |
download | gcc-fdf390e6c61f928da9e2b6a7af63c277e2d3b0eb.zip gcc-fdf390e6c61f928da9e2b6a7af63c277e2d3b0eb.tar.gz gcc-fdf390e6c61f928da9e2b6a7af63c277e2d3b0eb.tar.bz2 |
re PR middle-end/48819 (350 execution failures in 64-bit libjava testsuite on SPARC)
2011-04-29 Richard Guenther <rguenther@suse.de>
PR middle-end/48819
* constants.c (build_constants_constructor): Use ptr_type_node for
temp.
From-SVN: r173183
Diffstat (limited to 'gcc/java/constants.c')
-rw-r--r-- | gcc/java/constants.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/java/constants.c b/gcc/java/constants.c index 4425338..2cc911f 100644 --- a/gcc/java/constants.c +++ b/gcc/java/constants.c @@ -1,6 +1,6 @@ /* Handle the constant pool of the Java(TM) Virtual Machine. Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, - 2007, 2008, 2010 Free Software Foundation, Inc. + 2007, 2008, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -544,10 +544,7 @@ build_constants_constructor (void) temp <<= ((POINTER_SIZE > 32) ? POINTER_SIZE - 32 : 0); CONSTRUCTOR_PREPEND_VALUE (t, get_tag_node (outgoing_cpool->tags[i])); - CONSTRUCTOR_PREPEND_VALUE (d, - fold_convert (ptr_type_node, - (build_int_cst (NULL_TREE, - temp)))); + CONSTRUCTOR_PREPEND_VALUE (d, build_int_cst (ptr_type_node, temp)); } break; |