[4.6] Fix PR tree-optimization/49725

Eric Botcazou ebotcazou@adacore.com
Thu Jul 14 21:47:00 GMT 2011


Hi,

this is the ICE at -O2 on ACATS c34005a introduced on the 4.6 branch by 
Martin's latest SRA patch.  But it's actually the same PRE issue as:
  http://gcc.gnu.org/ml/gcc-patches/2011-03/msg02210.html

Bootstrapped/regtested on i586-suse-linux, OK for 4.6 branch?


2011-07-14  Eric Botcazou  <ebotcazou@adacore.com>

	PR tree-optimization/49725
	Backport from mainline
	2011-03-31  Eric Botcazou  <ebotcazou@adacore.com>

	* tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop
	a zero minimum index only if it is redundant
	


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr49725.diff
Type: text/x-diff
Size: 632 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110714/e5eeaa04/attachment.bin>


More information about the Gcc-patches mailing list