This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c-decl.c overhaul (1/3) Refactor duplicate_decls


Richard Sandiford <rsandifo@redhat.com> writes:

> "Zack Weinberg" <zack@codesourcery.com> writes:
>> Richard Sandiford <rsandifo@redhat.com> writes:
>>> Missing "return true" at the end?
>>
>> No.  The only way out of the loop is through the return statements
>> inside.
>
> Doh.  Much too subtle for me, sorry.

It is probably too clever.  I didn't invent this loop; I just pulled
it out of the middle of duplicate_decls.  I might restructure it
later, but I have bigger problems right now.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]