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 66644


I would expect this to cause a false negative on a union of two anonymous structs, both of which have initialized members.

I think better would be to have a local any_default_members rather than passing the same pointer through all levels.

Also, you can look at 'type' rather than DECL_CONTEXT (field).

Jason


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