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++ Patch] PR 24926



Hi,

>> Or you mean something else?
>
>I was thinking that the recursive part could be a simple loop to set
>access, but your way is fine too.

Ok, great. Note, before committing I mean to also simplify it a bit, the TREE_STATIC check of the recursive part has no reason to exist, doesn't exist in the current code handling the fields of an anon aggr. All in all I rather prefer this kind of solution, in my opinion the typical recursion here is very shallow and in this way the amount of new code is minimized.

Thanks,
Paolo


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