This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [bfin] Avoid genrecog warning
- From: Bernd Schmidt <bernds at codesourcery dot com>
- To: <gcc-patches at gcc dot gnu dot org>, <jzhang918 at gmail dot com>, <rdsandiford at googlemail dot com>
- Date: Fri, 22 Nov 2013 12:52:38 +0100
- Subject: Re: [bfin] Avoid genrecog warning
- Authentication-results: sourceware.org; auth=none
- References: <87eh686edu dot fsf at talisman dot default> <528F32B6 dot 1080801 at codesourcery dot com> <87wqk0ac5u dot fsf at sandifor-thinkpad dot stglab dot manchester dot uk dot ibm dot com>
On 11/22/2013 12:50 PM, Richard Sandiford wrote:
> Bernd Schmidt <bernds@codesourcery.com> writes:
>> On 11/22/2013 09:15 AM, Richard Sandiford wrote:
>>> +extern int push_multiple_operation_p (rtx);
>>> +extern int pop_multiple_operation_p (rtx);
>>
>> I was once told that functions with side effects shouldn't be called _p,
>> and these ones set up some global variables. But you can check it in
>> either this way or with a different name.
>
> Thanks. How about analyze_*_multiple_operation?
Sounds fine.
Bernd