2011-05-02 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 May 2011 15:22:54 +0000 (15:22 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 May 2011 15:22:54 +0000 (15:22 +0000)
commita3f07b52ffd9a68144540599289b0cdd17e4498e
treeaba2d31b13dea7131e7eb941ca9a452f462c9085
parent6fe5844bf900d029b25393343f1330de9d04b7cf
2011-05-02  Richard Guenther  <rguenther@suse.de>

* varasm.c (output_constructor_regular_field): Compute zero-based
index with double-ints.  Make sure to ICE instead of producing
wrong code.
* cgraph.c (cgraph_add_thunk): Do not create new tree nodes
in asserts.  Properly use a signed type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173255 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/varasm.c