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] |
Hi, this rejects-valid issue, as submitted, has only the testcase: union Test { static constexpr int kConstant = 10; };which seems easy to handle by adjusting check_field_decls. While doing that, I also noticed that the same piece of C++98 which went away in C++11, thus allowing static members in unions, also mentioned reference-types, which therefore, should be now also allowed (current ICC agrees, current clang disagrees). Tested x86_64-linux.
Thanks, Paolo. ////////////////////
Attachment:
CL_60184
Description: Text document
Attachment:
patch_60184
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |