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


... assuming the general idea makes sense, this version may be better because, at the cost of 3 lines of code duplication, it cuts the unnecessary function calls, eg exactly zero if the struct doesn't have anonymous aggregates at all. The patch is also easier to read ;)

Booted and tested x86_64-linux.

Paolo.

/////////////

Attachment: patch_24926_2
Description: Text document


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