gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] gcc-5.2.0 and gm2 (still fails on Solaris/Sparc)


From: Gaius Mulley
Subject: Re: [Gm2] gcc-5.2.0 and gm2 (still fails on Solaris/Sparc)
Date: Tue, 11 Apr 2017 10:18:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

john o goyo <address@hidden> writes:

> On 18/03/2017 06:24, Gaius Mulley wrote (in part):
>> Hi John,
>> yes I think it might be interesting if you could add the following lines
>> inside m2expr_BuildBinarySetDo:
>>
>> void
>> m2expr_BuildBinarySetDo (location_t location, tree settype, tree op1, tree 
>> op2, tree op3,
>>                           void (*binop)(location_t, tree, tree, tree, tree, 
>> int),
>>                           int is_op1lvalue, int is_op2lvalue, int 
>> is_op3lvalue,
>>                           tree nBits,
>>                           tree unbounded,
>>                           tree varproc, tree leftproc, tree rightproc)
>> {
>>    tree size     = m2expr_GetSizeOf (location, settype);
>>    int  is_const = FALSE;
>>    int  is_left  = FALSE;
>>
>>    m2assert_AssertLocation (location);
>>
>>    ASSERT_BOOL (is_op1lvalue);
>>    ASSERT_BOOL (is_op2lvalue);
>>    ASSERT_BOOL (is_op3lvalue);
>>
>>    pe (op1);   /* six new lines.  */
>>    pe (op2);
>>    pe (op3);
>>    debug_tree (op1);
>>    debug_tree (op2);
>>    debug_tree (op3);
> I added these lines at gm2/gm2-gcc/m2expr.c:644 with the following result:
>
> ../../../src/gcc-5.2.0+gm2-20170321/gm2/gcc-versionno/gcc/gm2/gm2-gcc/m2expr.c:644:10:
> error: 'pe' was not declared in this scope
>    pe (op1);   /* six new lines.  */
>
> A quick grep found nothing in the same directory.  Where are is pe()
> defined?
>
> john

Hi John,

pe is inside gcc-version/gcc/gm2/m2pp.c

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]