PATCH COMMITTED: Fix enum comparison

Ian Lance Taylor iant@google.com
Wed Apr 1 00:04:00 GMT 2009


In testing the current version of my enum comparison patch, I ran across
an error in which a GIMPLE code is compared to a tree code.  Patch
bootstrapped and tested on i686-pc-linux-gnu.  Committed as obvious.

Ian


2009-03-31  Ian Lance Taylor  <iant@google.com>

	* tree-eh.c (tree_remove_unreachable_handlers): Compare
	gimple_code with GIMPLE_RESX, not RESX.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo1.patch
Type: text/x-patch
Size: 523 bytes
Desc: Fix enum comparison
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090401/9630e6fc/attachment.bin>


More information about the Gcc-patches mailing list