[tree-ssa] PATCH to tree_ssa_useless_type_conversion

Jason Merrill jason@redhat.com
Wed Aug 20 02:58:00 GMT 2003


As I commented to Jeff previously, we don't care about conversions between
pointer and reference type once we've left the front end.

I haven't checked the impact of this change on optimization, but I would
expect it to help C++ somewhat.

Tested athlon-pc-linux-gnu, applied to tree-ssa.

2003-08-19  Jason Merrill  <jason@redhat.com>

	* tree-ssa.c (tree_ssa_useless_type_conversion): Also strip
	conversions between pointer and reference types.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 724 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030820/422b6944/attachment.bin>


More information about the Gcc-patches mailing list