Gab has been debugging a failure that goes like this:
In testsuite/g++.dg/pph/x1functions.h:
struct type {
int mbr_decl_then_def(int);
int mbr_decl_inline(int i) { }
}
In testsuite/g++.dg/pph/x1functions.cc:
#include "x1functions.h"
int type::mbr_decl_then_def(int i)
{ return mbr_decl_inl
On 4/20/11, Jason Merrill wrote:
> On 04/20/2011 11:38 AM, Diego Novillo wrote:
>> I don't know. I thought pushdecl_with_scope would be it. Jason, is
>> there any other bookkeeping routine we would need to be calling?
>> Maybe we need to set some global that points to the current namespace
>> be
On 04/20/2011 11:38 AM, Diego Novillo wrote:
I don't know. I thought pushdecl_with_scope would be it. Jason, is
there any other bookkeeping routine we would need to be calling?
Maybe we need to set some global that points to the current namespace
before calling pushdecl_with_scope()? There is
[ Adding Jason and gcc@ ]
Jason,
On Tue, Apr 19, 2011 at 22:10, Lawrence Crowl wrote:
> For the testcase x1hardlookup.cc, we read in the following from
> the pph file.
>
> namespace :: {
> function_decl int (int, struct D) operator+
> type_decl struct D D
> var_decl int V
> type_