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 PR 35112


On Fri, Nov 27, 2009 at 4:19 AM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi,
>> OK! Thanks.
> Thank you
>> Just for my curiosity, was the test for TREE_LIST in print_overloaded_functions
>> necessary? ?For which case?
>>
> Yes, it was, sorry if my first message wasn't completely explicit to
> begin with. The testcase at issue is parse/crash53.C here, which,
> without patch causes:
>
> 35112.C:13:1: error: reference to ‘A’ is ambiguous
> #‘tree_list’ not supported by dump_decl#<declaration error>
> tree check: expected tree that contains ‘decl minimal’ structure, have
> ‘tree_list’ in location_of, at cp/error.c:2410
> Please submit a full bug report,
> ...
>
> Essentially the problem happens with > 2 ambiguous A in different
> namespaces.

Thanks for this excellent explanation.

-- Gaby


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