[tuples][patch] Converting several easy passes

Oleg Ryjkov olegr@google.com
Wed Mar 5 03:43:00 GMT 2008


It turns out that the comparison Diego pointed out "gimple_code (stmt)
!= GIMPLE_CALL" was a typo that caused the pass to basically not run.
However with Diego's fix, it did run and broke many test cases. After
some debugging and great help from Bill Maddox, we concluded that the
pass_simple_dse should not be run yet, as gimple loaded_syms are not
prepared yet.

Thus this patch disables the simple_dse from passes.c and #if 0's the
code itself.
Committing, as partial reversion of my previous patch.

2008-03-04  Oleg Ryjkov  <olegr@google.com>

	* tree-ssa-dse.c (execute_simple_dse): Commented out.
	* passes.c (init_optimization_passes): Disabling pass_simple_dse.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.patch
Type: text/x-patch
Size: 2891 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080305/2b5f2ef7/attachment.bin>


More information about the Gcc-patches mailing list