[patch] Fix for postreload

Chung-Lin Tang cltang@codesourcery.com
Mon Sep 13 08:10:00 GMT 2010


Hi,
this patch is a fix for the move2add transform in the postreload pass; 
reg_symbol_ref[] was not checked together for some reg_base_reg[] < 0 cases.

This was tested to fix a few gcc.dg/torture/fp-int-convert-* execution 
FAIL cases on trunk for ARM, with no other regressions.

Ok for trunk?

Thanks,
Chung-Lin

2010-09-13  Chung-Lin Tang  <cltang@codesourcery.com>

	* postreload.c (move2add_note_store): Add reg_symbol_ref[]
	checks to update conditions.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m2a.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100913/b45211d4/attachment.ksh>


More information about the Gcc-patches mailing list