Commit fdf390e6 by Richard Guenther Committed by Rainer Orth

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
parent 99e5f0ce
2011-04-29 Richard Guenther <rguenther@suse.de>
PR middle-end/48819
* constants.c (build_constants_constructor): Use ptr_type_node for
temp.
2011-04-20 Jim Meyering <meyering@redhat.com> 2011-04-20 Jim Meyering <meyering@redhat.com>
* jcf-parse.c (java_parse_file): Remove useless if-before-free. * jcf-parse.c (java_parse_file): Remove useless if-before-free.
......
/* Handle the constant pool of the Java(TM) Virtual Machine. /* Handle the constant pool of the Java(TM) Virtual Machine.
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 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. This file is part of GCC.
...@@ -544,10 +544,7 @@ build_constants_constructor (void) ...@@ -544,10 +544,7 @@ build_constants_constructor (void)
temp <<= ((POINTER_SIZE > 32) ? POINTER_SIZE - 32 : 0); temp <<= ((POINTER_SIZE > 32) ? POINTER_SIZE - 32 : 0);
CONSTRUCTOR_PREPEND_VALUE (t, get_tag_node (outgoing_cpool->tags[i])); CONSTRUCTOR_PREPEND_VALUE (t, get_tag_node (outgoing_cpool->tags[i]));
CONSTRUCTOR_PREPEND_VALUE (d, CONSTRUCTOR_PREPEND_VALUE (d, build_int_cst (ptr_type_node, temp));
fold_convert (ptr_type_node,
(build_int_cst (NULL_TREE,
temp))));
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment