This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch] Fix 23287


Nathan Sidwell wrote:
I've installed this patch to fix bug 23287. The problem was that we were parsing the destructor name as an unqualified-id (which it is), but ignoring the object scope. After parsing this, we then have to instantiate it, hence the patch to tsubst_copy_and_build.

I have reverted this patch. In trying to fix it, I've come across some illformed code in the libstdc++ testsuite (and possibly libstdc++ itself). We're not parsing destructor names properly and I think a rethink is needed on our strategy for doing so.


nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]