This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] Fix bsi_prev buglet


	* tree-cfg.c (bsi_prev): Also copy the context from the previous
	iterator.


Index: tree-cfg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-cfg.c,v
retrieving revision 1.1.4.180
diff -d -c -p -d -c -p -r1.1.4.180 tree-cfg.c
*** tree-cfg.c	18 Oct 2003 03:09:46 -0000	1.1.4.180
--- tree-cfg.c	20 Oct 2003 13:35:47 -0000
*************** bsi_prev (block_stmt_iterator *i)
*** 3403,3408 ****
--- 3403,3409 ----
  	  if (next.tp == i->tp)
  	    {
  	      i->tp = bi.tp;
+ 	      i->context = bi.context;
  	      return;
  	    }
  	}



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]