This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PING][PATCH] New plugin event when evaluating a constexpr call
- From: Andres Tiraboschi <andres dot tiraboschi at tallertechnologies dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 5 May 2016 10:29:41 -0300
- Subject: Re: [PING][PATCH] New plugin event when evaluating a constexpr call
- Authentication-results: sourceware.org; auth=none
- References: <CAJZwELnRxL54Z8GeXk1gTGY8qd8XeDsEXk-vAPJmMdjoyy-eqQ at mail dot gmail dot com> <571E6E3D dot 4030303 at redhat dot com> <CAJZwELksqE9PAYNZtuz1Frqe35wvo73MyU6X7FJzz6gcd0BmNA at mail dot gmail dot com> <CAJZwEL=PLg5N-dCdc_Lmq1DRH_8OWPvtzqSfhosiaoxuJ6NCJA at mail dot gmail dot com> <8987538f-e97c-46dc-e5f0-a146de57c230 at redhat dot com>
Hi,
thanks for the feedback, I'll do the changes.
2016-05-04 13:16 GMT-03:00 Jason Merrill <jason@redhat.com>:
> On 05/02/2016 03:28 PM, Andres Tiraboschi wrote:
>>
>> + constexpr_call_info call_info;
>> + call_info.function = t;
>> + call_info.call_stack = call_stack;
>> + call_info.ctx = ctx;
>> + call_info.lval_p = lval;
>> + call_info.non_constant_p = non_constant_p;
>> + call_info.overflow_p = overflow_p;
>> + call_info.result = NULL_TREE;
>> +
>> + invoke_plugin_callbacks (PLUGIN_EVAL_CALL_CONSTEXPR, &call_info);
>
>
> Let's move this into a separate function so that it doesn't increase the
> stack footprint of cxx_eval_call_expression.
>
> Jason
>