C++ PATCH to cxx_types_compatible_p

Jason Merrill jason@redhat.com
Fri Jul 16 07:34:00 GMT 2004


To the middle-end, there is no difference between references and pointers,
so we don't need to retain casts between them.

Tested x86_64-pc-linux-gnu, applied to trunk.

2004-07-15  Jason Merrill  <jason@redhat.com>

	* cp-lang.c (cxx_types_compatible_p): To the middle-end,
	references and pointers are compatible.

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


More information about the Gcc-patches mailing list