[PATCH] Fix part of PR30442

Nathan Froyd froydnj@mozilla.com
Tue Jun 5 13:22:00 GMT 2012


On Tue, Jun 05, 2012 at 02:35:30PM +0200, Richard Guenther wrote:
> Index: gcc/tree-vect-data-refs.c
> ! 	  gimple stmt = gsi_stmt (gsi);
> ! 	  if (!find_data_references_in_stmt (NULL, stmt,
> ! 					     &BB_VINFO_DATAREFS (bb_vinfo)))
> ! 	    {
> ! 	      /* Mark the rest of the basic-block as unvectorizable.  */
> ! 	      for (; !gsi_end_p (gsi); gsi_next (&gsi))

I see iteration through the rest of the basic block...

> ! 		STMT_VINFO_VECTORIZABLE (vinfo_for_stmt (stmt)) = false;

...but I don't see corresponding updates to stmt.

-Nathan



More information about the Gcc-patches mailing list