C++ PATCH to build_member_call for c++/525

Jason Merrill jason@redhat.com
Tue Apr 9 06:56:00 GMT 2002


This (the trunk patch) caused a new bug in build_member_call, as now we're
doing the conversion to the intermediate base even if it's not necessary.
Fixing this properly would mean digging into the function call code, so for
now I'm just going to undo a piece of the patch:

Tested i686-pc-linux-gnu.  Applied trunk only.  Test in g++.dg/lookup/scoped1.C.

2002-04-09  Jason Merrill  <jason@redhat.com>

	* init.c (build_member_call): For now, don't convert to
	intermediate base if it would cause an error.

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


More information about the Gcc-patches mailing list