OK.
Jason
2012/2/16 Jason Merrill :
> On 02/16/2012 01:47 PM, Fabien Chêne wrote:
>>
>> + tree binfo_type = TYPE_MAIN_VARIANT (BINFO_TYPE (binfo));
>
>
> BINFO_TYPE should already be its TYPE_MAIN_VARIANT. Why isn't it here?
>
>
>> For (2), the lookup was failing because the flag
>> BINFO_DEPENDENT_BASE_P
On 02/16/2012 01:47 PM, Fabien Chêne wrote:
+ tree binfo_type = TYPE_MAIN_VARIANT (BINFO_TYPE (binfo));
BINFO_TYPE should already be its TYPE_MAIN_VARIANT. Why isn't it here?
For (2), the lookup was failing because the flag
BINFO_DEPENDENT_BASE_P was set. It think it should not be set for t
Hi,
templatestruct A
{
int foo;
struct B : A { using A::foo; }; // (1)
struct C : A { using A::foo; }; // (2)
};
There are two problems in this PR. Firstly, for (1) it seems to work,
but in reality the lookup for foo is not performed. Hence, I have
modified dfs_lookup_base so that (1