[ira] small patch to fix some IRA crashes on SH

Vladimir Makarov vmakarov@redhat.com
Thu Apr 10 02:55:00 GMT 2008


The patch IRA crashes on some gcc tests for SH.
allocate_initial_values used reg info like NREFS (through a target
hook) which was not initialized at this point.

2008-04-09  Vladimir Makarov  <vmakarov@redhat.com>

	* ira.c (ira): Move allocate_initial_values after initializing reg
	info.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh-2.patch
Type: text/x-patch
Size: 508 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080410/3c72c6fd/attachment.bin>


More information about the Gcc-patches mailing list